51_AstralParty/project/floors/SC31_5.js
2025-09-11 22:30:07 +08:00

184 lines
6.9 KiB
JavaScript

main.floors.SC31_5=
{
"floorId": "SC31_5",
"title": "御魂庆典:31F",
"name": "第 31 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330, 0, 0, 21, 21, 1, 88, 1, 0, 0, 31, 0,330],
[330,220, 0, 21, 21, 1, 0, 1,246, 0, 0, 0,330],
[330, 0,246, 1, 1, 1, 0, 1, 81, 1, 0,219,330],
[330, 0, 0, 81, 22, 1, 0, 1,404, 1,219, 0,330],
[330, 81, 1, 1, 1, 1, 0, 1, 1, 1, 1, 81,330],
[330, 0,219, 0, 0, 0, 0, 0, 0, 0,219, 0,330],
[330, 81, 1, 1, 1, 1, 0, 1, 1, 1, 1, 81,330],
[330, 0,219, 1,414, 1,207, 1, 32, 81, 0, 0,330],
[330,219, 0, 1, 81, 1,207, 1, 1, 1,204, 0,330],
[330, 0, 0, 0,228, 1, 0, 1, 21, 21, 0,204,330],
[330,122, 31, 0, 0, 1, 87, 1, 21, 21, 0, 0,330],
[330,330,330,330,330,330,330,330,330,330,330,330,330]
],
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"images": [],
"ratio": 4,
"defaultGround": "ground",
"bgm": "maps2.mp3",
"firstArrive": null,
"eachArrive": [],
"parallelDo": "",
"events": {
"1,11": [
{
"type": "choices",
"text": "\t[商人,women]我1250星币卖${core.hasItem(\"Backpack\") ?2:1}把蓝钥匙和${core.hasItem(\"Backpack\") ?8:4}把黄钥匙,你买吗?",
"choices": [
{
"text": "我太需要了",
"need": "status:money>=1250",
"action": [
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "1250"
},
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "4"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "4"
}
]
},
{
"type": "hide",
"remove": true
}
]
},
{
"text": "使用3星光支付",
"need": "flags.star.level>2",
"condition": "item:FriendshipBadge&&!switch:B",
"action": [
{
"type": "function",
"function": "function(){\nflags.star.level-=3\n}"
},
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "4"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "4"
}
]
},
{
"type": "setValue",
"name": "switch:B",
"value": "true"
}
]
},
{
"text": "离开",
"action": []
}
]
}
]
},
"changeFloor": {
"6,1": {
"floorId": ":before",
"stair": "upFloor"
},
"6,11": {
"floorId": ":next",
"stair": "downFloor"
}
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"cannotMove": {},
"fgmap": [
],
"bgmap": [
[ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17],
[ 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17]
],
"upFloor": [
6,
10
],
"downFloor": [
6,
2
],
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": []
}