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

321 lines
9.8 KiB
JavaScript

main.floors.DPL6_1=
{
"floorId": "DPL6_1",
"title": "龙宫游乐园:6-1",
"name": "6-1",
"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": {
"11,7": [
{
"type": "if",
"condition": "switch:A",
"true": [
"\t[商人,woman]两个门卫看守的未必是一扇门,也有可能是多扇",
{
"type": "hide",
"remove": true
}
],
"false": [
{
"type": "choices",
"text": "\t[商人,woman]我以200星币特价卖${core.hasItem(\"Backpack\") ?6:3}把黄钥匙,先到先得。",
"choices": [
{
"text": "我太需要了",
"need": "status:money>=200",
"action": [
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "200"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "3"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "3"
}
]
},
{
"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:yellowKey",
"operator": "+=",
"value": "3"
},
{
"type": "if",
"condition": "core.hasItem(\"Backpack\")",
"true": [
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "+=",
"value": "3"
}
]
},
{
"type": "setValue",
"name": "switch:B",
"value": "true"
}
]
},
{
"text": "离开",
"action": []
}
]
}
]
}
]
},
"changeFloor": {
"6,12": {
"floorId": "DPL5_1",
"loc": [
6,
1
],
"direction": "down"
},
"0,7": {
"floorId": "DPL6_2",
"loc": [
11,
7
],
"direction": "left"
}
},
"beforeBattle": {},
"afterBattle": {
"8,9": [
{
"type": "specialDoor",
"loc": [
[
"8",
"9"
],
[
"9",
"9"
],
[
"9",
"11"
],
[
"8",
"11"
]
],
"doors": [
[
"10",
"10"
]
]
}
],
"9,9": [
{
"type": "specialDoor",
"loc": [
[
"8",
"9"
],
[
"9",
"9"
],
[
"9",
"11"
],
[
"8",
"11"
]
],
"doors": [
[
"10",
"10"
]
]
}
],
"9,11": [
{
"type": "specialDoor",
"loc": [
[
"8",
"9"
],
[
"9",
"9"
],
[
"9",
"11"
],
[
"8",
"11"
]
],
"doors": [
[
"10",
"10"
]
]
}
],
"8,11": [
{
"type": "specialDoor",
"loc": [
[
"8",
"9"
],
[
"9",
"9"
],
[
"9",
"11"
],
[
"8",
"11"
]
],
"doors": [
[
"10",
"10"
]
]
}
],
"9,4": [
{
"type": "specialDoor",
"loc": [
[
"9",
"4"
],
[
"11",
"4"
]
],
"doors": [
[
"10",
"3"
]
]
}
],
"11,4": [
{
"type": "specialDoor",
"loc": [
[
"9",
"4"
],
[
"11",
"4"
]
],
"doors": [
[
"10",
"3"
]
]
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[142,142,142,142,142,142,142,142,142,142,142,142,142],
[142,402, 31,412,142, 0, 81,222, 0, 82, 21, 23,142],
[142, 0,227, 0,142, 0,142, 31,412,142, 0, 0,142],
[142,142, 81,142,142,212,142, 82,142,142, 85,142,142],
[142, 0,225, 0,142, 0,142, 21,142,410, 0,410,142],
[142, 31,222, 0, 82, 0,225,402,142, 0, 32, 0,142],
[142,142, 81,142,142,214,142,142,142,142, 81,142,142],
[ 92, 0, 0, 0, 0, 0, 81, 0,216, 0, 0,122,142],
[142,142, 81,142,224,142,142,142,142,142,142,142,142],
[142, 0,227,142, 0,142, 31,142,212,225,142, 32,142],
[142, 21, 0,142, 22,142, 0, 81, 0, 0, 85, 0,142],
[142, 31, 32,142, 21,142, 0,142,212,225,142, 63,142],
[142,142,142,142,142,142, 93,142,142,142,142,142,142]
],
"bgmap": [
],
"fgmap": [
]
}