yimengjiutian/project/floors/MT180.js

254 lines
8.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

main.floors.MT180=
{
"floorId": "MT180",
"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": "MT181",
"loc": [
6,
12
]
}
],
"false": [
{
"type": "if",
"condition": "switch:B",
"true": [
{
"type": "changeFloor",
"floorId": "MT181",
"loc": [
6,
12
]
}
],
"false": [
"正所谓失败过后总会出现彩虹黑暗过后必将是黎明的到来。最终我经历了十几次投递并在华为公司面试了五轮后获得了华为的offer。",
"这是我真真正正的获得的offer此时此刻我的心情难以用语言表达。正所谓生活可能没有你想象的那么好但绝对不会那么糟。人的坚强有时超乎自己的想象认定的事情多坚持一下说不定就成功了",
{
"type": "setValue",
"name": "switch:B",
"value": "true"
},
{
"type": "changeFloor",
"floorId": "MT181",
"loc": [
6,
12
]
}
]
}
]
}
]
},
"changeFloor": {
"6,12": {
"floorId": "MT179",
"loc": [
6,
0
]
}
},
"beforeBattle": {},
"afterBattle": {
"5,10": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"2,9": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"4,7": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"4,3": [
{
"type": "setValue",
"name": "flag:wotainanle",
"operator": "+=",
"value": "1"
},
{
"type": "if",
"condition": "(flag:wotainanle==28)",
"true": [
{
"type": "openDoor",
"loc": [
6,
1
],
"floorId": "MT183"
}
]
}
],
"2,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,40044, 0,916, 0,958, 0,40044,916,915,917,917,917],
[40044,40044,958,40044,40044,40044,40044,40044,40044, 83,40044,40044,40044],
[40044,40044,916, 0,958,40044, 0, 81,915,915, 81,915,915],
[40044,40044,40044,40044, 0,40044, 0,40044,40044,40044,40044,40044,40044],
[40044,40044,40044,40044,916,40044, 0,40044,917,40044,917,917,917],
[40044,40044,40044,40044, 0,40044, 0,40044,915,40044,915,916,40044],
[40044,40044,40044,40044,958,40044, 0,40044, 82,40044, 83,40044,40044],
[40044,40044, 0,916, 0,40044, 0, 81,916, 81,914,914,915],
[40044,40044,958,40044,40044,40044, 0,40044,40044,40044,40044,40044,40044],
[40044,40044, 0,916, 0,958, 0,40044,917,917,917,917,917],
[40044,40044,40044,40044,40044,40044, 0,40044,917,917,917,40044,40044],
[40044,40044,40044,40044,40044,40044,104,40044,40044,40044,40044,40044,40044]
],
"bgmap": [
],
"fgmap": [
],
"bg2map": [
],
"fg2map": [
]
}