yimengjiutian/project/floors/MT141.js

196 lines
5.5 KiB
JavaScript

main.floors.MT141=
{
"floorId": "MT141",
"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": {
"12,6": {
"floorId": "MT128",
"loc": [
0,
6
]
}
},
"beforeBattle": {},
"afterBattle": {
"8,2": [
{
"type": "setValue",
"name": "flag:door_MT141_8_8",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "flag:door_MT141_5_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,
3
],
"floorId": "MT142"
}
],
"9,6": [
{
"type": "setValue",
"name": "flag:gaikai",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:gaikai==78)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT131"
}
]
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {
"8,8": {
"0": {
"condition": "flag:door_MT141_8_8==1",
"currentFloor": true,
"priority": 0,
"delayExecute": false,
"multiExecute": false,
"data": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_MT141_8_8",
"operator": "=",
"value": "null"
}
]
}
},
"5,6": {
"0": {
"condition": "flag:door_MT141_5_6==1",
"currentFloor": true,
"priority": 0,
"delayExecute": false,
"multiExecute": false,
"data": [
{
"type": "openDoor"
},
{
"type": "setValue",
"name": "flag:door_MT141_5_6",
"operator": "=",
"value": "null"
}
]
}
}
},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 0, 0],
[ 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 17, 0, 0],
[ 0, 0, 0, 0, 0, 0, 17, 0,356, 0, 17, 0, 0],
[ 0, 0, 0, 0, 0, 0, 17, 0, 0, 0, 17, 0, 17],
[ 0, 17, 17, 17, 17, 17, 17, 17, 83, 17, 17, 0, 0],
[ 0, 17,908, 0,908, 17, 17, 17,875, 17, 17, 17, 17],
[ 0, 17, 0,885, 0, 85,908,874, 23,820, 81, 0, 94],
[ 0, 17,908, 0,908, 17, 17, 17,876, 17, 17, 17, 17],
[ 0, 17, 17, 17, 17, 17, 17, 17, 85, 17, 17, 0, 0],
[ 0, 0, 0, 0, 0, 0, 17,908, 0,908, 17, 0, 0],
[ 0, 0, 0, 0, 0, 0, 17, 0,944, 0, 17, 0, 0],
[ 0, 0, 0, 0, 0, 0, 17,908, 0,908, 17, 0, 0],
[ 0, 0, 0, 0, 0, 0, 17, 17, 17, 17, 17, 0, 0]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,657,657,657, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,657,657,657, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,657,657,657, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0,657, 0, 0, 0, 0],
[ 0, 0,657,657,657, 0, 0, 0,657, 0, 0, 0, 0],
[ 0, 0,657,657,657,657,657,657,657,657,657,657,657],
[ 0, 0,657,657,657, 0, 0, 0,657, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0,657, 0, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,657,657,657, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,657,657,657, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0,657,657,657, 0, 0, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
"fg2map": [
],
"flyPoint": [
12,
6
]
}