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

160 lines
5.8 KiB
JavaScript

main.floors.SC47_4=
{
"floorId": "SC47_4",
"title": "御魂庆典:47F",
"name": "第 47 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330, 87, 0, 82, 0, 0, 0, 81, 0, 0, 0, 21,330],
[330, 0, 0, 1, 0,122, 0, 1,224, 1, 1,412,330],
[330, 0, 1, 1, 1, 1, 1, 1, 0,216, 0, 21,330],
[330, 0, 1, 0, 81,224, 0, 1, 81, 1, 1, 1,330],
[330, 0, 1,225, 1, 0,212, 1, 0,212, 0, 0,330],
[330, 0, 81, 0, 1, 0, 0, 1, 21, 0, 0,225,330],
[330, 0, 1, 0, 1, 22, 21, 1, 1, 1, 1, 81,330],
[330, 0, 1, 0, 82,402,412, 1, 0, 0, 0, 0,330],
[330,224, 1, 1, 1, 1, 1, 1,216, 1, 1, 1,330],
[330, 0, 0, 1, 31, 0,402, 1, 0, 1, 0, 0,330],
[330, 0, 0, 81, 0,212, 0, 81, 0, 0, 0, 88,330],
[330,330,330,330,330,330,330,330,330,330,330,330,330]
],
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"images": [],
"ratio": 5,
"defaultGround": "ground",
"bgm": "maps2.mp3",
"firstArrive": null,
"eachArrive": [],
"parallelDo": "",
"events": {
"5,2": [
{
"type": "choices",
"text": "\t[商人,woman]我有${core.hasItem(\"Backpack\") ?\"两\":\"一\"}张地震卷轴,只要${flag:37ratio*1000}星币,你要吗?",
"choices": [
{
"text": "我太需要了",
"need": "status:money>=flag:37ratio*1000",
"action": [
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "flag:37ratio*1000"
},
{
"type": "setValue",
"name": "item:earthquake",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:earthquake",
"operator": "+=",
"value": "1"
}
]
},
{
"type": "hide",
"remove": true
}
]
},
{
"text": "使用10星光支付",
"need": "flags.star.level>9",
"condition": "item:FriendshipBadge&&!switch:B",
"action": [
{
"type": "function",
"function": "function(){\nflags.star.level-=10\n}"
},
{
"type": "setValue",
"name": "item:earthquake",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:earthquake",
"operator": "+=",
"value": "1"
}
]
},
{
"type": "setValue",
"name": "switch:B",
"value": "true"
}
]
},
{
"text": "离开",
"action": []
}
]
}
]
},
"changeFloor": {
"11,11": {
"floorId": ":before",
"stair": "upFloor"
},
"1,1": {
"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": [
2,
1
],
"downFloor": [
11,
10
],
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": []
}