191 lines
6.6 KiB
JavaScript
191 lines
6.6 KiB
JavaScript
main.floors.SC15_4=
|
|
{
|
|
"floorId": "SC15_4",
|
|
"title": "御魂庆典:15F",
|
|
"name": "第 15 层",
|
|
"width": 13,
|
|
"height": 13,
|
|
"map": [
|
|
[330,330,330,330,330,330,330,330,330,330,330,330,330],
|
|
[330,412,227, 0, 81, 0, 87, 0, 0, 0, 0, 0,330],
|
|
[330,225, 0, 0, 1, 0, 0, 0, 1, 0, 0,216,330],
|
|
[330, 0, 0,216, 1, 1, 85, 1, 1, 1, 1, 81,330],
|
|
[330, 81, 1, 1, 1, 0, 0, 0, 1,212, 0, 0,330],
|
|
[330, 0, 1, 21, 1,181,182,183, 1, 0,212, 0,330],
|
|
[330, 0, 1, 22, 1,184,185,186, 1, 81, 1,224,330],
|
|
[330,216, 1, 21, 1,187,258,188, 1, 0, 1, 0,330],
|
|
[330, 0, 1, 0, 1, 0, 0, 0, 1, 0, 1, 32,330],
|
|
[330, 0, 81, 0, 1, 1, 0, 1, 1, 81, 1, 1,330],
|
|
[330,212, 1,212, 1, 0, 0, 0, 1, 0,214, 0,330],
|
|
[330, 0,224, 0, 1, 0, 88, 0, 81,214, 0,122,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": {
|
|
"11,11": [
|
|
{
|
|
"type": "choices",
|
|
"text": "\t[商人,woman]我400星币卖${core.hasItem(\"Backpack\") ?2:1}把蓝钥匙,你买吗?",
|
|
"choices": [
|
|
{
|
|
"text": "我太需要了",
|
|
"need": "status:money>=400",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:money",
|
|
"operator": "-=",
|
|
"value": "400"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "core.hasItem(\"Backpack\")",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"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: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": {
|
|
"6,11": {
|
|
"floorId": ":before",
|
|
"stair": "upFloor"
|
|
},
|
|
"6,1": {
|
|
"floorId": ":next",
|
|
"stair": "downFloor"
|
|
}
|
|
},
|
|
"afterBattle": {
|
|
"6,7": [
|
|
{
|
|
"type": "if",
|
|
"condition": "(!switch:A)",
|
|
"true": [
|
|
{
|
|
"type": "setBlock",
|
|
"number": "47",
|
|
"loc": [
|
|
[
|
|
6,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
{
|
|
"type": "openDoor",
|
|
"loc": [
|
|
6,
|
|
3
|
|
]
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "switch:A",
|
|
"value": "true"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"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": [
|
|
6,
|
|
2
|
|
],
|
|
"downFloor": [
|
|
6,
|
|
10
|
|
],
|
|
"autoEvent": {},
|
|
"beforeBattle": {},
|
|
"cannotMoveIn": {},
|
|
"bg2map": [],
|
|
"fg2map": []
|
|
} |