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

183 lines
7.2 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

main.floors.MT47=
{
"floorId": "MT47",
"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,229, 1, 1,414,330],
[330, 0, 1, 1, 1, 1, 1, 1, 0,204, 0, 21,330],
[330, 0, 1, 0, 81,220, 0, 1, 81, 1, 1, 1,330],
[330, 0, 1,207, 1, 0,219, 1, 0,219, 0, 0,330],
[330, 0, 81, 0, 1, 0, 0, 1, 21, 0, 0,207,330],
[330, 0, 1, 0, 1, 22, 21, 1, 1, 1, 1, 81,330],
[330, 0, 1, 0, 82,404,414, 1, 0, 0, 0, 0,330],
[330,229, 1, 1, 1, 1, 1, 1,204, 1, 1, 1,330],
[330, 0, 0, 1, 31, 0,404, 1, 0, 1, 0, 0,330],
[330, 0, 0, 81, 0,219, 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": "maps.mp3",
"firstArrive": null,
"eachArrive": [],
"parallelDo": "",
"events": {
"5,2": [
{
"type": "if",
"condition": "switch:A",
"true": [
{
"type": "if",
"condition": "(flags.MapStatus?.Hard===\"普通\")",
"true": [
"\t[商人,woman]如果要打败魔龙你需要屠龙匕或战斗筹码"
],
"false": [
"\t[商人,woman]如果要打败魔龙你需要战斗筹码替代消失的屠龙匕"
]
},
{
"type": "hide",
"remove": true
}
],
"false": [
{
"type": "choices",
"text": "\t[商人,woman]我有${core.hasItem(\"Backpack\") ?\"两\":\"一\"}张地震卷轴只要4000星币你要吗",
"choices": [
{
"text": "我太需要了",
"need": "status:money>=4000",
"action": [
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "4000"
},
{
"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:A",
"value": "true"
}
]
},
{
"text": "使用8星光支付",
"need": "flags.star.level>7",
"condition": "item:FriendshipBadge&&!switch:B",
"action": [
{
"type": "function",
"function": "function(){\nflags.star.level-=8\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": []
}