Skip to content

Commit 8928891

Browse files
committed
Add: config for equipment code
1 parent b477b66 commit 8928891

6 files changed

Lines changed: 66 additions & 0 deletions

File tree

module/config/argument/argument.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,12 @@ GemsFarming:
275275
value: any
276276
option: [ any, favourite, aulick_or_foote , cassin_or_downes, z20_or_z21 ]
277277
CommissionLimit: true
278+
EquipmentCode:
279+
ExportToConfig: true
280+
Config:
281+
type: textarea
282+
mode: yaml
283+
value: |-
278284
279285
# ==================== Event ====================
280286

module/config/config_generated.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,10 @@ class GeneratedConfig:
153153
GemsFarming_CommonDD = 'any' # any, favourite, aulick_or_foote, cassin_or_downes, z20_or_z21
154154
GemsFarming_CommissionLimit = True
155155

156+
# Group `EquipmentCode`
157+
EquipmentCode_ExportToConfig = True
158+
EquipmentCode_Config = None
159+
156160
# Group `EventGeneral`
157161
EventGeneral_PtLimit = 0
158162
EventGeneral_TimeLimit = datetime.datetime(2020, 1, 1, 0, 0)

module/config/i18n/en-US.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,20 @@
12181218
"help": "When running 7x24, prevent having a lot of urgent commissions and not being able to complete daily commissions. It is recommended to select only short-terms and high-yields in the commission filter"
12191219
}
12201220
},
1221+
"EquipmentCode": {
1222+
"_info": {
1223+
"name": "Gear Code",
1224+
"help": ""
1225+
},
1226+
"ExportToConfig": {
1227+
"name": "Export to config",
1228+
"help": "Only exports if corresponding key has no value. Delete specific row to trigger later update."
1229+
},
1230+
"Config": {
1231+
"name": "Gear code config",
1232+
"help": "Format is yaml"
1233+
}
1234+
},
12211235
"EventGeneral": {
12221236
"_info": {
12231237
"name": "Event General Settings",

module/config/i18n/ja-JP.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,20 @@
12181218
"help": "GemsFarming.CommissionLimit.help"
12191219
}
12201220
},
1221+
"EquipmentCode": {
1222+
"_info": {
1223+
"name": "EquipmentCode._info.name",
1224+
"help": "EquipmentCode._info.help"
1225+
},
1226+
"ExportToConfig": {
1227+
"name": "EquipmentCode.ExportToConfig.name",
1228+
"help": "EquipmentCode.ExportToConfig.help"
1229+
},
1230+
"Config": {
1231+
"name": "EquipmentCode.Config.name",
1232+
"help": "EquipmentCode.Config.help"
1233+
}
1234+
},
12211235
"EventGeneral": {
12221236
"_info": {
12231237
"name": "EventGeneral._info.name",

module/config/i18n/zh-CN.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,20 @@
12181218
"help": "在7x24运行时防止紧急委托数量过多做不完每日委托,建议在委托过滤器仅选择短时长高收益委托"
12191219
}
12201220
},
1221+
"EquipmentCode": {
1222+
"_info": {
1223+
"name": "装备码",
1224+
"help": ""
1225+
},
1226+
"ExportToConfig": {
1227+
"name": "导出配置",
1228+
"help": "若原本对应字段有值则不会更新,请通过删除配置中对应字段来触发更新"
1229+
},
1230+
"Config": {
1231+
"name": "具体配置",
1232+
"help": "格式为yaml"
1233+
}
1234+
},
12211235
"EventGeneral": {
12221236
"_info": {
12231237
"name": "活动通用设置",

module/config/i18n/zh-TW.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,20 @@
12181218
"help": "在7x24運行時防止緊急委託數量過多做不完每日委託,建議在委託過濾器僅選擇短時長高收益委託"
12191219
}
12201220
},
1221+
"EquipmentCode": {
1222+
"_info": {
1223+
"name": "裝備碼",
1224+
"help": ""
1225+
},
1226+
"ExportToConfig": {
1227+
"name": "導出配置",
1228+
"help": "若原本對應欄位有值則不會更新,請透過刪除配置中對應欄位來觸發更新"
1229+
},
1230+
"Config": {
1231+
"name": "具體配置",
1232+
"help": "格式為yaml"
1233+
}
1234+
},
12211235
"EventGeneral": {
12221236
"_info": {
12231237
"name": "活動通用設定",

0 commit comments

Comments
 (0)