HumanBreak/public/project/floors/MT31.js

285 lines
10 KiB
JavaScript
Raw Normal View History

2023-01-15 20:09:02 +08:00
main.floors.MT31 = {
floorId: 'MT31',
title: '智慧小径',
name: '智慧小径',
width: 15,
height: 15,
canFlyTo: true,
canFlyFrom: true,
canUseQuickShop: true,
cannotViewMap: false,
images: [],
ratio: 2,
defaultGround: 'grass',
bgm: 'road.mp3',
firstArrive: [
'\t[低级智人]\b[up,hero]杰克,你为什么在这?',
'\t[杰克,thief]\b[up,4,7]哟,咱好久不见了,我只是来这里寻找点东西。',
'\t[低级智人]\b[up,hero]这里怪物这么强,你怎么能打败他?',
'\t[杰克,thief]\b[up,4,7]我有我的特殊办法。',
'\t[低级智人]\b[up,hero]那些...绿色宝石吗?',
'\t[杰克,thief]\b[up,4,7]绿色宝石?我没见过那东西。',
'\t[低级智人]\b[up,hero]那是什么办法呢?',
'\t[杰克,thief]\b[up,4,7]这个你就不用操心了。',
'\t[杰克,thief]\b[up,4,7]对了,有人让我给你说一句话。',
'\t[杰克,thief]\b[up,4,7]时间会诉说真相,而历史不会。',
'\t[杰克,thief]\b[up,4,7]即使历史是真实的。',
'\t[低级智人]\b[up,hero]什么意思?',
'\t[杰克,thief]\b[up,4,7]我也不清楚,不过我先走了,你慢慢理解。',
2023-01-05 22:21:40 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'jump',
from: [4, 7],
dxy: [15, 0],
time: 500
2023-01-05 22:21:40 +08:00
},
2023-01-15 20:09:02 +08:00
'\t[低级智人]\b[up,hero]...',
'\t[低级智人]\b[up,hero]时间会诉说真相,而历史不会...',
'\t[低级智人]\b[up,hero]能相信的只有时间,而历史能被篡改吗...',
'\t[低级智人]\b[up,hero]历史是真实的,又为何不会诉说真相呢...',
'\t[低级智人]\b[up,hero]完全不能理解。'
2023-01-05 22:21:40 +08:00
],
2023-01-15 20:09:02 +08:00
eachArrive: [],
parallelDo: '',
events: {
'14,7': [
2023-01-06 16:21:17 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'if',
condition: '(!flag:inWinter)',
true: [
2023-01-06 16:21:17 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'setCurtain',
color: [0, 0, 0, 1],
time: 1500,
keep: true
2023-01-06 16:21:17 +08:00
},
{
2023-01-15 20:09:02 +08:00
type: 'setText',
text: [0, 0, 0, 1],
background: 'winskin3.png'
2023-01-06 16:21:17 +08:00
},
2023-01-15 20:09:02 +08:00
'人类简史——进化篇',
2023-01-06 16:21:17 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'playSound',
name: 'paper.mp3'
2023-01-06 16:21:17 +08:00
},
2023-01-15 20:09:02 +08:00
'经过了漫长的行走,他感到真相越来越接近。',
2023-01-06 16:21:17 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'playSound',
name: 'paper.mp3'
2023-01-06 16:21:17 +08:00
},
2023-01-15 20:09:02 +08:00
'前方,是会将凛冽渗入骨髓的冰封雪原。',
2023-01-06 16:21:17 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'playSound',
name: 'paper.mp3'
2023-01-06 16:21:17 +08:00
},
2023-01-15 20:09:02 +08:00
'这里,他将寻找到所谓的真相。',
2023-01-06 16:21:17 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'changeFloor',
floorId: 'MT32',
loc: [0, 7]
2023-01-06 16:21:17 +08:00
},
{
2023-01-15 20:09:02 +08:00
type: 'setCurtain',
time: 1000
2023-01-06 16:21:17 +08:00
},
{
2023-01-15 20:09:02 +08:00
type: 'setText',
text: [255, 255, 255, 1],
background: 'winskin2.png'
2023-01-06 16:21:17 +08:00
},
2023-01-15 20:09:02 +08:00
'\t[低级智人]\b[up,hero]呼,好冷。',
'\t[低级智人]\b[up,hero]嗯?',
2023-01-06 16:21:17 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'moveHero',
time: 250,
steps: ['right:1']
2023-01-06 16:21:17 +08:00
},
2023-01-15 20:09:02 +08:00
'\t[低级智人]\b[up,hero]这是杰克给我留下的衣服吗?',
'\t[低级智人]\b[up,hero]先穿上吧,这里太冷了。',
2023-01-06 16:21:17 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'setValue',
name: 'flag:inWinter',
value: 'true'
2023-01-06 16:21:17 +08:00
}
],
2023-01-15 20:09:02 +08:00
false: [
2023-01-06 16:21:17 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'changeFloor',
floorId: 'MT32',
loc: [0, 7]
2023-01-06 16:21:17 +08:00
}
]
}
2023-01-06 21:51:58 +08:00
],
2023-01-15 20:09:02 +08:00
'2,6': [
'注意右方的清怪检测是检测\r[gold]勇气之路\r[]的怪物,本区域的怪物不检测,可以暂时留怪'
2023-01-06 21:51:58 +08:00
],
2023-01-15 20:09:02 +08:00
'13,7': [
'这里是漏怪检测,会检测\r[gold]勇气之路\r[]区域是否有遗漏怪物',
2023-01-06 21:51:58 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'function',
function:
2023-02-28 17:49:34 +08:00
'function(){\nconst enemy = core.plugin.remainEnemy.getRemainEnemyString(core.floorIds.slice(17, 22));\nif (enemy.length === 0) {\n\tcore.insertAction([\'当前无剩余怪物!\', { "type": "hide", "remove": true }, ]);\n} else {\n\tcore.insertAction(enemy);\n}\n}'
2023-01-06 21:51:58 +08:00
}
2023-01-06 16:21:17 +08:00
]
},
2023-01-15 20:09:02 +08:00
changeFloor: {
'0,7': {
floorId: 'MT29',
loc: [14, 8]
2023-01-05 22:21:40 +08:00
}
},
2023-01-15 20:09:02 +08:00
beforeBattle: {},
afterBattle: {
'10,7': [
'\t[智慧守护者,E577]\b[up,10,7]智慧!终于有人可以得到这些智慧了!',
'\t[智慧守护者,E577]\b[up,10,7]终于要迎来结束战争的那一天了!',
'\t[智慧守护者,E577]\b[up,10,7]我的任务终于完成了!!',
'\t[低级智人]\b[up,hero]什么结束战争,什么完成任务?',
2023-01-05 22:21:40 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'setBlock',
number: 'I476',
time: 1000
2023-01-05 22:21:40 +08:00
},
2023-01-15 20:09:02 +08:00
'\t[低级智人]\b[up,hero]哎,没问到啊...',
'\t[低级智人]\b[up,hero]战争,又是什么意思呢?',
'\t[低级智人]\b[up,hero]之前智慧之神也提过战争,但是我还没问我们就打起来了。',
'\t[低级智人]\b[up,hero]之后应该就知道了。',
2023-01-05 22:21:40 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'function',
function: 'function(){\ncore.getNextItem()\n}'
2023-01-05 22:21:40 +08:00
},
{
2023-01-15 20:09:02 +08:00
type: 'sleep',
time: 1000
2023-01-05 22:21:40 +08:00
},
2023-01-15 20:09:02 +08:00
'\t[低级智人]\b[up,hero]',
'\t[低级智人]\b[up,hero]这种感觉!',
'\t[低级智人]\b[up,hero]感觉前所未有的东西涌入了大脑。',
'\t[低级智人]\b[up,hero]这就是智慧吗。',
'\t[低级智人]\b[up,hero]原来如此。',
'\t[低级智人]\b[up,hero]原来,智慧是这个意思。',
'\t[低级智人]\b[up,hero]我明白了,我全都明白了。',
'\t[低级智人]\b[up,hero]智慧,真的可以掌握万物。',
2023-01-05 22:21:40 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'setValue',
name: 'flag:door_MT31_7_6',
operator: '+=',
value: '1'
2023-01-05 22:21:40 +08:00
}
]
},
2023-01-15 20:09:02 +08:00
afterGetItem: {},
afterOpenDoor: {},
autoEvent: {
'7,5': {
0: {
condition: 'flag:door_MT31_7_6==1',
currentFloor: true,
priority: 0,
delayExecute: false,
multiExecute: false,
data: [
2023-01-05 22:21:40 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'openDoor'
2023-01-05 22:21:40 +08:00
},
{
2023-01-15 20:09:02 +08:00
type: 'setValue',
name: 'flag:door_MT31_7_6',
operator: '=',
value: 'null'
2023-01-05 22:21:40 +08:00
}
]
},
2023-01-15 20:09:02 +08:00
1: null
2023-01-05 22:21:40 +08:00
},
2023-01-15 20:09:02 +08:00
'7,9': {
0: {
condition: 'flag:door_MT31_7_6==1',
currentFloor: true,
priority: 0,
delayExecute: false,
multiExecute: false,
data: [
2023-01-05 22:21:40 +08:00
{
2023-01-15 20:09:02 +08:00
type: 'openDoor'
2023-01-05 22:21:40 +08:00
},
{
2023-01-15 20:09:02 +08:00
type: 'setValue',
name: 'flag:door_MT31_7_6',
operator: '=',
value: 'null'
2023-01-05 22:21:40 +08:00
}
]
},
2023-01-15 20:09:02 +08:00
1: null
2023-01-05 22:21:40 +08:00
}
},
2023-01-15 20:09:02 +08:00
cannotMove: {},
cannotMoveIn: {},
map: [
[
143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143
],
[
143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143
],
[
143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143
],
[
143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143
],
[143, 143, 0, 0, 0, 0, 143, 491, 491, 468, 468, 466, 466, 143, 143],
[143, 143, 0, 491, 491, 0, 143, 85, 143, 143, 143, 143, 143, 143, 143],
[143, 143, 129, 0, 0, 0, 143, 0, 0, 0, 0, 0, 0, 143, 143],
[92, 0, 0, 23, 123, 0, 497, 0, 0, 0, 577, 0, 0, 516, 94],
[143, 143, 0, 0, 0, 0, 143, 0, 0, 0, 0, 0, 0, 143, 143],
[143, 143, 0, 491, 491, 0, 143, 85, 143, 143, 143, 143, 143, 143, 143],
[143, 143, 0, 0, 0, 0, 143, 491, 491, 468, 468, 467, 467, 143, 143],
[
143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143
],
[
143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143
],
[
143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143
],
[
143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143, 143,
143, 143
]
],
bgmap: [
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[
144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144, 144,
144, 144
],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
],
fgmap: [],
bg2map: [],
fg2map: []
};