shengqishi/project/data.js

2130 lines
42 KiB
JavaScript
Raw Normal View History

2024-07-15 11:13:11 +08:00
var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
{
"main": {
"floorIds": [
2024-07-15 11:31:34 +08:00
"GM1",
"GM2",
"GM3",
"GM4",
"GM5",
"GM6",
"BH1",
"BH2",
"BH3",
"BH4",
"BH5",
"BH6",
"BH7",
"BH8",
"BH9",
"BH10",
"SN1",
"SN2",
"SN3",
"SN4",
"SN5",
"SN6",
"SN7",
"SN8",
"SN9",
2024-07-17 18:29:32 +08:00
"SN10",
"GM7",
2024-07-19 19:15:38 +08:00
"XY1",
"XY2",
"XY3",
"XY4",
"XY5",
"XY6",
"XY7",
"XY8",
"XY9",
"XY10",
2024-07-20 18:57:14 +08:00
"YS1",
2024-07-22 00:26:09 +08:00
"YS2",
"YS3",
"YS4",
"YS5",
"YS6",
"YS7",
"YS8",
"YS9",
2024-07-22 00:27:56 +08:00
"YS10",
2024-07-24 14:47:31 +08:00
"GM8",
2024-07-20 18:57:14 +08:00
"CZ1",
"CZ2",
"CZ3",
"CZ4",
"CZ5",
"CZ6",
"CZ7",
"CZ8",
"CZ9",
2024-07-27 10:18:54 +08:00
"CZ10",
2024-07-27 18:28:18 +08:00
"MM1",
2024-07-29 00:04:45 +08:00
"SR1",
"SR2",
"SR3",
"SR4",
"SR5",
"SR6",
"SR7",
"SR8",
"SR9",
"SR10",
"MM2",
"MM3",
2024-08-02 10:34:36 +08:00
"XW1",
"SR11",
"SR12",
"SR13",
"SR14",
"SR15",
"SR16",
"SR17",
"SR18",
"SR19",
"SR20",
"SR21",
"SR22",
"SR23",
"SR24",
"SR25",
"SR26",
"SR27",
"SR28",
"SR29",
"SR30",
"MM4",
"ZL1",
"ZL2",
"ZL3",
"ZL4",
"ZL5",
"ZL6",
"ZL7",
"ZL8",
"ZL9",
"ZL10",
2024-08-03 14:02:42 +08:00
"ZH1",
"MT0",
"MT1",
"MT2",
"MT3",
"MT4",
"MT5",
"MT6",
"MT7",
"MT8",
"MT9",
2024-08-15 18:58:29 +08:00
"MT10",
2024-08-16 21:19:51 +08:00
"DL1",
"DL2",
"DL3",
"DL4",
"DL5",
"DL6",
"DL7",
"DL8",
"DL9",
"DL10",
"NH1",
"NH2",
"NH3",
"NH4",
"NH5",
"NH6",
"NH7",
"NH8",
"NH9",
"NH10",
"BN1",
"BN2",
"BN3",
"BN4",
"BN5",
"BN6",
"BN7",
"BN8",
"BN9",
"BN10",
"BH11",
"BH12",
"BH13",
"BH14",
"BH15",
"BH16",
"BH17",
"BH18",
"BH19",
2024-08-18 12:55:25 +08:00
"BH20"
2024-07-15 11:13:11 +08:00
],
"floorPartitions": [],
"images": [
2024-07-15 18:00:38 +08:00
"0.png",
2024-07-15 11:31:34 +08:00
"1.jpg",
2024-07-15 18:00:38 +08:00
"1.png",
"2.png",
"3.png",
"4.png",
"5.png",
"6.png",
"7.png",
"8.png",
"9.png",
"Actor05-Strange05.png",
"Star.png",
"a.png",
"atk.png",
"atk2.png",
"b.png",
"backg.png",
"backl.png",
"backl2.png",
"backw.png",
2024-07-15 11:13:11 +08:00
"bear.png",
"bg.jpg",
2024-07-15 18:00:38 +08:00
"box1.png",
"box1Light.png",
"box2.png",
"box2Light.png",
"boxLight.png",
2024-07-15 11:31:34 +08:00
"brave.png",
2024-07-15 18:00:38 +08:00
"c.png",
"def.png",
"def2.png",
2024-07-15 11:13:11 +08:00
"dragon.png",
2024-07-15 18:00:38 +08:00
"exp.png",
"expL.png",
"expLt.png",
2024-07-15 11:13:11 +08:00
"hero.png",
2024-07-15 18:00:38 +08:00
"hp.png",
"key.png",
"lv.png",
"mana.png",
"manaL.png",
"manaLt.png",
"mdef.png",
"money.png",
2024-07-16 16:58:59 +08:00
"potion.png",
2024-07-15 11:31:34 +08:00
"shengzi.png",
2024-07-15 11:13:11 +08:00
"winskin.png"
],
"tilesets": [
2024-07-15 11:31:34 +08:00
"magictower.png",
"VX.png",
"Riqueza.png",
"12.png",
"026-Castle02.png",
2024-07-17 18:29:32 +08:00
"tilesets.min.png",
"yjzhiquan.png",
"deepforest.png",
2024-07-19 19:15:38 +08:00
"cs5.png",
2024-07-29 00:04:45 +08:00
"em.png",
"TombeauOri.png",
"Map-Cave02.png",
"008-Snowfield01.png"
2024-07-15 11:13:11 +08:00
],
"animates": [
2024-07-15 11:31:34 +08:00
"atkUp",
"balloonhan",
"balloonmusic",
"balloonnao",
"balloonspeak",
"balloontan",
"balloonwen",
"baozha",
"baozha2",
"bigExplosion",
"bing",
"blackmagic",
"boss11",
"boss13",
"boss15",
"boss8",
"chanrao",
"chuansong",
"dark",
"dark3",
"darkattack",
"defUp",
"die",
"double",
"emo",
"fire",
"fire2",
"fire3",
"fire4",
"fire5",
"firesword",
2024-07-15 11:13:11 +08:00
"hand",
2024-07-15 11:31:34 +08:00
"hand2",
"heal",
"heidong3",
"ice",
"jianji",
"jinshu",
"jinshu2",
"jinshu3",
"kulou",
"light",
"rage_buff",
"re",
"red",
"sg",
"sur",
2024-07-15 11:13:11 +08:00
"sword",
2024-07-15 11:31:34 +08:00
"sword1",
"sword2",
"sword3",
"sword4",
"sword5",
"sword6",
"swordN",
"thunder",
"thunder2",
"thunder3",
"water",
"yijianzhanqianye",
"yongchang",
"zhuanhua",
2024-07-15 11:13:11 +08:00
"zone"
],
"bgms": [
2024-08-03 14:02:42 +08:00
"21-30.mp3",
2024-07-16 17:12:58 +08:00
"airuying.mp3",
2024-07-29 00:04:45 +08:00
"boss3.mp3",
2024-07-17 18:29:32 +08:00
"bxsgzz.mp3",
2024-07-22 00:26:09 +08:00
"cbzc.mp3",
"ending.mp3",
2024-08-02 10:34:36 +08:00
"gaolikangzhikb.mp3",
2024-08-15 18:58:29 +08:00
"jw.mp3",
2024-07-29 00:04:45 +08:00
"lfmg.mp3",
2024-07-27 10:18:54 +08:00
"mingyuetianya.mp3",
2024-07-15 11:31:34 +08:00
"mingyunshouhu.mp3",
2024-07-27 10:18:54 +08:00
"mingzhentankenanlansegubao.mp3",
2024-08-15 18:58:29 +08:00
"shenqu.mp3",
2024-08-13 21:29:12 +08:00
"shenweiqianchong.mp3",
2024-08-02 10:34:36 +08:00
"shuiyu.mp3",
"tiankong.mp3",
"xian.mp3",
2024-08-18 12:55:25 +08:00
"xieedushi.mp3",
"yuanye.mp3",
2024-08-02 10:34:36 +08:00
"zhuangkuoshishi.mp3"
2024-07-15 11:13:11 +08:00
],
"sounds": [
2024-07-15 11:31:34 +08:00
"048-Explosion01.ogg",
"049-Explosion02.ogg",
"050-Explosion03.ogg",
"051-Explosion04.ogg",
"061-Thunderclap01.ogg",
"073-Animal08.ogg",
"085-Monster07.ogg",
"099-Attack11.mp3",
"1.flac",
"120-Ice01.ogg",
"121-Ice02.ogg",
"122-Ice03.ogg",
"129-Earth01.ogg",
"130-Earth02.ogg",
"131-Earth03.ogg",
"2.ogg",
"Ice7.mp3",
"LocoHorn.ogg",
"MaleScream.mp3",
"Saint7.mp3",
"Thunder01.ogg",
"Thunder02.ogg",
"Thunder03.ogg",
"Water01.ogg",
"Water02.ogg",
"Water03.ogg",
"action2.mp3",
"aliu.mp3",
2024-07-15 11:13:11 +08:00
"attack.mp3",
2024-07-15 11:31:34 +08:00
"baoshi.mp3",
"biteC.mp3",
"blood.mp3",
2024-07-15 11:13:11 +08:00
"bomb.mp3",
2024-07-15 11:31:34 +08:00
"book.mp3",
"boss11.mp3",
"boss112.mp3",
"boss13.mp3",
"boss17.mp3",
"boss8.mp3",
"burst.mp3",
2024-07-15 11:13:11 +08:00
"cancel.mp3",
"centerFly.mp3",
2024-07-15 11:31:34 +08:00
"chanrao.mp3",
"chaokong.mp3",
"chuansong.mp3",
"chuansong2.mp3",
2024-07-15 11:13:11 +08:00
"confirm.mp3",
"cursor.mp3",
"door.mp3",
2024-07-15 11:31:34 +08:00
"emo.mp3",
2024-07-15 11:13:11 +08:00
"equip.mp3",
"error.mp3",
2024-07-15 11:31:34 +08:00
"fire2.mp3",
"fire4.mp3",
"fire5.mp3",
2024-07-15 11:13:11 +08:00
"floor.mp3",
2024-07-15 11:31:34 +08:00
"floor2.mp3",
2024-07-15 11:13:11 +08:00
"gem.mp3",
2024-07-15 11:31:34 +08:00
"glz.mp3",
"guixiao.mp3",
"hand.mp3",
"hand.wav",
"hand2.mp3",
"hand4.mp3",
"heal.mp3",
"heal1.mp3",
"heal2.mp3",
"heal4.mp3",
"heal5.mp3",
"heidong2.mp3",
"heidong3.mp3",
2024-07-15 11:13:11 +08:00
"icePickaxe.mp3",
"item.mp3",
2024-07-15 11:31:34 +08:00
"item2.mp3",
"item3.mp3",
"jiguan.mp3",
2024-07-15 11:13:11 +08:00
"jump.mp3",
2024-07-15 11:31:34 +08:00
"jump2.mp3",
"keys.mp3",
"leiji.mp3",
"levelup.mp3",
"light.mp3",
2024-07-15 11:13:11 +08:00
"load.mp3",
2024-07-15 11:31:34 +08:00
"luodi.mp3",
2024-07-15 11:13:11 +08:00
"open_ui.mp3",
"pickaxe.mp3",
2024-07-15 11:31:34 +08:00
"poison.mp3",
"pugong2.mp3",
2024-07-15 11:13:11 +08:00
"recovery.mp3",
"save.mp3",
2024-07-15 11:31:34 +08:00
"selector.mp3",
2024-07-15 11:13:11 +08:00
"shop.mp3",
2024-07-15 11:31:34 +08:00
"slide.mp3",
"sword.wav",
"sword2.mp3",
"sword3.mp3",
"sword5.mp3",
"sword5a.mp3",
"sword6.mp3",
"swordN.mp3",
"thound.mp3",
"water.mp3",
"zhuanhua.mp3",
"zipper.mp3",
"zone.mp3",
"zone.wav"
2024-07-15 11:13:11 +08:00
],
"fonts": [],
"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": "简单",
"name": "Easy",
"hard": 1,
"color": [
64,
255,
85,
1
],
"action": [
2024-07-15 11:31:34 +08:00
"简单模式赠送100瓶琼浆和100瓶玉露",
2024-07-15 11:13:11 +08:00
{
2024-07-15 11:31:34 +08:00
"type": "setValue",
"name": "item:I415",
"operator": "+=",
"value": "100"
},
{
"type": "setValue",
"name": "item:I416",
"operator": "+=",
"value": "100"
2024-07-15 11:13:11 +08:00
}
]
},
{
"title": "困难",
"name": "Hard",
"hard": 3,
"color": [
255,
68,
64,
1
],
"action": []
}
],
"equipName": [
2024-07-15 11:31:34 +08:00
"法杖",
"卷轴",
"法袍"
2024-07-15 11:13:11 +08:00
],
2024-07-15 11:31:34 +08:00
"startBgm": "mingyunshouhu.mp3",
2024-07-15 11:13:11 +08:00
"styles": {
"startBackground": "project/images/bg.jpg",
"startVerticalBackground": "project/images/bg.jpg",
2024-07-15 11:31:34 +08:00
"startLogoStyle": "color: red",
2024-07-15 11:13:11 +08:00
"startButtonsStyle": "background-color: #32369F; opacity: 0.85; color: #FFFFFF; border: #FFFFFF 2px solid; caret-color: #FFD700;",
2024-07-15 11:31:34 +08:00
"statusLeftBackground": "url(project/materials/1.png) repeat",
"statusTopBackground": "url(project/materials/1.png) repeat",
"toolsBackground": "url(project/materials/1.png) repeat",
"floorChangingStyle": "background-color: black; color: red",
2024-07-15 11:13:11 +08:00
"statusBarColor": [
255,
255,
255,
1
],
2024-07-15 11:31:34 +08:00
"borderColor": [
221,
242,
11,
1
],
2024-07-15 11:13:11 +08:00
"selectColor": [
255,
215,
0,
1
],
"font": "Verdana"
},
"splitImages": [
{
"name": "dragon.png",
"width": 384,
"height": 96,
"prefix": "dragon_"
}
]
},
"firstData": {
2024-07-15 11:31:34 +08:00
"title": "旧约•圣骑士",
"name": "jiuyueshengqishi",
"version": "Ver 2.10.0",
"floorId": "MT0",
2024-07-15 11:13:11 +08:00
"hero": {
2024-07-15 11:31:34 +08:00
"image": "shengzi.png",
2024-07-15 11:13:11 +08:00
"animate": false,
2024-07-15 11:31:34 +08:00
"name": "辉",
2024-07-15 11:13:11 +08:00
"lv": 1,
2024-07-15 11:31:34 +08:00
"hpmax": 1000,
2024-07-15 11:13:11 +08:00
"hp": 1000,
"manamax": -1,
2024-07-15 11:31:34 +08:00
"mana": 100,
"atk": 10,
"def": 10,
2024-07-15 11:13:11 +08:00
"mdef": 0,
"money": 0,
"exp": 0,
"equipment": [],
"items": {
"constants": {},
"tools": {},
"equips": {}
},
"loc": {
"direction": "up",
"x": 6,
"y": 10
},
"flags": {},
"followers": [],
"steps": 0
},
"startCanvas": [
{
"type": "comment",
"text": "在这里可以用事件来自定义绘制标题界面的背景图等"
},
{
"type": "comment",
"text": "也可以直接切换到其他楼层(比如某个开始剧情楼层)进行操作。"
},
{
"type": "previewUI",
"action": [
{
"type": "fillRect",
"x": 0,
"y": 0,
"width": "core._PX_ || core.__PIXELS__",
"height": "core._PY_ || core.__PIXELS__",
"style": [
82,
82,
82,
1
]
},
{
"type": "setAttribute",
"align": "center"
},
{
"type": "fillBoldText",
"x": "(core._PX_ || core.__PIXELS__) / 2",
"y": 80,
"style": [
255,
255,
255,
1
],
"strokeStyle": [
0,
0,
0,
1
],
"font": "bold 40px Verdana",
"text": "${core.firstData.title}"
}
]
},
{
"type": "setValue",
"name": "flag:selection",
"value": "0"
},
{
"type": "comment",
"text": "在右下方自绘一个对话框进行显示选择项"
},
{
"type": "previewUI",
"action": [
{
"type": "fillRect",
"x": 230,
"y": 250,
"width": 150,
"height": 142,
"radius": 10,
"style": [
50,
54,
159,
0.85
]
},
{
"type": "strokeRect",
"x": 230,
"y": 250,
"width": 150,
"height": 142,
"radius": 10,
"style": [
255,
255,
255,
1
],
"lineWidth": 2
},
{
"type": "fillBoldText",
"x": 305,
"y": 290,
"style": [
255,
255,
255,
1
],
"font": "bold 25px Verdana",
"text": "开始游戏"
},
{
"type": "fillBoldText",
"x": 305,
"y": 330,
"font": "bold 25px Verdana",
"text": "读取存档"
},
{
"type": "fillBoldText",
"x": 305,
"y": 370,
"font": "bold 25px Verdana",
"text": "回放录像"
}
]
},
{
"type": "while",
"condition": "1",
"data": [
{
"type": "drawSelector",
"image": "winskin.png",
"code": 1,
"x": 245,
"y": "261 + 40*flag:selection",
"width": 120,
"height": 40
},
{
"type": "wait",
"data": [
{
"case": "keyboard",
"keycode": "13,32",
"break": true,
"action": [
{
"type": "switch",
"condition": "flag:selection",
"caseList": [
{
"case": "0",
"action": [
{
"type": "comment",
"text": "在“开始游戏”确定"
},
{
"type": "break",
"n": 1
}
]
},
{
"case": "1",
"action": [
{
"type": "comment",
"text": "在“读取存档”确定"
},
{
"type": "callLoad"
}
]
},
{
"case": "2",
"action": [
{
"type": "comment",
"text": "在“回放录像”确定"
},
{
"type": "if",
"condition": "(!core.isReplaying())",
"true": [
{
"type": "function",
"function": "function(){\ncore.chooseReplayFile()\n}"
}
]
}
]
}
]
}
]
},
{
"case": "keyboard",
"keycode": "38",
"break": true,
"action": [
{
"type": "comment",
"text": "光标上键"
},
{
"type": "setValue",
"name": "flag:selection",
"value": "(flag:selection + 2) % 3"
}
]
},
{
"case": "keyboard",
"keycode": "40",
"break": true,
"action": [
{
"type": "comment",
"text": "光标下键"
},
{
"type": "setValue",
"name": "flag:selection",
"value": "(flag:selection + 1) % 3"
}
]
},
{
"case": "mouse",
"px": [
245,
365
],
"py": [
261,
300
],
"break": true,
"action": [
{
"type": "comment",
"text": "点击“开始游戏”"
},
{
"type": "break",
"n": 1
}
]
},
{
"case": "mouse",
"px": [
245,
365
],
"py": [
301,
340
],
"break": true,
"action": [
{
"type": "comment",
"text": "点击“读取存档”"
},
{
"type": "callLoad"
}
]
},
{
"case": "mouse",
"px": [
245,
365
],
"py": [
341,
380
],
"break": true,
"action": [
{
"type": "comment",
"text": "点击“播放录像”"
},
{
"type": "if",
"condition": "(!core.isReplaying())",
"true": [
{
"type": "function",
"function": "function(){\ncore.chooseReplayFile()\n}"
}
]
}
]
}
]
}
]
},
{
"type": "setValue",
"name": "flag:selection",
"value": "null"
},
{
"type": "drawSelector",
"code": 1
},
{
"type": "clearMap"
},
{
"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": "comment",
"text": "你也可以仿照上面的样例进行自己创建等待用户操作来处理不同的难度分歧。\n如需自己处理请设置 core.status.hard \n例如自定义js脚本core.status.hard = 'Easy' "
}
]
},
{
"type": "clearMap"
},
{
"type": "comment",
"text": "接下来会执行startText中的事件"
},
{
"type": "comment",
"text": "状态栏默认处于隐藏状态;可以使用“显示状态栏”事件进行显示。"
}
],
"startText": [
2024-07-15 18:00:38 +08:00
{
"type": "function",
2024-07-16 16:58:59 +08:00
"function": "function(){\nflags._statusgry_ = 0;\nflags._statusbrg_ = 0.8;\ncore.createSpr0();\ncore.createSprBack();\n}"
2024-07-15 18:00:38 +08:00
},
2024-07-15 11:13:11 +08:00
{
"type": "comment",
"text": "初始剧情"
},
2024-07-15 11:31:34 +08:00
{
"type": "setText",
"background": [
180,
180,
8,
1
]
},
{
"type": "showImage",
"code": 1,
"image": "1.jpg",
"loc": [
0,
0
],
"opacity": 1,
"time": 0
},
"很久以前,世界上曾有两位神明,光明神和黑暗神。他们掌管着世间的光明和黑暗,但千年前的一场神之战,让两位神明决裂,光明神赢得了这场神之战的胜利,于是黑暗神被驱逐到了大陆的边缘,深渊之中,随之被驱逐的,还有黑暗神的信徒们……千年以后,光明神的信徒——光明神殿所属,已经成为大陆最强大的势力。光明神殿位列大陆中央,东依东凌帝国,西傍西武帝国,南临南荒国,北靠北寒帝国。拥有二十八大家族,实力雄厚,即便是精灵王国信奉的精灵神、水神殿信奉的水神、智慧神殿信奉的智慧之神等神明,不得避其锋芒。\n我们的故事便是从这里开始……",
{
"type": "hideImage",
"code": 1,
"time": 0
}
2024-07-15 11:13:11 +08:00
],
"shops": [
{
"id": "shop1",
2024-07-15 11:31:34 +08:00
"text": "\t[光明神殿,N464]虔诚的信徒啊, 给我${80+10*flag:shop1}信仰就可以:",
"textInList": "光明神殿",
2024-07-15 11:13:11 +08:00
"mustEnable": false,
"disablePreview": false,
"choices": [
{
2024-07-15 11:31:34 +08:00
"text": "攻击+4",
"need": "status:money>=80+10*flag:shop1",
"color": [
235,
3,
44,
1
],
"condition": "flag:shop1<=50",
2024-07-15 11:13:11 +08:00
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
2024-07-15 11:31:34 +08:00
"value": "80+10*flag:shop1"
2024-07-15 11:13:11 +08:00
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
2024-07-15 11:31:34 +08:00
"name": "status:atk",
2024-07-15 11:13:11 +08:00
"operator": "+=",
2024-07-15 11:31:34 +08:00
"value": "4"
2024-07-15 11:13:11 +08:00
}
]
},
{
"text": "攻击+20",
"need": "status:money>=80+10*flag:shop1",
"color": [
235,
3,
44,
1
],
"condition": "flag:shop1>50&&flag:shop1<=100",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "20"
}
]
},
{
"text": "攻击+100",
"need": "status:money>=80+10*flag:shop1",
"color": [
235,
3,
44,
1
],
2024-08-18 12:55:25 +08:00
"condition": "flag:shop1>100&&flag:shop1<=150",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "100"
}
]
},
2024-08-18 12:55:25 +08:00
{
"text": "攻击+500",
"need": "status:money>=80+10*flag:shop1",
"color": [
235,
3,
44,
1
],
"condition": "flag:shop1>150&&flag:shop1<=200",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "500"
}
]
},
{
"text": "攻击+2500",
"need": "status:money>=80+10*flag:shop1",
"color": [
235,
3,
44,
1
],
"condition": "flag:shop1>200&&flag:shop1<=250",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "2500"
}
]
},
{
"text": "防御+20",
"need": "status:money>=80+10*flag:shop1",
"color": [
11,
252,
246,
1
],
"condition": "flag:shop1>50&&flag:shop1<=100",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "20"
}
]
},
{
"text": "防御+100",
"need": "status:money>=80+10*flag:shop1",
"color": [
11,
252,
246,
1
],
2024-08-18 12:55:25 +08:00
"condition": "flag:shop1>100&&flag:shop1<=150",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "100"
}
]
},
2024-08-18 12:55:25 +08:00
{
"text": "防御+500",
"need": "status:money>=80+10*flag:shop1",
"color": [
11,
252,
246,
1
],
"condition": "flag:shop1>150&&flag:shop1<=200",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "500"
}
]
},
{
"text": "防御+2500",
"need": "status:money>=80+10*flag:shop1",
"color": [
11,
252,
246,
1
],
"condition": "flag:shop1>200&&flag:shop1<=250",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "2500"
}
]
},
2024-07-15 11:13:11 +08:00
{
"text": "防御+4",
2024-07-15 11:31:34 +08:00
"need": "status:money>=80+10*flag:shop1",
"color": [
11,
252,
246,
1
],
"condition": "flag:shop1<=50",
2024-07-15 11:13:11 +08:00
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
2024-07-15 11:31:34 +08:00
"value": "80+10*flag:shop1"
2024-07-15 11:13:11 +08:00
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
2024-07-15 11:31:34 +08:00
"name": "status:def",
2024-07-15 11:13:11 +08:00
"operator": "+=",
"value": "4"
2024-07-15 11:31:34 +08:00
}
]
},
{
"text": "护盾+12生命上限+100生命值+100魔力+50",
"need": "status:money>=80+10*flag:shop1",
"color": [
22,
242,
149,
1
],
"condition": "flag:shop1<=50",
2024-07-15 11:31:34 +08:00
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "12"
},
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "100"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "100"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "+=",
"value": "50"
2024-07-15 11:13:11 +08:00
}
]
},
{
"text": "护盾+120生命上限+1000生命值+1000魔力+500",
"need": "status:money>=80+10*flag:shop1",
"color": [
22,
242,
149,
1
],
"condition": "flag:shop1>50&&flag:shop1<=100",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "120"
},
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "1000"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "1000"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "+=",
"value": "500"
}
]
},
{
"text": "护盾+1200生命上限+10000生命值+10000魔力+5000",
"need": "status:money>=80+10*flag:shop1",
"color": [
22,
242,
149,
1
],
2024-08-18 12:55:25 +08:00
"condition": "flag:shop1>100&&flag:shop1<=150",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "1200"
},
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "10000"
},
{
"type": "setValue",
"name": "status:hp",
"operator": "+=",
"value": "10000"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "+=",
"value": "5000"
}
]
2024-08-18 12:55:25 +08:00
},
{
"text": "护盾+12000生命上限+100000",
"need": "status:money>=80+10*flag:shop1",
"color": [
22,
242,
149,
1
],
"condition": "flag:shop1>150&&flag:shop1<=200",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "12000"
},
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "100000"
}
]
},
{
"text": "护盾+120000生命上限+1000000",
"need": "status:money>=80+10*flag:shop1",
"color": [
22,
242,
149,
1
],
"condition": "flag:shop1>200&&flag:shop1<=250",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "80+10*flag:shop1"
},
{
"type": "setValue",
"name": "flag:shop1",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "status:mdef",
"operator": "+=",
"value": "120000"
},
{
"type": "setValue",
"name": "status:hpmax",
"operator": "+=",
"value": "1000000"
}
]
2024-07-15 11:13:11 +08:00
}
]
},
{
"id": "shop2",
2024-07-15 11:31:34 +08:00
"text": "\t[四长老,N669]小圣子啊, 给我足够的金币或物品就可以:",
"textInList": "四长老",
2024-07-15 11:13:11 +08:00
"mustEnable": false,
2024-07-15 11:31:34 +08:00
"disablePreview": false,
2024-07-15 11:13:11 +08:00
"choices": [
{
2024-07-15 11:31:34 +08:00
"text": "黄钥匙(40金币)",
"need": "status:money>=40",
"icon": "yellowKey",
2024-07-15 11:13:11 +08:00
"action": [
2024-07-15 11:31:34 +08:00
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
2024-07-15 11:13:11 +08:00
{
"type": "setValue",
2024-07-15 11:31:34 +08:00
"name": "status:money",
2024-07-15 11:13:11 +08:00
"operator": "-=",
2024-07-15 11:31:34 +08:00
"value": "40"
2024-07-15 11:13:11 +08:00
},
{
"type": "setValue",
2024-07-15 11:31:34 +08:00
"name": "item:yellowKey",
2024-07-15 11:13:11 +08:00
"operator": "+=",
"value": "1"
2024-07-15 11:31:34 +08:00
}
]
},
{
2024-07-22 00:26:09 +08:00
"text": "蓝钥匙(120金币)",
"need": "status:money>=120",
2024-07-15 11:31:34 +08:00
"icon": "blueKey",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
2024-07-15 11:13:11 +08:00
},
{
"type": "setValue",
2024-07-15 11:31:34 +08:00
"name": "status:money",
"operator": "-=",
2024-07-22 00:26:09 +08:00
"value": "120"
2024-07-15 11:31:34 +08:00
},
{
"type": "setValue",
"name": "item:blueKey",
"operator": "+=",
"value": "1"
}
]
},
{
2024-07-22 00:26:09 +08:00
"text": "红钥匙(300金币)",
"need": "status:money>=300",
2024-07-15 11:31:34 +08:00
"icon": "redKey",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
2024-07-22 00:26:09 +08:00
"value": "300"
2024-07-15 11:31:34 +08:00
},
{
"type": "setValue",
2024-07-16 17:12:58 +08:00
"name": "item:redKey",
2024-07-15 11:31:34 +08:00
"operator": "+=",
"value": "1"
}
]
},
{
"text": "20金币(黄钥匙)",
"need": "item:yellowKey>=1",
"icon": "coin",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "item:yellowKey",
"operator": "-=",
"value": "1"
},
{
"type": "setValue",
"name": "status:money",
"operator": "+=",
"value": "20"
}
]
},
{
2024-07-22 00:26:09 +08:00
"text": "60金币(蓝钥匙)",
2024-07-15 11:31:34 +08:00
"need": "item:blueKey>=1",
"icon": "coin",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "item:blueKey",
"operator": "-=",
"value": "1"
},
{
"type": "setValue",
"name": "status:money",
"operator": "+=",
2024-07-22 00:26:09 +08:00
"value": "60"
2024-07-15 11:31:34 +08:00
}
]
},
{
2024-07-22 00:26:09 +08:00
"text": "150金币(红钥匙)",
2024-07-15 11:31:34 +08:00
"need": "item:redKey>=1",
"icon": "coin",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "item:redKey",
"operator": "-=",
"value": "1"
},
{
"type": "setValue",
"name": "status:money",
2024-07-15 11:13:11 +08:00
"operator": "+=",
2024-07-22 00:26:09 +08:00
"value": "150"
2024-07-15 11:13:11 +08:00
}
]
}
]
},
{
2024-07-15 11:31:34 +08:00
"id": "shop3",
"text": "\t[六长老,N653]小圣子啊, 给我足够的金币或物品就可以:",
"textInList": "六长老",
2024-07-15 11:13:11 +08:00
"mustEnable": false,
2024-07-15 11:31:34 +08:00
"disablePreview": false,
2024-07-15 11:13:11 +08:00
"choices": [
2024-07-22 00:26:09 +08:00
{
"text": "魔力药水50金币",
"need": "status:money>=50",
"icon": "I716",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "50"
},
{
"type": "setValue",
"name": "item:I716",
"operator": "+=",
"value": "1"
}
]
},
2024-07-15 11:13:11 +08:00
{
2024-07-15 11:31:34 +08:00
"text": "琼浆200金币",
"need": "status:money>=200",
"icon": "I415",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "200"
},
{
"type": "setValue",
"name": "item:I415",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "玉露400金币",
"need": "status:money>=400",
"icon": "I416",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "400"
},
{
"type": "setValue",
"name": "item:I416",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "炸弹500金币",
"need": "status:money>=500",
"icon": "bomb",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "500"
},
{
"type": "setValue",
"name": "item:bomb",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "对称飞行器500金币",
"need": "status:money>=500",
"icon": "centerFly",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "500"
},
{
"type": "setValue",
"name": "item:centerFly",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "破墙镐600金币",
"need": "status:money>=600",
"icon": "pickaxe",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "600"
},
{
"type": "setValue",
"name": "item:pickaxe",
"operator": "+=",
"value": "1"
}
]
},
{
2024-08-03 14:02:42 +08:00
"text": "为了防止炸录像,本项留空",
"need": "status:money>=1e9",
"icon": "greenSlime",
2024-08-13 21:29:12 +08:00
"action": []
2024-07-15 11:31:34 +08:00
},
{
"text": "强力炸弹2500金币",
"need": "status:money>=2500",
"icon": "I407",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "2500"
},
{
"type": "setValue",
"name": "item:I407",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "地震卷轴3000金币",
"need": "status:money>=3000",
"icon": "earthquake",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "3000"
},
{
"type": "setValue",
"name": "item:earthquake",
"operator": "+=",
"value": "1"
}
]
2024-07-22 00:26:09 +08:00
},
{
"text": "大魔法水5000金币",
"need": "status:money>=5000",
"icon": "I715",
"condition": "flag:shop3<1",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:money",
"operator": "-=",
"value": "5000"
},
{
"type": "setValue",
"name": "flag:shop3",
"operator": "+=",
"value": "1"
},
{
"type": "setValue",
"name": "item:I715",
"operator": "+=",
"value": "1"
}
]
2024-07-15 11:13:11 +08:00
}
]
2024-08-02 10:34:36 +08:00
},
{
"id": "shop4",
"text": "\t[光明圣子,hero]我需要足够的魔力值才能:",
"textInList": "魔力炼钥",
"mustEnable": true,
"disablePreview": false,
"choices": [
{
"text": "光明之钥2000魔力",
"need": "status:mana>=2000",
"icon": "whiteKey",
"color": [
255,
255,
255,
1
],
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "2000"
},
{
"type": "setValue",
"name": "item:whiteKey",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "黑暗之钥(8000魔力)",
"need": "status:mana>=8000",
"icon": "I422",
"color": [
0,
0,
0,
1
],
"condition": "flag:heianshengzi<=0",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "8000"
},
{
"type": "setValue",
"name": "item:I422",
"operator": "+=",
"value": "1"
}
]
},
{
"text": "黑暗之钥(2000魔力)",
"need": "status:mana>=2000",
"icon": "I422",
"color": [
0,
0,
0,
1
],
"condition": "flag:heianshengzi>0",
"action": [
{
"type": "comment",
"text": "新版商店中需要手动扣减金币和增加访问次数"
},
{
"type": "setValue",
"name": "status:mana",
"operator": "-=",
"value": "2000"
},
{
"type": "setValue",
"name": "item:I422",
"operator": "+=",
"value": "1"
}
]
}
]
2024-07-15 11:13:11 +08:00
}
],
"levelUp": [
{
"need": "0",
"title": "",
"action": [
{
"type": "comment",
"text": "此处是初始等级,只需填写称号"
}
]
},
{
"need": "20",
"title": "",
"action": [
{
"type": "setValue",
"name": "status:atk",
"operator": "+=",
"value": "10"
},
{
"type": "setValue",
"name": "status:def",
"operator": "+=",
"value": "10"
}
]
},
{
"need": "40",
"title": "",
"action": [
{
"type": "tip",
"text": "恭喜升级"
}
]
}
]
},
"values": {
"lavaDamage": 100,
"poisonDamage": 10,
"weakValue": 20,
2024-07-15 11:31:34 +08:00
"redGem": 1,
"blueGem": 1,
"greenGem": 2,
"redPotion": 50,
"bluePotion": 100,
"yellowPotion": 200,
"greenPotion": 400,
2024-07-15 11:13:11 +08:00
"breakArmor": 0.9,
"counterAttack": 0.1,
"purify": 3,
"hatred": 2,
"animateSpeed": 300,
"moveSpeed": 100,
"statusCanvasRowsOnMobile": 3,
"floorChangeTime": 100
},
"flags": {
"statusBarItems": [
"enableFloor",
2024-07-15 11:31:34 +08:00
"enableName",
"enableHPMax",
2024-07-15 11:13:11 +08:00
"enableHP",
"enableMana",
"enableAtk",
"enableDef",
"enableMDef",
"enableMoney",
"enableKeys",
2024-07-15 11:31:34 +08:00
"enableGreenKey",
2024-07-15 11:13:11 +08:00
"enablePZF",
"enableSkill"
],
"autoScale": true,
"extendToolbar": false,
2024-07-15 11:31:34 +08:00
"flyNearStair": false,
2024-07-15 11:13:11 +08:00
"flyRecordPosition": false,
2024-07-15 11:31:34 +08:00
"itemFirstText": true,
2024-07-15 11:13:11 +08:00
"equipboxButton": false,
"enableAddPoint": false,
"enableNegativeDamage": false,
"betweenAttackMax": false,
2024-07-15 11:31:34 +08:00
"useLoop": true,
2024-07-15 11:13:11 +08:00
"startUsingCanvas": false,
"statusCanvas": false,
"enableEnemyPoint": true,
"enableGentleClick": true,
"ignoreChangeFloor": true,
"canGoDeadZone": false,
"enableMoveDirectly": true,
"enableRouteFolding": true,
"disableShopOnDamage": false,
"blurFg": false,
"hideLeftStatusBar": false
}
}