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

191 lines
6.4 KiB
JavaScript

main.floors.SC12_5=
{
"floorId": "SC12_5",
"title": "御魂庆典:12F",
"name": "第 12 层",
"width": 13,
"height": 13,
"map": [
[330,330,330,330,330,330,330,330,330,330,330,330,330],
[330,122, 0, 0, 1, 21,404, 21, 1, 0, 0, 0,330],
[330, 1, 1,207, 1, 0, 1, 0, 1, 0, 1, 1,330],
[330, 0, 0, 0, 1,246, 0,246, 1, 0,246, 0,330],
[330, 81, 1, 1, 1, 1, 81, 1, 1, 1, 1, 0,330],
[330, 0,220, 0, 81, 0,220, 0, 1, 31, 0,207,330],
[330, 1, 1, 1, 1, 0, 0,220, 81, 0,414, 0,330],
[330, 21, 21, 0, 1, 0, 32, 0, 1, 21, 0,204,330],
[330, 21, 22, 0, 1, 1, 1, 1, 1, 82, 1, 81,330],
[330, 0, 0,246, 1, 7,131, 8, 1,204, 0,246,330],
[330, 1, 1, 81, 1, 31, 0, 31, 1, 1, 0, 1,330],
[330, 87, 0, 0,227, 0, 0, 0,227, 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": 2,
"defaultGround": "ground",
"bgm": "maps2.mp3",
"firstArrive": null,
"eachArrive": [],
"parallelDo": "",
"events": {
"1,1": [
{
"type": "choices",
"text": "\t[商人,woman]我2000星币卖${core.hasItem(\"Backpack\") ?2:1}把珍稀的红钥匙,你买吗?",
"choices": [
{
"text": "我太需要了",
"need": "status:money>=2000",
"action": [
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "2000"
},
{
"type": "setValue",
"name": "item:redKey",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:redKey",
"operator": "+=",
"value": "1"
}
]
},
{
"type": "hide",
"remove": true
}
]
},
{
"text": "使用4星光支付",
"need": "flags.star.level>3",
"condition": "item:FriendshipBadge&&!switch:B",
"action": [
{
"type": "function",
"function": "function(){\nflags.star.level-=4\n}"
},
{
"type": "setValue",
"name": "item:redKey",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:redKey",
"operator": "+=",
"value": "1"
}
]
},
{
"type": "setValue",
"name": "switch:B",
"value": "true"
}
]
},
{
"text": "离开",
"action": []
}
]
}
],
"6,9": [
{
"type": "disableShop",
"id": "shop1"
},
{
"type": "disableShop",
"id": "shop2"
},
{
"type": "disableShop",
"id": "shop3"
},
{
"type": "openShop",
"id": "shop4",
"open": true
},
{
"type": "setValue",
"name": "flag:shopvisited",
"value": "4"
}
]
},
"changeFloor": {
"11,11": {
"floorId": ":before",
"stair": "upFloor"
},
"1,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": [
2,
11
],
"downFloor": [
10,
11
],
"autoEvent": {},
"beforeBattle": {},
"cannotMoveIn": {
"11,2": [
"up",
"down",
"left",
"right"
]
},
"bg2map": [],
"fg2map": []
}