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

160 lines
5.7 KiB
JavaScript

main.floors.SC7_5=
{
"floorId": "SC7_5",
"title": "御魂庆典:7F",
"name": "第 7 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330, 87, 1,404, 1, 0,122, 0, 1, 21, 1,204,330],
[330, 0, 1, 31, 1, 0, 0, 0, 1, 21, 1,219,330],
[330, 0, 1,207, 1,219, 1,228, 1, 31, 1,204,330],
[330, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0,330],
[330, 81, 1, 81, 1, 82, 1, 81, 1,246, 1, 81,330],
[330, 0,228, 0,220, 0, 0, 0, 0, 0, 0, 0,330],
[330, 81, 1, 81, 1, 81, 1, 81, 1,228, 1, 81,330],
[330, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0,330],
[330, 0, 1, 0, 1,207, 1,219, 1, 32, 1, 0,330],
[330,204, 1,204, 1, 21, 1,220, 1, 21, 1, 0,330],
[330, 0,219, 0, 1, 21, 1, 32, 1, 21, 1, 88,330],
[330,330,330,330,330,330,330,330,330,330,330,330,330]
],
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"images": [],
"ratio": 1,
"defaultGround": "ground",
"bgm": "maps2.mp3",
"firstArrive": null,
"eachArrive": [],
"parallelDo": "",
"events": {
"6,1": [
{
"type": "choices",
"text": "\t[商人,woman]我250星币卖${core.hasItem(\"Backpack\") ?10:5}把黄钥匙。你买吗?",
"choices": [
{
"text": "我太需要了",
"need": "status:money>=250",
"action": [
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "250"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "5"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "5"
}
]
},
{
"type": "hide",
"remove": true
}
]
},
{
"text": "使用1星光支付",
"need": "flags.star.level>0",
"condition": "item:FriendshipBadge&&!switch:B",
"action": [
{
"type": "function",
"function": "function(){\nflags.star.level--\n}"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "5"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "5"
}
]
},
{
"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": {},
"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]
],
"fgmap": [
],
"upFloor": [
1,
2
],
"downFloor": [
11,
10
],
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": []
}