HumanBreak/public/project/floors/MT5.js

183 lines
6.2 KiB
JavaScript
Raw Normal View History

2022-11-13 18:02:05 +08:00
main.floors.MT5=
{
"floorId": "MT5",
"title": "洞穴",
"name": "5",
"width": 15,
"height": 15,
"canFlyTo": true,
"canFlyFrom": true,
"canUseQuickShop": true,
"cannotViewMap": false,
"images": [],
"ratio": 1,
"defaultGround": "T331",
"bgm": "cave.mp3",
"firstArrive": [],
"eachArrive": [],
"parallelDo": "",
"events": {
"14,7": [
2024-10-02 22:23:15 +08:00
{
"type": "confirm",
"text": "是否提交序章成绩?",
"yes": [
{
"type": "win",
"reason": "踏上旅途"
}
],
"no": []
},
2022-11-13 18:02:05 +08:00
{
"type": "if",
"condition": "(flag:cave==1)",
"true": [
{
"type": "changeFloor",
"floorId": "MT6",
"loc": [
2,
4
],
"direction": "down"
},
{
"type": "setGlobalValue",
"name": "animateSpeed",
"value": 270.2703
}
],
"false": [
{
"type": "setCurtain",
"color": [
0,
0,
0,
1
],
"time": 1500,
"keep": true
},
{
"type": "setText",
"text": [
0,
0,
0,
1
],
"background": "winskin3.png",
"textfont": 20,
"time": 25
},
2022-12-30 14:14:28 +08:00
"人类简史——起源篇",
2022-11-13 18:02:05 +08:00
{
"type": "playSound",
"name": "paper.mp3"
},
2022-12-30 14:14:28 +08:00
"走出山洞,看似一个不起眼的举动,却是一个让残酷的真相永远地消失在了历史中的举动。",
2022-11-13 18:02:05 +08:00
{
"type": "playSound",
"name": "paper.mp3"
},
2022-12-30 14:14:28 +08:00
"但是,这个举动,也是人类至今都能与自然和谐共处的根本。",
2022-11-13 18:02:05 +08:00
{
"type": "playSound",
"name": "paper.mp3"
},
2022-12-30 14:14:28 +08:00
"那些残酷的历史将无人知晓,那些人类的残忍杀戮将不会出现。",
2022-11-13 18:02:05 +08:00
{
"type": "playSound",
"name": "paper.mp3"
},
2022-12-30 14:14:28 +08:00
"而这些源头便是这看似无足轻重的一个举动。",
2022-11-13 18:02:05 +08:00
{
"type": "setText",
"text": [
255,
255,
255,
1
],
"background": "winskin2.png",
"textfont": 20,
"time": 25
},
{
"type": "changeFloor",
"floorId": "MT6",
"loc": [
2,
4
],
"direction": "down"
},
{
"type": "setValue",
"name": "flag:cave",
"value": "1"
},
{
"type": "setGlobalValue",
"name": "animateSpeed",
"value": 270.2703
}
]
}
],
"13,7": [
"这里是漏怪检测,会检测\r[gold]山洞\r[]区域的怪物是否清空",
{
"type": "function",
2024-02-01 19:31:49 +08:00
"function": "function(){\nconst enemy = Mota.Plugin.require('remainEnemy_g').getRemainEnemyString(core.floorIds.slice(0, 5));\nif (enemy.length === 0) {\n\tcore.insertAction(['当前无剩余怪物!', { \"type\": \"hide\", \"remove\": true }, ]);\n} else {\n\tcore.insertAction(enemy);\n}\n}"
2022-11-13 18:02:05 +08:00
}
]
},
"changeFloor": {
"0,7": {
"floorId": "MT3",
"loc": [
14,
7
]
}
},
"afterBattle": {},
"afterGetItem": {},
"afterOpenDoor": {},
"autoEvent": {},
"cannotMove": {},
"map": [
[20044,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20049,20043],
[20042,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20057,20040],
[20042,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20065,20040],
[20042, 32, 27, 0,141, 32, 0, 27, 0, 32,141, 0, 27, 32,20040],
[20050,141,141,213,141,141,141,213,141,141,141,213,141,141,20048],
[20058, 32, 28, 0,141, 32, 0, 28, 0, 32,141, 0, 28, 32,20056],
[20074,141,141,216,141,141,141,216,141,141,141,216,141,141,20064],
[ 92, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,516, 94],
[20034,336,336,216,336,336,336,216,336,336,336,216,336,336,20032],
[20042, 31, 32, 31,336, 0,203, 0,203, 0,336, 31, 32, 31,20040],
[20042, 0, 28, 0,336, 31,336, 31,336, 31,336, 0, 28, 0,20040],
[20042,215,336,336,336,336,336,215,336,336,336,336,336,215,20040],
[20042, 0, 32, 0,336, 31,336, 31,336, 31,336, 0, 32, 0,20040],
[20042, 0, 27, 0,336, 0,203, 0,203, 0,336, 0, 27, 0,20040],
[20036,20033,20033,20033,20033,20033,20033,20033,20033,20033,20033,20033,20033,20033,20035]
],
"bgmap": [
],
"fgmap": [
],
"beforeBattle": {},
"cannotMoveIn": {},
"bg2map": [
],
"fg2map": [
]
}