162 lines
6.1 KiB
JavaScript
162 lines
6.1 KiB
JavaScript
main.floors.MAR47=
|
||
{
|
||
"floorId": "MAR47",
|
||
"title": "学院图书馆:47F",
|
||
"name": "图书馆 47F",
|
||
"width": 13,
|
||
"height": 13,
|
||
"map": [
|
||
[149,149,149,149,149,149,149,149,149,149,149,149,149],
|
||
[149, 87, 0, 82, 0, 0, 0, 81, 0, 0, 0, 21,149],
|
||
[149, 0, 0,149, 0,122, 0,149,229,149,149,414,149],
|
||
[149, 0,149,149,149,149,149,149, 0,204, 0, 21,149],
|
||
[149, 0,149, 0, 81,220, 0,149, 81,149,149,149,149],
|
||
[149, 0,149,207,149, 0,219,149, 0,219, 0, 0,149],
|
||
[149, 0, 81, 0,149, 0, 0,149, 21, 0, 0,207,149],
|
||
[149, 0,149, 0,149, 22, 21,149,149,149,149, 81,149],
|
||
[149, 0,149, 0, 82,404,414,149, 0, 0, 0, 0,149],
|
||
[149,229,149,149,149,149,149,149,204,149,149,149,149],
|
||
[149, 0, 0,149, 31, 0,404,149, 0,149, 0, 0,149],
|
||
[149, 0, 0, 81, 0,219, 0, 81, 0, 0, 0, 88,149],
|
||
[149,149,149,149,149,149,149,149,149,149,149,149,149]
|
||
],
|
||
"canFlyTo": true,
|
||
"canFlyFrom": true,
|
||
"canUseQuickShop": true,
|
||
"images": [],
|
||
"ratio": 5,
|
||
"defaultGround": "magicground",
|
||
"bgm": "maps4R.mp3",
|
||
"firstArrive": null,
|
||
"eachArrive": [],
|
||
"parallelDo": "",
|
||
"events": {
|
||
"5,2": [
|
||
{
|
||
"type": "if",
|
||
"condition": "switch:A",
|
||
"true": [
|
||
"\t[商人,woman]你得庆幸我还能跟你交易,不然你有可能拿不到图书馆37楼的东西",
|
||
{
|
||
"type": "hide",
|
||
"remove": true
|
||
}
|
||
],
|
||
"false": [
|
||
{
|
||
"type": "choices",
|
||
"text": "\t[商人,woman]我有${core.hasItem(\"Backpack\") ?\"两\":\"一\"}张地震卷轴,只要8000金币,你要吗?",
|
||
"choices": [
|
||
{
|
||
"text": "我太需要了",
|
||
"need": "status:money>=8000",
|
||
"action": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "status:money",
|
||
"operator": "-=",
|
||
"value": "8000"
|
||
},
|
||
{
|
||
"type": "setValue",
|
||
"name": "item:earthquake",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"type": "if",
|
||
"condition": "core.hasItem(\"Backpack\")",
|
||
"true": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "item:earthquake",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "setValue",
|
||
"name": "switch:A",
|
||
"value": "true"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "使用8星光支付",
|
||
"need": "flags.star.level>7",
|
||
"condition": "item:FriendshipBadge&&!switch:B",
|
||
"action": [
|
||
{
|
||
"type": "function",
|
||
"function": "function(){\nflags.star.level-=8\n}"
|
||
},
|
||
{
|
||
"type": "setValue",
|
||
"name": "item:earthquake",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
},
|
||
{
|
||
"type": "if",
|
||
"condition": "core.hasItem(\"Backpack\")",
|
||
"true": [
|
||
{
|
||
"type": "setValue",
|
||
"name": "item:earthquake",
|
||
"operator": "+=",
|
||
"value": "1"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"type": "setValue",
|
||
"name": "switch:B",
|
||
"value": "true"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "离开",
|
||
"action": []
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"changeFloor": {
|
||
"11,11": {
|
||
"floorId": ":before",
|
||
"stair": "upFloor"
|
||
},
|
||
"1,1": {
|
||
"floorId": ":next",
|
||
"stair": "downFloor"
|
||
}
|
||
},
|
||
"afterBattle": {},
|
||
"afterGetItem": {},
|
||
"afterOpenDoor": {},
|
||
"cannotMove": {},
|
||
"fgmap": [
|
||
|
||
],
|
||
"bgmap": [
|
||
|
||
],
|
||
"upFloor": [
|
||
2,
|
||
1
|
||
],
|
||
"downFloor": [
|
||
11,
|
||
10
|
||
],
|
||
"autoEvent": {},
|
||
"beforeBattle": {},
|
||
"cannotMoveIn": {},
|
||
"bg2map": [],
|
||
"fg2map": []
|
||
} |