yimengjiutian/project/floors/MT51.js

228 lines
6.6 KiB
JavaScript

main.floors.MT51=
{
"floorId": "MT51",
"title": "五年级最后时光",
"name": "五年级最后时光",
"width": 13,
"height": 13,
"canFlyTo": false,
"canFlyFrom": false,
"canUseQuickShop": false,
"cannotViewMap": false,
"images": [
{
"name": "shanhe.jpg",
"canvas": "bg",
"x": 0,
"y": 0
}
],
"ratio": 1,
"defaultGround": "ground",
"bgm": "Mountain.mp3",
"firstArrive": [
{
"type": "setCurtain",
"time": 1000
},
{
"type": "showStatusBar"
}
],
"eachArrive": [],
"parallelDo": "",
"events": {
"6,2": [
{
"type": "if",
"condition": "(flag:hard===3)",
"true": [
{
"type": "changeFloor",
"floorId": "MT52",
"loc": [
6,
10
]
}
],
"false": [
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 1000,
"keep": true
},
"五年级过完后,我迎来了暑假。我们也换了新班主任。",
"新班主任对我很好,是我人生中对我为数不多的好老师。我很尊重他。而我六年级,也可以说是我小学最高光的时刻。",
{
"type": "changeFloor",
"floorId": "MT52",
"loc": [
6,
10
]
}
]
}
]
},
"changeFloor": {},
"beforeBattle": {},
"afterBattle": {
"6,4": [
{
"type": "setValue",
"name": "flag:liunian",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:liunian==5)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"4,6": [
{
"type": "setValue",
"name": "flag:liunian",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:liunian==5)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"9,6": [
{
"type": "setValue",
"name": "flag:liunian",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:liunian==5)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"10,8": [
{
"type": "setValue",
"name": "flag:liunian",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:liunian==5)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
],
"10,4": [
{
"type": "setValue",
"name": "flag:liunian",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:liunian==5)",
"true": [
{
"type": "openDoor",
"loc": [
6,
3
]
}
]
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,152,152,152,152,152,152,152,152,152,152,152, 0],
[ 0,152,152,731,152,152, 89,152,152,587,449,152, 0],
[ 0,152,152, 82,152,152, 86,152,152,589, 0,152, 0],
[ 0,152,152,449,152,152,230,152,152,152,237,152, 0],
[ 0,152,152, 81,152,152, 0,152,152,152, 81,152, 0],
[ 0,152,152, 0,237, 81,450, 81, 81,237, 0,152, 0],
[ 0,152,152, 81,152,152, 22,152,152,152, 82,152, 0],
[ 0,152,152,449,152,152, 21,152,152,152,237,152, 0],
[ 0,152,152, 82,152,152, 21,152,152,589, 0,152, 0],
[ 0,152,152,731,152,152, 0,152,152,588,451,152, 0],
[ 0,152,152,152,152,152,152,152,152,152,152,152, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[ 0,240167,100041,100041,100041,100041,100041,100041,100041,100041,100041,100042, 0],
[ 0,240173,305,305,305,305,305,305,305,305,305,100050, 0],
[ 0,240173,305,305,305,305,305,305,305,305,305,100050, 0],
[ 0,240173,305,305,305,305,305,305,305,305,305,100050, 0],
[ 0,240173,305,305,305,305,305,305,305,305,305,100050, 0],
[ 0,240173,305,305,305,305,305,305,305,305,305,100050, 0],
[ 0,240173,305,305,305,305,305,305,305,305,305,100050, 0],
[ 0,240173,305,305,305,305,305,305,305,305,305,100050, 0],
[ 0,240173,305,305,305,305,305,305,305,305,305,100050, 0],
[ 0,240173,305,305,305,305,305,305,305,305,305,100050, 0],
[ 0,240176,100057,100057,100057,100057,100057,100057,100057,100057,100057,100058, 0],
[ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
"fg2map": [
]
}