yimengjiutian/project/floors/MT182.js

276 lines
8.7 KiB
JavaScript

main.floors.MT182=
{
"floorId": "MT182",
"title": "人生宇宙",
"name": "人生宇宙",
"width": 13,
"height": 13,
"canFlyTo": false,
"canFlyFrom": false,
"canUseQuickShop": false,
"cannotViewMap": false,
"images": [
{
"name": "8.jpg",
"reverse": ":o",
"canvas": "bg",
"x": 0,
"y": 0
}
],
"ratio": 1,
"defaultGround": "ground",
"bgm": "jimeiren.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "var lastTime = core.getFlag('lastTime', 0);\n\nif (timestamp - lastTime > 60) {\n\tvar image = core.material.images.images[\"8.jpg\"];\n\tvar width = 416,\n\t\theight = 416;\n\n\tcore.canvas.bg.translate(width / 2, height / 2);\n\tcore.canvas.bg.rotate(Math.PI / 180 / 6);\n\tcore.canvas.bg.translate(-width / 2, -height / 2);\n\tcore.canvas.bg.drawImage(image, -296, -88);\n\n\tcore.setFlag('lastTime', timestamp);\n\n\tvar rotateTime = core.getFlag('rotateTime', 0);\n\trotateTime += 1;\n\tif (rotateTime >= 6 * 180) {\n\t\trotateTime -= 6 * 180;\n\t}\n\tcore.setFlag('rotateTime', rotateTime);\n}",
"events": {
"6,0": [
{
"type": "if",
"condition": "(flag:hard===3)",
"true": [
{
"type": "changeFloor",
"floorId": "MT183",
"loc": [
6,
12
]
}
],
"false": [
{
"type": "if",
"condition": "switch:D",
"true": [
{
"type": "changeFloor",
"floorId": "MT183",
"loc": [
6,
12
]
}
],
"false": [
"当我们长大后,需要做的就是自己独立,不能总依靠父母。大四我利用课余时间给别人进行一对一上课辅导赚了一笔钱。这一次我没有被抵制,但我很清楚,未来的路不可能像这次这样这么好走。",
"人都是很现实的,钱是生活的根本。而我们拼命学习的很大部分就是为了今后可以找到好工作。而当我们开始赚钱时,好几座大山会立刻压在自己背上。",
{
"type": "setValue",
"name": "switch:D",
"value": "true"
},
{
"type": "changeFloor",
"floorId": "MT183",
"loc": [
6,
12
]
}
]
}
]
}
]
},
"changeFloor": {
"6,12": {
"floorId": "MT181",
"loc": [
6,
0
]
}
},
"beforeBattle": {},
"afterBattle": {
"5,11": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"1,10": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"4,8": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"1,6": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"4,4": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"1,2": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"5,1": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
]
},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"cannotMoveIn": {},
"map": [
[40044,40044,40044,40044,40044,40044, 89,40044,40044,40044,40044,40044,40044],
[40044, 0,916,916, 0,923, 0,40044,916,915,917,917,917],
[40044,923,40044,40044,40044,40044,40044,40044,40044,40044,40044, 83,40044],
[40044, 0,916,916, 0,40044,40044,40044,915,915,915,916,40044],
[40044,40044,40044,40044,923,40044, 21,40044, 82,40044,40044,40044,40044],
[40044, 0,916,916, 0,40044, 21,40044,916,916,915, 82,40044],
[40044,923,40044,40044,40044,40044, 21,40044,40044,40044,40044,916,40044],
[40044, 0,916,916, 0,40044, 21,40044,916, 82,915,916,40044],
[40044,40044,40044,40044,923,40044, 21,40044, 81,40044,40044,40044,40044],
[40044, 0,916,916, 0,40044, 82,40044,916, 81,916, 81,40044],
[40044,923,40044,40044,40044,40044, 82,40044,40044,40044,40044,916,40044],
[40044, 0,916,916, 0,923, 0, 81,916, 81,916, 81,40044],
[40044,40044,40044,40044,40044,40044,104,40044,40044,40044,40044,40044,40044]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}