1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

Add: Allow specification of resources and parts via configuration

Add: Interval configuration for guild
This commit is contained in:
nEEtdo0d
2020-12-29 19:05:51 -05:00
parent 2f5b72be2c
commit 5f78d71e0d
5 changed files with 75 additions and 22 deletions

View File

@@ -432,6 +432,11 @@ class AzurLaneConfig:
ENABLE_GUILD_LOGISTICS = False
ENABLE_GUILD_OPERATIONS = False
GUILD_INTERVAL = '40, 60' # str, such as '20', '10, 40'.
GUILD_LOGISTICS_RESOURCE_ORDER_STRING = 't1 > t2 > coin > cola > coolant > oil > merit > t3'
GUILD_LOGISTICS_GEAR_T1_ORDER_STRING = 'main > general > anti-air > aircraft > torpedo'
GUILD_LOGISTICS_GEAR_T2_ORDER_STRING = 'main > general > anti-air > aircraft > torpedo'
GUILD_LOGISTICS_GEAR_T3_ORDER_STRING = 'main > general > anti-air > aircraft > torpedo'
"""
module.research
@@ -647,6 +652,11 @@ class AzurLaneConfig:
self.RESEARCH_FILTER_PRESET = option['research_filter_preset']
self.RESEARCH_FILTER_STRING = option['research_filter_string']
self.BUY_MEOWFFICER = int(option['buy_meowfficer'])
self.GUILD_INTERVAL = option['guild_interval']
self.GUILD_LOGISTICS_RESOURCE_ORDER_STRING = option['guild_logistics_resource_order_string']
self.GUILD_LOGISTICS_GEAR_T1_ORDER_STRING = option['guild_logistics_gear_t1_order_string']
self.GUILD_LOGISTICS_GEAR_T2_ORDER_STRING = option['guild_logistics_gear_t2_order_string']
self.GUILD_LOGISTICS_GEAR_T3_ORDER_STRING = option['guild_logistics_gear_t3_order_string']
option = config['Main']
self.CAMPAIGN_MODE = option['campaign_mode']