186 lines
7.5 KiB
JavaScript
186 lines
7.5 KiB
JavaScript
main.floors.DPR5_3=
|
|
{
|
|
"floorId": "DPR5_3",
|
|
"title": "龙宫游乐园:5-3",
|
|
"name": "5-3",
|
|
"width": 13,
|
|
"height": 13,
|
|
"canFlyTo": true,
|
|
"canFlyFrom": true,
|
|
"canUseQuickShop": true,
|
|
"cannotViewMap": false,
|
|
"cannotMoveDirectly": false,
|
|
"images": [],
|
|
"ratio": 1,
|
|
"defaultGround": "magicground2",
|
|
"bgm": "maps5A.mp3",
|
|
"firstArrive": [],
|
|
"eachArrive": [],
|
|
"parallelDo": "",
|
|
"events": {
|
|
"9,1": [
|
|
{
|
|
"type": "if",
|
|
"condition": "switch:A",
|
|
"true": [
|
|
"\t[商人,woman]幸运金币?应该遗失在某些地方了",
|
|
{
|
|
"type": "hide",
|
|
"remove": true
|
|
}
|
|
],
|
|
"false": [
|
|
{
|
|
"type": "choices",
|
|
"text": "\t[商人,women]我800星币卖${core.hasItem(\"Backpack\") ?2:1}把蓝钥匙和${core.hasItem(\"Backpack\") ?8:4}把黄钥匙,你买吗?",
|
|
"choices": [
|
|
{
|
|
"text": "我太需要了",
|
|
"need": "status:money>=800",
|
|
"action": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "status:money",
|
|
"operator": "-=",
|
|
"value": "800"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:yellowKey",
|
|
"operator": "+=",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "core.hasItem(\"Backpack\")",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:yellowKey",
|
|
"operator": "+=",
|
|
"value": "4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "switch:A",
|
|
"value": "true"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "使用2星光支付",
|
|
"need": "flags.star.level>1",
|
|
"condition": "item:FriendshipBadge&&!switch:B",
|
|
"action": [
|
|
{
|
|
"type": "function",
|
|
"function": "function(){\nflags.star.level-=2\n}"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:yellowKey",
|
|
"operator": "+=",
|
|
"value": "4"
|
|
},
|
|
{
|
|
"type": "if",
|
|
"condition": "core.hasItem(\"Backpack\")",
|
|
"true": [
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:blueKey",
|
|
"operator": "+=",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "item:yellowKey",
|
|
"operator": "+=",
|
|
"value": "4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "setValue",
|
|
"name": "switch:B",
|
|
"value": "true"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"text": "离开",
|
|
"action": []
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"changeFloor": {
|
|
"0,9": {
|
|
"floorId": "DPR5_2",
|
|
"loc": [
|
|
11,
|
|
9
|
|
],
|
|
"direction": "left"
|
|
},
|
|
"11,0": {
|
|
"floorId": "DPR6_3",
|
|
"loc": [
|
|
11,
|
|
11
|
|
],
|
|
"direction": "up"
|
|
}
|
|
},
|
|
"beforeBattle": {},
|
|
"afterBattle": {},
|
|
"afterGetItem": {},
|
|
"afterOpenDoor": {},
|
|
"autoEvent": {},
|
|
"cannotMove": {},
|
|
"cannotMoveIn": {},
|
|
"map": [
|
|
[142,142,142,142,142,142,142,142,142,142,142, 91,142],
|
|
[142, 0,402,142, 31, 0, 32, 81, 0,122,142, 0,142],
|
|
[142, 31, 0,142, 0,224, 0,142,225, 0, 82, 0,142],
|
|
[142, 0,212,142,142, 81,142,142, 81,142,142, 81,142],
|
|
[142,142, 81,142, 0, 21, 0, 82, 0,142,212, 0,142],
|
|
[142,216, 0,142, 21, 0, 21,142, 0,142, 0,212,142],
|
|
[142, 0,216,142, 0,227, 0,142, 0,142,225, 0,142],
|
|
[142, 81,142,142,142, 81,142,142, 0,142, 81,142,142],
|
|
[142, 0, 0,212, 0, 0, 0,214, 0, 0, 0, 32,142],
|
|
[ 92, 0,142,142,142,142,142,142,142,142,142,142,142],
|
|
[142, 0,142, 0, 31,142, 0,412,142, 0, 21, 0,142],
|
|
[142, 0, 81,224, 0, 81,216, 0, 81,227, 0, 32,142],
|
|
[142,142,142,142,142,142,142,142,142,142,142,142,142]
|
|
],
|
|
"bgmap": [
|
|
|
|
],
|
|
"fgmap": [
|
|
|
|
]
|
|
} |