feat(config): 添加物品合成十次功能并调整合并配置

- 在 ItemMergeConfig.json 中添加合成十次相关配置
- 修改 MergeConfig.json 中的 Uitype 属性值
- 更新 json2lua.js 中的配置处理列表
This commit is contained in:
aixianling
2025-01-21 16:59:14 +08:00
parent b323431d2e
commit e15efa8f24
3 changed files with 16 additions and 3 deletions

View File

@@ -3943,6 +3943,8 @@
},
"index": 3,
"text": "兑换",
"buttontxt10": "合成10次",
"mergebutton10": 1,
"Eid": 72,
"second_index": 2,
"table": [
@@ -3964,6 +3966,8 @@
},
"index": 3,
"text": "兑换",
"buttontxt10": "合成10次",
"mergebutton10": 1,
"Eid": 73,
"second_index": 2,
"table": [
@@ -3985,6 +3989,8 @@
},
"index": 3,
"text": "兑换",
"buttontxt10": "合成10次",
"mergebutton10": 1,
"Eid": 78,
"second_index": 2,
"table": [
@@ -4006,6 +4012,8 @@
},
"index": 3,
"text": "兑换",
"buttontxt10": "合成10次",
"mergebutton10": 1,
"Eid": 132,
"second_index": 2,
"table": [
@@ -4032,6 +4040,8 @@
},
"index": 3,
"text": "兑换",
"buttontxt10": "合成10次",
"mergebutton10": 1,
"Eid": 238,
"second_index": 2,
"table": [

View File

@@ -151,7 +151,7 @@
"2": {
"rebornconds": 0,
"index": 2,
"Uitype": 2,
"Uitype": 1,
"id": 3,
"levelconds": 1,
"dayconds": 1,

View File

@@ -3,8 +3,11 @@ const fs = require("fs");
const path = require("path");
const folderPath = "./configs";
const scope = [
"StdItems", "Monster"
// "ItemMergeConfig", "MergeConfig", "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
"StdItems",
"Monster",
"ItemMergeConfig",
"MergeConfig",
// "MergeTotal", "RecyclingSettingConfig", "UpstarConfig",
];
const strKey = (key) => (isNaN(key) ? `${key}` : `[${key}]`);
function jsonToLua(jsonObj, indent = "", linefeed = "\n") {