# Missile System Configuration on_actions = { on_startup = { effect = { # Satellites USA = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 11 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 121 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 9 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 122 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 19 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 123 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 12 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 124 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 8 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 125 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 51 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 127 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 178 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 152 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 22 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 56 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 79 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 67 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } add_to_array = { array = missile_inventory_array value = 39 index = 103 } add_to_array = { array = missile_inventory_array value = 6 index = 104 } add_to_array = { array = missile_inventory_array value = 2 index = 105 } } SOV = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 10 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 121 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 9 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 122 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 12 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 123 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 9 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 22 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 31 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 10 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 14 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 12 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } add_to_array = { array = missile_inventory_array value = 56 index = 102 } add_to_array = { array = missile_inventory_array value = 49 index = 105 } } CHI = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 121 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 20 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 125 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 17 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 43 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 60 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 51 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 8 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 19 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 27 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 23 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } add_to_array = { array = missile_inventory_array value = 5 index = 101 } add_to_array = { array = missile_inventory_array value = 30 index = 102 } add_to_array = { array = missile_inventory_array value = 24 index = 103 } } ENG = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 121 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 122 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 123 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 8 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 12 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 10 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } FRA = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 121 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 122 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 123 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 6 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 15 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 21 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 18 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 7 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 9 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 8 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } add_to_array = { array = missile_inventory_array value = 23 index = 103 } add_to_array = { array = missile_inventory_array value = 22 index = 104 } } ISR = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } RAJ = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 8 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 12 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 10 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } add_to_array = { array = missile_inventory_array value = 4 index = 101 } add_to_array = { array = missile_inventory_array value = 1 index = 102 } } PAK = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } } NKO = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } } PER = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } } IRQ = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } } GER = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 11 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 16 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 14 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 7 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 6 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } JAP = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 11 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 16 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 14 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 7 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 6 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } BRA = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } CAN = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 6 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 8 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 7 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } DEN = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } NRY = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } SWE = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } GRE = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } } ITA = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 7 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 6 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } POL = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } } NIG = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } } QAT = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } } SAU = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } UAE = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 3 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } KOR = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 141 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 4 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 142 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 143 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 5 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 144 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 161 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 162 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 163 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 164 } add_satellite_from_payload = yes } } SIA = { set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 2 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 121 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 122 } add_satellite_from_payload = yes } set_temp_variable = { cur = 0 } while_loop_effect = { limit = { check_variable = { cur < 1 } } add_to_temp_variable = { cur = 1 } add_to_array = { payload_array = 131 } add_satellite_from_payload = yes } } every_country = { # GNSS if = { limit = { check_variable = { GNSS_satellite_array^11 > global.GNSS_sat_system_min_array^11 } } set_variable = { var_GNSS_mil_system_idx = 132 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^11 } set_variable = { var_GNSS_civ_system_idx = 132 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^11 } } else_if = { limit = { check_variable = { GNSS_satellite_array^10 > global.GNSS_sat_system_min_array^10 } } set_variable = { var_GNSS_mil_system_idx = 131 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^10 } set_variable = { var_GNSS_civ_system_idx = 131 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^10 } } else_if = { limit = { check_variable = { GNSS_satellite_array^9 > global.GNSS_sat_system_min_array^9 } } set_variable = { var_GNSS_mil_system_idx = 130 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^9 } set_variable = { var_GNSS_civ_system_idx = 130 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^9 } } else_if = { limit = { check_variable = { GNSS_satellite_array^8 > global.GNSS_sat_system_min_array^8 } } set_variable = { var_GNSS_mil_system_idx = 129 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^8 } set_variable = { var_GNSS_civ_system_idx = 129 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^8 } } else_if = { limit = { check_variable = { GNSS_satellite_array^7 > global.GNSS_sat_system_min_array^7 } } set_variable = { var_GNSS_mil_system_idx = 128 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^7 } set_variable = { var_GNSS_civ_system_idx = 128 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^7 } } else_if = { limit = { check_variable = { GNSS_satellite_array^6 > global.GNSS_sat_system_min_array^6 } } set_variable = { var_GNSS_mil_system_idx = 127 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^6 } set_variable = { var_GNSS_civ_system_idx = 127 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^6 } } else_if = { limit = { check_variable = { GNSS_satellite_array^5 > global.GNSS_sat_system_min_array^5 } } set_variable = { var_GNSS_mil_system_idx = 126 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^5 } set_variable = { var_GNSS_civ_system_idx = 126 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^5 } } else_if = { limit = { check_variable = { GNSS_satellite_array^4 > global.GNSS_sat_system_min_array^4 } } set_variable = { var_GNSS_mil_system_idx = 125 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^4 } set_variable = { var_GNSS_civ_system_idx = 125 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^4 } } else_if = { limit = { check_variable = { GNSS_satellite_array^3 > global.GNSS_sat_system_min_array^3 } } set_variable = { var_GNSS_mil_system_idx = 124 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^3 } set_variable = { var_GNSS_civ_system_idx = 124 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^3 } } else_if = { limit = { check_variable = { GNSS_satellite_array^2 > global.GNSS_sat_system_min_array^2 } } set_variable = { var_GNSS_mil_system_idx = 123 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^2 } set_variable = { var_GNSS_civ_system_idx = 123 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^2 } } else_if = { limit = { check_variable = { GNSS_satellite_array^1 > global.GNSS_sat_system_min_array^1 } } set_variable = { var_GNSS_mil_system_idx = 122 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^1 } set_variable = { var_GNSS_civ_system_idx = 122 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^1 } } else = { set_variable = { var_GNSS_mil_system_idx = 121 } set_variable = { var_GNSS_mil_sat_system_max = global.GNSS_sat_system_max_array^0 } set_variable = { var_GNSS_civ_system_idx = 121 } set_variable = { var_GNSS_civ_sat_system_max = global.GNSS_sat_system_max_array^0 } } #COM if = { limit = { check_variable = { COM_satellite_array^11 > global.COM_sat_system_min_array^11 } } set_variable = { var_COM_mil_system_idx = 152 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^11 } set_variable = { var_COM_civ_system_idx = 152 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^11 } } else_if = { limit = { check_variable = { COM_satellite_array^10 > global.COM_sat_system_min_array^10 } } set_variable = { var_COM_mil_system_idx = 151 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^10 } set_variable = { var_COM_civ_system_idx = 151 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^10 } } else_if = { limit = { check_variable = { COM_satellite_array^9 > global.COM_sat_system_min_array^9 } } set_variable = { var_COM_mil_system_idx = 150 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^9 } set_variable = { var_COM_civ_system_idx = 150 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^9 } } else_if = { limit = { check_variable = { COM_satellite_array^8 > global.COM_sat_system_min_array^8 } } set_variable = { var_COM_mil_system_idx = 149 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^8 } set_variable = { var_COM_civ_system_idx = 149 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^8 } } else_if = { limit = { check_variable = { COM_satellite_array^7 > global.COM_sat_system_min_array^7 } } set_variable = { var_COM_mil_system_idx = 148 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^7 } set_variable = { var_COM_civ_system_idx = 148 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^7 } } else_if = { limit = { check_variable = { COM_satellite_array^6 > global.COM_sat_system_min_array^6 } } set_variable = { var_COM_mil_system_idx = 147 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^6 } set_variable = { var_COM_civ_system_idx = 147 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^6 } } else_if = { limit = { check_variable = { COM_satellite_array^5 > global.COM_sat_system_min_array^5 } } set_variable = { var_COM_mil_system_idx = 146 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^5 } set_variable = { var_COM_civ_system_idx = 146 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^5 } } else_if = { limit = { check_variable = { COM_satellite_array^4 > global.COM_sat_system_min_array^4 } } set_variable = { var_COM_mil_system_idx = 145 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^4 } set_variable = { var_COM_civ_system_idx = 145 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^4 } } else_if = { limit = { check_variable = { COM_satellite_array^3 > global.COM_sat_system_min_array^3 } } set_variable = { var_COM_mil_system_idx = 144 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^3 } set_variable = { var_COM_civ_system_idx = 144 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^3 } } else_if = { limit = { check_variable = { COM_satellite_array^2 > global.COM_sat_system_min_array^2 } } set_variable = { var_COM_mil_system_idx = 143 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^2 } set_variable = { var_COM_civ_system_idx = 143 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^2 } } else_if = { limit = { check_variable = { COM_satellite_array^1 > global.COM_sat_system_min_array^1 } } set_variable = { var_COM_mil_system_idx = 142 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^1 } set_variable = { var_COM_civ_system_idx = 142 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^1 } } else = { set_variable = { var_COM_mil_system_idx = 141 } set_variable = { var_COM_mil_sat_system_max = global.COM_sat_system_max_array^0 } set_variable = { var_COM_civ_system_idx = 141 } set_variable = { var_COM_civ_sat_system_max = global.COM_sat_system_max_array^0 } } #SPY if = { limit = { check_variable = { SPY_satellite_array^11 > global.SPY_sat_system_min_array^11 } } set_variable = { var_SPY_mil_system_idx = 172 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^11 } set_variable = { var_SPY_civ_system_idx = 172 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^11 } } else_if = { limit = { check_variable = { SPY_satellite_array^10 > global.SPY_sat_system_min_array^10 } } set_variable = { var_SPY_mil_system_idx = 171 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^10 } set_variable = { var_SPY_civ_system_idx = 171 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^10 } } else_if = { limit = { check_variable = { SPY_satellite_array^9 > global.SPY_sat_system_min_array^9 } } set_variable = { var_SPY_mil_system_idx = 170 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^9 } set_variable = { var_SPY_civ_system_idx = 170 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^9 } } else_if = { limit = { check_variable = { SPY_satellite_array^8 > global.SPY_sat_system_min_array^8 } } set_variable = { var_SPY_mil_system_idx = 169 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^8 } set_variable = { var_SPY_civ_system_idx = 169 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^8 } } else_if = { limit = { check_variable = { SPY_satellite_array^7 > global.SPY_sat_system_min_array^7 } } set_variable = { var_SPY_mil_system_idx = 168 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^7 } set_variable = { var_SPY_civ_system_idx = 168 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^7 } } else_if = { limit = { check_variable = { SPY_satellite_array^6 > global.SPY_sat_system_min_array^6 } } set_variable = { var_SPY_mil_system_idx = 167 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^6 } set_variable = { var_SPY_civ_system_idx = 167 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^6 } } else_if = { limit = { check_variable = { SPY_satellite_array^5 > global.SPY_sat_system_min_array^5 } } set_variable = { var_SPY_mil_system_idx = 166 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^5 } set_variable = { var_SPY_civ_system_idx = 166 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^5 } } else_if = { limit = { check_variable = { SPY_satellite_array^4 > global.SPY_sat_system_min_array^4 } } set_variable = { var_SPY_mil_system_idx = 165 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^4 } set_variable = { var_SPY_civ_system_idx = 165 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^4 } } else_if = { limit = { check_variable = { SPY_satellite_array^3 > global.SPY_sat_system_min_array^3 } } set_variable = { var_SPY_mil_system_idx = 164 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^3 } set_variable = { var_SPY_civ_system_idx = 164 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^3 } } else_if = { limit = { check_variable = { SPY_satellite_array^2 > global.SPY_sat_system_min_array^2 } } set_variable = { var_SPY_mil_system_idx = 163 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^2 } set_variable = { var_SPY_civ_system_idx = 163 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^2 } } else_if = { limit = { check_variable = { SPY_satellite_array^1 > global.SPY_sat_system_min_array^1 } } set_variable = { var_SPY_mil_system_idx = 162 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^1 } set_variable = { var_SPY_civ_system_idx = 162 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^1 } } else = { set_variable = { var_SPY_mil_system_idx = 161 } set_variable = { var_SPY_mil_sat_system_max = global.SPY_sat_system_max_array^0 } set_variable = { var_SPY_civ_system_idx = 161 } set_variable = { var_SPY_civ_sat_system_max = global.SPY_sat_system_max_array^0 } } # Update Satellite System Sats update_sat_systems_stats = yes } } } }