feat(OfficeConfig): 更新官职配置并添加新官职
- 更新了现有的官职配置,调整了部分官职的属性和消耗 - 添加了新的官职等级,包括太师、安乐公、辅国公、奉国公、镇国公等 - 优化了官职名称的显示格式,增加了◆符号框住部分官职名称 - 更新了 json2lua 脚本,将 OfficeConfig.json 添加到处理列表中
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -42,7 +42,7 @@ const start = () => {
|
||||
const files = fs.readdirSync(folderPath);
|
||||
|
||||
// 过滤出所有的 JSON 文件
|
||||
const jsonFiles = files.filter(file => path.extname(file) === '.json').filter(file => ["StdItems","ItemMergeConfig","MergeConfig","MergeTotal","RecyclingSettingConfig"].map(e => `${e}.json`).includes(file));
|
||||
const jsonFiles = files.filter(file => path.extname(file) === '.json').filter(file => ["StdItems","ItemMergeConfig","MergeConfig","MergeTotal","RecyclingSettingConfig","OfficeConfig"].map(e => `${e}.json`).includes(file));
|
||||
jsonFiles.forEach(file => {
|
||||
const json = JSON.parse(fs.readFileSync(path.join(folderPath, file), 'utf8'))
|
||||
const filename = path.basename(file, path.extname(file));
|
||||
|
||||
Reference in New Issue
Block a user