yimengjiutian/project/floors/MT125.js

174 lines
5.0 KiB
JavaScript

main.floors.MT125=
{
"floorId": "MT125",
"title": "高中",
"name": "高中",
"width": 13,
"height": 13,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": false,
"cannotViewMap": false,
"images": [
{
"name": "tianshan.jpg",
"canvas": "bg",
"x": 0,
"y": 0,
"sx": 300,
"sy": 200,
"w": 416,
"h": 416
}
],
"ratio": 1,
"defaultGround": "ground",
"bgm": "qingchen.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {},
"changeFloor": {
"0,5": {
"floorId": "MT123",
"loc": [
12,
5
]
}
},
"beforeBattle": {},
"afterBattle": {
"6,1": [
{
"type": "setValue",
"name": "flag:door_MT125_7_5",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "flag:door_MT125_6_6",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "flag:gaikai",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:gaikai==78)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT131"
}
]
},
{
"type": "openDoor",
"loc": [
6,
6
],
"floorId": "MT128"
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {
"7,5": {
"0": {
"condition": "flag:door_MT125_7_5==1",
"currentFloor": true,
"priority": 0,
"delayExecute": false,
"multiExecute": false,
"data": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_MT125_7_5",
"operator": "=",
"value": "null"
}
]
}
},
"6,6": {
"0": {
"condition": "flag:door_MT125_6_6==1",
"currentFloor": true,
"priority": 0,
"delayExecute": false,
"multiExecute": false,
"data": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_MT125_6_6",
"operator": "=",
"value": "null"
}
]
}
}
},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0, 0, 0, 17, 17, 17, 17, 17, 0, 0, 0, 0],
[ 0, 0, 0, 0, 17, 17,264, 17, 17, 0, 0, 0, 0],
[ 0, 0, 0, 0, 17, 17, 0, 17, 17, 0, 0, 0, 0],
[ 0, 0, 0, 0, 17, 17, 0, 17, 17, 17, 17, 17, 17],
[ 17, 17, 17, 17, 17, 17, 85, 17, 17, 17, 17, 17, 17],
[ 92, 0, 0, 0,873,908, 0, 85, 0, 0,910,910, 17],
[70065,70065,70066, 17, 17, 17, 85, 17, 17, 17, 17, 17, 17],
[70107,70107,70108, 17, 17, 17, 0, 17, 0, 0, 0, 0, 0],
[ 17, 17, 17, 17, 17, 17,881, 17, 17, 17, 0, 0, 0],
[ 0, 0, 0, 0, 17, 17,881, 17, 17, 17, 0, 0, 0],
[ 0, 0, 0, 0, 17, 17, 17, 17, 17, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
[ 0, 0, 0, 0, 0,410021,410022,410023, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0,410029,410030,410031, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0,410037,410038,410039, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,657, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0,657, 0, 0, 0,410021,410022,410023],
[70049,70049,70050,657,657,657,657,657,657,657,410029,410030,410031],
[ 0, 0, 0, 0, 0, 0,657, 0, 0, 0,410037,410038,410039],
[ 0, 0, 0, 0, 0, 0,657, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0,410021,410022,410023, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0,410029,410030,410031, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0,410037,410038,410039, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
"fg2map": [
],
"flyPoint": [
0,
5
]
}