refactor(ShopConfig): 移除 ShopConfig 中的冗余配置项
- 删除了 ShopConfig 中的多个冗余 shopid 配置项 - 优化了 ShopConfig 的结构,提高了配置的可读性和维护性 - 同时更新了 lua2json 工具的配置,以适应新的 ShopConfig 结构
This commit is contained in:
@@ -240,90 +240,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"2": {
|
"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": {
|
"9": {
|
||||||
"batchbuy": 1,
|
"batchbuy": 1,
|
||||||
"reincarnationlimit": 0,
|
"reincarnationlimit": 0,
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ const folderPath = "./luaConfigs";
|
|||||||
|
|
||||||
const scope = [
|
const scope = [
|
||||||
// "MergeTotal",
|
// "MergeTotal",
|
||||||
"ActivitiesConf",
|
// "ActivitiesConf",
|
||||||
|
"ShopConfig"
|
||||||
].filter(Boolean);
|
].filter(Boolean);
|
||||||
|
|
||||||
const start = () => {
|
const start = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user