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

174 lines
6.8 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.MT6=
{
"floorId": "MT6",
"title": "星趴·梦想号:6F",
"name": "第 6 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330, 88, 1, 21, 21, 1, 0,217, 0, 21,201, 0,330],
[330, 0, 1, 21, 21, 1, 0, 1, 1, 1, 1, 81,330],
[330, 0, 1, 1,202, 1, 0, 1, 31, 0,209, 0,330],
[330, 0, 81, 81, 0, 81, 0, 1,122, 0, 0,205,330],
[330, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1,330],
[330, 0, 0,202,217, 0, 21, 0,209,210, 0, 0,330],
[330, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0,330],
[330,217, 0, 0, 0, 1, 0, 81, 81, 0, 81, 0,330],
[330, 0,205, 0, 28, 1, 0, 1, 1,202, 1,202,330],
[330, 81, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0,330],
[330, 0,201, 0, 0,209, 0, 1, 31, 31, 1, 87,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": "maps.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {
"8,4": [
{
"type": "if",
"condition": "switch:A",
"true": [
"\t[商人,woman]星趴·梦想号这里和50层魔塔没有多大区别",
{
"type": "hide",
"remove": true
}
],
"false": [
{
"type": "choices",
"text": "\t[商人,woman]我50星币特价卖${core.hasItem(\"Backpack\") ?\"两\":\"一\"}把蓝钥匙。你买吗?",
"choices": [
{
"text": "我太需要了",
"need": "status:money>=50",
"action": [
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "50"
},
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
}
]
},
{
"type": "setValue",
"name": "switch:A",
"value": "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:blueKey",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
}
]
},
{
"type": "setValue",
"name": "switch:B",
"value": "true"
}
]
},
{
"text": "离开",
"action": []
}
]
}
]
}
]
},
"changeFloor": {
"11,11": {
"floorId": ":next",
"stair": "downFloor"
},
"1,1": {
"floorId": ":before",
"stair": "upFloor"
}
},
"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": [
11,
10
],
"downFloor": [
1,
2
],
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [],
"fg2map": []
}