stop=stage.add_argument_group('Stop condition','After triggering, it will not stop immediately. It will complete the current attack first, and fill in 0 if it is not needed.')
stop.add_argument('--if_count_greater_than',default=default('--if_count_greater_than'),help='The previous setting will be used, and the number\n of deductions will be deducted after completion of the attack until it is cleared.')
stop.add_argument('--if_time_reach',default=default('--if_time_reach'),help='Use the time within the next 24 hours, the previous setting will be used, and it will be cleared\n after the trigger. It is recommended to advance about\n 10 minutes to complete the current attack. Format 14:59')
stop.add_argument('--if_trigger_emotion_control',default=default('--if_trigger_emotion_control'),choices=['yes','no'],help='If yes, wait for reply, complete this time, stop \nIf no, wait for reply, complete this time, continue')
fleet=setting_parser.add_argument_group('Attack fleet','No support for alternate lane squadrons, inactive map or weekly mode will ignore the step setting')
f1=fleet.add_argument_group('Road Fleet','Players can choose a formation before battle. Though it has no effect appearance-wise, the formations applies buffs to certain stats.\nLine Ahead: Increases Firepower and Torpedo by 15%, but reduces Evasion by 10% (Applies only to Vanguard fleet)\nDouble Line: Increases Evasion by 30%, but decreases Firepower and Torpedo by 5% (Applies only to Vanguard fleet)\nDiamond: Increases Anti-Air by 20% (no penalties, applies to entire fleet)')
f1.add_argument('--fleet_step_1',default=default('--fleet_step_1'),choices=['1','2','3','4','5','6'],help='In event map, fleet has limit on moving, so fleet_step is how far can a fleet goes in one operation, if map cleared, it will be ignored')
f2.add_argument('--fleet_step_2',default=default('--fleet_step_2'),choices=['1','2','3','4','5','6'],help='In event map, fleet has limit on moving, so fleet_step is how far can a fleet goes in one operation, if map cleared, it will be ignored')
f3.add_argument('--fleet_step_3',default=default('--fleet_step_3'),choices=['1','2','3','4','5','6'],help='In event map, fleet has limit on moving, so fleet_step is how far can a fleet goes in one operation, if map cleared, it will be ignored')
hp_balance.add_argument('--scout_hp_difference_threshold',default=default('--scout_hp_difference_threshold'),help='When the difference in HP volume is greater than the threshold, transpose')
hp_balance.add_argument('--scout_hp_weights',default=default('--scout_hp_weights'),help='Pioneer flesh should be modified when there is a difference, the format 1000,1000,1000')
hp_add.add_argument('--emergency_repair_single_threshold',default=default('--emergency_repair_single_threshold'),help='Used when single shipgirl is below the threshold')
hp_add.add_argument('--emergency_repair_hole_threshold',default=default('--emergency_repair_hole_threshold'),help='Used when all front rows or all back rows are below the threshold')
hp_withdraw=hp.add_argument_group('Low HP volume withdrawal','')
hp_withdraw.add_argument('--low_hp_withdraw_threshold',default=default('--low_hp_withdraw_threshold'),help='When HP is below the threshold, retreat')
rarity=retire.add_argument_group('Retirement rarity','The ship type selection is not supported yet. Ignore the following options when using one-key retirement')
drop=setting_parser.add_argument_group('Drop record','Save screenshots of dropped items, which will slow down the click speed when settlement is enabled')
clear=setting_parser.add_argument_group('Wasteland mode','Unopened maps will stop after completion. Opened maps will ignore options, and its done if you do not open up')
clear.add_argument('--map_star_clear_all',default=default('--map_star_clear_all'),choices=['index_1','index_2','index_3','do_not_use'],help='The first few stars are to destroy all enemy ships')
# ==========reward==========
reward_parser=subs.add_parser('reward')
reward_condition=reward_parser.add_argument_group('Triggering conditions','Need to run once to save the options, after running it will enter the on-hook vegetable collection mode')
reward_condition.add_argument('--reward_interval',default=default('--reward_interval'),choices=['20','30','60'],help='How many minutes to trigger collection')
reward_commission.add_argument('--commission_time_limit',default=default('--commission_time_limit'),help='Ignore orders whose completion time exceeds the limit, Format: 23:30')
priority1=reward_commission.add_argument_group('Time-consuming priority of delegation','')
reward_tactical.add_argument('--tactical_book_tier',default=default('--tactical_book_tier'),choices=['3','2','1'],help='Skill book that uses at most T a few \nT3 is a gold book, T2 is a purple book, T1 is a blue book')
reward_tactical.add_argument('--tactical_exp_first',default=default('--tactical_exp_first'),choices=['yes','no'],help='Choose Yes, give priority to the 150% bonus \nSelect No, give priority to the skills book with the same rarity')
emulator=emulator_parser.add_argument_group('Emulator','Need to run once to save the options, it will check whether the game is started \nIf the game is started, trigger a collection')
adb.add_argument('--combat_screenshot_interval',default=default('--combat_screenshot_interval'),help='Slow down the screenshot speed during battle and reduce CPU')
daily.add_argument('--enable_daily_mission',default=default('--enable_daily_mission'),help='If there are records on the day, skip',choices=['yes','no'])
daily.add_argument('--enable_hard_campaign',default=default('--enable_hard_campaign'),help='If there are records on the day, skip',choices=['yes','no'])
daily.add_argument('--enable_exercise',default=default('--enable_exercise'),help='If there is a record after refreshing, skip',choices=['yes','no'])
# 每日设置
daily_task=daily_parser.add_argument_group('Daily settings','Does not support submarine daily')
daily_task.add_argument('--daily_equipment',default=default('--daily_equipment'),help='Change equipment before playing, unload equipment after playing, do not need to fill in 0 \ncomma, such as 3, 1, 0, 1, 1, 0')
# 困难设置
hard=daily_parser.add_argument_group('Difficult setting','Need to turn on weekly mode, only support 10-4 temporarily')
hard.add_argument('--hard_campaign',default=default('--hard_campaign'),help='For example 10-4')
hard.add_argument('--hard_equipment',default=default('--hard_equipment'),help='Change equipment before playing, unload equipment after playing, do not need to fill in 0 \ncomma, such as 3, 1, 0, 1, 1, 0')
# 演习设置
exercise=daily_parser.add_argument_group('Exercise settings','Only support the most experience for the time being')
exercise.add_argument('--exercise_choose_mode',default=default('--exercise_choose_mode'),choices=['max_exp','max_ranking','good_opponent'],help='Only support the most experience for the time being')
exercise.add_argument('--exercise_preserve',default=default('--exercise_preserve'),help='Only 0 are temporarily reserved')
exercise.add_argument('--exercise_try',default=default('--exercise_try'),help='The number of attempts by each opponent')
exercise.add_argument('--exercise_hp_threshold',default=default('--exercise_hp_threshold'),help='HHP <Retreat at Threshold')
exercise.add_argument('--exercise_low_hp_confirm',default=default('--exercise_low_hp_confirm'),help='After HP is below the threshold, it will retreat after a certain period of time \nRecommended 1.0 ~ 3.0')
exercise.add_argument('--exercise_equipment',default=default('--exercise_equipment'),help='Change equipment before playing, unload equipment after playing, do not need to fill in 0 \ncomma, such as 3, 1, 0, 1, 1, 0')
# ==========event_daily_ab==========
event_ab_parser=subs.add_parser('event_daily_ab')
event_name=event_ab_parser.add_argument_group('Choose an event','bonus for first clear each day')
event_name.add_argument('--event_name_ab',default=default('--event_name_ab'),choices=event_folder,help='There a dropdown menu with many options')
# ==========main==========
main_parser=subs.add_parser('main')
# 选择关卡
stage=main_parser.add_argument_group('Choose a level','The main line chart strikes, currently only supports the first six chapters and 7-2')
semi.add_argument('--enable_semi_story_skip',default=default('--enable_semi_story_skip'),help='Note that this will automatically confirm all the prompt boxes, including the red face attack',choices=['yes','no'])
c_12_2.add_argument('--s3_enemy_tolerance',default=default('--s3_enemy_tolerance'),choices=['0','1','2','10'],help='The maximum number of battles to fight against large enemies')
# ==========c124_leveling==========
c_12_4_parser=subs.add_parser('c12-4_leveling')
c_12_4=c_12_4_parser.add_argument_group('12-4 Search enemy settings','Need to ensure that the team has a certain strength')
c_12_4.add_argument('--non_s3_enemy_enter_tolerance',default=default('--non_s3_enemy_enter_tolerance'),choices=['0','1','2'],help='Endure how many battles to enter without big')
c_12_4.add_argument('--non_s3_enemy_withdraw_tolerance',default=default('--non_s3_enemy_withdraw_tolerance'),choices=['0','1','2','10'],help='How many battles will be fought after there is no large scale')
c_12_4.add_argument('--ammo_pick_up_124',default=default('--ammo_pick_up_124'),choices=['2','3','4','5'],help='How much ammunition to pick after the war')