HumanBreak/public/project/data.js

706 lines
13 KiB
JavaScript
Raw Normal View History

2022-11-13 18:02:05 +08:00
var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
{
"main": {
"floorIds": [
2023-01-08 22:59:39 +08:00
"empty",
2022-11-13 18:02:05 +08:00
"MT0",
"MT1",
"MT2",
"MT3",
"MT4",
"MT5",
"MT6",
"MT7",
"MT8",
"MT9",
"MT10",
"MT11",
"MT12",
"MT13",
"MT14",
"MT15",
"MT16",
"MT17",
"MT18",
"MT19",
"MT20",
"MT21",
"tower1",
"tower2",
"tower3",
"tower4",
"tower5",
"tower6",
2023-01-04 18:34:35 +08:00
"tower7",
"MT22",
"MT23",
"MT24",
"MT25",
"MT26",
"MT27",
"MT28",
"MT29",
2023-01-05 22:21:40 +08:00
"MT30",
2023-01-06 16:21:17 +08:00
"MT31",
"MT32",
"MT33",
"MT34",
"MT35",
"MT36",
"MT37",
"MT38",
"MT39",
"MT40",
"MT41",
"MT42",
"MT43",
"MT44",
"MT45"
2022-11-13 18:02:05 +08:00
],
"floorPartitions": [
[
"MT0",
"MT16"
],
[
"MT17"
]
],
"images": [
"IQ.png",
"arrow.png",
"atk.png",
"bg.jpg",
"boom.png",
"botton.png",
"cave2.jpg",
"def.png",
"exp.png",
"hero1.png",
"hero2.png",
"hp.png",
"money.png",
2022-12-28 20:34:23 +08:00
"skill.png",
2022-11-13 18:02:05 +08:00
"skill0.png",
"skill1.png",
"skill10.png",
"skill11.png",
"skill12.png",
"skill13.png",
"skill14.png",
2022-11-13 18:02:05 +08:00
"skill2.png",
"skill3.png",
"skill4.png",
"skill5.png",
"skill6.png",
"skill7.png",
"skill8.png",
"skill9.png",
2022-11-13 18:02:05 +08:00
"title.jpg",
"tower.jpg",
"tower7.jpeg",
"winskin.png",
"winskin2.png",
"winskin3.png"
],
"tilesets": [
"magictower.png",
"043-Cave01.png",
"004-Mountain01.png",
"Map-Tower01.png",
"Caverna1.png",
2023-01-06 16:21:17 +08:00
"map-tower.png",
"winter1.png"
2022-11-13 18:02:05 +08:00
],
"animates": [
"amazed",
"angry",
"angry2",
"bulb",
"emm",
"explosion1",
"explosion2",
"explosion3",
"explosion4",
"fire",
"focus",
"fret",
"hand",
"ice",
"jianji",
"luv",
"magicAtk",
"stone",
"sweat",
"sweat2",
"sword",
"zone"
],
"bgms": [
"beforeBoss.mp3",
2023-01-04 18:34:35 +08:00
"beforeNight.mp3",
2022-11-13 18:02:05 +08:00
"cave.mp3",
"escape.mp3",
"grass.mp3",
"mount.mp3",
2023-01-04 18:34:35 +08:00
"night.mp3",
2023-01-06 16:21:17 +08:00
"palaceNorth.mp3",
"palaceSouth.mp3",
2022-11-13 18:02:05 +08:00
"plot1.mp3",
2023-01-04 18:34:35 +08:00
"road.mp3",
2022-11-13 18:02:05 +08:00
"title.mp3",
"tower.mp3",
"towerBoss.mp3",
"towerBoss2.mp3",
2023-01-04 18:34:35 +08:00
"towerBoss3.mp3",
2023-01-06 16:21:17 +08:00
"winter.mp3",
"winterTown.mp3"
2022-11-13 18:02:05 +08:00
],
"sounds": [
"008-System08.ogg",
"015-Jump01.ogg",
"050-Explosion03.ogg",
"051-Explosion04.ogg",
"087-Action02.ogg",
"094-Attack06.ogg",
"118-Fire02.ogg",
"119-Fire03.ogg",
"120-Ice01.ogg",
"arrow.mp3",
"attack.mp3",
"bomb.mp3",
"cancel.mp3",
"centerFly.mp3",
"chapter.mp3",
"confirm.mp3",
"cursor.mp3",
"danger.mp3",
"door.mp3",
"electron.mp3",
"equip.mp3",
"error.mp3",
"floor.mp3",
"item.mp3",
"jump.mp3",
"load.mp3",
"open_ui.mp3",
"paper.mp3",
"pickaxe.mp3",
"quake.mp3",
"recovery.mp3",
"save.mp3",
"shake.mp3",
"shop.mp3",
"thunder.mp3",
"tree.mp3",
"zone.mp3"
],
"fonts": [
2023-01-04 18:34:35 +08:00
"normal"
2022-11-13 18:02:05 +08:00
],
"nameMap": {
"确定": "confirm.mp3",
"取消": "cancel.mp3",
"操作失败": "error.mp3",
"光标移动": "cursor.mp3",
"打开界面": "open_ui.mp3",
"读档": "load.mp3",
"存档": "save.mp3",
"获得道具": "item.mp3",
"回血": "recovery.mp3",
"炸弹": "bomb.mp3",
"飞行器": "centerFly.mp3",
"开关门": "door.mp3",
"上下楼": "floor.mp3",
"跳跃": "jump.mp3",
"破墙镐": "pickaxe.mp3",
"破冰镐": "icePickaxe.mp3",
"宝石": "gem.mp3",
"阻激夹域": "zone.mp3",
"穿脱装备": "equip.mp3",
"背景音乐": "bgm.mp3",
"攻击": "attack.mp3",
"背景图": "bg.jpg",
"商店": "shop.mp3",
"领域": "zone"
},
"levelChoose": [
{
"title": "简单",
2022-12-30 14:14:28 +08:00
"name": "easy",
2022-11-13 18:02:05 +08:00
"hard": 1,
"color": [
0,
255,
22,
1
],
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "3"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "2"
},
"简单难度下,初始攻击+3初始防御+2全局减伤10%,绿宝石效果*2"
]
},
{
"title": "困难",
"name": "hard",
"hard": 2,
"color": [
255,
0,
0,
1
],
"action": []
}
],
"equipName": [
"武器",
"盾牌",
"衣服",
"鞋子",
"首饰",
"首饰",
"首饰"
],
"startBgm": "title.mp3",
"styles": {
"startBackground": "project/images/bg.jpg",
"startVerticalBackground": "project/images/bg.jpg",
"startLogoStyle": " ",
"startButtonsStyle": "background-color: #32369F; opacity: 0.85; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;",
"statusLeftBackground": "url(project/images/cave1.jpg)",
"statusTopBackground": "url(project/images/cave2.jpg) no-repeat",
"toolsBackground": "url(project/images/cave2.jpg) no-repeat",
"floorChangingStyle": " ",
2022-11-13 18:02:05 +08:00
"statusBarColor": [
255,
255,
255,
1
],
"borderColor": [
204,
204,
204,
1
],
"selectColor": [
255,
215,
0,
1
],
"font": "normal"
},
"splitImages": []
},
"firstData": {
"title": "人类:开天辟地",
"name": "HumanBreak",
"version": "Ver 2.7.3.1",
"floorId": "MT0",
"hero": {
"image": "hero1.png",
"animate": false,
"name": "原始人",
"lv": 1,
"hpmax": 0,
"hp": 500,
"manamax": -1,
"mana": 0,
"atk": 7,
"def": 5,
"mdef": 20,
"money": 0,
"exp": 0,
"equipment": [],
"items": {
"constants": {},
"tools": {},
"equips": {}
},
"loc": {
"direction": "up",
"x": 7,
"y": 13
},
"flags": {},
"followers": [],
"steps": 0
},
"startCanvas": [
{
"type": "comment",
"text": "在这里可以用事件来自定义绘制标题界面的背景图等"
},
{
"type": "comment",
"text": "也可以直接切换到其他楼层(比如某个开始剧情楼层)进行操作。"
},
{
"type": "showImage",
"code": 1,
"image": "bg.jpg",
"loc": [
0,
0
],
"opacity": 1,
"time": 0
},
{
"type": "while",
"condition": "1",
"data": [
{
"type": "comment",
"text": "给用户提供选择项这里简单的使用了choices事件"
},
{
"type": "comment",
"text": "也可以贴按钮图然后使用等待操作来完成"
},
{
"type": "choices",
"choices": [
{
"text": "开始游戏",
"action": [
{
"type": "comment",
"text": "检查bgm状态下同"
},
{
"type": "function",
"function": "function(){\ncore.control.checkBgm()\n}"
},
{
"type": "if",
"condition": "main.levelChoose.length == 0",
"true": [
{
"type": "comment",
"text": "直接开始游戏"
}
],
"false": [
{
"type": "comment",
"text": "动态生成难度选择项"
},
{
"type": "function",
"function": "function(){\nvar choices = [];\nmain.levelChoose.forEach(function (one) {\n\tchoices.push({\n\t\t\"text\": one.title || '',\n\t\t\"action\": [\n\t\t\t{ \"type\": \"function\", \"function\": \"function() { core.status.hard = '\" + (one.name || '') + \"'; }\" }\n\t\t]\n\t});\n})\ncore.insertAction({ \"type\": \"choices\", \"choices\": choices });\n}"
}
]
},
{
"type": "hideImage",
"code": 1,
"time": 0
},
{
"type": "comment",
"text": "成功选择难度"
},
{
"type": "break"
}
]
},
{
"text": "读取存档",
"action": [
{
"type": "function",
"function": "function(){\ncore.control.checkBgm()\n}"
},
{
"type": "comment",
"text": "简单的使用“呼出读档界面”来处理"
},
{
"type": "callLoad"
}
]
},
{
"text": "回放录像",
"action": [
{
"type": "function",
"function": "function(){\ncore.control.checkBgm()\n}"
},
{
"type": "comment",
"text": "这段代码会弹框选择录像文件"
},
{
"type": "if",
"condition": "(!core.isReplaying())",
"true": [
{
"type": "function",
"function": "function(){\ncore.chooseReplayFile()\n}"
}
]
}
]
}
]
}
]
},
{
"type": "comment",
"text": "接下来会执行startText中的事件"
}
],
"startText": [
{
"type": "setValue",
"name": "flag:itemDetail",
"value": "true"
},
{
"type": "hideStatusBar"
},
{
"type": "setText",
"text": [
0,
0,
0,
1
],
"background": "winskin3.png",
"textfont": 20,
2022-12-30 17:41:07 +08:00
"time": 25,
"letterSpacing": 1
2022-11-13 18:02:05 +08:00
},
{
"type": "setGlobalAttribute",
"name": "font",
2023-01-04 18:34:35 +08:00
"value": "normal"
2022-11-13 18:02:05 +08:00
},
{
"type": "playSound",
"name": "paper.mp3"
},
"人类简史——起源篇",
{
"type": "playSound",
"name": "paper.mp3"
},
2022-12-30 14:14:28 +08:00
"在万物的发展中,任何物体都有它自己的发光点。",
{
"type": "playSound",
"name": "paper.mp3"
},
"人类,这个起初完全不起眼的种族,",
{
"type": "playSound",
"name": "paper.mp3"
},
"却在那一天发生了惊天的变动。",
{
"type": "playSound",
"name": "paper.mp3"
},
"那曾是一个不起眼的日子。",
{
"type": "playSound",
"name": "paper.mp3"
},
"直到一记闪电劈在了山上。",
{
"type": "playSound",
"name": "paper.mp3"
},
"山火蔓延,霎时间,茂密的树林已然变为了焦炭。",
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": "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": "sleep",
"time": 1000
},
{
"type": "playSound",
"name": "paper.mp3"
},
"公元前8000年",
{
"type": "setText",
"text": [
255,
255,
255,
1
],
"background": "winskin2.png",
"textfont": 20,
"time": 25
},
{
"type": "showStatusBar"
}
],
"shops": [],
"levelUp": [
{
"need": "0",
"title": "原始人",
2022-12-29 13:39:40 +08:00
"action": []
2022-11-13 18:02:05 +08:00
},
{
"need": "3000",
"title": "野蛮人",
"clear": true,
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "10"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "10"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "200"
},
"恭喜升级!攻防+10智慧+200",
"行走图改变!",
{
"type": "setHeroIcon",
"name": "hero2.png"
}
]
},
{
"need": "10000",
2022-12-29 13:39:40 +08:00
"title": "低级智人",
2022-11-13 18:02:05 +08:00
"clear": true,
"action": [
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "1000"
},
"恭喜升级!智慧+1000"
]
},
{
2023-01-05 22:21:40 +08:00
"need": "25000",
"title": "中级智人",
2022-11-13 18:02:05 +08:00
"clear": true,
"action": []
}
]
},
"values": {
"lavaDamage": 100,
"poisonDamage": 10,
"weakValue": 20,
"redGem": 3,
"blueGem": 3,
"greenGem": 5,
"redPotion": 100,
"bluePotion": 250,
"yellowPotion": 500,
"greenPotion": 800,
"breakArmor": 0.9,
"counterAttack": 0.1,
"purify": 3,
"hatred": 2,
"animateSpeed": 277.7778,
"statusCanvasRowsOnMobile": 3,
"floorChangeTime": 200,
"moveSpeed": null
},
"flags": {
"statusBarItems": [
"enableFloor",
"enableLv",
"enableHP",
"enableAtk",
"enableDef",
"enableMDef",
"enableMoney",
"enableExp",
"enableLevelUp",
"levelUpLeftMode",
"enableKeys"
],
"flyNearStair": false,
"flyRecordPosition": true,
"steelDoorWithoutKey": true,
"itemFirstText": false,
"equipboxButton": false,
"enableAddPoint": false,
"enableNegativeDamage": true,
"betweenAttackMax": false,
"useLoop": true,
"startUsingCanvas": false,
"statusCanvas": true,
"displayEnemyDamage": true,
"displayCritical": true,
"displayExtraDamage": true,
"enableGentleClick": true,
"ignoreChangeFloor": true,
"canGoDeadZone": false,
"enableMoveDirectly": true,
2022-12-30 23:28:27 +08:00
"enableRouteFolding": true,
2022-11-13 18:02:05 +08:00
"disableShopOnDamage": false,
"blurFg": true,
2022-12-28 20:34:23 +08:00
"extendToolbar": true,
2022-12-30 15:56:47 +08:00
"enableEnemyPoint": null,
"autoScale": true
2022-11-13 18:02:05 +08:00
}
}