on_actions = { on_startup = { # Startup Antarctica Research Sites effect = { # station_name_id mapping: # 1 Amundsen-Scott South Pole, 2 Vostok, 3 Halley, 4 Esperanza, 5 Eduardo Frei, 6 Mawson, # 7 Henryk Arctowski, 8 Dumont d'Urville, 9 Neumayer, 10 Syowa, 11 Scott Base, # 12 Great Wall, 13 Maitri, 14 Mario Zucchelli, 15 SANAE IV, 16 King Sejong, # 17 Comandante Ferraz, 18 Vernadsky, 19 Artigas, 20 Troll, 21 Juan Carlos I, # 22 Wasa, 23 Aboa, 24 St. Kliment Ohridski, 25 Machu Picchu, # 26 Pedro Vicente Maldonado, 27 Jinnah. # module_category: # 1 powerplant, 2 life support, 3 fuel storage, 4 housing, 5 laboratories USA = { # Amundsen-Scott South Pole set_temp_variable = { station_x = 730 } set_temp_variable = { station_y = 400 } set_temp_variable = { station_name_id = 1 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 1 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 4 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes } SOV = { # Vostok set_temp_variable = { station_x = 890 } set_temp_variable = { station_y = 460 } set_temp_variable = { station_name_id = 2 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 2 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 12 } antarctica_set_station_module = yes } ENG = { # Halley set_temp_variable = { station_x = 630 } set_temp_variable = { station_y = 210 } set_temp_variable = { station_name_id = 3 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 3 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 4 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 8 } antarctica_set_station_module = yes } ARG = { # Esperanza set_temp_variable = { station_x = 390 } set_temp_variable = { station_y = 174 } set_temp_variable = { station_name_id = 4 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 4 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 9 } antarctica_set_station_module = yes } CHL = { # Eduardo Frei set_temp_variable = { station_x = 359 } set_temp_variable = { station_y = 188 } set_temp_variable = { station_name_id = 5 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 5 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes } AST = { # Mawson set_temp_variable = { station_x = 1022 } set_temp_variable = { station_y = 243 } set_temp_variable = { station_name_id = 6 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 6 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 4 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 9 } antarctica_set_station_module = yes } POL = { # Henryk Arctowski set_temp_variable = { station_x = 367 } set_temp_variable = { station_y = 173 } set_temp_variable = { station_name_id = 7 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 7 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 5 } antarctica_set_station_module = yes } FRA = { # Dumont d'Urville set_temp_variable = { station_x = 947 } set_temp_variable = { station_y = 665 } set_temp_variable = { station_name_id = 8 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 8 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 7 } antarctica_set_station_module = yes } GER = { # Neumayer set_temp_variable = { station_x = 686 } set_temp_variable = { station_y = 112 } set_temp_variable = { station_name_id = 9 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 9 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 4 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 4 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 9 } antarctica_set_station_module = yes } JAP = { # Syowa set_temp_variable = { station_x = 927 } set_temp_variable = { station_y = 155 } set_temp_variable = { station_name_id = 10 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 10 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 6 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 10 } antarctica_set_station_module = yes } NZL = { # Scott Base set_temp_variable = { station_x = 769 } set_temp_variable = { station_y = 568 } set_temp_variable = { station_name_id = 11 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 11 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 4 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 9 } antarctica_set_station_module = yes } CHI = { # Great Wall set_temp_variable = { station_x = 1035 } set_temp_variable = { station_y = 330 } set_temp_variable = { station_name_id = 12 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 12 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 6 } antarctica_set_station_module = yes } RAJ = { # Maitri set_temp_variable = { station_x = 789 } set_temp_variable = { station_y = 110 } set_temp_variable = { station_name_id = 13 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 13 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 6 } antarctica_set_station_module = yes } ITA = { # Mario Zucchelli set_temp_variable = { station_x = 787 } set_temp_variable = { station_y = 625 } set_temp_variable = { station_name_id = 14 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 14 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 4 } antarctica_set_station_module = yes } SAF = { # SANAE IV set_temp_variable = { station_x = 712 } set_temp_variable = { station_y = 122 } set_temp_variable = { station_name_id = 15 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 15 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 9 } antarctica_set_station_module = yes } KOR = { # King Sejong set_temp_variable = { station_x = 358 } set_temp_variable = { station_y = 175 } set_temp_variable = { station_name_id = 16 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 16 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 7 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes } BRA = { # Comandante Ferraz set_temp_variable = { station_x = 364 } set_temp_variable = { station_y = 155 } set_temp_variable = { station_name_id = 17 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 17 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 9 } antarctica_set_station_module = yes } UKR = { # Vernadsky set_temp_variable = { station_x = 395 } set_temp_variable = { station_y = 241 } set_temp_variable = { station_name_id = 18 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 18 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 8 } antarctica_set_station_module = yes } URG = { # Artigas set_temp_variable = { station_x = 355 } set_temp_variable = { station_y = 211 } set_temp_variable = { station_name_id = 19 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 19 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 3 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 5 } antarctica_set_station_module = yes } NRY = { # Troll set_temp_variable = { station_x = 735 } set_temp_variable = { station_y = 131 } set_temp_variable = { station_name_id = 20 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 20 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 5 } antarctica_set_station_module = yes } SPR = { # Juan Carlos I set_temp_variable = { station_x = 365 } set_temp_variable = { station_y = 191 } set_temp_variable = { station_name_id = 21 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 21 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 5 } antarctica_set_station_module = yes } SWE = { # Wasa set_temp_variable = { station_x = 660 } set_temp_variable = { station_y = 145 } set_temp_variable = { station_name_id = 22 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 22 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 7 } antarctica_set_station_module = yes } FIN = { # Aboa set_temp_variable = { station_x = 670 } set_temp_variable = { station_y = 145 } set_temp_variable = { station_name_id = 23 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 23 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 7 } antarctica_set_station_module = yes } BUL = { # St. Kliment Ohridski set_temp_variable = { station_x = 358 } set_temp_variable = { station_y = 196 } set_temp_variable = { station_name_id = 24 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 24 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 5 } antarctica_set_station_module = yes } PRU = { # Carlos I set_temp_variable = { station_x = 372 } set_temp_variable = { station_y = 150 } set_temp_variable = { station_name_id = 25 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 25 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 5 } antarctica_set_station_module = yes } ECU = { # Pedro Vicente Maldonado set_temp_variable = { station_x = 372 } set_temp_variable = { station_y = 150 } set_temp_variable = { station_name_id = 26 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 26 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 2 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 7 } antarctica_set_station_module = yes } PAK = { # Jinnah set_temp_variable = { station_x = 372 } set_temp_variable = { station_y = 150 } set_temp_variable = { station_name_id = 27 } antarctica_create_startup_research_station = yes set_temp_variable = { station_id = 27 } set_temp_variable = { module_category = 1 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 2 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 3 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 4 } set_temp_variable = { module_id = 1 } antarctica_set_station_module = yes set_temp_variable = { module_category = 5 } set_temp_variable = { module_id = 9 } antarctica_set_station_module = yes } random_country = { # Any country limit = { is_ai = no } for_each_loop = { array = global.antarctica_station_ids value = startup_station_id if = { limit = { check_variable = { startup_station_id > 0 } } set_temp_variable = { station_id = startup_station_id } antarctica_normalize_startup_station_slots = yes } } # Run shared station processing antarctica_process_station_fuel_consumption = yes antarctica_process_station_research_progress = yes antarctica_process_station_module_installations = yes antarctica_rebuild_regular_at_member_list = yes country_event = { id = MD_antarctica.8 days = 70 random_days = 70 } } for_each_scope_loop = { array = global.at_members add_dynamic_modifier = { modifier = antarctica_laboratory_dynamic_modifier } antarctica_recalculate_country_laboratory_effects = yes set_variable = { antarctica_station_total_upkeep_multiplier = 0 } } } } on_daily = { effect = { if = { limit = { NOT = { has_global_flag = antarctica_daily_stations_processed } } set_global_flag = { flag = antarctica_daily_stations_processed value = 1 days = 1 } antarctica_process_blizzard_daily = yes antarctica_process_delivery_queue = yes antarctica_process_station_fuel_consumption = yes antarctica_process_station_module_installations = yes } if = { limit = { is_ai = no has_country_flag = auto_resupply_antarctica_station has_country_flag = antarctica_has_active_station } antarctica_auto_resupply_station = yes } if = { limit = { check_variable = { antarctica_station_setup_in_progress > 0 } } antarctica_process_player_station_setup = yes } if = { limit = { check_variable = { antarctica_station_dismantle_in_progress > 0 } } antarctica_process_station_dismantle = yes } if = { limit = { check_variable = { research_station_module_repair_days_remaining > 0 } } antarctica_process_blizzard_repairs_daily = yes } if = { limit = { NOT = { has_global_flag = antarctic_station_startup_refresh } } set_global_flag = antarctic_station_startup_refresh # One time refresh antarctica_apply_station_maintenance_costs = yes for_each_scope_loop = { array = global.at_members antarctica_update_small_treaty_status_effects = yes } } } } on_weekly = { effect = { if = { limit = { NOT = { has_global_flag = antarctica_weekly_stations_processed } } set_global_flag = { flag = antarctica_weekly_stations_processed value = 1 days = 5 } # antarctica_initialize_atcp_consultative_parties is a one-time # backfill (self-disables via antarctica_atcp_consultative_initialized), antarctica_initialize_atcp_consultative_parties = yes antarctica_process_atcp_applications = yes for_each_scope_loop = { array = global.at_members if = { limit = { has_country_flag = antarctica_has_active_station } antarctica_recalculate_country_laboratory_effects = yes } } antarctica_process_station_research_progress = yes } } } on_monthly = { effect = { if = { limit = { NOT = { has_global_flag = antarctica_monthly_stations_processed } } set_global_flag = { flag = antarctica_monthly_stations_processed value = 1 days = 25 } # Reset maintenance costs for all AT members for_each_scope_loop = { array = global.at_members set_variable = { antarctica_station_total_upkeep_multiplier = 0 } } # Calculate maintenance costs once globally (not per-country) antarctica_apply_station_maintenance_costs = yes antarctica_rebuild_regular_at_member_list = yes } if = { limit = { is_ai = yes has_country_flag = antarctica_has_active_station } ai_antarctica_monthly = yes } } } }