1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-18 04:31:30 +08:00

Revert "Add: Box recycle module"

This commit is contained in:
LmeSzinc
2020-09-16 22:54:49 +08:00
committed by GitHub
parent 71627dd555
commit 1f058030f6
39 changed files with 4 additions and 536 deletions

View File

@@ -439,14 +439,6 @@ def main(ini_name=''):
c_12_4.add_argument('--非大型敌人撤退忍耐', default=default('--非大型敌人撤退忍耐'), choices=['0', '1', '2', '10'], help='没有大型之后还会打多少战, 不挑敌人选10', gooey_options={'label_color': '#4B5F83'})
c_12_4.add_argument('--拣弹药124', default=default('--拣弹药124'), choices=['2', '3', '4', '5'], help='多少战后拣弹药', gooey_options={'label_color': '#4B5F83'})
# ==========拆箱子==========
auto_box_parser = subs.add_parser('拆箱子')
auto_box = auto_box_parser.add_argument_group('自动分解装备拆箱子', '需保证仓库里没有不能分解的+0装备', gooey_options={'label_color': '#931D03'})
auto_box.add_argument('--是否拆紫箱子', default=default('--是否拆紫箱子'), choices=['', ''], help='优先拆紫箱子', gooey_options={'label_color': '#4B5F83'})
auto_box.add_argument('--是否拆蓝箱子', default=default('--是否拆蓝箱子'), choices=['', ''], help='是否拆蓝箱子', gooey_options={'label_color': '#4B5F83'})
auto_box.add_argument('--是否拆白箱子', default=default('--是否拆白箱子'), choices=['', ''], help='是否拆白箱子', gooey_options={'label_color': '#4B5F83'})
args = parser.parse_args()
# Convert option from chinese to english.

View File

@@ -674,12 +674,6 @@ class AzurLaneConfig:
self.C124_NON_S3_WITHDRAW_TOLERANCE = int(option['non_s3_enemy_withdraw_tolerance'])
self.C124_AMMO_PICK_UP = int(option['ammo_pick_up_124'])
# Auto_box
option = config['Auto_box']
self.Auto_box_remove_t3_box = to_bool(option['remove_t3_box'])
self.Auto_box_remove_t2_box = to_bool(option['remove_t2_box'])
self.Auto_box_remove_t1_box = to_bool(option['remove_t1_box'])
def get_server_timezone(self):
if self.SERVER == 'en':
return -7

View File

@@ -300,7 +300,6 @@ dic_chi_to_eng = {
'7-2三战拣垃圾': 'c72_mystery_farming',
'12-2打中型练级': 'c122_leveling',
'12-4打大型练级': 'c124_leveling',
'拆箱子': 'auto_box',
# Argument
'启用停止条件': 'enable_stop_condition',
@@ -457,9 +456,6 @@ dic_chi_to_eng = {
'非大型敌人进图忍耐': 'non_s3_enemy_enter_tolerance',
'非大型敌人撤退忍耐': 'non_s3_enemy_withdraw_tolerance',
'拣弹药124': 'ammo_pick_up_124',
'是否拆紫箱子': 'remove_t3_box',
'是否拆蓝箱子': 'remove_t2_box',
'是否拆白箱子': 'remove_t1_box',
'默认serial列表': 'default_serial_list',
# Option