refactor(ShopConfig): 移除 ShopConfig 中的冗余配置项

- 删除了 ShopConfig 中的多个冗余 shopid 配置项
- 优化了 ShopConfig 的结构,提高了配置的可读性和维护性
- 同时更新了 lua2json 工具的配置,以适应新的 ShopConfig 结构
This commit is contained in:
2025-02-11 17:11:24 +08:00
parent c24eb74bcf
commit 3de79cc1fa
2 changed files with 2 additions and 85 deletions

View File

@@ -240,90 +240,6 @@
}
},
"2": {
"5": {
"batchbuy": 1,
"reincarnationlimit": 0,
"shopid": 5,
"shoptype": 1,
"Maxbatchbuy": 999,
"Tabshop": 2,
"shop": {
"id": 459,
"type": 0,
"count": 1
},
"buytype": [],
"daylimit": 0,
"levellimit": 1,
"price": {
"id": 4,
"type": 4,
"count": 33
}
},
"6": {
"batchbuy": 1,
"reincarnationlimit": 0,
"shopid": 6,
"shoptype": 1,
"Maxbatchbuy": 999,
"Tabshop": 2,
"shop": {
"id": 460,
"type": 0,
"count": 1
},
"buytype": [],
"daylimit": 0,
"levellimit": 1,
"price": {
"id": 4,
"type": 4,
"count": 66
}
},
"7": {
"batchbuy": 1,
"reincarnationlimit": 0,
"shopid": 7,
"shoptype": 1,
"Maxbatchbuy": 999,
"Tabshop": 2,
"shop": {
"id": 461,
"type": 0,
"count": 1
},
"buytype": [],
"daylimit": 0,
"levellimit": 1,
"price": {
"id": 4,
"type": 4,
"count": 88
}
},
"8": {
"batchbuy": 1,
"reincarnationlimit": 0,
"shopid": 8,
"shoptype": 1,
"Maxbatchbuy": 999,
"Tabshop": 2,
"shop": {
"id": 462,
"type": 0,
"count": 1
},
"buytype": [],
"daylimit": 0,
"levellimit": 1,
"price": {
"id": 4,
"type": 4,
"count": 166
}
},
"9": {
"batchbuy": 1,
"reincarnationlimit": 0,

View File

@@ -6,7 +6,8 @@ const folderPath = "./luaConfigs";
const scope = [
// "MergeTotal",
"ActivitiesConf",
// "ActivitiesConf",
"ShopConfig"
].filter(Boolean);
const start = () => {