shengqishi/project/floors/XY1.js
2024-07-17 18:29:32 +08:00

170 lines
5.8 KiB
JavaScript

main.floors.XY1=
{
"floorId": "XY1",
"title": "光明学院 1 ",
"name": "光明学院1",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "X20061",
"bgm": "bxsgzz.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {
"7,8": [
{
"type": "confirm",
"text": "确认要打开这个罐子吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<80)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "80"
},
{
"type": "playSound",
"name": "破冰镐"
},
{
"type": "setBlock",
"number": "X60395"
},
"获得三把黄钥匙",
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "3"
}
]
}
],
"no": []
}
],
"5,8": [
{
"type": "confirm",
"text": "确认要打开这个罐子吗?",
"yes": [
{
"type": "if",
"condition": "(status:mana<80)",
"true": [
{
"type": "playSound",
"name": "操作失败"
},
"你的魔力不足!"
],
"false": [
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "80"
},
{
"type": "playSound",
"name": "破冰镐"
},
{
"type": "setBlock",
"number": "X60395"
},
"获得一把蓝钥匙",
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
}
]
}
],
"no": []
}
]
},
"changeFloor": {
"6,12": {
"floorId": "GM1",
"loc": [
3,
0
]
},
"6,0": {
"floorId": ":next",
"stair": ":symmetry_y"
}
},
"beforeBattle": {},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[80531,80531,80531,80531,80531,80531, 91,80531,80531,80531,80531,80531,80531],
[80531,685,80531,701,80531, 0, 0, 0,80531,701,80531, 0,80531],
[80531,684,80531,714,80531, 0, 0, 0,80531,714,80531,684,20249],
[80531, 81,80531, 82,80531,80531,725,80531,80531, 82,80531, 81,80531],
[80531, 81,80531, 82,80531,60408, 0,60408,80531, 82,80531, 81,80277],
[80531, 81,80531, 82,80531,80531, 0,80531,80531, 82,80531, 81,80531],
[80531, 0, 0, 0, 0, 0,219, 0, 0, 0, 0, 0,80531],
[80531, 81,80531, 82,80531,80531, 0,80531,80531, 82,80531, 81,80531],
[80531, 81,80531, 82,80531,60408, 0,60408,80531, 82,80531, 81,20249],
[80531, 81,80531, 82,80531,80531,725,80531,80531, 82,80531, 81,80531],
[80531,684,80531,714,80531, 21, 0, 21,80531,714,80531,684,80531],
[80531,685,80531,701,80531,684, 0,611,80531,701,80531,685,20249],
[20249,80531,80531,80531,80531,80531, 91,80531,80531,80531,80531,80273,80274]
],
"bgmap": [
],
"fgmap": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80244,80245],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80252,80253],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80260,80261],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80268,80269],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80240,80241,80242],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80248,80249,80250],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,80256,80257,80258],
[80202,80203, 0, 0, 0, 0, 0, 0, 0, 0,80264,80265,80266],
[80210,80211, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
"bg2map": [
],
"fg2map": [
],
"flyPoint": [
6,
12
]
}