rq_ap_one = {
if = {
limit = { check_variable = { rq_t < 744 } }
if = {
limit = { check_variable = { rq_t < 372 } }
if = {
limit = { check_variable = { rq_t < 186 } }
if = {
limit = { check_variable = { rq_t < 93 } }
if = {
limit = { check_variable = { rq_t < 47 } }
if = {
limit = { check_variable = { rq_t < 24 } }
if = {
limit = { check_variable = { rq_t < 12 } }
if = {
limit = { check_variable = { rq_t < 6 } }
if = {
limit = { check_variable = { rq_t < 3 } }
if = {
limit = { check_variable = { rq_t < 2 } }
if = {
limit = {
NOT = { has_tech = AA_upgrade_1 }
NOT = { is_in_array = { array = rq_queue value = 1 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1 } }
NOT = { is_in_array = { array = global.rq_hid value = 1 } }
OR = {
can_research = AA_upgrade_1
AND = {
OR = { is_in_array = { array = rq_queue value = 48 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = AA_upgrade_2 }
NOT = { is_in_array = { array = rq_queue value = 2 } }
NOT = { is_in_array = { array = rq_ap_ban value = 2 } }
NOT = { is_in_array = { array = global.rq_hid value = 2 } }
OR = {
can_research = AA_upgrade_2
AND = {
OR = { is_in_array = { array = rq_queue value = 49 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 2 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 2 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 4 } }
if = {
limit = {
NOT = { has_tech = AA_upgrade_3 }
NOT = { is_in_array = { array = rq_queue value = 3 } }
NOT = { is_in_array = { array = rq_ap_ban value = 3 } }
NOT = { is_in_array = { array = global.rq_hid value = 3 } }
OR = {
can_research = AA_upgrade_3
AND = {
OR = { is_in_array = { array = rq_queue value = 2 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 3 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 3 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 5 } }
if = {
limit = {
NOT = { has_tech = AA_upgrade_4 }
NOT = { is_in_array = { array = rq_queue value = 4 } }
NOT = { is_in_array = { array = rq_ap_ban value = 4 } }
NOT = { is_in_array = { array = global.rq_hid value = 4 } }
OR = {
can_research = AA_upgrade_4
AND = {
OR = { is_in_array = { array = rq_queue value = 51 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 4 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 4 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 9 } }
if = {
limit = { check_variable = { rq_t < 7 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 8 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 10 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 11 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 18 } }
if = {
limit = { check_variable = { rq_t < 15 } }
if = {
limit = { check_variable = { rq_t < 13 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 14 } }
}
else = {
if = {
limit = {
NOT = { has_tech = APC_1 }
NOT = { is_in_array = { array = rq_queue value = 14 } }
NOT = { is_in_array = { array = rq_ap_ban value = 14 } }
NOT = { is_in_array = { array = global.rq_hid value = 14 } }
OR = {
can_research = APC_1
AND = {
OR = { is_in_array = { array = rq_queue value = 103 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 14 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 14 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 16 } }
if = {
limit = {
NOT = { has_tech = APC_2 }
NOT = { is_in_array = { array = rq_queue value = 15 } }
NOT = { is_in_array = { array = rq_ap_ban value = 15 } }
NOT = { is_in_array = { array = global.rq_hid value = 15 } }
OR = {
can_research = APC_2
AND = {
OR = { is_in_array = { array = rq_queue value = 14 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 15 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 15 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 17 } }
if = {
limit = {
NOT = { has_tech = APC_3 }
NOT = { is_in_array = { array = rq_queue value = 16 } }
NOT = { is_in_array = { array = rq_ap_ban value = 16 } }
NOT = { is_in_array = { array = global.rq_hid value = 16 } }
OR = {
can_research = APC_3
AND = {
OR = { is_in_array = { array = rq_queue value = 15 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 16 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 16 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = APC_4 }
NOT = { is_in_array = { array = rq_queue value = 17 } }
NOT = { is_in_array = { array = rq_ap_ban value = 17 } }
NOT = { is_in_array = { array = global.rq_hid value = 17 } }
OR = {
can_research = APC_4
AND = {
OR = { is_in_array = { array = rq_queue value = 16 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 17 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 17 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 21 } }
if = {
limit = { check_variable = { rq_t < 19 } }
if = {
limit = {
NOT = { has_tech = APC_5 }
NOT = { is_in_array = { array = rq_queue value = 18 } }
NOT = { is_in_array = { array = rq_ap_ban value = 18 } }
NOT = { is_in_array = { array = global.rq_hid value = 18 } }
OR = {
can_research = APC_5
AND = {
OR = { is_in_array = { array = rq_queue value = 17 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 18 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 18 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 20 } }
if = {
limit = {
NOT = { has_tech = APC_6 }
NOT = { is_in_array = { array = rq_queue value = 19 } }
NOT = { is_in_array = { array = rq_ap_ban value = 19 } }
NOT = { is_in_array = { array = global.rq_hid value = 19 } }
OR = {
can_research = APC_6
AND = {
OR = { is_in_array = { array = rq_queue value = 18 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 19 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 19 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = APC_7 }
NOT = { is_in_array = { array = rq_queue value = 20 } }
NOT = { is_in_array = { array = rq_ap_ban value = 20 } }
NOT = { is_in_array = { array = global.rq_hid value = 20 } }
OR = {
can_research = APC_7
AND = {
OR = { is_in_array = { array = rq_queue value = 19 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 20 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 20 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 22 } }
if = {
limit = {
NOT = { has_tech = APC_8 }
NOT = { is_in_array = { array = rq_queue value = 21 } }
NOT = { is_in_array = { array = rq_ap_ban value = 21 } }
NOT = { is_in_array = { array = global.rq_hid value = 21 } }
OR = {
can_research = APC_8
AND = {
OR = { is_in_array = { array = rq_queue value = 20 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 21 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 21 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 23 } }
if = {
limit = {
NOT = { has_tech = AS_Fighter1 }
NOT = { is_in_array = { array = rq_queue value = 22 } }
NOT = { is_in_array = { array = rq_ap_ban value = 22 } }
NOT = { is_in_array = { array = global.rq_hid value = 22 } }
OR = {
can_research = AS_Fighter1
AND = {
OR = { is_in_array = { array = rq_queue value = 606 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 22 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 22 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = AS_Fighter2 }
NOT = { is_in_array = { array = rq_queue value = 23 } }
NOT = { is_in_array = { array = rq_ap_ban value = 23 } }
NOT = { is_in_array = { array = global.rq_hid value = 23 } }
OR = {
can_research = AS_Fighter2
AND = {
OR = { is_in_array = { array = rq_queue value = 22 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 23 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 23 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 35 } }
if = {
limit = { check_variable = { rq_t < 29 } }
if = {
limit = { check_variable = { rq_t < 26 } }
if = {
limit = { check_variable = { rq_t < 25 } }
if = {
limit = {
NOT = { has_tech = AS_Fighter3 }
NOT = { is_in_array = { array = rq_queue value = 24 } }
NOT = { is_in_array = { array = rq_ap_ban value = 24 } }
NOT = { is_in_array = { array = global.rq_hid value = 24 } }
OR = {
can_research = AS_Fighter3
AND = {
OR = { is_in_array = { array = rq_queue value = 29 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 24 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = AS_Fighter4 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = AS_Fighter4 date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 24 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = AS_Fighter4 }
NOT = { is_in_array = { array = rq_queue value = 25 } }
NOT = { is_in_array = { array = rq_ap_ban value = 25 } }
NOT = { is_in_array = { array = global.rq_hid value = 25 } }
OR = {
can_research = AS_Fighter4
AND = {
OR = { is_in_array = { array = rq_queue value = 29 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 25 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { original_tag = USA }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 25 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 27 } }
if = {
limit = {
NOT = { has_tech = AS_Fighter5 }
NOT = { is_in_array = { array = rq_queue value = 26 } }
NOT = { is_in_array = { array = rq_ap_ban value = 26 } }
NOT = { is_in_array = { array = global.rq_hid value = 26 } }
OR = {
can_research = AS_Fighter5
AND = {
OR = { is_in_array = { array = rq_queue value = 30 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 26 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = AS_Fighter6 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = AS_Fighter6 date > 2022.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 26 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 28 } }
if = {
limit = {
NOT = { has_tech = AS_Fighter6 }
NOT = { is_in_array = { array = rq_queue value = 27 } }
NOT = { is_in_array = { array = rq_ap_ban value = 27 } }
NOT = { is_in_array = { array = global.rq_hid value = 27 } }
OR = {
can_research = AS_Fighter6
AND = {
OR = { is_in_array = { array = rq_queue value = 30 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 27 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 27 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = AS_Fighter7 }
NOT = { is_in_array = { array = rq_queue value = 28 } }
NOT = { is_in_array = { array = rq_ap_ban value = 28 } }
NOT = { is_in_array = { array = global.rq_hid value = 28 } }
OR = {
can_research = AS_Fighter7
AND = {
OR = { is_in_array = { array = rq_queue value = 31 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 28 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 28 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 32 } }
if = {
limit = { check_variable = { rq_t < 30 } }
if = {
limit = {
NOT = { has_tech = AS_upgrade_1 }
NOT = { is_in_array = { array = rq_queue value = 29 } }
NOT = { is_in_array = { array = rq_ap_ban value = 29 } }
NOT = { is_in_array = { array = global.rq_hid value = 29 } }
OR = {
can_research = AS_upgrade_1
AND = {
OR = { is_in_array = { array = rq_queue value = 23 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 29 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 29 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 31 } }
if = {
limit = {
NOT = { has_tech = AS_upgrade_2 }
NOT = { is_in_array = { array = rq_queue value = 30 } }
NOT = { is_in_array = { array = rq_ap_ban value = 30 } }
NOT = { is_in_array = { array = global.rq_hid value = 30 } }
OR = {
can_research = AS_upgrade_2
AND = {
OR = { is_in_array = { array = rq_queue value = 25 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 30 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 30 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = AS_upgrade_3 }
NOT = { is_in_array = { array = rq_queue value = 31 } }
NOT = { is_in_array = { array = rq_ap_ban value = 31 } }
NOT = { is_in_array = { array = global.rq_hid value = 31 } }
OR = {
can_research = AS_upgrade_3
AND = {
OR = { is_in_array = { array = rq_queue value = 27 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 31 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 31 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 33 } }
if = {
limit = {
NOT = { has_tech = AT_upgrade_1 }
NOT = { is_in_array = { array = rq_queue value = 32 } }
NOT = { is_in_array = { array = rq_ap_ban value = 32 } }
NOT = { is_in_array = { array = global.rq_hid value = 32 } }
OR = {
can_research = AT_upgrade_1
AND = {
OR = { is_in_array = { array = rq_queue value = 53 } is_in_array = { array = rq_queue value = 151 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 32 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 32 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 34 } }
if = {
limit = {
NOT = { has_tech = AT_upgrade_2 }
NOT = { is_in_array = { array = rq_queue value = 33 } }
NOT = { is_in_array = { array = rq_ap_ban value = 33 } }
NOT = { is_in_array = { array = global.rq_hid value = 33 } }
OR = {
can_research = AT_upgrade_2
AND = {
OR = { is_in_array = { array = rq_queue value = 54 } is_in_array = { array = rq_queue value = 152 } }
ROOT = { is_special_project_completed = sp:sp_ground_fireandforget }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 33 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 33 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = AT_upgrade_3 }
NOT = { is_in_array = { array = rq_queue value = 34 } }
NOT = { is_in_array = { array = rq_ap_ban value = 34 } }
NOT = { is_in_array = { array = global.rq_hid value = 34 } }
OR = {
can_research = AT_upgrade_3
AND = {
OR = { is_in_array = { array = rq_queue value = 55 } is_in_array = { array = rq_queue value = 153 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 34 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 34 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 41 } }
if = {
limit = { check_variable = { rq_t < 38 } }
if = {
limit = { check_variable = { rq_t < 36 } }
if = {
limit = {
NOT = { has_tech = AT_upgrade_4 }
NOT = { is_in_array = { array = rq_queue value = 35 } }
NOT = { is_in_array = { array = rq_ap_ban value = 35 } }
NOT = { is_in_array = { array = global.rq_hid value = 35 } }
OR = {
can_research = AT_upgrade_4
AND = {
OR = { is_in_array = { array = rq_queue value = 56 } is_in_array = { array = rq_queue value = 154 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 35 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 35 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 37 } }
if = {
limit = {
NOT = { has_tech = AT_upgrade_5 }
NOT = { is_in_array = { array = rq_queue value = 36 } }
NOT = { is_in_array = { array = rq_ap_ban value = 36 } }
NOT = { is_in_array = { array = global.rq_hid value = 36 } }
OR = {
can_research = AT_upgrade_5
AND = {
OR = { is_in_array = { array = rq_queue value = 57 } is_in_array = { array = rq_queue value = 155 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 36 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 36 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = AT_upgrade_6 }
NOT = { is_in_array = { array = rq_queue value = 37 } }
NOT = { is_in_array = { array = rq_ap_ban value = 37 } }
NOT = { is_in_array = { array = global.rq_hid value = 37 } }
OR = {
can_research = AT_upgrade_6
AND = {
OR = { is_in_array = { array = rq_queue value = 58 } is_in_array = { array = rq_queue value = 156 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 37 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 37 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 39 } }
if = {
limit = {
NOT = { has_tech = AT_upgrade_7 }
NOT = { is_in_array = { array = rq_queue value = 38 } }
NOT = { is_in_array = { array = rq_ap_ban value = 38 } }
NOT = { is_in_array = { array = global.rq_hid value = 38 } }
OR = {
can_research = AT_upgrade_7
AND = {
OR = { is_in_array = { array = rq_queue value = 59 } is_in_array = { array = rq_queue value = 157 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 38 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 38 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 40 } }
if = {
limit = {
NOT = { has_tech = AT_upgrade_8 }
NOT = { is_in_array = { array = rq_queue value = 39 } }
NOT = { is_in_array = { array = rq_ap_ban value = 39 } }
NOT = { is_in_array = { array = global.rq_hid value = 39 } }
OR = {
can_research = AT_upgrade_8
AND = {
OR = { is_in_array = { array = rq_queue value = 60 } is_in_array = { array = rq_queue value = 158 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 39 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 39 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Air_Kamikaze1 }
NOT = { is_in_array = { array = rq_queue value = 40 } }
NOT = { is_in_array = { array = rq_ap_ban value = 40 } }
NOT = { is_in_array = { array = global.rq_hid value = 40 } }
OR = {
can_research = Air_Kamikaze1
AND = {
OR = { is_in_array = { array = rq_queue value = 44 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 40 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 40 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 44 } }
if = {
limit = { check_variable = { rq_t < 42 } }
if = {
limit = {
NOT = { has_tech = Air_Kamikaze2 }
NOT = { is_in_array = { array = rq_queue value = 41 } }
NOT = { is_in_array = { array = rq_ap_ban value = 41 } }
NOT = { is_in_array = { array = global.rq_hid value = 41 } }
OR = {
can_research = Air_Kamikaze2
AND = {
OR = { is_in_array = { array = rq_queue value = 45 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 41 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 41 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 43 } }
if = {
limit = {
NOT = { has_tech = Air_Kamikaze3 }
NOT = { is_in_array = { array = rq_queue value = 42 } }
NOT = { is_in_array = { array = rq_ap_ban value = 42 } }
NOT = { is_in_array = { array = global.rq_hid value = 42 } }
OR = {
can_research = Air_Kamikaze3
AND = {
OR = { is_in_array = { array = rq_queue value = 46 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 42 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 42 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Air_Kamikaze4 }
NOT = { is_in_array = { array = rq_queue value = 43 } }
NOT = { is_in_array = { array = rq_ap_ban value = 43 } }
NOT = { is_in_array = { array = global.rq_hid value = 43 } }
OR = {
can_research = Air_Kamikaze4
AND = {
OR = { is_in_array = { array = rq_queue value = 47 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 43 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 43 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 45 } }
if = {
limit = {
NOT = { has_tech = Air_UAV1 }
NOT = { is_in_array = { array = rq_queue value = 44 } }
NOT = { is_in_array = { array = rq_ap_ban value = 44 } }
NOT = { is_in_array = { array = global.rq_hid value = 44 } }
OR = {
can_research = Air_UAV1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 44 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 44 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 46 } }
if = {
limit = {
NOT = { has_tech = Air_UAV2 }
NOT = { is_in_array = { array = rq_queue value = 45 } }
NOT = { is_in_array = { array = rq_ap_ban value = 45 } }
NOT = { is_in_array = { array = global.rq_hid value = 45 } }
OR = {
can_research = Air_UAV2
AND = {
OR = { is_in_array = { array = rq_queue value = 44 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 45 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 45 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Air_UAV3 }
NOT = { is_in_array = { array = rq_queue value = 46 } }
NOT = { is_in_array = { array = rq_ap_ban value = 46 } }
NOT = { is_in_array = { array = global.rq_hid value = 46 } }
OR = {
can_research = Air_UAV3
AND = {
OR = { is_in_array = { array = rq_queue value = 45 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 46 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 46 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 70 } }
if = {
limit = { check_variable = { rq_t < 58 } }
if = {
limit = { check_variable = { rq_t < 52 } }
if = {
limit = { check_variable = { rq_t < 49 } }
if = {
limit = { check_variable = { rq_t < 48 } }
if = {
limit = {
NOT = { has_tech = Air_UAV4 }
NOT = { is_in_array = { array = rq_queue value = 47 } }
NOT = { is_in_array = { array = rq_ap_ban value = 47 } }
NOT = { is_in_array = { array = global.rq_hid value = 47 } }
OR = {
can_research = Air_UAV4
AND = {
OR = { is_in_array = { array = rq_queue value = 46 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 47 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 47 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Anti_Air_0 }
NOT = { is_in_array = { array = rq_queue value = 48 } }
NOT = { is_in_array = { array = rq_ap_ban value = 48 } }
NOT = { is_in_array = { array = global.rq_hid value = 48 } }
OR = {
can_research = Anti_Air_0
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 48 }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 48 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 50 } }
if = {
limit = {
NOT = { has_tech = Anti_Air_1 }
NOT = { is_in_array = { array = rq_queue value = 49 } }
NOT = { is_in_array = { array = rq_ap_ban value = 49 } }
NOT = { is_in_array = { array = global.rq_hid value = 49 } }
OR = {
can_research = Anti_Air_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 49 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 49 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 51 } }
if = {
limit = {
NOT = { has_tech = Anti_Air_2 }
NOT = { is_in_array = { array = rq_queue value = 50 } }
NOT = { is_in_array = { array = rq_ap_ban value = 50 } }
NOT = { is_in_array = { array = global.rq_hid value = 50 } }
OR = {
can_research = Anti_Air_2
AND = {
OR = { is_in_array = { array = rq_queue value = 3 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 50 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 50 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Anti_Air_3 }
NOT = { is_in_array = { array = rq_queue value = 51 } }
NOT = { is_in_array = { array = rq_ap_ban value = 51 } }
NOT = { is_in_array = { array = global.rq_hid value = 51 } }
OR = {
can_research = Anti_Air_3
AND = {
OR = { is_in_array = { array = rq_queue value = 50 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 51 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 51 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 55 } }
if = {
limit = { check_variable = { rq_t < 53 } }
if = {
limit = {
NOT = { has_tech = Anti_Air_4 }
NOT = { is_in_array = { array = rq_queue value = 52 } }
NOT = { is_in_array = { array = rq_ap_ban value = 52 } }
NOT = { is_in_array = { array = global.rq_hid value = 52 } }
OR = {
can_research = Anti_Air_4
AND = {
OR = { is_in_array = { array = rq_queue value = 4 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 52 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 52 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 54 } }
if = {
limit = {
NOT = { has_tech = Anti_tank_1 }
NOT = { is_in_array = { array = rq_queue value = 53 } }
NOT = { is_in_array = { array = rq_ap_ban value = 53 } }
NOT = { is_in_array = { array = global.rq_hid value = 53 } }
OR = {
can_research = Anti_tank_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 53 }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 53 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Anti_tank_2 }
NOT = { is_in_array = { array = rq_queue value = 54 } }
NOT = { is_in_array = { array = rq_ap_ban value = 54 } }
NOT = { is_in_array = { array = global.rq_hid value = 54 } }
OR = {
can_research = Anti_tank_2
AND = {
OR = { is_in_array = { array = rq_queue value = 32 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 54 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 54 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 56 } }
if = {
limit = {
NOT = { has_tech = Anti_tank_3 }
NOT = { is_in_array = { array = rq_queue value = 55 } }
NOT = { is_in_array = { array = rq_ap_ban value = 55 } }
NOT = { is_in_array = { array = global.rq_hid value = 55 } }
OR = {
can_research = Anti_tank_3
AND = {
OR = { is_in_array = { array = rq_queue value = 33 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 55 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 55 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 57 } }
if = {
limit = {
NOT = { has_tech = Anti_tank_4 }
NOT = { is_in_array = { array = rq_queue value = 56 } }
NOT = { is_in_array = { array = rq_ap_ban value = 56 } }
NOT = { is_in_array = { array = global.rq_hid value = 56 } }
OR = {
can_research = Anti_tank_4
AND = {
OR = { is_in_array = { array = rq_queue value = 34 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 56 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 56 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Anti_tank_5 }
NOT = { is_in_array = { array = rq_queue value = 57 } }
NOT = { is_in_array = { array = rq_ap_ban value = 57 } }
NOT = { is_in_array = { array = global.rq_hid value = 57 } }
OR = {
can_research = Anti_tank_5
AND = {
OR = { is_in_array = { array = rq_queue value = 35 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 57 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 57 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 64 } }
if = {
limit = { check_variable = { rq_t < 61 } }
if = {
limit = { check_variable = { rq_t < 59 } }
if = {
limit = {
NOT = { has_tech = Anti_tank_6 }
NOT = { is_in_array = { array = rq_queue value = 58 } }
NOT = { is_in_array = { array = rq_ap_ban value = 58 } }
NOT = { is_in_array = { array = global.rq_hid value = 58 } }
OR = {
can_research = Anti_tank_6
AND = {
OR = { is_in_array = { array = rq_queue value = 36 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 58 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 58 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 60 } }
if = {
limit = {
NOT = { has_tech = Anti_tank_7 }
NOT = { is_in_array = { array = rq_queue value = 59 } }
NOT = { is_in_array = { array = rq_ap_ban value = 59 } }
NOT = { is_in_array = { array = global.rq_hid value = 59 } }
OR = {
can_research = Anti_tank_7
AND = {
OR = { is_in_array = { array = rq_queue value = 37 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 59 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 59 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Anti_tank_8 }
NOT = { is_in_array = { array = rq_queue value = 60 } }
NOT = { is_in_array = { array = rq_ap_ban value = 60 } }
NOT = { is_in_array = { array = global.rq_hid value = 60 } }
OR = {
can_research = Anti_tank_8
AND = {
OR = { is_in_array = { array = rq_queue value = 38 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 60 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 60 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 62 } }
if = {
limit = {
NOT = { has_tech = Anti_tank_9 }
NOT = { is_in_array = { array = rq_queue value = 61 } }
NOT = { is_in_array = { array = rq_ap_ban value = 61 } }
NOT = { is_in_array = { array = global.rq_hid value = 61 } }
OR = {
can_research = Anti_tank_9
AND = {
OR = { is_in_array = { array = rq_queue value = 39 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 61 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 61 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 63 } }
if = {
limit = {
NOT = { has_tech = COMSAT1 }
NOT = { is_in_array = { array = rq_queue value = 62 } }
NOT = { is_in_array = { array = rq_ap_ban value = 62 } }
NOT = { is_in_array = { array = global.rq_hid value = 62 } }
OR = {
can_research = COMSAT1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 62 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 62 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = COMSAT10 }
NOT = { is_in_array = { array = rq_queue value = 63 } }
NOT = { is_in_array = { array = rq_ap_ban value = 63 } }
NOT = { is_in_array = { array = global.rq_hid value = 63 } }
OR = {
can_research = COMSAT10
AND = {
OR = { is_in_array = { array = rq_queue value = 73 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 63 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 63 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 67 } }
if = {
limit = { check_variable = { rq_t < 65 } }
if = {
limit = {
NOT = { has_tech = COMSAT11 }
NOT = { is_in_array = { array = rq_queue value = 64 } }
NOT = { is_in_array = { array = rq_ap_ban value = 64 } }
NOT = { is_in_array = { array = global.rq_hid value = 64 } }
OR = {
can_research = COMSAT11
AND = {
OR = { is_in_array = { array = rq_queue value = 63 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 64 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 64 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 66 } }
if = {
limit = {
NOT = { has_tech = COMSAT12 }
NOT = { is_in_array = { array = rq_queue value = 65 } }
NOT = { is_in_array = { array = rq_ap_ban value = 65 } }
NOT = { is_in_array = { array = global.rq_hid value = 65 } }
OR = {
can_research = COMSAT12
AND = {
OR = { is_in_array = { array = rq_queue value = 64 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 65 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 65 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = COMSAT2 }
NOT = { is_in_array = { array = rq_queue value = 66 } }
NOT = { is_in_array = { array = rq_ap_ban value = 66 } }
NOT = { is_in_array = { array = global.rq_hid value = 66 } }
OR = {
can_research = COMSAT2
AND = {
OR = { is_in_array = { array = rq_queue value = 62 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 66 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 66 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 68 } }
if = {
limit = {
NOT = { has_tech = COMSAT3 }
NOT = { is_in_array = { array = rq_queue value = 67 } }
NOT = { is_in_array = { array = rq_ap_ban value = 67 } }
NOT = { is_in_array = { array = global.rq_hid value = 67 } }
OR = {
can_research = COMSAT3
AND = {
OR = { is_in_array = { array = rq_queue value = 66 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 67 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 67 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 69 } }
if = {
limit = {
NOT = { has_tech = COMSAT4 }
NOT = { is_in_array = { array = rq_queue value = 68 } }
NOT = { is_in_array = { array = rq_ap_ban value = 68 } }
NOT = { is_in_array = { array = global.rq_hid value = 68 } }
OR = {
can_research = COMSAT4
AND = {
OR = { is_in_array = { array = rq_queue value = 67 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 68 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 68 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = COMSAT5 }
NOT = { is_in_array = { array = rq_queue value = 69 } }
NOT = { is_in_array = { array = rq_ap_ban value = 69 } }
NOT = { is_in_array = { array = global.rq_hid value = 69 } }
OR = {
can_research = COMSAT5
AND = {
OR = { is_in_array = { array = rq_queue value = 68 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 69 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 69 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 81 } }
if = {
limit = { check_variable = { rq_t < 75 } }
if = {
limit = { check_variable = { rq_t < 72 } }
if = {
limit = { check_variable = { rq_t < 71 } }
if = {
limit = {
NOT = { has_tech = COMSAT6 }
NOT = { is_in_array = { array = rq_queue value = 70 } }
NOT = { is_in_array = { array = rq_ap_ban value = 70 } }
NOT = { is_in_array = { array = global.rq_hid value = 70 } }
OR = {
can_research = COMSAT6
AND = {
OR = { is_in_array = { array = rq_queue value = 69 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 70 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 70 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = COMSAT7 }
NOT = { is_in_array = { array = rq_queue value = 71 } }
NOT = { is_in_array = { array = rq_ap_ban value = 71 } }
NOT = { is_in_array = { array = global.rq_hid value = 71 } }
OR = {
can_research = COMSAT7
AND = {
OR = { is_in_array = { array = rq_queue value = 70 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 71 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 71 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 73 } }
if = {
limit = {
NOT = { has_tech = COMSAT8 }
NOT = { is_in_array = { array = rq_queue value = 72 } }
NOT = { is_in_array = { array = rq_ap_ban value = 72 } }
NOT = { is_in_array = { array = global.rq_hid value = 72 } }
OR = {
can_research = COMSAT8
AND = {
OR = { is_in_array = { array = rq_queue value = 71 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 72 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 72 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 74 } }
if = {
limit = {
NOT = { has_tech = COMSAT9 }
NOT = { is_in_array = { array = rq_queue value = 73 } }
NOT = { is_in_array = { array = rq_ap_ban value = 73 } }
NOT = { is_in_array = { array = global.rq_hid value = 73 } }
OR = {
can_research = COMSAT9
AND = {
OR = { is_in_array = { array = rq_queue value = 72 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 73 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 73 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = CV_L_Strike_fighter1 }
NOT = { is_in_array = { array = rq_queue value = 74 } }
NOT = { is_in_array = { array = rq_ap_ban value = 74 } }
NOT = { is_in_array = { array = global.rq_hid value = 74 } }
OR = {
can_research = CV_L_Strike_fighter1
AND = {
OR = { is_in_array = { array = rq_queue value = 215 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 74 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_L_Strike_fighter2 has_tech = CV_L_Strike_fighter2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 74 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 78 } }
if = {
limit = { check_variable = { rq_t < 76 } }
if = {
limit = {
NOT = { has_tech = CV_L_Strike_fighter2 }
NOT = { is_in_array = { array = rq_queue value = 75 } }
NOT = { is_in_array = { array = rq_ap_ban value = 75 } }
NOT = { is_in_array = { array = global.rq_hid value = 75 } }
OR = {
can_research = CV_L_Strike_fighter2
AND = {
OR = { is_in_array = { array = rq_queue value = 216 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 75 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_L_Strike_fighter3 has_tech = CV_L_Strike_fighter3 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 75 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 77 } }
if = {
limit = {
NOT = { has_tech = CV_L_Strike_fighter3 }
NOT = { is_in_array = { array = rq_queue value = 76 } }
NOT = { is_in_array = { array = rq_ap_ban value = 76 } }
NOT = { is_in_array = { array = global.rq_hid value = 76 } }
OR = {
can_research = CV_L_Strike_fighter3
AND = {
OR = { is_in_array = { array = rq_queue value = 217 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 76 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_L_Strike_fighter4 has_tech = CV_L_Strike_fighter4 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 76 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = CV_L_Strike_fighter4 }
NOT = { is_in_array = { array = rq_queue value = 77 } }
NOT = { is_in_array = { array = rq_ap_ban value = 77 } }
NOT = { is_in_array = { array = global.rq_hid value = 77 } }
OR = {
can_research = CV_L_Strike_fighter4
AND = {
OR = { is_in_array = { array = rq_queue value = 218 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 77 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_L_Strike_fighter5 has_tech = CV_L_Strike_fighter5 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 77 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 79 } }
if = {
limit = {
NOT = { has_tech = CV_L_Strike_fighter5 }
NOT = { is_in_array = { array = rq_queue value = 78 } }
NOT = { is_in_array = { array = rq_ap_ban value = 78 } }
NOT = { is_in_array = { array = global.rq_hid value = 78 } }
OR = {
can_research = CV_L_Strike_fighter5
AND = {
OR = { is_in_array = { array = rq_queue value = 219 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 78 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 78 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 80 } }
if = {
limit = {
NOT = { has_tech = CV_MR_Fighter1 }
NOT = { is_in_array = { array = rq_queue value = 79 } }
NOT = { is_in_array = { array = rq_ap_ban value = 79 } }
NOT = { is_in_array = { array = global.rq_hid value = 79 } }
OR = {
can_research = CV_MR_Fighter1
AND = {
OR = { is_in_array = { array = rq_queue value = 227 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 79 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_MR_Fighter2 has_tech = CV_MR_Fighter2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 79 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = CV_MR_Fighter2 }
NOT = { is_in_array = { array = rq_queue value = 80 } }
NOT = { is_in_array = { array = rq_ap_ban value = 80 } }
NOT = { is_in_array = { array = global.rq_hid value = 80 } }
OR = {
can_research = CV_MR_Fighter2
AND = {
OR = { is_in_array = { array = rq_queue value = 228 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 80 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter3 has_tech = CV_MR_Fighter3 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 80 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 87 } }
if = {
limit = { check_variable = { rq_t < 84 } }
if = {
limit = { check_variable = { rq_t < 82 } }
if = {
limit = {
NOT = { has_tech = CV_MR_Fighter3 }
NOT = { is_in_array = { array = rq_queue value = 81 } }
NOT = { is_in_array = { array = rq_ap_ban value = 81 } }
NOT = { is_in_array = { array = global.rq_hid value = 81 } }
OR = {
can_research = CV_MR_Fighter3
AND = {
OR = { is_in_array = { array = rq_queue value = 229 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 81 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter4 has_tech = CV_MR_Fighter4 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 81 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 83 } }
if = {
limit = {
NOT = { has_tech = CV_MR_Fighter4 }
NOT = { is_in_array = { array = rq_queue value = 82 } }
NOT = { is_in_array = { array = rq_ap_ban value = 82 } }
NOT = { is_in_array = { array = global.rq_hid value = 82 } }
OR = {
can_research = CV_MR_Fighter4
AND = {
OR = { is_in_array = { array = rq_queue value = 230 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 82 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter5 has_tech = CV_MR_Fighter5 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 82 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = CV_MR_Fighter5 }
NOT = { is_in_array = { array = rq_queue value = 83 } }
NOT = { is_in_array = { array = rq_ap_ban value = 83 } }
NOT = { is_in_array = { array = global.rq_hid value = 83 } }
OR = {
can_research = CV_MR_Fighter5
AND = {
OR = { is_in_array = { array = rq_queue value = 231 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 83 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter6 has_tech = CV_MR_Fighter6 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 83 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 85 } }
if = {
limit = {
NOT = { has_tech = CV_MR_Fighter6 }
NOT = { is_in_array = { array = rq_queue value = 84 } }
NOT = { is_in_array = { array = rq_ap_ban value = 84 } }
NOT = { is_in_array = { array = global.rq_hid value = 84 } }
OR = {
can_research = CV_MR_Fighter6
AND = {
OR = { is_in_array = { array = rq_queue value = 232 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 84 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter7 has_tech = CV_MR_Fighter7 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 84 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 86 } }
if = {
limit = {
NOT = { has_tech = CV_MR_Fighter7 }
NOT = { is_in_array = { array = rq_queue value = 85 } }
NOT = { is_in_array = { array = rq_ap_ban value = 85 } }
NOT = { is_in_array = { array = global.rq_hid value = 85 } }
OR = {
can_research = CV_MR_Fighter7
AND = {
OR = { is_in_array = { array = rq_queue value = 233 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 85 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 85 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = CZE_el_engine_tech }
NOT = { is_in_array = { array = rq_queue value = 86 } }
NOT = { is_in_array = { array = rq_ap_ban value = 86 } }
NOT = { is_in_array = { array = global.rq_hid value = 86 } }
OR = {
can_research = CZE_el_engine_tech
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 86 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 86 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 90 } }
if = {
limit = { check_variable = { rq_t < 88 } }
if = {
limit = {
NOT = { has_tech = CZE_el_engine_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 87 } }
NOT = { is_in_array = { array = rq_ap_ban value = 87 } }
NOT = { is_in_array = { array = global.rq_hid value = 87 } }
OR = {
can_research = CZE_el_engine_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 86 } }
has_completed_focus = CZE_modern_electric_engine
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 87 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 87 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 89 } }
if = {
limit = {
NOT = { has_tech = CZE_engine_tech }
NOT = { is_in_array = { array = rq_queue value = 88 } }
NOT = { is_in_array = { array = rq_ap_ban value = 88 } }
NOT = { is_in_array = { array = global.rq_hid value = 88 } }
OR = {
can_research = CZE_engine_tech
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 88 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 88 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = CZE_engine_tech_10 }
NOT = { is_in_array = { array = rq_queue value = 89 } }
NOT = { is_in_array = { array = rq_ap_ban value = 89 } }
NOT = { is_in_array = { array = global.rq_hid value = 89 } }
OR = {
can_research = CZE_engine_tech_10
AND = {
OR = { is_in_array = { array = rq_queue value = 96 } }
has_completed_focus = CZE_decrease_production_cost
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 89 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 89 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 91 } }
if = {
limit = {
NOT = { has_tech = CZE_engine_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 90 } }
NOT = { is_in_array = { array = rq_ap_ban value = 90 } }
NOT = { is_in_array = { array = global.rq_hid value = 90 } }
OR = {
can_research = CZE_engine_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 88 } }
has_completed_focus = CZE_modernize_r6_engines
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 90 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 90 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 92 } }
if = {
limit = {
NOT = { has_tech = CZE_engine_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 91 } }
NOT = { is_in_array = { array = rq_ap_ban value = 91 } }
NOT = { is_in_array = { array = global.rq_hid value = 91 } }
OR = {
can_research = CZE_engine_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 90 } }
OR = { has_completed_focus = CZE_2_0_tdi_engines has_completed_focus = CZE_2_0_tsi_engines }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 91 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 91 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = CZE_engine_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 92 } }
NOT = { is_in_array = { array = rq_ap_ban value = 92 } }
NOT = { is_in_array = { array = global.rq_hid value = 92 } }
OR = {
can_research = CZE_engine_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 90 } }
OR = { has_completed_focus = CZE_2_0_tdi_engines has_completed_focus = CZE_2_0_tsi_engines }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 92 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 92 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 139 } }
if = {
limit = { check_variable = { rq_t < 116 } }
if = {
limit = { check_variable = { rq_t < 104 } }
if = {
limit = { check_variable = { rq_t < 98 } }
if = {
limit = { check_variable = { rq_t < 95 } }
if = {
limit = { check_variable = { rq_t < 94 } }
if = {
limit = {
NOT = { has_tech = CZE_engine_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 93 } }
NOT = { is_in_array = { array = rq_ap_ban value = 93 } }
NOT = { is_in_array = { array = global.rq_hid value = 93 } }
OR = {
can_research = CZE_engine_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 91 } is_in_array = { array = rq_queue value = 92 } }
has_completed_focus = CZE_improve_r4_engines_to_max_efficiency
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 93 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 93 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = CZE_engine_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 94 } }
NOT = { is_in_array = { array = rq_ap_ban value = 94 } }
NOT = { is_in_array = { array = global.rq_hid value = 94 } }
OR = {
can_research = CZE_engine_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 91 } is_in_array = { array = rq_queue value = 92 } }
has_completed_focus = CZE_further_r6_development
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 94 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 94 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 96 } }
if = {
limit = {
NOT = { has_tech = CZE_engine_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 95 } }
NOT = { is_in_array = { array = rq_ap_ban value = 95 } }
NOT = { is_in_array = { array = global.rq_hid value = 95 } }
OR = {
can_research = CZE_engine_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 88 } }
has_completed_focus = CZE_production_of_twin_turbocharged_v12
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 95 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 95 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 97 } }
if = {
limit = {
NOT = { has_tech = CZE_engine_tech_8 }
NOT = { is_in_array = { array = rq_queue value = 96 } }
NOT = { is_in_array = { array = rq_ap_ban value = 96 } }
NOT = { is_in_array = { array = global.rq_hid value = 96 } }
OR = {
can_research = CZE_engine_tech_8
AND = {
OR = { is_in_array = { array = rq_queue value = 95 } }
has_completed_focus = CZE_x_engines_focus
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 96 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 96 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = CZE_engine_tech_9 }
NOT = { is_in_array = { array = rq_queue value = 97 } }
NOT = { is_in_array = { array = rq_ap_ban value = 97 } }
NOT = { is_in_array = { array = global.rq_hid value = 97 } }
OR = {
can_research = CZE_engine_tech_9
AND = {
OR = { is_in_array = { array = rq_queue value = 96 } }
has_completed_focus = CZE_overcharged_engines
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 97 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 97 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 101 } }
if = {
limit = { check_variable = { rq_t < 99 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 100 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 102 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 103 } }
}
else = {
if = {
limit = {
NOT = { has_tech = Early_APC }
NOT = { is_in_array = { array = rq_queue value = 103 } }
NOT = { is_in_array = { array = rq_ap_ban value = 103 } }
NOT = { is_in_array = { array = global.rq_hid value = 103 } }
OR = {
can_research = Early_APC
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 103 }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 103 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 110 } }
if = {
limit = { check_variable = { rq_t < 107 } }
if = {
limit = { check_variable = { rq_t < 105 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 106 } }
if = {
limit = {
NOT = { has_tech = GLCM }
NOT = { is_in_array = { array = rq_queue value = 105 } }
NOT = { is_in_array = { array = rq_ap_ban value = 105 } }
NOT = { is_in_array = { array = global.rq_hid value = 105 } }
OR = {
can_research = GLCM
AND = {
OR = { is_in_array = { array = rq_queue value = 555 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 105 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 105 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GLCM1 }
NOT = { is_in_array = { array = rq_queue value = 106 } }
NOT = { is_in_array = { array = rq_ap_ban value = 106 } }
NOT = { is_in_array = { array = global.rq_hid value = 106 } }
OR = {
can_research = GLCM1
AND = {
OR = { is_in_array = { array = rq_queue value = 105 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 106 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 106 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 108 } }
if = {
limit = {
NOT = { has_tech = GLCM10 }
NOT = { is_in_array = { array = rq_queue value = 107 } }
NOT = { is_in_array = { array = rq_ap_ban value = 107 } }
NOT = { is_in_array = { array = global.rq_hid value = 107 } }
OR = {
can_research = GLCM10
AND = {
OR = { is_in_array = { array = rq_queue value = 125 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 107 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 107 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 109 } }
if = {
limit = {
NOT = { has_tech = GLCM11 }
NOT = { is_in_array = { array = rq_queue value = 108 } }
NOT = { is_in_array = { array = rq_ap_ban value = 108 } }
NOT = { is_in_array = { array = global.rq_hid value = 108 } }
OR = {
can_research = GLCM11
AND = {
OR = { is_in_array = { array = rq_queue value = 107 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 108 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 108 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GLCM12 }
NOT = { is_in_array = { array = rq_queue value = 109 } }
NOT = { is_in_array = { array = rq_ap_ban value = 109 } }
NOT = { is_in_array = { array = global.rq_hid value = 109 } }
OR = {
can_research = GLCM12
AND = {
OR = { is_in_array = { array = rq_queue value = 108 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 109 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 109 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 113 } }
if = {
limit = { check_variable = { rq_t < 111 } }
if = {
limit = {
NOT = { has_tech = GLCM1_non_got }
NOT = { is_in_array = { array = rq_queue value = 110 } }
NOT = { is_in_array = { array = rq_ap_ban value = 110 } }
NOT = { is_in_array = { array = global.rq_hid value = 110 } }
OR = {
can_research = GLCM1_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 126 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 110 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 110 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 112 } }
if = {
limit = {
NOT = { has_tech = GLCM2 }
NOT = { is_in_array = { array = rq_queue value = 111 } }
NOT = { is_in_array = { array = rq_ap_ban value = 111 } }
NOT = { is_in_array = { array = global.rq_hid value = 111 } }
OR = {
can_research = GLCM2
AND = {
OR = { is_in_array = { array = rq_queue value = 106 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 111 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 111 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GLCM2_non_got }
NOT = { is_in_array = { array = rq_queue value = 112 } }
NOT = { is_in_array = { array = rq_ap_ban value = 112 } }
NOT = { is_in_array = { array = global.rq_hid value = 112 } }
OR = {
can_research = GLCM2_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 110 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 112 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 112 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 114 } }
if = {
limit = {
NOT = { has_tech = GLCM3 }
NOT = { is_in_array = { array = rq_queue value = 113 } }
NOT = { is_in_array = { array = rq_ap_ban value = 113 } }
NOT = { is_in_array = { array = global.rq_hid value = 113 } }
OR = {
can_research = GLCM3
AND = {
OR = { is_in_array = { array = rq_queue value = 111 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 113 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 113 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 115 } }
if = {
limit = {
NOT = { has_tech = GLCM3_non_got }
NOT = { is_in_array = { array = rq_queue value = 114 } }
NOT = { is_in_array = { array = rq_ap_ban value = 114 } }
NOT = { is_in_array = { array = global.rq_hid value = 114 } }
OR = {
can_research = GLCM3_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 112 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 114 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 114 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GLCM4 }
NOT = { is_in_array = { array = rq_queue value = 115 } }
NOT = { is_in_array = { array = rq_ap_ban value = 115 } }
NOT = { is_in_array = { array = global.rq_hid value = 115 } }
OR = {
can_research = GLCM4
AND = {
OR = { is_in_array = { array = rq_queue value = 113 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 115 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 115 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 127 } }
if = {
limit = { check_variable = { rq_t < 121 } }
if = {
limit = { check_variable = { rq_t < 118 } }
if = {
limit = { check_variable = { rq_t < 117 } }
if = {
limit = {
NOT = { has_tech = GLCM4_non_got }
NOT = { is_in_array = { array = rq_queue value = 116 } }
NOT = { is_in_array = { array = rq_ap_ban value = 116 } }
NOT = { is_in_array = { array = global.rq_hid value = 116 } }
OR = {
can_research = GLCM4_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 114 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 116 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 116 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GLCM5 }
NOT = { is_in_array = { array = rq_queue value = 117 } }
NOT = { is_in_array = { array = rq_ap_ban value = 117 } }
NOT = { is_in_array = { array = global.rq_hid value = 117 } }
OR = {
can_research = GLCM5
AND = {
OR = { is_in_array = { array = rq_queue value = 115 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 117 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 117 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 119 } }
if = {
limit = {
NOT = { has_tech = GLCM5_non_got }
NOT = { is_in_array = { array = rq_queue value = 118 } }
NOT = { is_in_array = { array = rq_ap_ban value = 118 } }
NOT = { is_in_array = { array = global.rq_hid value = 118 } }
OR = {
can_research = GLCM5_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 116 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 118 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 118 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 120 } }
if = {
limit = {
NOT = { has_tech = GLCM6 }
NOT = { is_in_array = { array = rq_queue value = 119 } }
NOT = { is_in_array = { array = rq_ap_ban value = 119 } }
NOT = { is_in_array = { array = global.rq_hid value = 119 } }
OR = {
can_research = GLCM6
AND = {
OR = { is_in_array = { array = rq_queue value = 117 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 119 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 119 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GLCM6_non_got }
NOT = { is_in_array = { array = rq_queue value = 120 } }
NOT = { is_in_array = { array = rq_ap_ban value = 120 } }
NOT = { is_in_array = { array = global.rq_hid value = 120 } }
OR = {
can_research = GLCM6_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 118 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 120 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 120 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 124 } }
if = {
limit = { check_variable = { rq_t < 122 } }
if = {
limit = {
NOT = { has_tech = GLCM7 }
NOT = { is_in_array = { array = rq_queue value = 121 } }
NOT = { is_in_array = { array = rq_ap_ban value = 121 } }
NOT = { is_in_array = { array = global.rq_hid value = 121 } }
OR = {
can_research = GLCM7
AND = {
OR = { is_in_array = { array = rq_queue value = 119 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 121 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 121 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 123 } }
if = {
limit = {
NOT = { has_tech = GLCM7_non_got }
NOT = { is_in_array = { array = rq_queue value = 122 } }
NOT = { is_in_array = { array = rq_ap_ban value = 122 } }
NOT = { is_in_array = { array = global.rq_hid value = 122 } }
OR = {
can_research = GLCM7_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 120 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 122 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 122 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GLCM8 }
NOT = { is_in_array = { array = rq_queue value = 123 } }
NOT = { is_in_array = { array = rq_ap_ban value = 123 } }
NOT = { is_in_array = { array = global.rq_hid value = 123 } }
OR = {
can_research = GLCM8
AND = {
OR = { is_in_array = { array = rq_queue value = 121 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 123 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 123 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 125 } }
if = {
limit = {
NOT = { has_tech = GLCM8_non_got }
NOT = { is_in_array = { array = rq_queue value = 124 } }
NOT = { is_in_array = { array = rq_ap_ban value = 124 } }
NOT = { is_in_array = { array = global.rq_hid value = 124 } }
OR = {
can_research = GLCM8_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 122 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 124 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 124 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 126 } }
if = {
limit = {
NOT = { has_tech = GLCM9 }
NOT = { is_in_array = { array = rq_queue value = 125 } }
NOT = { is_in_array = { array = rq_ap_ban value = 125 } }
NOT = { is_in_array = { array = global.rq_hid value = 125 } }
OR = {
can_research = GLCM9
AND = {
OR = { is_in_array = { array = rq_queue value = 123 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 125 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 125 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GLCM_non_got }
NOT = { is_in_array = { array = rq_queue value = 126 } }
NOT = { is_in_array = { array = rq_ap_ban value = 126 } }
NOT = { is_in_array = { array = global.rq_hid value = 126 } }
OR = {
can_research = GLCM_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 556 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 126 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 126 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 133 } }
if = {
limit = { check_variable = { rq_t < 130 } }
if = {
limit = { check_variable = { rq_t < 128 } }
if = {
limit = {
NOT = { has_tech = GNSS1 }
NOT = { is_in_array = { array = rq_queue value = 127 } }
NOT = { is_in_array = { array = rq_ap_ban value = 127 } }
NOT = { is_in_array = { array = global.rq_hid value = 127 } }
OR = {
can_research = GNSS1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 127 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 127 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 129 } }
if = {
limit = {
NOT = { has_tech = GNSS10 }
NOT = { is_in_array = { array = rq_queue value = 128 } }
NOT = { is_in_array = { array = rq_ap_ban value = 128 } }
NOT = { is_in_array = { array = global.rq_hid value = 128 } }
OR = {
can_research = GNSS10
AND = {
OR = { is_in_array = { array = rq_queue value = 138 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 128 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 128 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GNSS11 }
NOT = { is_in_array = { array = rq_queue value = 129 } }
NOT = { is_in_array = { array = rq_ap_ban value = 129 } }
NOT = { is_in_array = { array = global.rq_hid value = 129 } }
OR = {
can_research = GNSS11
AND = {
OR = { is_in_array = { array = rq_queue value = 128 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 129 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 129 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 131 } }
if = {
limit = {
NOT = { has_tech = GNSS12 }
NOT = { is_in_array = { array = rq_queue value = 130 } }
NOT = { is_in_array = { array = rq_ap_ban value = 130 } }
NOT = { is_in_array = { array = global.rq_hid value = 130 } }
OR = {
can_research = GNSS12
AND = {
OR = { is_in_array = { array = rq_queue value = 129 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 130 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 130 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 132 } }
if = {
limit = {
NOT = { has_tech = GNSS2 }
NOT = { is_in_array = { array = rq_queue value = 131 } }
NOT = { is_in_array = { array = rq_ap_ban value = 131 } }
NOT = { is_in_array = { array = global.rq_hid value = 131 } }
OR = {
can_research = GNSS2
AND = {
OR = { is_in_array = { array = rq_queue value = 127 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 131 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 131 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GNSS3 }
NOT = { is_in_array = { array = rq_queue value = 132 } }
NOT = { is_in_array = { array = rq_ap_ban value = 132 } }
NOT = { is_in_array = { array = global.rq_hid value = 132 } }
OR = {
can_research = GNSS3
AND = {
OR = { is_in_array = { array = rq_queue value = 131 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 132 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 132 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 136 } }
if = {
limit = { check_variable = { rq_t < 134 } }
if = {
limit = {
NOT = { has_tech = GNSS4 }
NOT = { is_in_array = { array = rq_queue value = 133 } }
NOT = { is_in_array = { array = rq_ap_ban value = 133 } }
NOT = { is_in_array = { array = global.rq_hid value = 133 } }
OR = {
can_research = GNSS4
AND = {
OR = { is_in_array = { array = rq_queue value = 132 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 133 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 133 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 135 } }
if = {
limit = {
NOT = { has_tech = GNSS5 }
NOT = { is_in_array = { array = rq_queue value = 134 } }
NOT = { is_in_array = { array = rq_ap_ban value = 134 } }
NOT = { is_in_array = { array = global.rq_hid value = 134 } }
OR = {
can_research = GNSS5
AND = {
OR = { is_in_array = { array = rq_queue value = 133 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 134 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 134 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GNSS6 }
NOT = { is_in_array = { array = rq_queue value = 135 } }
NOT = { is_in_array = { array = rq_ap_ban value = 135 } }
NOT = { is_in_array = { array = global.rq_hid value = 135 } }
OR = {
can_research = GNSS6
AND = {
OR = { is_in_array = { array = rq_queue value = 134 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 135 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 135 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 137 } }
if = {
limit = {
NOT = { has_tech = GNSS7 }
NOT = { is_in_array = { array = rq_queue value = 136 } }
NOT = { is_in_array = { array = rq_ap_ban value = 136 } }
NOT = { is_in_array = { array = global.rq_hid value = 136 } }
OR = {
can_research = GNSS7
AND = {
OR = { is_in_array = { array = rq_queue value = 135 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 136 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 136 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 138 } }
if = {
limit = {
NOT = { has_tech = GNSS8 }
NOT = { is_in_array = { array = rq_queue value = 137 } }
NOT = { is_in_array = { array = rq_ap_ban value = 137 } }
NOT = { is_in_array = { array = global.rq_hid value = 137 } }
OR = {
can_research = GNSS8
AND = {
OR = { is_in_array = { array = rq_queue value = 136 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 137 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 137 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = GNSS9 }
NOT = { is_in_array = { array = rq_queue value = 138 } }
NOT = { is_in_array = { array = rq_ap_ban value = 138 } }
NOT = { is_in_array = { array = global.rq_hid value = 138 } }
OR = {
can_research = GNSS9
AND = {
OR = { is_in_array = { array = rq_queue value = 137 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 138 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 138 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 162 } }
if = {
limit = { check_variable = { rq_t < 150 } }
if = {
limit = { check_variable = { rq_t < 144 } }
if = {
limit = { check_variable = { rq_t < 141 } }
if = {
limit = { check_variable = { rq_t < 140 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 142 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 143 } }
if = {
limit = {
NOT = { has_tech = HSCM1 }
NOT = { is_in_array = { array = rq_queue value = 142 } }
NOT = { is_in_array = { array = rq_ap_ban value = 142 } }
NOT = { is_in_array = { array = global.rq_hid value = 142 } }
OR = {
can_research = HSCM1
AND = {
OR = { is_in_array = { array = rq_queue value = 141 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 142 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 142 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = HSCM1_non_got }
NOT = { is_in_array = { array = rq_queue value = 143 } }
NOT = { is_in_array = { array = rq_ap_ban value = 143 } }
NOT = { is_in_array = { array = global.rq_hid value = 143 } }
OR = {
can_research = HSCM1_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 150 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 143 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 143 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 147 } }
if = {
limit = { check_variable = { rq_t < 145 } }
if = {
limit = {
NOT = { has_tech = HSCM2 }
NOT = { is_in_array = { array = rq_queue value = 144 } }
NOT = { is_in_array = { array = rq_ap_ban value = 144 } }
NOT = { is_in_array = { array = global.rq_hid value = 144 } }
OR = {
can_research = HSCM2
AND = {
OR = { is_in_array = { array = rq_queue value = 142 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 144 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 144 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 146 } }
if = {
limit = {
NOT = { has_tech = HSCM2_non_got }
NOT = { is_in_array = { array = rq_queue value = 145 } }
NOT = { is_in_array = { array = rq_ap_ban value = 145 } }
NOT = { is_in_array = { array = global.rq_hid value = 145 } }
OR = {
can_research = HSCM2_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 143 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 145 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 145 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = HSCM3 }
NOT = { is_in_array = { array = rq_queue value = 146 } }
NOT = { is_in_array = { array = rq_ap_ban value = 146 } }
NOT = { is_in_array = { array = global.rq_hid value = 146 } }
OR = {
can_research = HSCM3
AND = {
OR = { is_in_array = { array = rq_queue value = 144 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 146 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 146 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 148 } }
if = {
limit = {
NOT = { has_tech = HSCM4 }
NOT = { is_in_array = { array = rq_queue value = 147 } }
NOT = { is_in_array = { array = rq_ap_ban value = 147 } }
NOT = { is_in_array = { array = global.rq_hid value = 147 } }
OR = {
can_research = HSCM4
AND = {
OR = { is_in_array = { array = rq_queue value = 146 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 147 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 147 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 149 } }
if = {
limit = {
NOT = { has_tech = HSCM5 }
NOT = { is_in_array = { array = rq_queue value = 148 } }
NOT = { is_in_array = { array = rq_ap_ban value = 148 } }
NOT = { is_in_array = { array = global.rq_hid value = 148 } }
OR = {
can_research = HSCM5
AND = {
OR = { is_in_array = { array = rq_queue value = 147 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 148 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 148 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = HSCM6 }
NOT = { is_in_array = { array = rq_queue value = 149 } }
NOT = { is_in_array = { array = rq_ap_ban value = 149 } }
NOT = { is_in_array = { array = global.rq_hid value = 149 } }
OR = {
can_research = HSCM6
AND = {
OR = { is_in_array = { array = rq_queue value = 148 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 149 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 149 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 156 } }
if = {
limit = { check_variable = { rq_t < 153 } }
if = {
limit = { check_variable = { rq_t < 151 } }
if = {
limit = {
NOT = { has_tech = HSCM_non_got }
NOT = { is_in_array = { array = rq_queue value = 150 } }
NOT = { is_in_array = { array = rq_ap_ban value = 150 } }
NOT = { is_in_array = { array = global.rq_hid value = 150 } }
OR = {
can_research = HSCM_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 118 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 150 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 150 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 152 } }
if = {
limit = {
NOT = { has_tech = Heavy_Anti_tank_1 }
NOT = { is_in_array = { array = rq_queue value = 151 } }
NOT = { is_in_array = { array = rq_ap_ban value = 151 } }
NOT = { is_in_array = { array = global.rq_hid value = 151 } }
OR = {
can_research = Heavy_Anti_tank_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 151 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 151 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Heavy_Anti_tank_2 }
NOT = { is_in_array = { array = rq_queue value = 152 } }
NOT = { is_in_array = { array = rq_ap_ban value = 152 } }
NOT = { is_in_array = { array = global.rq_hid value = 152 } }
OR = {
can_research = Heavy_Anti_tank_2
AND = {
OR = { is_in_array = { array = rq_queue value = 32 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 152 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 152 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 154 } }
if = {
limit = {
NOT = { has_tech = Heavy_Anti_tank_3 }
NOT = { is_in_array = { array = rq_queue value = 153 } }
NOT = { is_in_array = { array = rq_ap_ban value = 153 } }
NOT = { is_in_array = { array = global.rq_hid value = 153 } }
OR = {
can_research = Heavy_Anti_tank_3
AND = {
OR = { is_in_array = { array = rq_queue value = 33 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 153 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 153 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 155 } }
if = {
limit = {
NOT = { has_tech = Heavy_Anti_tank_4 }
NOT = { is_in_array = { array = rq_queue value = 154 } }
NOT = { is_in_array = { array = rq_ap_ban value = 154 } }
NOT = { is_in_array = { array = global.rq_hid value = 154 } }
OR = {
can_research = Heavy_Anti_tank_4
AND = {
OR = { is_in_array = { array = rq_queue value = 34 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 154 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 154 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Heavy_Anti_tank_5 }
NOT = { is_in_array = { array = rq_queue value = 155 } }
NOT = { is_in_array = { array = rq_ap_ban value = 155 } }
NOT = { is_in_array = { array = global.rq_hid value = 155 } }
OR = {
can_research = Heavy_Anti_tank_5
AND = {
OR = { is_in_array = { array = rq_queue value = 35 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 155 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 155 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 159 } }
if = {
limit = { check_variable = { rq_t < 157 } }
if = {
limit = {
NOT = { has_tech = Heavy_Anti_tank_6 }
NOT = { is_in_array = { array = rq_queue value = 156 } }
NOT = { is_in_array = { array = rq_ap_ban value = 156 } }
NOT = { is_in_array = { array = global.rq_hid value = 156 } }
OR = {
can_research = Heavy_Anti_tank_6
AND = {
OR = { is_in_array = { array = rq_queue value = 36 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 156 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 156 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 158 } }
if = {
limit = {
NOT = { has_tech = Heavy_Anti_tank_7 }
NOT = { is_in_array = { array = rq_queue value = 157 } }
NOT = { is_in_array = { array = rq_ap_ban value = 157 } }
NOT = { is_in_array = { array = global.rq_hid value = 157 } }
OR = {
can_research = Heavy_Anti_tank_7
AND = {
OR = { is_in_array = { array = rq_queue value = 37 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 157 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 157 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Heavy_Anti_tank_8 }
NOT = { is_in_array = { array = rq_queue value = 158 } }
NOT = { is_in_array = { array = rq_ap_ban value = 158 } }
NOT = { is_in_array = { array = global.rq_hid value = 158 } }
OR = {
can_research = Heavy_Anti_tank_8
AND = {
OR = { is_in_array = { array = rq_queue value = 38 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 158 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 158 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 160 } }
if = {
limit = {
NOT = { has_tech = Heavy_Anti_tank_9 }
NOT = { is_in_array = { array = rq_queue value = 159 } }
NOT = { is_in_array = { array = rq_ap_ban value = 159 } }
NOT = { is_in_array = { array = global.rq_hid value = 159 } }
OR = {
can_research = Heavy_Anti_tank_9
AND = {
OR = { is_in_array = { array = rq_queue value = 39 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 159 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 159 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 161 } }
if = {
limit = {
NOT = { has_tech = ICBM }
NOT = { is_in_array = { array = rq_queue value = 160 } }
NOT = { is_in_array = { array = rq_ap_ban value = 160 } }
NOT = { is_in_array = { array = global.rq_hid value = 160 } }
OR = {
can_research = ICBM
AND = {
OR = { is_in_array = { array = rq_queue value = 449 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 160 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 160 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = ICBM1 }
NOT = { is_in_array = { array = rq_queue value = 161 } }
NOT = { is_in_array = { array = rq_ap_ban value = 161 } }
NOT = { is_in_array = { array = global.rq_hid value = 161 } }
OR = {
can_research = ICBM1
AND = {
OR = { is_in_array = { array = rq_queue value = 160 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 161 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 161 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 174 } }
if = {
limit = { check_variable = { rq_t < 168 } }
if = {
limit = { check_variable = { rq_t < 165 } }
if = {
limit = { check_variable = { rq_t < 163 } }
if = {
limit = {
NOT = { has_tech = ICBM10 }
NOT = { is_in_array = { array = rq_queue value = 162 } }
NOT = { is_in_array = { array = rq_ap_ban value = 162 } }
NOT = { is_in_array = { array = global.rq_hid value = 162 } }
OR = {
can_research = ICBM10
AND = {
OR = { is_in_array = { array = rq_queue value = 172 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 162 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 162 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 164 } }
if = {
limit = {
NOT = { has_tech = ICBM11 }
NOT = { is_in_array = { array = rq_queue value = 163 } }
NOT = { is_in_array = { array = rq_ap_ban value = 163 } }
NOT = { is_in_array = { array = global.rq_hid value = 163 } }
OR = {
can_research = ICBM11
AND = {
OR = { is_in_array = { array = rq_queue value = 162 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 163 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 163 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = ICBM12 }
NOT = { is_in_array = { array = rq_queue value = 164 } }
NOT = { is_in_array = { array = rq_ap_ban value = 164 } }
NOT = { is_in_array = { array = global.rq_hid value = 164 } }
OR = {
can_research = ICBM12
AND = {
OR = { is_in_array = { array = rq_queue value = 163 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 164 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 164 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 166 } }
if = {
limit = {
NOT = { has_tech = ICBM2 }
NOT = { is_in_array = { array = rq_queue value = 165 } }
NOT = { is_in_array = { array = rq_ap_ban value = 165 } }
NOT = { is_in_array = { array = global.rq_hid value = 165 } }
OR = {
can_research = ICBM2
AND = {
OR = { is_in_array = { array = rq_queue value = 161 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 165 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 165 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 167 } }
if = {
limit = {
NOT = { has_tech = ICBM3 }
NOT = { is_in_array = { array = rq_queue value = 166 } }
NOT = { is_in_array = { array = rq_ap_ban value = 166 } }
NOT = { is_in_array = { array = global.rq_hid value = 166 } }
OR = {
can_research = ICBM3
AND = {
OR = { is_in_array = { array = rq_queue value = 165 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 166 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 166 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = ICBM4 }
NOT = { is_in_array = { array = rq_queue value = 167 } }
NOT = { is_in_array = { array = rq_ap_ban value = 167 } }
NOT = { is_in_array = { array = global.rq_hid value = 167 } }
OR = {
can_research = ICBM4
AND = {
OR = { is_in_array = { array = rq_queue value = 166 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 167 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 167 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 171 } }
if = {
limit = { check_variable = { rq_t < 169 } }
if = {
limit = {
NOT = { has_tech = ICBM5 }
NOT = { is_in_array = { array = rq_queue value = 168 } }
NOT = { is_in_array = { array = rq_ap_ban value = 168 } }
NOT = { is_in_array = { array = global.rq_hid value = 168 } }
OR = {
can_research = ICBM5
AND = {
OR = { is_in_array = { array = rq_queue value = 167 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 168 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 168 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 170 } }
if = {
limit = {
NOT = { has_tech = ICBM6 }
NOT = { is_in_array = { array = rq_queue value = 169 } }
NOT = { is_in_array = { array = rq_ap_ban value = 169 } }
NOT = { is_in_array = { array = global.rq_hid value = 169 } }
OR = {
can_research = ICBM6
AND = {
OR = { is_in_array = { array = rq_queue value = 168 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 169 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 169 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = ICBM7 }
NOT = { is_in_array = { array = rq_queue value = 170 } }
NOT = { is_in_array = { array = rq_ap_ban value = 170 } }
NOT = { is_in_array = { array = global.rq_hid value = 170 } }
OR = {
can_research = ICBM7
AND = {
OR = { is_in_array = { array = rq_queue value = 169 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 170 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 170 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 172 } }
if = {
limit = {
NOT = { has_tech = ICBM8 }
NOT = { is_in_array = { array = rq_queue value = 171 } }
NOT = { is_in_array = { array = rq_ap_ban value = 171 } }
NOT = { is_in_array = { array = global.rq_hid value = 171 } }
OR = {
can_research = ICBM8
AND = {
OR = { is_in_array = { array = rq_queue value = 170 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 171 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 171 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 173 } }
if = {
limit = {
NOT = { has_tech = ICBM9 }
NOT = { is_in_array = { array = rq_queue value = 172 } }
NOT = { is_in_array = { array = rq_ap_ban value = 172 } }
NOT = { is_in_array = { array = global.rq_hid value = 172 } }
OR = {
can_research = ICBM9
AND = {
OR = { is_in_array = { array = rq_queue value = 171 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 172 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 172 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IFV_1 }
NOT = { is_in_array = { array = rq_queue value = 173 } }
NOT = { is_in_array = { array = rq_ap_ban value = 173 } }
NOT = { is_in_array = { array = global.rq_hid value = 173 } }
OR = {
can_research = IFV_1
AND = {
OR = { is_in_array = { array = rq_queue value = 103 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 173 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 173 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 180 } }
if = {
limit = { check_variable = { rq_t < 177 } }
if = {
limit = { check_variable = { rq_t < 175 } }
if = {
limit = {
NOT = { has_tech = IFV_2 }
NOT = { is_in_array = { array = rq_queue value = 174 } }
NOT = { is_in_array = { array = rq_ap_ban value = 174 } }
NOT = { is_in_array = { array = global.rq_hid value = 174 } }
OR = {
can_research = IFV_2
AND = {
OR = { is_in_array = { array = rq_queue value = 173 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 174 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 174 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 176 } }
if = {
limit = {
NOT = { has_tech = IFV_3 }
NOT = { is_in_array = { array = rq_queue value = 175 } }
NOT = { is_in_array = { array = rq_ap_ban value = 175 } }
NOT = { is_in_array = { array = global.rq_hid value = 175 } }
OR = {
can_research = IFV_3
AND = {
OR = { is_in_array = { array = rq_queue value = 174 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 175 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 175 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IFV_4 }
NOT = { is_in_array = { array = rq_queue value = 176 } }
NOT = { is_in_array = { array = rq_ap_ban value = 176 } }
NOT = { is_in_array = { array = global.rq_hid value = 176 } }
OR = {
can_research = IFV_4
AND = {
OR = { is_in_array = { array = rq_queue value = 175 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 176 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 176 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 178 } }
if = {
limit = {
NOT = { has_tech = IFV_5 }
NOT = { is_in_array = { array = rq_queue value = 177 } }
NOT = { is_in_array = { array = rq_ap_ban value = 177 } }
NOT = { is_in_array = { array = global.rq_hid value = 177 } }
OR = {
can_research = IFV_5
AND = {
OR = { is_in_array = { array = rq_queue value = 176 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 177 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 177 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 179 } }
if = {
limit = {
NOT = { has_tech = IFV_6 }
NOT = { is_in_array = { array = rq_queue value = 178 } }
NOT = { is_in_array = { array = rq_ap_ban value = 178 } }
NOT = { is_in_array = { array = global.rq_hid value = 178 } }
OR = {
can_research = IFV_6
AND = {
OR = { is_in_array = { array = rq_queue value = 177 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 178 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 178 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IFV_7 }
NOT = { is_in_array = { array = rq_queue value = 179 } }
NOT = { is_in_array = { array = rq_ap_ban value = 179 } }
NOT = { is_in_array = { array = global.rq_hid value = 179 } }
OR = {
can_research = IFV_7
AND = {
OR = { is_in_array = { array = rq_queue value = 178 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 179 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 179 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 183 } }
if = {
limit = { check_variable = { rq_t < 181 } }
if = {
limit = {
NOT = { has_tech = IFV_8 }
NOT = { is_in_array = { array = rq_queue value = 180 } }
NOT = { is_in_array = { array = rq_ap_ban value = 180 } }
NOT = { is_in_array = { array = global.rq_hid value = 180 } }
OR = {
can_research = IFV_8
AND = {
OR = { is_in_array = { array = rq_queue value = 179 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 180 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 180 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 182 } }
if = {
limit = {
NOT = { has_tech = IMV_10 }
NOT = { is_in_array = { array = rq_queue value = 181 } }
NOT = { is_in_array = { array = rq_ap_ban value = 181 } }
NOT = { is_in_array = { array = global.rq_hid value = 181 } }
OR = {
can_research = IMV_10
AND = {
OR = { is_in_array = { array = rq_queue value = 1467 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 181 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 181 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IMV_11 }
NOT = { is_in_array = { array = rq_queue value = 182 } }
NOT = { is_in_array = { array = rq_ap_ban value = 182 } }
NOT = { is_in_array = { array = global.rq_hid value = 182 } }
OR = {
can_research = IMV_11
AND = {
OR = { is_in_array = { array = rq_queue value = 1468 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 182 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 182 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 184 } }
if = {
limit = {
NOT = { has_tech = IMV_12 }
NOT = { is_in_array = { array = rq_queue value = 183 } }
NOT = { is_in_array = { array = rq_ap_ban value = 183 } }
NOT = { is_in_array = { array = global.rq_hid value = 183 } }
OR = {
can_research = IMV_12
AND = {
OR = { is_in_array = { array = rq_queue value = 1469 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 183 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 183 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 185 } }
if = {
limit = {
NOT = { has_tech = IMV_3 }
NOT = { is_in_array = { array = rq_queue value = 184 } }
NOT = { is_in_array = { array = rq_ap_ban value = 184 } }
NOT = { is_in_array = { array = global.rq_hid value = 184 } }
OR = {
can_research = IMV_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1471 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 184 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 184 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IMV_4 }
NOT = { is_in_array = { array = rq_queue value = 185 } }
NOT = { is_in_array = { array = rq_ap_ban value = 185 } }
NOT = { is_in_array = { array = global.rq_hid value = 185 } }
OR = {
can_research = IMV_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1472 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 185 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 185 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 279 } }
if = {
limit = { check_variable = { rq_t < 232 } }
if = {
limit = { check_variable = { rq_t < 209 } }
if = {
limit = { check_variable = { rq_t < 197 } }
if = {
limit = { check_variable = { rq_t < 191 } }
if = {
limit = { check_variable = { rq_t < 188 } }
if = {
limit = { check_variable = { rq_t < 187 } }
if = {
limit = {
NOT = { has_tech = IMV_5 }
NOT = { is_in_array = { array = rq_queue value = 186 } }
NOT = { is_in_array = { array = rq_ap_ban value = 186 } }
NOT = { is_in_array = { array = global.rq_hid value = 186 } }
OR = {
can_research = IMV_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1473 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 186 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 186 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IMV_6 }
NOT = { is_in_array = { array = rq_queue value = 187 } }
NOT = { is_in_array = { array = rq_ap_ban value = 187 } }
NOT = { is_in_array = { array = global.rq_hid value = 187 } }
OR = {
can_research = IMV_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1474 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 187 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 187 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 189 } }
if = {
limit = {
NOT = { has_tech = IMV_7 }
NOT = { is_in_array = { array = rq_queue value = 188 } }
NOT = { is_in_array = { array = rq_ap_ban value = 188 } }
NOT = { is_in_array = { array = global.rq_hid value = 188 } }
OR = {
can_research = IMV_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1475 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 188 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 188 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 190 } }
if = {
limit = {
NOT = { has_tech = IMV_8 }
NOT = { is_in_array = { array = rq_queue value = 189 } }
NOT = { is_in_array = { array = rq_ap_ban value = 189 } }
NOT = { is_in_array = { array = global.rq_hid value = 189 } }
OR = {
can_research = IMV_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1476 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 189 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 189 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IMV_9 }
NOT = { is_in_array = { array = rq_queue value = 190 } }
NOT = { is_in_array = { array = rq_ap_ban value = 190 } }
NOT = { is_in_array = { array = global.rq_hid value = 190 } }
OR = {
can_research = IMV_9
AND = {
OR = { is_in_array = { array = rq_queue value = 1477 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 190 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 190 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 194 } }
if = {
limit = { check_variable = { rq_t < 192 } }
if = {
limit = {
NOT = { has_tech = IRBM }
NOT = { is_in_array = { array = rq_queue value = 191 } }
NOT = { is_in_array = { array = rq_ap_ban value = 191 } }
NOT = { is_in_array = { array = global.rq_hid value = 191 } }
OR = {
can_research = IRBM
AND = {
OR = { is_in_array = { array = rq_queue value = 449 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 191 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 191 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 193 } }
if = {
limit = {
NOT = { has_tech = IRBM1 }
NOT = { is_in_array = { array = rq_queue value = 192 } }
NOT = { is_in_array = { array = rq_ap_ban value = 192 } }
NOT = { is_in_array = { array = global.rq_hid value = 192 } }
OR = {
can_research = IRBM1
AND = {
OR = { is_in_array = { array = rq_queue value = 191 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 192 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 192 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IRBM10 }
NOT = { is_in_array = { array = rq_queue value = 193 } }
NOT = { is_in_array = { array = rq_ap_ban value = 193 } }
NOT = { is_in_array = { array = global.rq_hid value = 193 } }
OR = {
can_research = IRBM10
AND = {
OR = { is_in_array = { array = rq_queue value = 203 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 193 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 193 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 195 } }
if = {
limit = {
NOT = { has_tech = IRBM11 }
NOT = { is_in_array = { array = rq_queue value = 194 } }
NOT = { is_in_array = { array = rq_ap_ban value = 194 } }
NOT = { is_in_array = { array = global.rq_hid value = 194 } }
OR = {
can_research = IRBM11
AND = {
OR = { is_in_array = { array = rq_queue value = 193 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 194 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 194 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 196 } }
if = {
limit = {
NOT = { has_tech = IRBM12 }
NOT = { is_in_array = { array = rq_queue value = 195 } }
NOT = { is_in_array = { array = rq_ap_ban value = 195 } }
NOT = { is_in_array = { array = global.rq_hid value = 195 } }
OR = {
can_research = IRBM12
AND = {
OR = { is_in_array = { array = rq_queue value = 194 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 195 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 195 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IRBM2 }
NOT = { is_in_array = { array = rq_queue value = 196 } }
NOT = { is_in_array = { array = rq_ap_ban value = 196 } }
NOT = { is_in_array = { array = global.rq_hid value = 196 } }
OR = {
can_research = IRBM2
AND = {
OR = { is_in_array = { array = rq_queue value = 192 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 196 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 196 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 203 } }
if = {
limit = { check_variable = { rq_t < 200 } }
if = {
limit = { check_variable = { rq_t < 198 } }
if = {
limit = {
NOT = { has_tech = IRBM3 }
NOT = { is_in_array = { array = rq_queue value = 197 } }
NOT = { is_in_array = { array = rq_ap_ban value = 197 } }
NOT = { is_in_array = { array = global.rq_hid value = 197 } }
OR = {
can_research = IRBM3
AND = {
OR = { is_in_array = { array = rq_queue value = 196 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 197 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 197 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 199 } }
if = {
limit = {
NOT = { has_tech = IRBM4 }
NOT = { is_in_array = { array = rq_queue value = 198 } }
NOT = { is_in_array = { array = rq_ap_ban value = 198 } }
NOT = { is_in_array = { array = global.rq_hid value = 198 } }
OR = {
can_research = IRBM4
AND = {
OR = { is_in_array = { array = rq_queue value = 197 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 198 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 198 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IRBM5 }
NOT = { is_in_array = { array = rq_queue value = 199 } }
NOT = { is_in_array = { array = rq_ap_ban value = 199 } }
NOT = { is_in_array = { array = global.rq_hid value = 199 } }
OR = {
can_research = IRBM5
AND = {
OR = { is_in_array = { array = rq_queue value = 198 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 199 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 199 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 201 } }
if = {
limit = {
NOT = { has_tech = IRBM6 }
NOT = { is_in_array = { array = rq_queue value = 200 } }
NOT = { is_in_array = { array = rq_ap_ban value = 200 } }
NOT = { is_in_array = { array = global.rq_hid value = 200 } }
OR = {
can_research = IRBM6
AND = {
OR = { is_in_array = { array = rq_queue value = 199 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 200 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 200 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 202 } }
if = {
limit = {
NOT = { has_tech = IRBM7 }
NOT = { is_in_array = { array = rq_queue value = 201 } }
NOT = { is_in_array = { array = rq_ap_ban value = 201 } }
NOT = { is_in_array = { array = global.rq_hid value = 201 } }
OR = {
can_research = IRBM7
AND = {
OR = { is_in_array = { array = rq_queue value = 200 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 201 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 201 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = IRBM8 }
NOT = { is_in_array = { array = rq_queue value = 202 } }
NOT = { is_in_array = { array = rq_ap_ban value = 202 } }
NOT = { is_in_array = { array = global.rq_hid value = 202 } }
OR = {
can_research = IRBM8
AND = {
OR = { is_in_array = { array = rq_queue value = 201 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 202 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 202 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 206 } }
if = {
limit = { check_variable = { rq_t < 204 } }
if = {
limit = {
NOT = { has_tech = IRBM9 }
NOT = { is_in_array = { array = rq_queue value = 203 } }
NOT = { is_in_array = { array = rq_ap_ban value = 203 } }
NOT = { is_in_array = { array = global.rq_hid value = 203 } }
OR = {
can_research = IRBM9
AND = {
OR = { is_in_array = { array = rq_queue value = 202 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 203 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 203 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 205 } }
if = {
limit = {
NOT = { has_tech = KILLSAT1 }
NOT = { is_in_array = { array = rq_queue value = 204 } }
NOT = { is_in_array = { array = rq_ap_ban value = 204 } }
NOT = { is_in_array = { array = global.rq_hid value = 204 } }
OR = {
can_research = KILLSAT1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 204 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 204 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = KILLSAT10 }
NOT = { is_in_array = { array = rq_queue value = 205 } }
NOT = { is_in_array = { array = rq_ap_ban value = 205 } }
NOT = { is_in_array = { array = global.rq_hid value = 205 } }
OR = {
can_research = KILLSAT10
AND = {
OR = { is_in_array = { array = rq_queue value = 213 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 205 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 205 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 207 } }
if = {
limit = {
NOT = { has_tech = KILLSAT2 }
NOT = { is_in_array = { array = rq_queue value = 206 } }
NOT = { is_in_array = { array = rq_ap_ban value = 206 } }
NOT = { is_in_array = { array = global.rq_hid value = 206 } }
OR = {
can_research = KILLSAT2
AND = {
OR = { is_in_array = { array = rq_queue value = 204 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 206 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 206 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 208 } }
if = {
limit = {
NOT = { has_tech = KILLSAT3 }
NOT = { is_in_array = { array = rq_queue value = 207 } }
NOT = { is_in_array = { array = rq_ap_ban value = 207 } }
NOT = { is_in_array = { array = global.rq_hid value = 207 } }
OR = {
can_research = KILLSAT3
AND = {
OR = { is_in_array = { array = rq_queue value = 206 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 207 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 207 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = KILLSAT4 }
NOT = { is_in_array = { array = rq_queue value = 208 } }
NOT = { is_in_array = { array = rq_ap_ban value = 208 } }
NOT = { is_in_array = { array = global.rq_hid value = 208 } }
OR = {
can_research = KILLSAT4
AND = {
OR = { is_in_array = { array = rq_queue value = 207 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 208 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 208 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 220 } }
if = {
limit = { check_variable = { rq_t < 214 } }
if = {
limit = { check_variable = { rq_t < 211 } }
if = {
limit = { check_variable = { rq_t < 210 } }
if = {
limit = {
NOT = { has_tech = KILLSAT5 }
NOT = { is_in_array = { array = rq_queue value = 209 } }
NOT = { is_in_array = { array = rq_ap_ban value = 209 } }
NOT = { is_in_array = { array = global.rq_hid value = 209 } }
OR = {
can_research = KILLSAT5
AND = {
OR = { is_in_array = { array = rq_queue value = 208 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 209 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 209 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = KILLSAT6 }
NOT = { is_in_array = { array = rq_queue value = 210 } }
NOT = { is_in_array = { array = rq_ap_ban value = 210 } }
NOT = { is_in_array = { array = global.rq_hid value = 210 } }
OR = {
can_research = KILLSAT6
AND = {
OR = { is_in_array = { array = rq_queue value = 209 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 210 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 210 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 212 } }
if = {
limit = {
NOT = { has_tech = KILLSAT7 }
NOT = { is_in_array = { array = rq_queue value = 211 } }
NOT = { is_in_array = { array = rq_ap_ban value = 211 } }
NOT = { is_in_array = { array = global.rq_hid value = 211 } }
OR = {
can_research = KILLSAT7
AND = {
OR = { is_in_array = { array = rq_queue value = 210 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 211 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 211 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 213 } }
if = {
limit = {
NOT = { has_tech = KILLSAT8 }
NOT = { is_in_array = { array = rq_queue value = 212 } }
NOT = { is_in_array = { array = rq_ap_ban value = 212 } }
NOT = { is_in_array = { array = global.rq_hid value = 212 } }
OR = {
can_research = KILLSAT8
AND = {
OR = { is_in_array = { array = rq_queue value = 211 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 212 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 212 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = KILLSAT9 }
NOT = { is_in_array = { array = rq_queue value = 213 } }
NOT = { is_in_array = { array = rq_ap_ban value = 213 } }
NOT = { is_in_array = { array = global.rq_hid value = 213 } }
OR = {
can_research = KILLSAT9
AND = {
OR = { is_in_array = { array = rq_queue value = 212 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 213 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 213 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 217 } }
if = {
limit = { check_variable = { rq_t < 215 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 216 } }
if = {
limit = {
NOT = { has_tech = L_Strike_fighter1 }
NOT = { is_in_array = { array = rq_queue value = 215 } }
NOT = { is_in_array = { array = rq_ap_ban value = 215 } }
NOT = { is_in_array = { array = global.rq_hid value = 215 } }
OR = {
can_research = L_Strike_fighter1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 215 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 215 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = L_Strike_fighter2 }
NOT = { is_in_array = { array = rq_queue value = 216 } }
NOT = { is_in_array = { array = rq_ap_ban value = 216 } }
NOT = { is_in_array = { array = global.rq_hid value = 216 } }
OR = {
can_research = L_Strike_fighter2
AND = {
OR = { is_in_array = { array = rq_queue value = 215 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 216 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 216 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 218 } }
if = {
limit = {
NOT = { has_tech = L_Strike_fighter3 }
NOT = { is_in_array = { array = rq_queue value = 217 } }
NOT = { is_in_array = { array = rq_ap_ban value = 217 } }
NOT = { is_in_array = { array = global.rq_hid value = 217 } }
OR = {
can_research = L_Strike_fighter3
AND = {
OR = { is_in_array = { array = rq_queue value = 216 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 217 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 217 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 219 } }
if = {
limit = {
NOT = { has_tech = L_Strike_fighter4 }
NOT = { is_in_array = { array = rq_queue value = 218 } }
NOT = { is_in_array = { array = rq_ap_ban value = 218 } }
NOT = { is_in_array = { array = global.rq_hid value = 218 } }
OR = {
can_research = L_Strike_fighter4
AND = {
OR = { is_in_array = { array = rq_queue value = 217 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 218 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 218 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = L_Strike_fighter5 }
NOT = { is_in_array = { array = rq_queue value = 219 } }
NOT = { is_in_array = { array = rq_ap_ban value = 219 } }
NOT = { is_in_array = { array = global.rq_hid value = 219 } }
OR = {
can_research = L_Strike_fighter5
AND = {
OR = { is_in_array = { array = rq_queue value = 218 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 219 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 219 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 226 } }
if = {
limit = { check_variable = { rq_t < 223 } }
if = {
limit = { check_variable = { rq_t < 221 } }
if = {
limit = {
NOT = { has_tech = MBT_1 }
NOT = { is_in_array = { array = rq_queue value = 220 } }
NOT = { is_in_array = { array = rq_ap_ban value = 220 } }
NOT = { is_in_array = { array = global.rq_hid value = 220 } }
OR = {
can_research = MBT_1
AND = {
OR = { is_in_array = { array = rq_queue value = 103 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 220 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 220 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 222 } }
if = {
limit = {
NOT = { has_tech = MBT_2 }
NOT = { is_in_array = { array = rq_queue value = 221 } }
NOT = { is_in_array = { array = rq_ap_ban value = 221 } }
NOT = { is_in_array = { array = global.rq_hid value = 221 } }
OR = {
can_research = MBT_2
AND = {
OR = { is_in_array = { array = rq_queue value = 220 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 221 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 221 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = MBT_3 }
NOT = { is_in_array = { array = rq_queue value = 222 } }
NOT = { is_in_array = { array = rq_ap_ban value = 222 } }
NOT = { is_in_array = { array = global.rq_hid value = 222 } }
OR = {
can_research = MBT_3
AND = {
OR = { is_in_array = { array = rq_queue value = 221 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 222 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 222 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 224 } }
if = {
limit = {
NOT = { has_tech = MBT_4 }
NOT = { is_in_array = { array = rq_queue value = 223 } }
NOT = { is_in_array = { array = rq_ap_ban value = 223 } }
NOT = { is_in_array = { array = global.rq_hid value = 223 } }
OR = {
can_research = MBT_4
AND = {
OR = { is_in_array = { array = rq_queue value = 222 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 223 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 223 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 225 } }
if = {
limit = {
NOT = { has_tech = MBT_5 }
NOT = { is_in_array = { array = rq_queue value = 224 } }
NOT = { is_in_array = { array = rq_ap_ban value = 224 } }
NOT = { is_in_array = { array = global.rq_hid value = 224 } }
OR = {
can_research = MBT_5
AND = {
OR = { is_in_array = { array = rq_queue value = 223 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 224 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 224 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = MBT_7 }
NOT = { is_in_array = { array = rq_queue value = 225 } }
NOT = { is_in_array = { array = rq_ap_ban value = 225 } }
NOT = { is_in_array = { array = global.rq_hid value = 225 } }
OR = {
can_research = MBT_7
AND = {
OR = { is_in_array = { array = rq_queue value = 224 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 225 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 225 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 229 } }
if = {
limit = { check_variable = { rq_t < 227 } }
if = {
limit = {
NOT = { has_tech = MBT_8 }
NOT = { is_in_array = { array = rq_queue value = 226 } }
NOT = { is_in_array = { array = rq_ap_ban value = 226 } }
NOT = { is_in_array = { array = global.rq_hid value = 226 } }
OR = {
can_research = MBT_8
AND = {
OR = { is_in_array = { array = rq_queue value = 225 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 226 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 226 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 228 } }
if = {
limit = {
NOT = { has_tech = MR_Fighter1 }
NOT = { is_in_array = { array = rq_queue value = 227 } }
NOT = { is_in_array = { array = rq_ap_ban value = 227 } }
NOT = { is_in_array = { array = global.rq_hid value = 227 } }
OR = {
can_research = MR_Fighter1
AND = {
OR = { is_in_array = { array = rq_queue value = 606 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 227 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 227 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = MR_Fighter2 }
NOT = { is_in_array = { array = rq_queue value = 228 } }
NOT = { is_in_array = { array = rq_ap_ban value = 228 } }
NOT = { is_in_array = { array = global.rq_hid value = 228 } }
OR = {
can_research = MR_Fighter2
AND = {
OR = { is_in_array = { array = rq_queue value = 227 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 228 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 228 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 230 } }
if = {
limit = {
NOT = { has_tech = MR_Fighter3 }
NOT = { is_in_array = { array = rq_queue value = 229 } }
NOT = { is_in_array = { array = rq_ap_ban value = 229 } }
NOT = { is_in_array = { array = global.rq_hid value = 229 } }
OR = {
can_research = MR_Fighter3
AND = {
OR = { is_in_array = { array = rq_queue value = 234 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 229 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = MR_Fighter4 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = MR_Fighter4 date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 229 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 231 } }
if = {
limit = {
NOT = { has_tech = MR_Fighter4 }
NOT = { is_in_array = { array = rq_queue value = 230 } }
NOT = { is_in_array = { array = rq_ap_ban value = 230 } }
NOT = { is_in_array = { array = global.rq_hid value = 230 } }
OR = {
can_research = MR_Fighter4
AND = {
OR = { is_in_array = { array = rq_queue value = 234 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 230 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 230 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = MR_Fighter5 }
NOT = { is_in_array = { array = rq_queue value = 231 } }
NOT = { is_in_array = { array = rq_ap_ban value = 231 } }
NOT = { is_in_array = { array = global.rq_hid value = 231 } }
OR = {
can_research = MR_Fighter5
AND = {
OR = { is_in_array = { array = rq_queue value = 235 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 231 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = MR_Fighter6 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = MR_Fighter6 date > 2022.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 231 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 255 } }
if = {
limit = { check_variable = { rq_t < 243 } }
if = {
limit = { check_variable = { rq_t < 237 } }
if = {
limit = { check_variable = { rq_t < 234 } }
if = {
limit = { check_variable = { rq_t < 233 } }
if = {
limit = {
NOT = { has_tech = MR_Fighter6 }
NOT = { is_in_array = { array = rq_queue value = 232 } }
NOT = { is_in_array = { array = rq_ap_ban value = 232 } }
NOT = { is_in_array = { array = global.rq_hid value = 232 } }
OR = {
can_research = MR_Fighter6
AND = {
OR = { is_in_array = { array = rq_queue value = 235 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 232 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 232 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = MR_Fighter7 }
NOT = { is_in_array = { array = rq_queue value = 233 } }
NOT = { is_in_array = { array = rq_ap_ban value = 233 } }
NOT = { is_in_array = { array = global.rq_hid value = 233 } }
OR = {
can_research = MR_Fighter7
AND = {
OR = { is_in_array = { array = rq_queue value = 236 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 233 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 233 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 235 } }
if = {
limit = {
NOT = { has_tech = MR_upgrade_1 }
NOT = { is_in_array = { array = rq_queue value = 234 } }
NOT = { is_in_array = { array = rq_ap_ban value = 234 } }
NOT = { is_in_array = { array = global.rq_hid value = 234 } }
OR = {
can_research = MR_upgrade_1
AND = {
OR = { is_in_array = { array = rq_queue value = 228 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 234 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 234 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 236 } }
if = {
limit = {
NOT = { has_tech = MR_upgrade_2 }
NOT = { is_in_array = { array = rq_queue value = 235 } }
NOT = { is_in_array = { array = rq_ap_ban value = 235 } }
NOT = { is_in_array = { array = global.rq_hid value = 235 } }
OR = {
can_research = MR_upgrade_2
AND = {
OR = { is_in_array = { array = rq_queue value = 230 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 235 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 235 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = MR_upgrade_3 }
NOT = { is_in_array = { array = rq_queue value = 236 } }
NOT = { is_in_array = { array = rq_ap_ban value = 236 } }
NOT = { is_in_array = { array = global.rq_hid value = 236 } }
OR = {
can_research = MR_upgrade_3
AND = {
OR = { is_in_array = { array = rq_queue value = 232 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 236 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 236 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 240 } }
if = {
limit = { check_variable = { rq_t < 238 } }
if = {
limit = {
NOT = { has_tech = NIRBM1 }
NOT = { is_in_array = { array = rq_queue value = 237 } }
NOT = { is_in_array = { array = rq_ap_ban value = 237 } }
NOT = { is_in_array = { array = global.rq_hid value = 237 } }
OR = {
can_research = NIRBM1
AND = {
OR = { is_in_array = { array = rq_queue value = 196 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 237 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 237 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 239 } }
if = {
limit = {
NOT = { has_tech = NIRBM10 }
NOT = { is_in_array = { array = rq_queue value = 238 } }
NOT = { is_in_array = { array = rq_ap_ban value = 238 } }
NOT = { is_in_array = { array = global.rq_hid value = 238 } }
OR = {
can_research = NIRBM10
AND = {
OR = { is_in_array = { array = rq_queue value = 247 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 238 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 238 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = NIRBM11 }
NOT = { is_in_array = { array = rq_queue value = 239 } }
NOT = { is_in_array = { array = rq_ap_ban value = 239 } }
NOT = { is_in_array = { array = global.rq_hid value = 239 } }
OR = {
can_research = NIRBM11
AND = {
OR = { is_in_array = { array = rq_queue value = 238 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 239 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 239 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 241 } }
if = {
limit = {
NOT = { has_tech = NIRBM2 }
NOT = { is_in_array = { array = rq_queue value = 240 } }
NOT = { is_in_array = { array = rq_ap_ban value = 240 } }
NOT = { is_in_array = { array = global.rq_hid value = 240 } }
OR = {
can_research = NIRBM2
AND = {
OR = { is_in_array = { array = rq_queue value = 237 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 240 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 240 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 242 } }
if = {
limit = {
NOT = { has_tech = NIRBM3 }
NOT = { is_in_array = { array = rq_queue value = 241 } }
NOT = { is_in_array = { array = rq_ap_ban value = 241 } }
NOT = { is_in_array = { array = global.rq_hid value = 241 } }
OR = {
can_research = NIRBM3
AND = {
OR = { is_in_array = { array = rq_queue value = 240 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 241 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 241 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = NIRBM4 }
NOT = { is_in_array = { array = rq_queue value = 242 } }
NOT = { is_in_array = { array = rq_ap_ban value = 242 } }
NOT = { is_in_array = { array = global.rq_hid value = 242 } }
OR = {
can_research = NIRBM4
AND = {
OR = { is_in_array = { array = rq_queue value = 241 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 242 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 242 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 249 } }
if = {
limit = { check_variable = { rq_t < 246 } }
if = {
limit = { check_variable = { rq_t < 244 } }
if = {
limit = {
NOT = { has_tech = NIRBM5 }
NOT = { is_in_array = { array = rq_queue value = 243 } }
NOT = { is_in_array = { array = rq_ap_ban value = 243 } }
NOT = { is_in_array = { array = global.rq_hid value = 243 } }
OR = {
can_research = NIRBM5
AND = {
OR = { is_in_array = { array = rq_queue value = 242 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 243 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 243 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 245 } }
if = {
limit = {
NOT = { has_tech = NIRBM6 }
NOT = { is_in_array = { array = rq_queue value = 244 } }
NOT = { is_in_array = { array = rq_ap_ban value = 244 } }
NOT = { is_in_array = { array = global.rq_hid value = 244 } }
OR = {
can_research = NIRBM6
AND = {
OR = { is_in_array = { array = rq_queue value = 243 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 244 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 244 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = NIRBM7 }
NOT = { is_in_array = { array = rq_queue value = 245 } }
NOT = { is_in_array = { array = rq_ap_ban value = 245 } }
NOT = { is_in_array = { array = global.rq_hid value = 245 } }
OR = {
can_research = NIRBM7
AND = {
OR = { is_in_array = { array = rq_queue value = 244 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 245 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 245 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 247 } }
if = {
limit = {
NOT = { has_tech = NIRBM8 }
NOT = { is_in_array = { array = rq_queue value = 246 } }
NOT = { is_in_array = { array = rq_ap_ban value = 246 } }
NOT = { is_in_array = { array = global.rq_hid value = 246 } }
OR = {
can_research = NIRBM8
AND = {
OR = { is_in_array = { array = rq_queue value = 245 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 246 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 246 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 248 } }
if = {
limit = {
NOT = { has_tech = NIRBM9 }
NOT = { is_in_array = { array = rq_queue value = 247 } }
NOT = { is_in_array = { array = rq_ap_ban value = 247 } }
NOT = { is_in_array = { array = global.rq_hid value = 247 } }
OR = {
can_research = NIRBM9
AND = {
OR = { is_in_array = { array = rq_queue value = 246 } }
ROOT = { is_special_project_completed = sp:sp_nuclear_warhead_program }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 247 }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 247 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = OLV1 }
NOT = { is_in_array = { array = rq_queue value = 248 } }
NOT = { is_in_array = { array = rq_ap_ban value = 248 } }
NOT = { is_in_array = { array = global.rq_hid value = 248 } }
OR = {
can_research = OLV1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 248 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 248 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 252 } }
if = {
limit = { check_variable = { rq_t < 250 } }
if = {
limit = {
NOT = { has_tech = OLV10 }
NOT = { is_in_array = { array = rq_queue value = 249 } }
NOT = { is_in_array = { array = rq_ap_ban value = 249 } }
NOT = { is_in_array = { array = global.rq_hid value = 249 } }
OR = {
can_research = OLV10
AND = {
OR = { is_in_array = { array = rq_queue value = 259 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 249 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 249 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 251 } }
if = {
limit = {
NOT = { has_tech = OLV11 }
NOT = { is_in_array = { array = rq_queue value = 250 } }
NOT = { is_in_array = { array = rq_ap_ban value = 250 } }
NOT = { is_in_array = { array = global.rq_hid value = 250 } }
OR = {
can_research = OLV11
AND = {
OR = { is_in_array = { array = rq_queue value = 249 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 250 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 250 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = OLV12 }
NOT = { is_in_array = { array = rq_queue value = 251 } }
NOT = { is_in_array = { array = rq_ap_ban value = 251 } }
NOT = { is_in_array = { array = global.rq_hid value = 251 } }
OR = {
can_research = OLV12
AND = {
OR = { is_in_array = { array = rq_queue value = 250 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 251 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 251 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 253 } }
if = {
limit = {
NOT = { has_tech = OLV2 }
NOT = { is_in_array = { array = rq_queue value = 252 } }
NOT = { is_in_array = { array = rq_ap_ban value = 252 } }
NOT = { is_in_array = { array = global.rq_hid value = 252 } }
OR = {
can_research = OLV2
AND = {
OR = { is_in_array = { array = rq_queue value = 248 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 252 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 252 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 254 } }
if = {
limit = {
NOT = { has_tech = OLV3 }
NOT = { is_in_array = { array = rq_queue value = 253 } }
NOT = { is_in_array = { array = rq_ap_ban value = 253 } }
NOT = { is_in_array = { array = global.rq_hid value = 253 } }
OR = {
can_research = OLV3
AND = {
OR = { is_in_array = { array = rq_queue value = 252 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 253 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 253 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = OLV4 }
NOT = { is_in_array = { array = rq_queue value = 254 } }
NOT = { is_in_array = { array = rq_ap_ban value = 254 } }
NOT = { is_in_array = { array = global.rq_hid value = 254 } }
OR = {
can_research = OLV4
AND = {
OR = { is_in_array = { array = rq_queue value = 253 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 254 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 254 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 267 } }
if = {
limit = { check_variable = { rq_t < 261 } }
if = {
limit = { check_variable = { rq_t < 258 } }
if = {
limit = { check_variable = { rq_t < 256 } }
if = {
limit = {
NOT = { has_tech = OLV5 }
NOT = { is_in_array = { array = rq_queue value = 255 } }
NOT = { is_in_array = { array = rq_ap_ban value = 255 } }
NOT = { is_in_array = { array = global.rq_hid value = 255 } }
OR = {
can_research = OLV5
AND = {
OR = { is_in_array = { array = rq_queue value = 254 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 255 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 255 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 257 } }
if = {
limit = {
NOT = { has_tech = OLV6 }
NOT = { is_in_array = { array = rq_queue value = 256 } }
NOT = { is_in_array = { array = rq_ap_ban value = 256 } }
NOT = { is_in_array = { array = global.rq_hid value = 256 } }
OR = {
can_research = OLV6
AND = {
OR = { is_in_array = { array = rq_queue value = 255 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 256 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 256 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = OLV7 }
NOT = { is_in_array = { array = rq_queue value = 257 } }
NOT = { is_in_array = { array = rq_ap_ban value = 257 } }
NOT = { is_in_array = { array = global.rq_hid value = 257 } }
OR = {
can_research = OLV7
AND = {
OR = { is_in_array = { array = rq_queue value = 256 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 257 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 257 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 259 } }
if = {
limit = {
NOT = { has_tech = OLV8 }
NOT = { is_in_array = { array = rq_queue value = 258 } }
NOT = { is_in_array = { array = rq_ap_ban value = 258 } }
NOT = { is_in_array = { array = global.rq_hid value = 258 } }
OR = {
can_research = OLV8
AND = {
OR = { is_in_array = { array = rq_queue value = 257 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 258 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 258 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 260 } }
if = {
limit = {
NOT = { has_tech = OLV9 }
NOT = { is_in_array = { array = rq_queue value = 259 } }
NOT = { is_in_array = { array = rq_ap_ban value = 259 } }
NOT = { is_in_array = { array = global.rq_hid value = 259 } }
OR = {
can_research = OLV9
AND = {
OR = { is_in_array = { array = rq_queue value = 710 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 259 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 259 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Rec_tank_0 }
NOT = { is_in_array = { array = rq_queue value = 260 } }
NOT = { is_in_array = { array = rq_ap_ban value = 260 } }
NOT = { is_in_array = { array = global.rq_hid value = 260 } }
OR = {
can_research = Rec_tank_0
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 260 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_1 has_tech = Rec_tank_2 has_tech = Rec_tank_3 has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_1 can_research = Rec_tank_2 can_research = Rec_tank_3 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_1 is_researching_technology = Rec_tank_2 is_researching_technology = Rec_tank_3 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 260 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 264 } }
if = {
limit = { check_variable = { rq_t < 262 } }
if = {
limit = {
NOT = { has_tech = Rec_tank_1 }
NOT = { is_in_array = { array = rq_queue value = 261 } }
NOT = { is_in_array = { array = rq_ap_ban value = 261 } }
NOT = { is_in_array = { array = global.rq_hid value = 261 } }
OR = {
can_research = Rec_tank_1
AND = {
OR = { is_in_array = { array = rq_queue value = 260 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 261 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_2 has_tech = Rec_tank_3 has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_2 can_research = Rec_tank_3 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_2 is_researching_technology = Rec_tank_3 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 261 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 263 } }
if = {
limit = {
NOT = { has_tech = Rec_tank_2 }
NOT = { is_in_array = { array = rq_queue value = 262 } }
NOT = { is_in_array = { array = rq_ap_ban value = 262 } }
NOT = { is_in_array = { array = global.rq_hid value = 262 } }
OR = {
can_research = Rec_tank_2
AND = {
OR = { is_in_array = { array = rq_queue value = 261 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 262 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_3 has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_3 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_3 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 262 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Rec_tank_3 }
NOT = { is_in_array = { array = rq_queue value = 263 } }
NOT = { is_in_array = { array = rq_ap_ban value = 263 } }
NOT = { is_in_array = { array = global.rq_hid value = 263 } }
OR = {
can_research = Rec_tank_3
AND = {
OR = { is_in_array = { array = rq_queue value = 262 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 263 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 263 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 265 } }
if = {
limit = {
NOT = { has_tech = Rec_tank_4 }
NOT = { is_in_array = { array = rq_queue value = 264 } }
NOT = { is_in_array = { array = rq_ap_ban value = 264 } }
NOT = { is_in_array = { array = global.rq_hid value = 264 } }
OR = {
can_research = Rec_tank_4
AND = {
OR = { is_in_array = { array = rq_queue value = 263 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 264 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_5 can_research = Rec_tank_5 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 264 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 266 } }
if = {
limit = {
NOT = { has_tech = Rec_tank_5 }
NOT = { is_in_array = { array = rq_queue value = 265 } }
NOT = { is_in_array = { array = rq_ap_ban value = 265 } }
NOT = { is_in_array = { array = global.rq_hid value = 265 } }
OR = {
can_research = Rec_tank_5
AND = {
OR = { is_in_array = { array = rq_queue value = 264 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 265 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 265 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SAM }
NOT = { is_in_array = { array = rq_queue value = 266 } }
NOT = { is_in_array = { array = rq_ap_ban value = 266 } }
NOT = { is_in_array = { array = global.rq_hid value = 266 } }
OR = {
can_research = SAM
AND = {
OR = { is_in_array = { array = rq_queue value = 356 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 266 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 266 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 273 } }
if = {
limit = { check_variable = { rq_t < 270 } }
if = {
limit = { check_variable = { rq_t < 268 } }
if = {
limit = {
NOT = { has_tech = SAM0 }
NOT = { is_in_array = { array = rq_queue value = 267 } }
NOT = { is_in_array = { array = rq_ap_ban value = 267 } }
NOT = { is_in_array = { array = global.rq_hid value = 267 } }
OR = {
can_research = SAM0
AND = {
OR = { is_in_array = { array = rq_queue value = 266 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 267 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 267 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 269 } }
if = {
limit = {
NOT = { has_tech = SAM0_non_got }
NOT = { is_in_array = { array = rq_queue value = 268 } }
NOT = { is_in_array = { array = rq_ap_ban value = 268 } }
NOT = { is_in_array = { array = global.rq_hid value = 268 } }
OR = {
can_research = SAM0_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 282 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 268 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 268 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SAM1 }
NOT = { is_in_array = { array = rq_queue value = 269 } }
NOT = { is_in_array = { array = rq_ap_ban value = 269 } }
NOT = { is_in_array = { array = global.rq_hid value = 269 } }
OR = {
can_research = SAM1
AND = {
OR = { is_in_array = { array = rq_queue value = 267 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 269 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 269 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 271 } }
if = {
limit = {
NOT = { has_tech = SAM10 }
NOT = { is_in_array = { array = rq_queue value = 270 } }
NOT = { is_in_array = { array = rq_ap_ban value = 270 } }
NOT = { is_in_array = { array = global.rq_hid value = 270 } }
OR = {
can_research = SAM10
AND = {
OR = { is_in_array = { array = rq_queue value = 281 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 270 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 270 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 272 } }
if = {
limit = {
NOT = { has_tech = SAM11 }
NOT = { is_in_array = { array = rq_queue value = 271 } }
NOT = { is_in_array = { array = rq_ap_ban value = 271 } }
NOT = { is_in_array = { array = global.rq_hid value = 271 } }
OR = {
can_research = SAM11
AND = {
OR = { is_in_array = { array = rq_queue value = 270 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 271 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 271 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SAM1_non_got }
NOT = { is_in_array = { array = rq_queue value = 272 } }
NOT = { is_in_array = { array = rq_ap_ban value = 272 } }
NOT = { is_in_array = { array = global.rq_hid value = 272 } }
OR = {
can_research = SAM1_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 268 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 272 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 272 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 276 } }
if = {
limit = { check_variable = { rq_t < 274 } }
if = {
limit = {
NOT = { has_tech = SAM2 }
NOT = { is_in_array = { array = rq_queue value = 273 } }
NOT = { is_in_array = { array = rq_ap_ban value = 273 } }
NOT = { is_in_array = { array = global.rq_hid value = 273 } }
OR = {
can_research = SAM2
AND = {
OR = { is_in_array = { array = rq_queue value = 269 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 273 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 273 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 275 } }
if = {
limit = {
NOT = { has_tech = SAM2_non_got }
NOT = { is_in_array = { array = rq_queue value = 274 } }
NOT = { is_in_array = { array = rq_ap_ban value = 274 } }
NOT = { is_in_array = { array = global.rq_hid value = 274 } }
OR = {
can_research = SAM2_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 272 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 274 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 274 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SAM3 }
NOT = { is_in_array = { array = rq_queue value = 275 } }
NOT = { is_in_array = { array = rq_ap_ban value = 275 } }
NOT = { is_in_array = { array = global.rq_hid value = 275 } }
OR = {
can_research = SAM3
AND = {
OR = { is_in_array = { array = rq_queue value = 273 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 275 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 275 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 277 } }
if = {
limit = {
NOT = { has_tech = SAM4 }
NOT = { is_in_array = { array = rq_queue value = 276 } }
NOT = { is_in_array = { array = rq_ap_ban value = 276 } }
NOT = { is_in_array = { array = global.rq_hid value = 276 } }
OR = {
can_research = SAM4
AND = {
OR = { is_in_array = { array = rq_queue value = 275 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 276 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 276 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 278 } }
if = {
limit = {
NOT = { has_tech = SAM5 }
NOT = { is_in_array = { array = rq_queue value = 277 } }
NOT = { is_in_array = { array = rq_ap_ban value = 277 } }
NOT = { is_in_array = { array = global.rq_hid value = 277 } }
OR = {
can_research = SAM5
AND = {
OR = { is_in_array = { array = rq_queue value = 276 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 277 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 277 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SAM6 }
NOT = { is_in_array = { array = rq_queue value = 278 } }
NOT = { is_in_array = { array = rq_ap_ban value = 278 } }
NOT = { is_in_array = { array = global.rq_hid value = 278 } }
OR = {
can_research = SAM6
AND = {
OR = { is_in_array = { array = rq_queue value = 277 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 278 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 278 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 325 } }
if = {
limit = { check_variable = { rq_t < 302 } }
if = {
limit = { check_variable = { rq_t < 290 } }
if = {
limit = { check_variable = { rq_t < 284 } }
if = {
limit = { check_variable = { rq_t < 281 } }
if = {
limit = { check_variable = { rq_t < 280 } }
if = {
limit = {
NOT = { has_tech = SAM7 }
NOT = { is_in_array = { array = rq_queue value = 279 } }
NOT = { is_in_array = { array = rq_ap_ban value = 279 } }
NOT = { is_in_array = { array = global.rq_hid value = 279 } }
OR = {
can_research = SAM7
AND = {
OR = { is_in_array = { array = rq_queue value = 278 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 279 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 279 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SAM8 }
NOT = { is_in_array = { array = rq_queue value = 280 } }
NOT = { is_in_array = { array = rq_ap_ban value = 280 } }
NOT = { is_in_array = { array = global.rq_hid value = 280 } }
OR = {
can_research = SAM8
AND = {
OR = { is_in_array = { array = rq_queue value = 279 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 280 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 280 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 282 } }
if = {
limit = {
NOT = { has_tech = SAM9 }
NOT = { is_in_array = { array = rq_queue value = 281 } }
NOT = { is_in_array = { array = rq_ap_ban value = 281 } }
NOT = { is_in_array = { array = global.rq_hid value = 281 } }
OR = {
can_research = SAM9
AND = {
OR = { is_in_array = { array = rq_queue value = 280 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 281 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 281 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 283 } }
if = {
limit = {
NOT = { has_tech = SAM_non_got }
NOT = { is_in_array = { array = rq_queue value = 282 } }
NOT = { is_in_array = { array = rq_ap_ban value = 282 } }
NOT = { is_in_array = { array = global.rq_hid value = 282 } }
OR = {
can_research = SAM_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 357 } }
ROOT = { is_special_project_completed = sp:sp_missile_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 282 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 282 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SPYSAT1 }
NOT = { is_in_array = { array = rq_queue value = 283 } }
NOT = { is_in_array = { array = rq_ap_ban value = 283 } }
NOT = { is_in_array = { array = global.rq_hid value = 283 } }
OR = {
can_research = SPYSAT1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 283 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 283 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 287 } }
if = {
limit = { check_variable = { rq_t < 285 } }
if = {
limit = {
NOT = { has_tech = SPYSAT10 }
NOT = { is_in_array = { array = rq_queue value = 284 } }
NOT = { is_in_array = { array = rq_ap_ban value = 284 } }
NOT = { is_in_array = { array = global.rq_hid value = 284 } }
OR = {
can_research = SPYSAT10
AND = {
OR = { is_in_array = { array = rq_queue value = 294 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 284 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 284 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 286 } }
if = {
limit = {
NOT = { has_tech = SPYSAT11 }
NOT = { is_in_array = { array = rq_queue value = 285 } }
NOT = { is_in_array = { array = rq_ap_ban value = 285 } }
NOT = { is_in_array = { array = global.rq_hid value = 285 } }
OR = {
can_research = SPYSAT11
AND = {
OR = { is_in_array = { array = rq_queue value = 284 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 285 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 285 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SPYSAT12 }
NOT = { is_in_array = { array = rq_queue value = 286 } }
NOT = { is_in_array = { array = rq_ap_ban value = 286 } }
NOT = { is_in_array = { array = global.rq_hid value = 286 } }
OR = {
can_research = SPYSAT12
AND = {
OR = { is_in_array = { array = rq_queue value = 285 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 286 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 286 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 288 } }
if = {
limit = {
NOT = { has_tech = SPYSAT2 }
NOT = { is_in_array = { array = rq_queue value = 287 } }
NOT = { is_in_array = { array = rq_ap_ban value = 287 } }
NOT = { is_in_array = { array = global.rq_hid value = 287 } }
OR = {
can_research = SPYSAT2
AND = {
OR = { is_in_array = { array = rq_queue value = 283 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 287 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 287 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 289 } }
if = {
limit = {
NOT = { has_tech = SPYSAT3 }
NOT = { is_in_array = { array = rq_queue value = 288 } }
NOT = { is_in_array = { array = rq_ap_ban value = 288 } }
NOT = { is_in_array = { array = global.rq_hid value = 288 } }
OR = {
can_research = SPYSAT3
AND = {
OR = { is_in_array = { array = rq_queue value = 287 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 288 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 288 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SPYSAT4 }
NOT = { is_in_array = { array = rq_queue value = 289 } }
NOT = { is_in_array = { array = rq_ap_ban value = 289 } }
NOT = { is_in_array = { array = global.rq_hid value = 289 } }
OR = {
can_research = SPYSAT4
AND = {
OR = { is_in_array = { array = rq_queue value = 288 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 289 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 289 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 296 } }
if = {
limit = { check_variable = { rq_t < 293 } }
if = {
limit = { check_variable = { rq_t < 291 } }
if = {
limit = {
NOT = { has_tech = SPYSAT5 }
NOT = { is_in_array = { array = rq_queue value = 290 } }
NOT = { is_in_array = { array = rq_ap_ban value = 290 } }
NOT = { is_in_array = { array = global.rq_hid value = 290 } }
OR = {
can_research = SPYSAT5
AND = {
OR = { is_in_array = { array = rq_queue value = 289 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 290 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 290 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 292 } }
if = {
limit = {
NOT = { has_tech = SPYSAT6 }
NOT = { is_in_array = { array = rq_queue value = 291 } }
NOT = { is_in_array = { array = rq_ap_ban value = 291 } }
NOT = { is_in_array = { array = global.rq_hid value = 291 } }
OR = {
can_research = SPYSAT6
AND = {
OR = { is_in_array = { array = rq_queue value = 290 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 291 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 291 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SPYSAT7 }
NOT = { is_in_array = { array = rq_queue value = 292 } }
NOT = { is_in_array = { array = rq_ap_ban value = 292 } }
NOT = { is_in_array = { array = global.rq_hid value = 292 } }
OR = {
can_research = SPYSAT7
AND = {
OR = { is_in_array = { array = rq_queue value = 291 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 292 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 292 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 294 } }
if = {
limit = {
NOT = { has_tech = SPYSAT8 }
NOT = { is_in_array = { array = rq_queue value = 293 } }
NOT = { is_in_array = { array = rq_ap_ban value = 293 } }
NOT = { is_in_array = { array = global.rq_hid value = 293 } }
OR = {
can_research = SPYSAT8
AND = {
OR = { is_in_array = { array = rq_queue value = 292 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 293 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 293 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 295 } }
if = {
limit = {
NOT = { has_tech = SPYSAT9 }
NOT = { is_in_array = { array = rq_queue value = 294 } }
NOT = { is_in_array = { array = rq_ap_ban value = 294 } }
NOT = { is_in_array = { array = global.rq_hid value = 294 } }
OR = {
can_research = SPYSAT9
AND = {
OR = { is_in_array = { array = rq_queue value = 293 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 294 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 294 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SP_Anti_Air_0 }
NOT = { is_in_array = { array = rq_queue value = 295 } }
NOT = { is_in_array = { array = rq_ap_ban value = 295 } }
NOT = { is_in_array = { array = global.rq_hid value = 295 } }
OR = {
can_research = SP_Anti_Air_0
AND = {
OR = { is_in_array = { array = rq_queue value = 48 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 295 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 295 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 299 } }
if = {
limit = { check_variable = { rq_t < 297 } }
if = {
limit = {
NOT = { has_tech = SP_Anti_Air_1 }
NOT = { is_in_array = { array = rq_queue value = 296 } }
NOT = { is_in_array = { array = rq_ap_ban value = 296 } }
NOT = { is_in_array = { array = global.rq_hid value = 296 } }
OR = {
can_research = SP_Anti_Air_1
AND = {
OR = { is_in_array = { array = rq_queue value = 49 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 296 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 296 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 298 } }
if = {
limit = {
NOT = { has_tech = SP_Anti_Air_2 }
NOT = { is_in_array = { array = rq_queue value = 297 } }
NOT = { is_in_array = { array = rq_ap_ban value = 297 } }
NOT = { is_in_array = { array = global.rq_hid value = 297 } }
OR = {
can_research = SP_Anti_Air_2
AND = {
OR = { is_in_array = { array = rq_queue value = 50 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 297 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 297 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SP_Anti_Air_3 }
NOT = { is_in_array = { array = rq_queue value = 298 } }
NOT = { is_in_array = { array = rq_ap_ban value = 298 } }
NOT = { is_in_array = { array = global.rq_hid value = 298 } }
OR = {
can_research = SP_Anti_Air_3
AND = {
OR = { is_in_array = { array = rq_queue value = 51 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 298 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 298 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 300 } }
if = {
limit = {
NOT = { has_tech = SP_Anti_Air_4 }
NOT = { is_in_array = { array = rq_queue value = 299 } }
NOT = { is_in_array = { array = rq_ap_ban value = 299 } }
NOT = { is_in_array = { array = global.rq_hid value = 299 } }
OR = {
can_research = SP_Anti_Air_4
AND = {
OR = { is_in_array = { array = rq_queue value = 52 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 299 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 299 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 301 } }
if = {
limit = {
NOT = { has_tech = SP_R_arty_0 }
NOT = { is_in_array = { array = rq_queue value = 300 } }
NOT = { is_in_array = { array = rq_ap_ban value = 300 } }
NOT = { is_in_array = { array = global.rq_hid value = 300 } }
OR = {
can_research = SP_R_arty_0
AND = {
OR = { is_in_array = { array = rq_queue value = 1257 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 300 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 300 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SP_R_arty_1 }
NOT = { is_in_array = { array = rq_queue value = 301 } }
NOT = { is_in_array = { array = rq_ap_ban value = 301 } }
NOT = { is_in_array = { array = global.rq_hid value = 301 } }
OR = {
can_research = SP_R_arty_1
AND = {
OR = { is_in_array = { array = rq_queue value = 306 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 301 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 301 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 313 } }
if = {
limit = { check_variable = { rq_t < 307 } }
if = {
limit = { check_variable = { rq_t < 304 } }
if = {
limit = { check_variable = { rq_t < 303 } }
if = {
limit = {
NOT = { has_tech = SP_R_arty_2 }
NOT = { is_in_array = { array = rq_queue value = 302 } }
NOT = { is_in_array = { array = rq_ap_ban value = 302 } }
NOT = { is_in_array = { array = global.rq_hid value = 302 } }
OR = {
can_research = SP_R_arty_2
AND = {
OR = { is_in_array = { array = rq_queue value = 307 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 302 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 302 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SP_R_arty_3 }
NOT = { is_in_array = { array = rq_queue value = 303 } }
NOT = { is_in_array = { array = rq_ap_ban value = 303 } }
NOT = { is_in_array = { array = global.rq_hid value = 303 } }
OR = {
can_research = SP_R_arty_3
AND = {
OR = { is_in_array = { array = rq_queue value = 308 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 303 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 303 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 305 } }
if = {
limit = {
NOT = { has_tech = SP_R_arty_4 }
NOT = { is_in_array = { array = rq_queue value = 304 } }
NOT = { is_in_array = { array = rq_ap_ban value = 304 } }
NOT = { is_in_array = { array = global.rq_hid value = 304 } }
OR = {
can_research = SP_R_arty_4
AND = {
OR = { is_in_array = { array = rq_queue value = 309 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 304 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 304 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 306 } }
if = {
limit = {
NOT = { has_tech = SP_arty_0 }
NOT = { is_in_array = { array = rq_queue value = 305 } }
NOT = { is_in_array = { array = rq_ap_ban value = 305 } }
NOT = { is_in_array = { array = global.rq_hid value = 305 } }
OR = {
can_research = SP_arty_0
AND = {
OR = { is_in_array = { array = rq_queue value = 1257 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 305 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 305 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SP_arty_1 }
NOT = { is_in_array = { array = rq_queue value = 306 } }
NOT = { is_in_array = { array = rq_ap_ban value = 306 } }
NOT = { is_in_array = { array = global.rq_hid value = 306 } }
OR = {
can_research = SP_arty_1
AND = {
OR = { is_in_array = { array = rq_queue value = 405 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 306 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 306 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 310 } }
if = {
limit = { check_variable = { rq_t < 308 } }
if = {
limit = {
NOT = { has_tech = SP_arty_2 }
NOT = { is_in_array = { array = rq_queue value = 307 } }
NOT = { is_in_array = { array = rq_ap_ban value = 307 } }
NOT = { is_in_array = { array = global.rq_hid value = 307 } }
OR = {
can_research = SP_arty_2
AND = {
OR = { is_in_array = { array = rq_queue value = 407 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 307 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 307 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 309 } }
if = {
limit = {
NOT = { has_tech = SP_arty_3 }
NOT = { is_in_array = { array = rq_queue value = 308 } }
NOT = { is_in_array = { array = rq_ap_ban value = 308 } }
NOT = { is_in_array = { array = global.rq_hid value = 308 } }
OR = {
can_research = SP_arty_3
AND = {
OR = { is_in_array = { array = rq_queue value = 408 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 308 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 308 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = SP_arty_4 }
NOT = { is_in_array = { array = rq_queue value = 309 } }
NOT = { is_in_array = { array = rq_ap_ban value = 309 } }
NOT = { is_in_array = { array = global.rq_hid value = 309 } }
OR = {
can_research = SP_arty_4
AND = {
OR = { is_in_array = { array = rq_queue value = 409 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 309 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 309 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 311 } }
if = {
limit = {
NOT = { has_tech = Strike_fighter1 }
NOT = { is_in_array = { array = rq_queue value = 310 } }
NOT = { is_in_array = { array = rq_ap_ban value = 310 } }
NOT = { is_in_array = { array = global.rq_hid value = 310 } }
OR = {
can_research = Strike_fighter1
AND = {
OR = { is_in_array = { array = rq_queue value = 606 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 310 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 310 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 312 } }
if = {
limit = {
NOT = { has_tech = Strike_fighter2 }
NOT = { is_in_array = { array = rq_queue value = 311 } }
NOT = { is_in_array = { array = rq_ap_ban value = 311 } }
NOT = { is_in_array = { array = global.rq_hid value = 311 } }
OR = {
can_research = Strike_fighter2
AND = {
OR = { is_in_array = { array = rq_queue value = 310 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 311 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 311 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Strike_fighter3 }
NOT = { is_in_array = { array = rq_queue value = 312 } }
NOT = { is_in_array = { array = rq_ap_ban value = 312 } }
NOT = { is_in_array = { array = global.rq_hid value = 312 } }
OR = {
can_research = Strike_fighter3
AND = {
OR = { is_in_array = { array = rq_queue value = 1211 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 312 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = Strike_fighter4 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = Strike_fighter4 date > 2032.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 312 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 319 } }
if = {
limit = { check_variable = { rq_t < 316 } }
if = {
limit = { check_variable = { rq_t < 314 } }
if = {
limit = {
NOT = { has_tech = Strike_fighter4 }
NOT = { is_in_array = { array = rq_queue value = 313 } }
NOT = { is_in_array = { array = rq_ap_ban value = 313 } }
NOT = { is_in_array = { array = global.rq_hid value = 313 } }
OR = {
can_research = Strike_fighter4
AND = {
OR = { is_in_array = { array = rq_queue value = 1211 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 313 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 313 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 315 } }
if = {
limit = {
NOT = { has_tech = Strike_fighter5 }
NOT = { is_in_array = { array = rq_queue value = 314 } }
NOT = { is_in_array = { array = rq_ap_ban value = 314 } }
NOT = { is_in_array = { array = global.rq_hid value = 314 } }
OR = {
can_research = Strike_fighter5
AND = {
OR = { is_in_array = { array = rq_queue value = 1212 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 314 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_tech = Strike_fighter6 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = Strike_fighter6 date > 2022.01.01 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 314 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = Strike_fighter6 }
NOT = { is_in_array = { array = rq_queue value = 315 } }
NOT = { is_in_array = { array = rq_ap_ban value = 315 } }
NOT = { is_in_array = { array = global.rq_hid value = 315 } }
OR = {
can_research = Strike_fighter6
AND = {
OR = { is_in_array = { array = rq_queue value = 1212 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 315 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 315 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 317 } }
if = {
limit = {
NOT = { has_tech = Strike_fighter7 }
NOT = { is_in_array = { array = rq_queue value = 316 } }
NOT = { is_in_array = { array = rq_ap_ban value = 316 } }
NOT = { is_in_array = { array = global.rq_hid value = 316 } }
OR = {
can_research = Strike_fighter7
AND = {
OR = { is_in_array = { array = rq_queue value = 1213 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 316 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 316 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 318 } }
if = {
limit = {
NOT = { has_tech = TEL_3 }
NOT = { is_in_array = { array = rq_queue value = 317 } }
NOT = { is_in_array = { array = rq_ap_ban value = 317 } }
NOT = { is_in_array = { array = global.rq_hid value = 317 } }
OR = {
can_research = TEL_3
AND = {
OR = { is_in_array = { array = rq_queue value = 327 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 317 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 317 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = TEL_3_non_got }
NOT = { is_in_array = { array = rq_queue value = 318 } }
NOT = { is_in_array = { array = rq_ap_ban value = 318 } }
NOT = { is_in_array = { array = global.rq_hid value = 318 } }
OR = {
can_research = TEL_3_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 328 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 318 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 318 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 322 } }
if = {
limit = { check_variable = { rq_t < 320 } }
if = {
limit = {
NOT = { has_tech = TEL_4 }
NOT = { is_in_array = { array = rq_queue value = 319 } }
NOT = { is_in_array = { array = rq_ap_ban value = 319 } }
NOT = { is_in_array = { array = global.rq_hid value = 319 } }
OR = {
can_research = TEL_4
AND = {
OR = { is_in_array = { array = rq_queue value = 317 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 319 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 319 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 321 } }
if = {
limit = {
NOT = { has_tech = TEL_4_non_got }
NOT = { is_in_array = { array = rq_queue value = 320 } }
NOT = { is_in_array = { array = rq_ap_ban value = 320 } }
NOT = { is_in_array = { array = global.rq_hid value = 320 } }
OR = {
can_research = TEL_4_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 318 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 320 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 320 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = TEL_5 }
NOT = { is_in_array = { array = rq_queue value = 321 } }
NOT = { is_in_array = { array = rq_ap_ban value = 321 } }
NOT = { is_in_array = { array = global.rq_hid value = 321 } }
OR = {
can_research = TEL_5
AND = {
OR = { is_in_array = { array = rq_queue value = 319 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 321 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 321 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 323 } }
if = {
limit = {
NOT = { has_tech = TEL_5_non_got }
NOT = { is_in_array = { array = rq_queue value = 322 } }
NOT = { is_in_array = { array = rq_ap_ban value = 322 } }
NOT = { is_in_array = { array = global.rq_hid value = 322 } }
OR = {
can_research = TEL_5_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 320 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 322 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 322 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 324 } }
if = {
limit = {
NOT = { has_tech = TEL_6 }
NOT = { is_in_array = { array = rq_queue value = 323 } }
NOT = { is_in_array = { array = rq_ap_ban value = 323 } }
NOT = { is_in_array = { array = global.rq_hid value = 323 } }
OR = {
can_research = TEL_6
AND = {
OR = { is_in_array = { array = rq_queue value = 321 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 323 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 323 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = TEL_6_non_got }
NOT = { is_in_array = { array = rq_queue value = 324 } }
NOT = { is_in_array = { array = rq_ap_ban value = 324 } }
NOT = { is_in_array = { array = global.rq_hid value = 324 } }
OR = {
can_research = TEL_6_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 322 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 324 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 324 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 348 } }
if = {
limit = { check_variable = { rq_t < 336 } }
if = {
limit = { check_variable = { rq_t < 330 } }
if = {
limit = { check_variable = { rq_t < 327 } }
if = {
limit = { check_variable = { rq_t < 326 } }
if = {
limit = {
NOT = { has_tech = TEL_7 }
NOT = { is_in_array = { array = rq_queue value = 325 } }
NOT = { is_in_array = { array = rq_ap_ban value = 325 } }
NOT = { is_in_array = { array = global.rq_hid value = 325 } }
OR = {
can_research = TEL_7
AND = {
OR = { is_in_array = { array = rq_queue value = 323 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 325 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 325 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = TEL_7_non_got }
NOT = { is_in_array = { array = rq_queue value = 326 } }
NOT = { is_in_array = { array = rq_ap_ban value = 326 } }
NOT = { is_in_array = { array = global.rq_hid value = 326 } }
OR = {
can_research = TEL_7_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 324 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 326 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 326 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 328 } }
if = {
limit = {
NOT = { has_tech = TEL_launched_missiles }
NOT = { is_in_array = { array = rq_queue value = 327 } }
NOT = { is_in_array = { array = rq_ap_ban value = 327 } }
NOT = { is_in_array = { array = global.rq_hid value = 327 } }
OR = {
can_research = TEL_launched_missiles
AND = {
OR = { is_in_array = { array = rq_queue value = 105 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 327 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 327 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 329 } }
if = {
limit = {
NOT = { has_tech = TEL_launched_missiles_non_got }
NOT = { is_in_array = { array = rq_queue value = 328 } }
NOT = { is_in_array = { array = rq_ap_ban value = 328 } }
NOT = { is_in_array = { array = global.rq_hid value = 328 } }
OR = {
can_research = TEL_launched_missiles_non_got
AND = {
OR = { is_in_array = { array = rq_queue value = 126 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 328 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 328 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = advanced_modern_renewables }
NOT = { is_in_array = { array = rq_queue value = 329 } }
NOT = { is_in_array = { array = rq_ap_ban value = 329 } }
NOT = { is_in_array = { array = global.rq_hid value = 329 } }
OR = {
can_research = advanced_modern_renewables
AND = {
OR = { is_in_array = { array = rq_queue value = 781 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 329 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 329 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 333 } }
if = {
limit = { check_variable = { rq_t < 331 } }
if = {
limit = {
NOT = { has_tech = advanced_renewables }
NOT = { is_in_array = { array = rq_queue value = 330 } }
NOT = { is_in_array = { array = rq_ap_ban value = 330 } }
NOT = { is_in_array = { array = global.rq_hid value = 330 } }
OR = {
can_research = advanced_renewables
AND = {
OR = { is_in_array = { array = rq_queue value = 782 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 330 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 330 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 332 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 334 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 335 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 342 } }
if = {
limit = { check_variable = { rq_t < 339 } }
if = {
limit = { check_variable = { rq_t < 337 } }
if = {
limit = {
NOT = { has_tech = ag_weapons_1 }
NOT = { is_in_array = { array = rq_queue value = 336 } }
NOT = { is_in_array = { array = rq_ap_ban value = 336 } }
NOT = { is_in_array = { array = global.rq_hid value = 336 } }
OR = {
can_research = ag_weapons_1
AND = {
OR = { is_in_array = { array = rq_queue value = 610 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 336 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 336 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 338 } }
if = {
limit = {
NOT = { has_tech = ag_weapons_2 }
NOT = { is_in_array = { array = rq_queue value = 337 } }
NOT = { is_in_array = { array = rq_ap_ban value = 337 } }
NOT = { is_in_array = { array = global.rq_hid value = 337 } }
OR = {
can_research = ag_weapons_2
AND = {
OR = { is_in_array = { array = rq_queue value = 336 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 337 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 337 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = ag_weapons_3 }
NOT = { is_in_array = { array = rq_queue value = 338 } }
NOT = { is_in_array = { array = rq_ap_ban value = 338 } }
NOT = { is_in_array = { array = global.rq_hid value = 338 } }
OR = {
can_research = ag_weapons_3
AND = {
OR = { is_in_array = { array = rq_queue value = 337 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 338 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 338 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 340 } }
if = {
limit = {
NOT = { has_tech = ag_weapons_4 }
NOT = { is_in_array = { array = rq_queue value = 339 } }
NOT = { is_in_array = { array = rq_ap_ban value = 339 } }
NOT = { is_in_array = { array = global.rq_hid value = 339 } }
OR = {
can_research = ag_weapons_4
AND = {
OR = { is_in_array = { array = rq_queue value = 338 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 339 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 339 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 341 } }
if = {
limit = {
NOT = { has_tech = ag_weapons_5 }
NOT = { is_in_array = { array = rq_queue value = 340 } }
NOT = { is_in_array = { array = rq_ap_ban value = 340 } }
NOT = { is_in_array = { array = global.rq_hid value = 340 } }
OR = {
can_research = ag_weapons_5
AND = {
OR = { is_in_array = { array = rq_queue value = 339 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 340 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 340 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = ag_weapons_6 }
NOT = { is_in_array = { array = rq_queue value = 341 } }
NOT = { is_in_array = { array = rq_ap_ban value = 341 } }
NOT = { is_in_array = { array = global.rq_hid value = 341 } }
OR = {
can_research = ag_weapons_6
AND = {
OR = { is_in_array = { array = rq_queue value = 340 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 341 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 341 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 345 } }
if = {
limit = { check_variable = { rq_t < 343 } }
if = {
limit = {
NOT = { has_tech = agriculture_1 }
NOT = { is_in_array = { array = rq_queue value = 342 } }
NOT = { is_in_array = { array = rq_ap_ban value = 342 } }
NOT = { is_in_array = { array = global.rq_hid value = 342 } }
OR = {
can_research = agriculture_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 342 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 342 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 344 } }
if = {
limit = {
NOT = { has_tech = agriculture_10 }
NOT = { is_in_array = { array = rq_queue value = 343 } }
NOT = { is_in_array = { array = rq_ap_ban value = 343 } }
NOT = { is_in_array = { array = global.rq_hid value = 343 } }
OR = {
can_research = agriculture_10
AND = {
OR = { is_in_array = { array = rq_queue value = 354 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 343 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 343 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = agriculture_11 }
NOT = { is_in_array = { array = rq_queue value = 344 } }
NOT = { is_in_array = { array = rq_ap_ban value = 344 } }
NOT = { is_in_array = { array = global.rq_hid value = 344 } }
OR = {
can_research = agriculture_11
AND = {
OR = { is_in_array = { array = rq_queue value = 343 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 344 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 344 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 346 } }
if = {
limit = {
NOT = { has_tech = agriculture_12 }
NOT = { is_in_array = { array = rq_queue value = 345 } }
NOT = { is_in_array = { array = rq_ap_ban value = 345 } }
NOT = { is_in_array = { array = global.rq_hid value = 345 } }
OR = {
can_research = agriculture_12
AND = {
OR = { is_in_array = { array = rq_queue value = 344 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 345 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 345 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 347 } }
if = {
limit = {
NOT = { has_tech = agriculture_13 }
NOT = { is_in_array = { array = rq_queue value = 346 } }
NOT = { is_in_array = { array = rq_ap_ban value = 346 } }
NOT = { is_in_array = { array = global.rq_hid value = 346 } }
OR = {
can_research = agriculture_13
AND = {
OR = { is_in_array = { array = rq_queue value = 345 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 346 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 346 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = agriculture_2 }
NOT = { is_in_array = { array = rq_queue value = 347 } }
NOT = { is_in_array = { array = rq_ap_ban value = 347 } }
NOT = { is_in_array = { array = global.rq_hid value = 347 } }
OR = {
can_research = agriculture_2
AND = {
OR = { is_in_array = { array = rq_queue value = 342 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 347 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 347 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 360 } }
if = {
limit = { check_variable = { rq_t < 354 } }
if = {
limit = { check_variable = { rq_t < 351 } }
if = {
limit = { check_variable = { rq_t < 349 } }
if = {
limit = {
NOT = { has_tech = agriculture_3 }
NOT = { is_in_array = { array = rq_queue value = 348 } }
NOT = { is_in_array = { array = rq_ap_ban value = 348 } }
NOT = { is_in_array = { array = global.rq_hid value = 348 } }
OR = {
can_research = agriculture_3
AND = {
OR = { is_in_array = { array = rq_queue value = 347 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 348 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 348 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 350 } }
if = {
limit = {
NOT = { has_tech = agriculture_4 }
NOT = { is_in_array = { array = rq_queue value = 349 } }
NOT = { is_in_array = { array = rq_ap_ban value = 349 } }
NOT = { is_in_array = { array = global.rq_hid value = 349 } }
OR = {
can_research = agriculture_4
AND = {
OR = { is_in_array = { array = rq_queue value = 348 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 349 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 349 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = agriculture_5 }
NOT = { is_in_array = { array = rq_queue value = 350 } }
NOT = { is_in_array = { array = rq_ap_ban value = 350 } }
NOT = { is_in_array = { array = global.rq_hid value = 350 } }
OR = {
can_research = agriculture_5
AND = {
OR = { is_in_array = { array = rq_queue value = 349 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 350 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 350 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 352 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 353 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 357 } }
if = {
limit = { check_variable = { rq_t < 355 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 356 } }
}
else = {
if = {
limit = {
NOT = { has_tech = air_defense }
NOT = { is_in_array = { array = rq_queue value = 356 } }
NOT = { is_in_array = { array = rq_ap_ban value = 356 } }
NOT = { is_in_array = { array = global.rq_hid value = 356 } }
OR = {
can_research = air_defense
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 356 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 356 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 358 } }
if = {
limit = {
NOT = { has_tech = air_defense_non_got }
NOT = { is_in_array = { array = rq_queue value = 357 } }
NOT = { is_in_array = { array = rq_ap_ban value = 357 } }
NOT = { is_in_array = { array = global.rq_hid value = 357 } }
OR = {
can_research = air_defense_non_got
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 357 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 357 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 359 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 366 } }
if = {
limit = { check_variable = { rq_t < 363 } }
if = {
limit = { check_variable = { rq_t < 361 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 362 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 364 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 365 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 369 } }
if = {
limit = { check_variable = { rq_t < 367 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 368 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 370 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 371 } }
}
else = {
if = {
limit = {
NOT = { has_tech = air_weapons_1 }
NOT = { is_in_array = { array = rq_queue value = 371 } }
NOT = { is_in_array = { array = rq_ap_ban value = 371 } }
NOT = { is_in_array = { array = global.rq_hid value = 371 } }
OR = {
can_research = air_weapons_1
AND = {
OR = { is_in_array = { array = rq_queue value = 610 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 371 }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 371 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 558 } }
if = {
limit = { check_variable = { rq_t < 465 } }
if = {
limit = { check_variable = { rq_t < 418 } }
if = {
limit = { check_variable = { rq_t < 395 } }
if = {
limit = { check_variable = { rq_t < 383 } }
if = {
limit = { check_variable = { rq_t < 377 } }
if = {
limit = { check_variable = { rq_t < 374 } }
if = {
limit = { check_variable = { rq_t < 373 } }
if = {
limit = {
NOT = { has_tech = air_weapons_2 }
NOT = { is_in_array = { array = rq_queue value = 372 } }
NOT = { is_in_array = { array = rq_ap_ban value = 372 } }
NOT = { is_in_array = { array = global.rq_hid value = 372 } }
OR = {
can_research = air_weapons_2
AND = {
OR = { is_in_array = { array = rq_queue value = 371 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 372 }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 372 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = air_weapons_3 }
NOT = { is_in_array = { array = rq_queue value = 373 } }
NOT = { is_in_array = { array = rq_ap_ban value = 373 } }
NOT = { is_in_array = { array = global.rq_hid value = 373 } }
OR = {
can_research = air_weapons_3
AND = {
OR = { is_in_array = { array = rq_queue value = 372 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 373 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 373 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 375 } }
if = {
limit = {
NOT = { has_tech = air_weapons_4 }
NOT = { is_in_array = { array = rq_queue value = 374 } }
NOT = { is_in_array = { array = rq_ap_ban value = 374 } }
NOT = { is_in_array = { array = global.rq_hid value = 374 } }
OR = {
can_research = air_weapons_4
AND = {
OR = { is_in_array = { array = rq_queue value = 373 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 374 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 374 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 376 } }
if = {
limit = {
NOT = { has_tech = air_weapons_5 }
NOT = { is_in_array = { array = rq_queue value = 375 } }
NOT = { is_in_array = { array = rq_ap_ban value = 375 } }
NOT = { is_in_array = { array = global.rq_hid value = 375 } }
OR = {
can_research = air_weapons_5
AND = {
OR = { is_in_array = { array = rq_queue value = 374 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 375 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 375 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = air_weapons_6 }
NOT = { is_in_array = { array = rq_queue value = 376 } }
NOT = { is_in_array = { array = rq_ap_ban value = 376 } }
NOT = { is_in_array = { array = global.rq_hid value = 376 } }
OR = {
can_research = air_weapons_6
AND = {
OR = { is_in_array = { array = rq_queue value = 375 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 376 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 376 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 380 } }
if = {
limit = { check_variable = { rq_t < 378 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 379 } }
if = {
limit = {
NOT = { has_tech = aircraft_carrier_engineering }
NOT = { is_in_array = { array = rq_queue value = 378 } }
NOT = { is_in_array = { array = rq_ap_ban value = 378 } }
NOT = { is_in_array = { array = global.rq_hid value = 378 } }
OR = {
can_research = aircraft_carrier_engineering
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 378 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 378 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = aircraft_carrier_engineering_2 }
NOT = { is_in_array = { array = rq_queue value = 379 } }
NOT = { is_in_array = { array = rq_ap_ban value = 379 } }
NOT = { is_in_array = { array = global.rq_hid value = 379 } }
OR = {
can_research = aircraft_carrier_engineering_2
AND = {
OR = { is_in_array = { array = rq_queue value = 484 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 379 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2051.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 379 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 381 } }
if = {
limit = {
NOT = { has_tech = aircraft_heli_engineering_1 }
NOT = { is_in_array = { array = rq_queue value = 380 } }
NOT = { is_in_array = { array = rq_ap_ban value = 380 } }
NOT = { is_in_array = { array = global.rq_hid value = 380 } }
OR = {
can_research = aircraft_heli_engineering_1
AND = {
OR = { is_in_array = { array = rq_queue value = 378 } }
ROOT = { OR = { AND = { has_dlc = "No Step Back" has_tech = nsb_transport_helicopter_1 } AND = { NOT = { has_dlc = "No Step Back" } has_tech = transport_helicopter_1 } } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 380 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 380 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 382 } }
if = {
limit = {
NOT = { has_tech = aircraft_heli_engineering_2 }
NOT = { is_in_array = { array = rq_queue value = 381 } }
NOT = { is_in_array = { array = rq_ap_ban value = 381 } }
NOT = { is_in_array = { array = global.rq_hid value = 381 } }
OR = {
can_research = aircraft_heli_engineering_2
AND = {
OR = { is_in_array = { array = rq_queue value = 753 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 381 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 381 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = aircraft_heli_engineering_3 }
NOT = { is_in_array = { array = rq_queue value = 382 } }
NOT = { is_in_array = { array = rq_ap_ban value = 382 } }
NOT = { is_in_array = { array = global.rq_hid value = 382 } }
OR = {
can_research = aircraft_heli_engineering_3
AND = {
OR = { is_in_array = { array = rq_queue value = 754 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 382 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 382 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 389 } }
if = {
limit = { check_variable = { rq_t < 386 } }
if = {
limit = { check_variable = { rq_t < 384 } }
if = {
limit = {
NOT = { has_tech = aircraft_heli_engineering_4 }
NOT = { is_in_array = { array = rq_queue value = 383 } }
NOT = { is_in_array = { array = rq_ap_ban value = 383 } }
NOT = { is_in_array = { array = global.rq_hid value = 383 } }
OR = {
can_research = aircraft_heli_engineering_4
AND = {
OR = { is_in_array = { array = rq_queue value = 756 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 383 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2051.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 383 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 385 } }
if = {
limit = {
NOT = { has_tech = armor_tech }
NOT = { is_in_array = { array = rq_queue value = 384 } }
NOT = { is_in_array = { array = rq_ap_ban value = 384 } }
NOT = { is_in_array = { array = global.rq_hid value = 384 } }
OR = {
can_research = armor_tech
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 384 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 384 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = armor_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 385 } }
NOT = { is_in_array = { array = rq_ap_ban value = 385 } }
NOT = { is_in_array = { array = global.rq_hid value = 385 } }
OR = {
can_research = armor_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 384 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 385 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 385 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 387 } }
if = {
limit = {
NOT = { has_tech = armor_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 386 } }
NOT = { is_in_array = { array = rq_ap_ban value = 386 } }
NOT = { is_in_array = { array = global.rq_hid value = 386 } }
OR = {
can_research = armor_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 385 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 386 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_armor_tech_3 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 386 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 388 } }
if = {
limit = {
NOT = { has_tech = armor_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 387 } }
NOT = { is_in_array = { array = rq_ap_ban value = 387 } }
NOT = { is_in_array = { array = global.rq_hid value = 387 } }
OR = {
can_research = armor_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 386 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 387 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 387 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = armor_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 388 } }
NOT = { is_in_array = { array = rq_ap_ban value = 388 } }
NOT = { is_in_array = { array = global.rq_hid value = 388 } }
OR = {
can_research = armor_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 387 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 388 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 388 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 392 } }
if = {
limit = { check_variable = { rq_t < 390 } }
if = {
limit = {
NOT = { has_tech = armor_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 389 } }
NOT = { is_in_array = { array = rq_ap_ban value = 389 } }
NOT = { is_in_array = { array = global.rq_hid value = 389 } }
OR = {
can_research = armor_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 388 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 389 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 389 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 391 } }
}
else = {
if = {
limit = {
NOT = { has_tech = artificial_intelligence_1 }
NOT = { is_in_array = { array = rq_queue value = 391 } }
NOT = { is_in_array = { array = rq_ap_ban value = 391 } }
NOT = { is_in_array = { array = global.rq_hid value = 391 } }
OR = {
can_research = artificial_intelligence_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 391 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 391 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 393 } }
if = {
limit = {
NOT = { has_tech = artificial_intelligence_10 }
NOT = { is_in_array = { array = rq_queue value = 392 } }
NOT = { is_in_array = { array = rq_ap_ban value = 392 } }
NOT = { is_in_array = { array = global.rq_hid value = 392 } }
OR = {
can_research = artificial_intelligence_10
AND = {
OR = { is_in_array = { array = rq_queue value = 404 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 392 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 392 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 394 } }
if = {
limit = {
NOT = { has_tech = artificial_intelligence_11 }
NOT = { is_in_array = { array = rq_queue value = 393 } }
NOT = { is_in_array = { array = rq_ap_ban value = 393 } }
NOT = { is_in_array = { array = global.rq_hid value = 393 } }
OR = {
can_research = artificial_intelligence_11
AND = {
OR = { is_in_array = { array = rq_queue value = 392 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 393 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 393 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = artificial_intelligence_12 }
NOT = { is_in_array = { array = rq_queue value = 394 } }
NOT = { is_in_array = { array = rq_ap_ban value = 394 } }
NOT = { is_in_array = { array = global.rq_hid value = 394 } }
OR = {
can_research = artificial_intelligence_12
AND = {
OR = { is_in_array = { array = rq_queue value = 393 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 394 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 394 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 406 } }
if = {
limit = { check_variable = { rq_t < 400 } }
if = {
limit = { check_variable = { rq_t < 397 } }
if = {
limit = { check_variable = { rq_t < 396 } }
if = {
limit = {
NOT = { has_tech = artificial_intelligence_13 }
NOT = { is_in_array = { array = rq_queue value = 395 } }
NOT = { is_in_array = { array = rq_ap_ban value = 395 } }
NOT = { is_in_array = { array = global.rq_hid value = 395 } }
OR = {
can_research = artificial_intelligence_13
AND = {
OR = { is_in_array = { array = rq_queue value = 394 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 395 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 395 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = artificial_intelligence_14 }
NOT = { is_in_array = { array = rq_queue value = 396 } }
NOT = { is_in_array = { array = rq_ap_ban value = 396 } }
NOT = { is_in_array = { array = global.rq_hid value = 396 } }
OR = {
can_research = artificial_intelligence_14
AND = {
OR = { is_in_array = { array = rq_queue value = 395 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 396 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 396 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 398 } }
if = {
limit = {
NOT = { has_tech = artificial_intelligence_2 }
NOT = { is_in_array = { array = rq_queue value = 397 } }
NOT = { is_in_array = { array = rq_ap_ban value = 397 } }
NOT = { is_in_array = { array = global.rq_hid value = 397 } }
OR = {
can_research = artificial_intelligence_2
AND = {
OR = { is_in_array = { array = rq_queue value = 391 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 397 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 397 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 399 } }
if = {
limit = {
NOT = { has_tech = artificial_intelligence_3 }
NOT = { is_in_array = { array = rq_queue value = 398 } }
NOT = { is_in_array = { array = rq_ap_ban value = 398 } }
NOT = { is_in_array = { array = global.rq_hid value = 398 } }
OR = {
can_research = artificial_intelligence_3
AND = {
OR = { is_in_array = { array = rq_queue value = 397 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 398 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 398 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = artificial_intelligence_4 }
NOT = { is_in_array = { array = rq_queue value = 399 } }
NOT = { is_in_array = { array = rq_ap_ban value = 399 } }
NOT = { is_in_array = { array = global.rq_hid value = 399 } }
OR = {
can_research = artificial_intelligence_4
AND = {
OR = { is_in_array = { array = rq_queue value = 398 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 399 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 399 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 403 } }
if = {
limit = { check_variable = { rq_t < 401 } }
if = {
limit = {
NOT = { has_tech = artificial_intelligence_5 }
NOT = { is_in_array = { array = rq_queue value = 400 } }
NOT = { is_in_array = { array = rq_ap_ban value = 400 } }
NOT = { is_in_array = { array = global.rq_hid value = 400 } }
OR = {
can_research = artificial_intelligence_5
AND = {
OR = { is_in_array = { array = rq_queue value = 399 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 400 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 400 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 402 } }
if = {
limit = {
NOT = { has_tech = artificial_intelligence_6 }
NOT = { is_in_array = { array = rq_queue value = 401 } }
NOT = { is_in_array = { array = rq_ap_ban value = 401 } }
NOT = { is_in_array = { array = global.rq_hid value = 401 } }
OR = {
can_research = artificial_intelligence_6
AND = {
OR = { is_in_array = { array = rq_queue value = 400 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 401 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 401 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = artificial_intelligence_7 }
NOT = { is_in_array = { array = rq_queue value = 402 } }
NOT = { is_in_array = { array = rq_ap_ban value = 402 } }
NOT = { is_in_array = { array = global.rq_hid value = 402 } }
OR = {
can_research = artificial_intelligence_7
AND = {
OR = { is_in_array = { array = rq_queue value = 401 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 402 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 402 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 404 } }
if = {
limit = {
NOT = { has_tech = artificial_intelligence_8 }
NOT = { is_in_array = { array = rq_queue value = 403 } }
NOT = { is_in_array = { array = rq_ap_ban value = 403 } }
NOT = { is_in_array = { array = global.rq_hid value = 403 } }
OR = {
can_research = artificial_intelligence_8
AND = {
OR = { is_in_array = { array = rq_queue value = 402 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 403 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 403 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 405 } }
if = {
limit = {
NOT = { has_tech = artificial_intelligence_9 }
NOT = { is_in_array = { array = rq_queue value = 404 } }
NOT = { is_in_array = { array = rq_ap_ban value = 404 } }
NOT = { is_in_array = { array = global.rq_hid value = 404 } }
OR = {
can_research = artificial_intelligence_9
AND = {
OR = { is_in_array = { array = rq_queue value = 403 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 404 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 404 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = arty_upgrade_1 }
NOT = { is_in_array = { array = rq_queue value = 405 } }
NOT = { is_in_array = { array = rq_ap_ban value = 405 } }
NOT = { is_in_array = { array = global.rq_hid value = 405 } }
OR = {
can_research = arty_upgrade_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1257 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 405 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 405 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 412 } }
if = {
limit = { check_variable = { rq_t < 409 } }
if = {
limit = { check_variable = { rq_t < 407 } }
if = {
limit = {
NOT = { has_tech = arty_upgrade_2 }
NOT = { is_in_array = { array = rq_queue value = 406 } }
NOT = { is_in_array = { array = rq_ap_ban value = 406 } }
NOT = { is_in_array = { array = global.rq_hid value = 406 } }
OR = {
can_research = arty_upgrade_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1258 } is_in_array = { array = rq_queue value = 306 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 406 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 406 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 408 } }
if = {
limit = {
NOT = { has_tech = arty_upgrade_3 }
NOT = { is_in_array = { array = rq_queue value = 407 } }
NOT = { is_in_array = { array = rq_ap_ban value = 407 } }
NOT = { is_in_array = { array = global.rq_hid value = 407 } }
OR = {
can_research = arty_upgrade_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1258 } is_in_array = { array = rq_queue value = 306 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 407 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 407 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = arty_upgrade_4 }
NOT = { is_in_array = { array = rq_queue value = 408 } }
NOT = { is_in_array = { array = rq_ap_ban value = 408 } }
NOT = { is_in_array = { array = global.rq_hid value = 408 } }
OR = {
can_research = arty_upgrade_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1259 } is_in_array = { array = rq_queue value = 307 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 408 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 408 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 410 } }
if = {
limit = {
NOT = { has_tech = arty_upgrade_5 }
NOT = { is_in_array = { array = rq_queue value = 409 } }
NOT = { is_in_array = { array = rq_ap_ban value = 409 } }
NOT = { is_in_array = { array = global.rq_hid value = 409 } }
OR = {
can_research = arty_upgrade_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1260 } is_in_array = { array = rq_queue value = 308 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 409 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 409 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 411 } }
if = {
limit = {
NOT = { has_tech = assault_gun_tech }
NOT = { is_in_array = { array = rq_queue value = 410 } }
NOT = { is_in_array = { array = rq_ap_ban value = 410 } }
NOT = { is_in_array = { array = global.rq_hid value = 410 } }
OR = {
can_research = assault_gun_tech
AND = {
OR = { is_in_array = { array = rq_queue value = 853 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 410 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 410 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = assault_gun_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 411 } }
NOT = { is_in_array = { array = rq_ap_ban value = 411 } }
NOT = { is_in_array = { array = global.rq_hid value = 411 } }
OR = {
can_research = assault_gun_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 410 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 411 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 411 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 415 } }
if = {
limit = { check_variable = { rq_t < 413 } }
if = {
limit = {
NOT = { has_tech = assault_gun_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 412 } }
NOT = { is_in_array = { array = rq_ap_ban value = 412 } }
NOT = { is_in_array = { array = global.rq_hid value = 412 } }
OR = {
can_research = assault_gun_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 411 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 412 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 412 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 414 } }
if = {
limit = {
NOT = { has_tech = assault_gun_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 413 } }
NOT = { is_in_array = { array = rq_ap_ban value = 413 } }
NOT = { is_in_array = { array = global.rq_hid value = 413 } }
OR = {
can_research = assault_gun_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 412 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 413 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 413 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = assault_gun_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 414 } }
NOT = { is_in_array = { array = rq_ap_ban value = 414 } }
NOT = { is_in_array = { array = global.rq_hid value = 414 } }
OR = {
can_research = assault_gun_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 413 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 414 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 414 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 416 } }
if = {
limit = {
NOT = { has_tech = assault_gun_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 415 } }
NOT = { is_in_array = { array = rq_ap_ban value = 415 } }
NOT = { is_in_array = { array = global.rq_hid value = 415 } }
OR = {
can_research = assault_gun_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 414 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 415 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 415 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 417 } }
if = {
limit = {
NOT = { has_tech = attack_helicopter_1 }
NOT = { is_in_array = { array = rq_queue value = 416 } }
NOT = { is_in_array = { array = rq_ap_ban value = 416 } }
NOT = { is_in_array = { array = global.rq_hid value = 416 } }
OR = {
can_research = attack_helicopter_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 416 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 416 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = attack_helicopter_2 }
NOT = { is_in_array = { array = rq_queue value = 417 } }
NOT = { is_in_array = { array = rq_ap_ban value = 417 } }
NOT = { is_in_array = { array = global.rq_hid value = 417 } }
OR = {
can_research = attack_helicopter_2
AND = {
OR = { is_in_array = { array = rq_queue value = 416 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 417 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 417 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 441 } }
if = {
limit = { check_variable = { rq_t < 429 } }
if = {
limit = { check_variable = { rq_t < 423 } }
if = {
limit = { check_variable = { rq_t < 420 } }
if = {
limit = { check_variable = { rq_t < 419 } }
if = {
limit = {
NOT = { has_tech = attack_helicopter_3 }
NOT = { is_in_array = { array = rq_queue value = 418 } }
NOT = { is_in_array = { array = rq_ap_ban value = 418 } }
NOT = { is_in_array = { array = global.rq_hid value = 418 } }
OR = {
can_research = attack_helicopter_3
AND = {
OR = { is_in_array = { array = rq_queue value = 417 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 418 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 418 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = attack_helicopter_4 }
NOT = { is_in_array = { array = rq_queue value = 419 } }
NOT = { is_in_array = { array = rq_ap_ban value = 419 } }
NOT = { is_in_array = { array = global.rq_hid value = 419 } }
OR = {
can_research = attack_helicopter_4
AND = {
OR = { is_in_array = { array = rq_queue value = 418 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 419 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 419 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 421 } }
if = {
limit = {
NOT = { has_tech = attack_helicopter_5 }
NOT = { is_in_array = { array = rq_queue value = 420 } }
NOT = { is_in_array = { array = rq_ap_ban value = 420 } }
NOT = { is_in_array = { array = global.rq_hid value = 420 } }
OR = {
can_research = attack_helicopter_5
AND = {
OR = { is_in_array = { array = rq_queue value = 419 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 420 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 420 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 422 } }
if = {
limit = {
NOT = { has_tech = attack_helicopter_6 }
NOT = { is_in_array = { array = rq_queue value = 421 } }
NOT = { is_in_array = { array = rq_ap_ban value = 421 } }
NOT = { is_in_array = { array = global.rq_hid value = 421 } }
OR = {
can_research = attack_helicopter_6
AND = {
OR = { is_in_array = { array = rq_queue value = 420 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 421 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 421 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = attack_helicopter_7 }
NOT = { is_in_array = { array = rq_queue value = 422 } }
NOT = { is_in_array = { array = rq_ap_ban value = 422 } }
NOT = { is_in_array = { array = global.rq_hid value = 422 } }
OR = {
can_research = attack_helicopter_7
AND = {
OR = { is_in_array = { array = rq_queue value = 421 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 422 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 422 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 426 } }
if = {
limit = { check_variable = { rq_t < 424 } }
if = {
limit = {
NOT = { has_tech = attack_submarine_hull_1 }
NOT = { is_in_array = { array = rq_queue value = 423 } }
NOT = { is_in_array = { array = rq_ap_ban value = 423 } }
NOT = { is_in_array = { array = global.rq_hid value = 423 } }
OR = {
can_research = attack_submarine_hull_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1367 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 423 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 423 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 425 } }
if = {
limit = {
NOT = { has_tech = attack_submarine_hull_2 }
NOT = { is_in_array = { array = rq_queue value = 424 } }
NOT = { is_in_array = { array = rq_ap_ban value = 424 } }
NOT = { is_in_array = { array = global.rq_hid value = 424 } }
OR = {
can_research = attack_submarine_hull_2
AND = {
OR = { is_in_array = { array = rq_queue value = 423 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 424 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 424 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = attack_submarine_hull_3 }
NOT = { is_in_array = { array = rq_queue value = 425 } }
NOT = { is_in_array = { array = rq_ap_ban value = 425 } }
NOT = { is_in_array = { array = global.rq_hid value = 425 } }
OR = {
can_research = attack_submarine_hull_3
AND = {
OR = { is_in_array = { array = rq_queue value = 424 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 425 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 425 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 427 } }
if = {
limit = {
NOT = { has_tech = attack_submarine_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 426 } }
NOT = { is_in_array = { array = rq_ap_ban value = 426 } }
NOT = { is_in_array = { array = global.rq_hid value = 426 } }
OR = {
can_research = attack_submarine_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 425 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 426 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 426 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 428 } }
if = {
limit = {
NOT = { has_tech = attack_submarine_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 427 } }
NOT = { is_in_array = { array = rq_ap_ban value = 427 } }
NOT = { is_in_array = { array = global.rq_hid value = 427 } }
OR = {
can_research = attack_submarine_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 426 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 427 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 427 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = attack_submarine_hull_6 }
NOT = { is_in_array = { array = rq_queue value = 428 } }
NOT = { is_in_array = { array = rq_ap_ban value = 428 } }
NOT = { is_in_array = { array = global.rq_hid value = 428 } }
OR = {
can_research = attack_submarine_hull_6
AND = {
OR = { is_in_array = { array = rq_queue value = 427 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 428 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 428 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 435 } }
if = {
limit = { check_variable = { rq_t < 432 } }
if = {
limit = { check_variable = { rq_t < 430 } }
if = {
limit = {
NOT = { has_tech = attack_submarine_hull_7 }
NOT = { is_in_array = { array = rq_queue value = 429 } }
NOT = { is_in_array = { array = rq_ap_ban value = 429 } }
NOT = { is_in_array = { array = global.rq_hid value = 429 } }
OR = {
can_research = attack_submarine_hull_7
AND = {
OR = { is_in_array = { array = rq_queue value = 428 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 429 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 429 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 431 } }
if = {
limit = {
NOT = { has_tech = attack_submarine_hull_8 }
NOT = { is_in_array = { array = rq_queue value = 430 } }
NOT = { is_in_array = { array = rq_ap_ban value = 430 } }
NOT = { is_in_array = { array = global.rq_hid value = 430 } }
OR = {
can_research = attack_submarine_hull_8
AND = {
OR = { is_in_array = { array = rq_queue value = 429 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 430 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 430 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 433 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 434 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 438 } }
if = {
limit = { check_variable = { rq_t < 436 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 437 } }
}
else = {
if = {
limit = {
NOT = { has_tech = avionics_1 }
NOT = { is_in_array = { array = rq_queue value = 437 } }
NOT = { is_in_array = { array = rq_ap_ban value = 437 } }
NOT = { is_in_array = { array = global.rq_hid value = 437 } }
OR = {
can_research = avionics_1
AND = {
OR = { is_in_array = { array = rq_queue value = 604 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 437 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 437 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 439 } }
if = {
limit = {
NOT = { has_tech = avionics_2 }
NOT = { is_in_array = { array = rq_queue value = 438 } }
NOT = { is_in_array = { array = rq_ap_ban value = 438 } }
NOT = { is_in_array = { array = global.rq_hid value = 438 } }
OR = {
can_research = avionics_2
AND = {
OR = { is_in_array = { array = rq_queue value = 437 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 438 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 438 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 440 } }
if = {
limit = {
NOT = { has_tech = avionics_3 }
NOT = { is_in_array = { array = rq_queue value = 439 } }
NOT = { is_in_array = { array = rq_ap_ban value = 439 } }
NOT = { is_in_array = { array = global.rq_hid value = 439 } }
OR = {
can_research = avionics_3
AND = {
OR = { is_in_array = { array = rq_queue value = 438 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 439 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 439 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = avionics_4 }
NOT = { is_in_array = { array = rq_queue value = 440 } }
NOT = { is_in_array = { array = rq_ap_ban value = 440 } }
NOT = { is_in_array = { array = global.rq_hid value = 440 } }
OR = {
can_research = avionics_4
AND = {
OR = { is_in_array = { array = rq_queue value = 439 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 440 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 440 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 453 } }
if = {
limit = { check_variable = { rq_t < 447 } }
if = {
limit = { check_variable = { rq_t < 444 } }
if = {
limit = { check_variable = { rq_t < 442 } }
if = {
limit = {
NOT = { has_tech = avionics_5 }
NOT = { is_in_array = { array = rq_queue value = 441 } }
NOT = { is_in_array = { array = rq_ap_ban value = 441 } }
NOT = { is_in_array = { array = global.rq_hid value = 441 } }
OR = {
can_research = avionics_5
AND = {
OR = { is_in_array = { array = rq_queue value = 440 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 441 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 441 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 443 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 445 } }
if = {
limit = {
NOT = { has_tech = awacs_3 }
NOT = { is_in_array = { array = rq_queue value = 444 } }
NOT = { is_in_array = { array = rq_ap_ban value = 444 } }
NOT = { is_in_array = { array = global.rq_hid value = 444 } }
OR = {
can_research = awacs_3
AND = {
OR = { is_in_array = { array = rq_queue value = 439 } is_in_array = { array = rq_queue value = 443 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 444 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 444 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 446 } }
if = {
limit = {
NOT = { has_tech = awacs_4 }
NOT = { is_in_array = { array = rq_queue value = 445 } }
NOT = { is_in_array = { array = rq_ap_ban value = 445 } }
NOT = { is_in_array = { array = global.rq_hid value = 445 } }
OR = {
can_research = awacs_4
AND = {
OR = { is_in_array = { array = rq_queue value = 440 } is_in_array = { array = rq_queue value = 444 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 445 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 445 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = awacs_5 }
NOT = { is_in_array = { array = rq_queue value = 446 } }
NOT = { is_in_array = { array = rq_ap_ban value = 446 } }
NOT = { is_in_array = { array = global.rq_hid value = 446 } }
OR = {
can_research = awacs_5
AND = {
OR = { is_in_array = { array = rq_queue value = 441 } is_in_array = { array = rq_queue value = 445 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 446 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 446 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 450 } }
if = {
limit = { check_variable = { rq_t < 448 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 449 } }
}
else = {
if = {
limit = {
NOT = { has_tech = ballistic_missile }
NOT = { is_in_array = { array = rq_queue value = 449 } }
NOT = { is_in_array = { array = rq_ap_ban value = 449 } }
NOT = { is_in_array = { array = global.rq_hid value = 449 } }
OR = {
can_research = ballistic_missile
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 449 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 449 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 451 } }
if = {
limit = {
NOT = { has_tech = basic_computing }
NOT = { is_in_array = { array = rq_queue value = 450 } }
NOT = { is_in_array = { array = rq_ap_ban value = 450 } }
NOT = { is_in_array = { array = global.rq_hid value = 450 } }
OR = {
can_research = basic_computing
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 450 }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 450 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 452 } }
if = {
limit = {
NOT = { has_tech = battleship_hull_1 }
NOT = { is_in_array = { array = rq_queue value = 451 } }
NOT = { is_in_array = { array = rq_ap_ban value = 451 } }
NOT = { is_in_array = { array = global.rq_hid value = 451 } }
OR = {
can_research = battleship_hull_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 451 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 451 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = battleship_hull_2 }
NOT = { is_in_array = { array = rq_queue value = 452 } }
NOT = { is_in_array = { array = rq_ap_ban value = 452 } }
NOT = { is_in_array = { array = global.rq_hid value = 452 } }
OR = {
can_research = battleship_hull_2
AND = {
OR = { is_in_array = { array = rq_queue value = 451 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 452 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 452 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 459 } }
if = {
limit = { check_variable = { rq_t < 456 } }
if = {
limit = { check_variable = { rq_t < 454 } }
if = {
limit = {
NOT = { has_tech = battleship_hull_3 }
NOT = { is_in_array = { array = rq_queue value = 453 } }
NOT = { is_in_array = { array = rq_ap_ban value = 453 } }
NOT = { is_in_array = { array = global.rq_hid value = 453 } }
OR = {
can_research = battleship_hull_3
AND = {
OR = { is_in_array = { array = rq_queue value = 452 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 453 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 453 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 455 } }
if = {
limit = {
NOT = { has_tech = battleship_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 454 } }
NOT = { is_in_array = { array = rq_ap_ban value = 454 } }
NOT = { is_in_array = { array = global.rq_hid value = 454 } }
OR = {
can_research = battleship_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 453 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 454 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 454 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = battleship_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 455 } }
NOT = { is_in_array = { array = rq_ap_ban value = 455 } }
NOT = { is_in_array = { array = global.rq_hid value = 455 } }
OR = {
can_research = battleship_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 454 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 455 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 455 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 457 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 458 } }
if = {
limit = {
NOT = { has_tech = big_autocannon_tech }
NOT = { is_in_array = { array = rq_queue value = 457 } }
NOT = { is_in_array = { array = rq_ap_ban value = 457 } }
NOT = { is_in_array = { array = global.rq_hid value = 457 } }
OR = {
can_research = big_autocannon_tech
AND = {
OR = { is_in_array = { array = rq_queue value = 1148 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 457 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 457 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = big_autocannon_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 458 } }
NOT = { is_in_array = { array = rq_ap_ban value = 458 } }
NOT = { is_in_array = { array = global.rq_hid value = 458 } }
OR = {
can_research = big_autocannon_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 457 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 458 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 458 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 462 } }
if = {
limit = { check_variable = { rq_t < 460 } }
if = {
limit = {
NOT = { has_tech = big_autocannon_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 459 } }
NOT = { is_in_array = { array = rq_ap_ban value = 459 } }
NOT = { is_in_array = { array = global.rq_hid value = 459 } }
OR = {
can_research = big_autocannon_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 458 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 459 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 459 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 461 } }
if = {
limit = {
NOT = { has_tech = big_autocannon_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 460 } }
NOT = { is_in_array = { array = rq_ap_ban value = 460 } }
NOT = { is_in_array = { array = global.rq_hid value = 460 } }
OR = {
can_research = big_autocannon_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 459 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 460 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 460 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = big_autocannon_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 461 } }
NOT = { is_in_array = { array = rq_ap_ban value = 461 } }
NOT = { is_in_array = { array = global.rq_hid value = 461 } }
OR = {
can_research = big_autocannon_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 460 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 461 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 461 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 463 } }
if = {
limit = {
NOT = { has_tech = big_autocannon_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 462 } }
NOT = { is_in_array = { array = rq_ap_ban value = 462 } }
NOT = { is_in_array = { array = global.rq_hid value = 462 } }
OR = {
can_research = big_autocannon_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 461 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 462 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 462 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 464 } }
if = {
limit = {
NOT = { has_tech = body_armor_1 }
NOT = { is_in_array = { array = rq_queue value = 463 } }
NOT = { is_in_array = { array = rq_ap_ban value = 463 } }
NOT = { is_in_array = { array = global.rq_hid value = 463 } }
OR = {
can_research = body_armor_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 463 }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 463 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = body_armor_2 }
NOT = { is_in_array = { array = rq_queue value = 464 } }
NOT = { is_in_array = { array = rq_ap_ban value = 464 } }
NOT = { is_in_array = { array = global.rq_hid value = 464 } }
OR = {
can_research = body_armor_2
AND = {
OR = { is_in_array = { array = rq_queue value = 463 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 464 }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 464 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 511 } }
if = {
limit = { check_variable = { rq_t < 488 } }
if = {
limit = { check_variable = { rq_t < 476 } }
if = {
limit = { check_variable = { rq_t < 470 } }
if = {
limit = { check_variable = { rq_t < 467 } }
if = {
limit = { check_variable = { rq_t < 466 } }
if = {
limit = {
NOT = { has_tech = body_armor_3 }
NOT = { is_in_array = { array = rq_queue value = 465 } }
NOT = { is_in_array = { array = rq_ap_ban value = 465 } }
NOT = { is_in_array = { array = global.rq_hid value = 465 } }
OR = {
can_research = body_armor_3
AND = {
OR = { is_in_array = { array = rq_queue value = 464 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 465 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 465 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = body_armor_4 }
NOT = { is_in_array = { array = rq_queue value = 466 } }
NOT = { is_in_array = { array = rq_ap_ban value = 466 } }
NOT = { is_in_array = { array = global.rq_hid value = 466 } }
OR = {
can_research = body_armor_4
AND = {
OR = { is_in_array = { array = rq_queue value = 465 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 466 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 466 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 468 } }
if = {
limit = {
NOT = { has_tech = body_armor_5 }
NOT = { is_in_array = { array = rq_queue value = 467 } }
NOT = { is_in_array = { array = rq_ap_ban value = 467 } }
NOT = { is_in_array = { array = global.rq_hid value = 467 } }
OR = {
can_research = body_armor_5
AND = {
OR = { is_in_array = { array = rq_queue value = 466 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 467 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 467 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 469 } }
if = {
limit = {
NOT = { has_tech = body_armor_6 }
NOT = { is_in_array = { array = rq_queue value = 468 } }
NOT = { is_in_array = { array = rq_ap_ban value = 468 } }
NOT = { is_in_array = { array = global.rq_hid value = 468 } }
OR = {
can_research = body_armor_6
AND = {
OR = { is_in_array = { array = rq_queue value = 467 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 468 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 468 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = body_armor_7 }
NOT = { is_in_array = { array = rq_queue value = 469 } }
NOT = { is_in_array = { array = rq_ap_ban value = 469 } }
NOT = { is_in_array = { array = global.rq_hid value = 469 } }
OR = {
can_research = body_armor_7
AND = {
OR = { is_in_array = { array = rq_queue value = 468 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 469 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 469 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 473 } }
if = {
limit = { check_variable = { rq_t < 471 } }
if = {
limit = {
NOT = { has_tech = body_armor_8 }
NOT = { is_in_array = { array = rq_queue value = 470 } }
NOT = { is_in_array = { array = rq_ap_ban value = 470 } }
NOT = { is_in_array = { array = global.rq_hid value = 470 } }
OR = {
can_research = body_armor_8
AND = {
OR = { is_in_array = { array = rq_queue value = 469 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 470 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 470 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 472 } }
if = {
limit = {
NOT = { has_tech = body_armor_9 }
NOT = { is_in_array = { array = rq_queue value = 471 } }
NOT = { is_in_array = { array = rq_ap_ban value = 471 } }
NOT = { is_in_array = { array = global.rq_hid value = 471 } }
OR = {
can_research = body_armor_9
AND = {
OR = { is_in_array = { array = rq_queue value = 470 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 471 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 471 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = camouflage_1 }
NOT = { is_in_array = { array = rq_queue value = 472 } }
NOT = { is_in_array = { array = rq_ap_ban value = 472 } }
NOT = { is_in_array = { array = global.rq_hid value = 472 } }
OR = {
can_research = camouflage_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 472 }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 472 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 474 } }
if = {
limit = {
NOT = { has_tech = camouflage_2 }
NOT = { is_in_array = { array = rq_queue value = 473 } }
NOT = { is_in_array = { array = rq_ap_ban value = 473 } }
NOT = { is_in_array = { array = global.rq_hid value = 473 } }
OR = {
can_research = camouflage_2
AND = {
OR = { is_in_array = { array = rq_queue value = 472 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 473 }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 473 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 475 } }
if = {
limit = {
NOT = { has_tech = camouflage_3 }
NOT = { is_in_array = { array = rq_queue value = 474 } }
NOT = { is_in_array = { array = rq_ap_ban value = 474 } }
NOT = { is_in_array = { array = global.rq_hid value = 474 } }
OR = {
can_research = camouflage_3
AND = {
OR = { is_in_array = { array = rq_queue value = 473 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 474 }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 474 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = camouflage_4 }
NOT = { is_in_array = { array = rq_queue value = 475 } }
NOT = { is_in_array = { array = rq_ap_ban value = 475 } }
NOT = { is_in_array = { array = global.rq_hid value = 475 } }
OR = {
can_research = camouflage_4
AND = {
OR = { is_in_array = { array = rq_queue value = 474 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 475 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 475 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 482 } }
if = {
limit = { check_variable = { rq_t < 479 } }
if = {
limit = { check_variable = { rq_t < 477 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 478 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 480 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 481 } }
if = {
limit = {
NOT = { has_tech = carrier_hull_1 }
NOT = { is_in_array = { array = rq_queue value = 480 } }
NOT = { is_in_array = { array = rq_ap_ban value = 480 } }
NOT = { is_in_array = { array = global.rq_hid value = 480 } }
OR = {
can_research = carrier_hull_1
AND = {
OR = { is_in_array = { array = rq_queue value = 378 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 480 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 480 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = carrier_hull_2 }
NOT = { is_in_array = { array = rq_queue value = 481 } }
NOT = { is_in_array = { array = rq_ap_ban value = 481 } }
NOT = { is_in_array = { array = global.rq_hid value = 481 } }
OR = {
can_research = carrier_hull_2
AND = {
OR = { is_in_array = { array = rq_queue value = 480 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 481 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 481 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 485 } }
if = {
limit = { check_variable = { rq_t < 483 } }
if = {
limit = {
NOT = { has_tech = carrier_hull_3 }
NOT = { is_in_array = { array = rq_queue value = 482 } }
NOT = { is_in_array = { array = rq_ap_ban value = 482 } }
NOT = { is_in_array = { array = global.rq_hid value = 482 } }
OR = {
can_research = carrier_hull_3
AND = {
OR = { is_in_array = { array = rq_queue value = 481 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 482 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 482 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 484 } }
if = {
limit = {
NOT = { has_tech = carrier_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 483 } }
NOT = { is_in_array = { array = rq_ap_ban value = 483 } }
NOT = { is_in_array = { array = global.rq_hid value = 483 } }
OR = {
can_research = carrier_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 482 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 483 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 483 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = carrier_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 484 } }
NOT = { is_in_array = { array = rq_ap_ban value = 484 } }
NOT = { is_in_array = { array = global.rq_hid value = 484 } }
OR = {
can_research = carrier_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 483 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 484 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 484 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 486 } }
if = {
limit = {
NOT = { has_tech = carrier_hull_6 }
NOT = { is_in_array = { array = rq_queue value = 485 } }
NOT = { is_in_array = { array = rq_ap_ban value = 485 } }
NOT = { is_in_array = { array = global.rq_hid value = 485 } }
OR = {
can_research = carrier_hull_6
AND = {
OR = { is_in_array = { array = rq_queue value = 379 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 485 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 485 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 487 } }
if = {
limit = {
NOT = { has_tech = carrier_hull_7 }
NOT = { is_in_array = { array = rq_queue value = 486 } }
NOT = { is_in_array = { array = rq_ap_ban value = 486 } }
NOT = { is_in_array = { array = global.rq_hid value = 486 } }
OR = {
can_research = carrier_hull_7
AND = {
OR = { is_in_array = { array = rq_queue value = 485 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 486 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 486 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cas1 }
NOT = { is_in_array = { array = rq_queue value = 487 } }
NOT = { is_in_array = { array = rq_ap_ban value = 487 } }
NOT = { is_in_array = { array = global.rq_hid value = 487 } }
OR = {
can_research = cas1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 487 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 487 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 499 } }
if = {
limit = { check_variable = { rq_t < 493 } }
if = {
limit = { check_variable = { rq_t < 490 } }
if = {
limit = { check_variable = { rq_t < 489 } }
if = {
limit = {
NOT = { has_tech = cas2 }
NOT = { is_in_array = { array = rq_queue value = 488 } }
NOT = { is_in_array = { array = rq_ap_ban value = 488 } }
NOT = { is_in_array = { array = global.rq_hid value = 488 } }
OR = {
can_research = cas2
AND = {
OR = { is_in_array = { array = rq_queue value = 487 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 488 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 488 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cas3 }
NOT = { is_in_array = { array = rq_queue value = 489 } }
NOT = { is_in_array = { array = rq_ap_ban value = 489 } }
NOT = { is_in_array = { array = global.rq_hid value = 489 } }
OR = {
can_research = cas3
AND = {
OR = { is_in_array = { array = rq_queue value = 488 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 489 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 489 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 491 } }
if = {
limit = {
NOT = { has_tech = cas4 }
NOT = { is_in_array = { array = rq_queue value = 490 } }
NOT = { is_in_array = { array = rq_ap_ban value = 490 } }
NOT = { is_in_array = { array = global.rq_hid value = 490 } }
OR = {
can_research = cas4
AND = {
OR = { is_in_array = { array = rq_queue value = 489 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 490 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 490 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 492 } }
if = {
limit = {
NOT = { has_tech = cas5 }
NOT = { is_in_array = { array = rq_queue value = 491 } }
NOT = { is_in_array = { array = rq_ap_ban value = 491 } }
NOT = { is_in_array = { array = global.rq_hid value = 491 } }
OR = {
can_research = cas5
AND = {
OR = { is_in_array = { array = rq_queue value = 490 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 491 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 491 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cnc_equipment_1 }
NOT = { is_in_array = { array = rq_queue value = 492 } }
NOT = { is_in_array = { array = rq_ap_ban value = 492 } }
NOT = { is_in_array = { array = global.rq_hid value = 492 } }
OR = {
can_research = cnc_equipment_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 492 }
set_temp_variable = { rq_ap_w = 3 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 492 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 496 } }
if = {
limit = { check_variable = { rq_t < 494 } }
if = {
limit = {
NOT = { has_tech = cnc_equipment_10 }
NOT = { is_in_array = { array = rq_queue value = 493 } }
NOT = { is_in_array = { array = rq_ap_ban value = 493 } }
NOT = { is_in_array = { array = global.rq_hid value = 493 } }
OR = {
can_research = cnc_equipment_10
AND = {
OR = { is_in_array = { array = rq_queue value = 502 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 493 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 493 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 495 } }
if = {
limit = {
NOT = { has_tech = cnc_equipment_11 }
NOT = { is_in_array = { array = rq_queue value = 494 } }
NOT = { is_in_array = { array = rq_ap_ban value = 494 } }
NOT = { is_in_array = { array = global.rq_hid value = 494 } }
OR = {
can_research = cnc_equipment_11
AND = {
OR = { is_in_array = { array = rq_queue value = 493 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 494 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 494 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cnc_equipment_2 }
NOT = { is_in_array = { array = rq_queue value = 495 } }
NOT = { is_in_array = { array = rq_ap_ban value = 495 } }
NOT = { is_in_array = { array = global.rq_hid value = 495 } }
OR = {
can_research = cnc_equipment_2
AND = {
OR = { is_in_array = { array = rq_queue value = 492 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 495 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 495 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 497 } }
if = {
limit = {
NOT = { has_tech = cnc_equipment_3 }
NOT = { is_in_array = { array = rq_queue value = 496 } }
NOT = { is_in_array = { array = rq_ap_ban value = 496 } }
NOT = { is_in_array = { array = global.rq_hid value = 496 } }
OR = {
can_research = cnc_equipment_3
AND = {
OR = { is_in_array = { array = rq_queue value = 495 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 496 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 496 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 498 } }
if = {
limit = {
NOT = { has_tech = cnc_equipment_4 }
NOT = { is_in_array = { array = rq_queue value = 497 } }
NOT = { is_in_array = { array = rq_ap_ban value = 497 } }
NOT = { is_in_array = { array = global.rq_hid value = 497 } }
OR = {
can_research = cnc_equipment_4
AND = {
OR = { is_in_array = { array = rq_queue value = 496 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 497 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 497 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cnc_equipment_5 }
NOT = { is_in_array = { array = rq_queue value = 498 } }
NOT = { is_in_array = { array = rq_ap_ban value = 498 } }
NOT = { is_in_array = { array = global.rq_hid value = 498 } }
OR = {
can_research = cnc_equipment_5
AND = {
OR = { is_in_array = { array = rq_queue value = 497 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 498 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 498 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 505 } }
if = {
limit = { check_variable = { rq_t < 502 } }
if = {
limit = { check_variable = { rq_t < 500 } }
if = {
limit = {
NOT = { has_tech = cnc_equipment_6 }
NOT = { is_in_array = { array = rq_queue value = 499 } }
NOT = { is_in_array = { array = rq_ap_ban value = 499 } }
NOT = { is_in_array = { array = global.rq_hid value = 499 } }
OR = {
can_research = cnc_equipment_6
AND = {
OR = { is_in_array = { array = rq_queue value = 498 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 499 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 499 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 501 } }
if = {
limit = {
NOT = { has_tech = cnc_equipment_7 }
NOT = { is_in_array = { array = rq_queue value = 500 } }
NOT = { is_in_array = { array = rq_ap_ban value = 500 } }
NOT = { is_in_array = { array = global.rq_hid value = 500 } }
OR = {
can_research = cnc_equipment_7
AND = {
OR = { is_in_array = { array = rq_queue value = 499 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 500 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 500 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cnc_equipment_8 }
NOT = { is_in_array = { array = rq_queue value = 501 } }
NOT = { is_in_array = { array = rq_ap_ban value = 501 } }
NOT = { is_in_array = { array = global.rq_hid value = 501 } }
OR = {
can_research = cnc_equipment_8
AND = {
OR = { is_in_array = { array = rq_queue value = 500 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 501 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 501 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 503 } }
if = {
limit = {
NOT = { has_tech = cnc_equipment_9 }
NOT = { is_in_array = { array = rq_queue value = 502 } }
NOT = { is_in_array = { array = rq_ap_ban value = 502 } }
NOT = { is_in_array = { array = global.rq_hid value = 502 } }
OR = {
can_research = cnc_equipment_9
AND = {
OR = { is_in_array = { array = rq_queue value = 501 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 502 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 502 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 504 } }
if = {
limit = {
NOT = { has_tech = combat_eng_equipment }
NOT = { is_in_array = { array = rq_queue value = 503 } }
NOT = { is_in_array = { array = rq_ap_ban value = 503 } }
NOT = { is_in_array = { array = global.rq_hid value = 503 } }
OR = {
can_research = combat_eng_equipment
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 503 }
set_temp_variable = { rq_ap_w = 5 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 503 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 508 } }
if = {
limit = { check_variable = { rq_t < 506 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 507 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 509 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 510 } }
}
else = {
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 534 } }
if = {
limit = { check_variable = { rq_t < 522 } }
if = {
limit = { check_variable = { rq_t < 516 } }
if = {
limit = { check_variable = { rq_t < 513 } }
if = {
limit = { check_variable = { rq_t < 512 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 514 } }
if = {
limit = {
NOT = { has_tech = computing_1 }
NOT = { is_in_array = { array = rq_queue value = 513 } }
NOT = { is_in_array = { array = rq_ap_ban value = 513 } }
NOT = { is_in_array = { array = global.rq_hid value = 513 } }
OR = {
can_research = computing_1
AND = {
OR = { is_in_array = { array = rq_queue value = 796 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 513 }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 513 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 515 } }
if = {
limit = {
NOT = { has_tech = computing_10 }
NOT = { is_in_array = { array = rq_queue value = 514 } }
NOT = { is_in_array = { array = rq_ap_ban value = 514 } }
NOT = { is_in_array = { array = global.rq_hid value = 514 } }
OR = {
can_research = computing_10
AND = {
OR = { is_in_array = { array = rq_queue value = 523 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 514 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2075.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2080.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 514 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = computing_11 }
NOT = { is_in_array = { array = rq_queue value = 515 } }
NOT = { is_in_array = { array = rq_ap_ban value = 515 } }
NOT = { is_in_array = { array = global.rq_hid value = 515 } }
OR = {
can_research = computing_11
AND = {
OR = { is_in_array = { array = rq_queue value = 514 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 515 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2085.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2090.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 515 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 519 } }
if = {
limit = { check_variable = { rq_t < 517 } }
if = {
limit = {
NOT = { has_tech = computing_2 }
NOT = { is_in_array = { array = rq_queue value = 516 } }
NOT = { is_in_array = { array = rq_ap_ban value = 516 } }
NOT = { is_in_array = { array = global.rq_hid value = 516 } }
OR = {
can_research = computing_2
AND = {
OR = { is_in_array = { array = rq_queue value = 869 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 516 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2005.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 516 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 518 } }
if = {
limit = {
NOT = { has_tech = computing_3 }
NOT = { is_in_array = { array = rq_queue value = 517 } }
NOT = { is_in_array = { array = rq_ap_ban value = 517 } }
NOT = { is_in_array = { array = global.rq_hid value = 517 } }
OR = {
can_research = computing_3
AND = {
OR = { is_in_array = { array = rq_queue value = 516 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 517 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 517 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = computing_4 }
NOT = { is_in_array = { array = rq_queue value = 518 } }
NOT = { is_in_array = { array = rq_ap_ban value = 518 } }
NOT = { is_in_array = { array = global.rq_hid value = 518 } }
OR = {
can_research = computing_4
AND = {
OR = { is_in_array = { array = rq_queue value = 517 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 518 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2020.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 518 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 520 } }
if = {
limit = {
NOT = { has_tech = computing_5 }
NOT = { is_in_array = { array = rq_queue value = 519 } }
NOT = { is_in_array = { array = rq_ap_ban value = 519 } }
NOT = { is_in_array = { array = global.rq_hid value = 519 } }
OR = {
can_research = computing_5
AND = {
OR = { is_in_array = { array = rq_queue value = 518 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 519 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2025.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2030.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 519 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 521 } }
if = {
limit = {
NOT = { has_tech = computing_6 }
NOT = { is_in_array = { array = rq_queue value = 520 } }
NOT = { is_in_array = { array = rq_ap_ban value = 520 } }
NOT = { is_in_array = { array = global.rq_hid value = 520 } }
OR = {
can_research = computing_6
AND = {
OR = { is_in_array = { array = rq_queue value = 519 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 520 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2040.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 520 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = computing_7 }
NOT = { is_in_array = { array = rq_queue value = 521 } }
NOT = { is_in_array = { array = rq_ap_ban value = 521 } }
NOT = { is_in_array = { array = global.rq_hid value = 521 } }
OR = {
can_research = computing_7
AND = {
OR = { is_in_array = { array = rq_queue value = 520 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 521 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2040.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 521 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 528 } }
if = {
limit = { check_variable = { rq_t < 525 } }
if = {
limit = { check_variable = { rq_t < 523 } }
if = {
limit = {
NOT = { has_tech = computing_8 }
NOT = { is_in_array = { array = rq_queue value = 522 } }
NOT = { is_in_array = { array = rq_ap_ban value = 522 } }
NOT = { is_in_array = { array = global.rq_hid value = 522 } }
OR = {
can_research = computing_8
AND = {
OR = { is_in_array = { array = rq_queue value = 521 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 522 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2055.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2060.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 522 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 524 } }
if = {
limit = {
NOT = { has_tech = computing_9 }
NOT = { is_in_array = { array = rq_queue value = 523 } }
NOT = { is_in_array = { array = rq_ap_ban value = 523 } }
NOT = { is_in_array = { array = global.rq_hid value = 523 } }
OR = {
can_research = computing_9
AND = {
OR = { is_in_array = { array = rq_queue value = 522 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 523 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2065.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2070.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 523 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = construction1 }
NOT = { is_in_array = { array = rq_queue value = 524 } }
NOT = { is_in_array = { array = rq_ap_ban value = 524 } }
NOT = { is_in_array = { array = global.rq_hid value = 524 } }
OR = {
can_research = construction1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 524 }
set_temp_variable = { rq_ap_w = 8 }
if = {
limit = { num_of_factories < 100 }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories > 100 }
multiply_temp_variable = { rq_ap_w = 0.75 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > "1980.1.1" }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 524 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 526 } }
if = {
limit = {
NOT = { has_tech = construction10 }
NOT = { is_in_array = { array = rq_queue value = 525 } }
NOT = { is_in_array = { array = rq_ap_ban value = 525 } }
NOT = { is_in_array = { array = global.rq_hid value = 525 } }
OR = {
can_research = construction10
AND = {
OR = { is_in_array = { array = rq_queue value = 535 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 525 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2057.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 525 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 527 } }
if = {
limit = {
NOT = { has_tech = construction11 }
NOT = { is_in_array = { array = rq_queue value = 526 } }
NOT = { is_in_array = { array = rq_ap_ban value = 526 } }
NOT = { is_in_array = { array = global.rq_hid value = 526 } }
OR = {
can_research = construction11
AND = {
OR = { is_in_array = { array = rq_queue value = 525 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 526 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2067.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 526 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = construction12 }
NOT = { is_in_array = { array = rq_queue value = 527 } }
NOT = { is_in_array = { array = rq_ap_ban value = 527 } }
NOT = { is_in_array = { array = global.rq_hid value = 527 } }
OR = {
can_research = construction12
AND = {
OR = { is_in_array = { array = rq_queue value = 526 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 527 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2077.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 527 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 531 } }
if = {
limit = { check_variable = { rq_t < 529 } }
if = {
limit = {
NOT = { has_tech = construction2 }
NOT = { is_in_array = { array = rq_queue value = 528 } }
NOT = { is_in_array = { array = rq_ap_ban value = 528 } }
NOT = { is_in_array = { array = global.rq_hid value = 528 } }
OR = {
can_research = construction2
AND = {
OR = { is_in_array = { array = rq_queue value = 524 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 528 }
set_temp_variable = { rq_ap_w = 8 }
if = {
limit = { date > "1997.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 528 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 530 } }
if = {
limit = {
NOT = { has_tech = construction3 }
NOT = { is_in_array = { array = rq_queue value = 529 } }
NOT = { is_in_array = { array = rq_ap_ban value = 529 } }
NOT = { is_in_array = { array = global.rq_hid value = 529 } }
OR = {
can_research = construction3
AND = {
OR = { is_in_array = { array = rq_queue value = 528 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 529 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = no }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > "2002.1.1" }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 529 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = construction4 }
NOT = { is_in_array = { array = rq_queue value = 530 } }
NOT = { is_in_array = { array = rq_ap_ban value = 530 } }
NOT = { is_in_array = { array = global.rq_hid value = 530 } }
OR = {
can_research = construction4
AND = {
OR = { is_in_array = { array = rq_queue value = 529 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 530 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2007.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 530 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 532 } }
if = {
limit = {
NOT = { has_tech = construction5 }
NOT = { is_in_array = { array = rq_queue value = 531 } }
NOT = { is_in_array = { array = rq_ap_ban value = 531 } }
NOT = { is_in_array = { array = global.rq_hid value = 531 } }
OR = {
can_research = construction5
AND = {
OR = { is_in_array = { array = rq_queue value = 530 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 531 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2012.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 531 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 533 } }
if = {
limit = {
NOT = { has_tech = construction6 }
NOT = { is_in_array = { array = rq_queue value = 532 } }
NOT = { is_in_array = { array = rq_ap_ban value = 532 } }
NOT = { is_in_array = { array = global.rq_hid value = 532 } }
OR = {
can_research = construction6
AND = {
OR = { is_in_array = { array = rq_queue value = 531 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 532 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2017.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 532 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = construction7 }
NOT = { is_in_array = { array = rq_queue value = 533 } }
NOT = { is_in_array = { array = rq_ap_ban value = 533 } }
NOT = { is_in_array = { array = global.rq_hid value = 533 } }
OR = {
can_research = construction7
AND = {
OR = { is_in_array = { array = rq_queue value = 532 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 533 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2027.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 533 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 546 } }
if = {
limit = { check_variable = { rq_t < 540 } }
if = {
limit = { check_variable = { rq_t < 537 } }
if = {
limit = { check_variable = { rq_t < 535 } }
if = {
limit = {
NOT = { has_tech = construction8 }
NOT = { is_in_array = { array = rq_queue value = 534 } }
NOT = { is_in_array = { array = rq_ap_ban value = 534 } }
NOT = { is_in_array = { array = global.rq_hid value = 534 } }
OR = {
can_research = construction8
AND = {
OR = { is_in_array = { array = rq_queue value = 533 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 534 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2037.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 534 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 536 } }
if = {
limit = {
NOT = { has_tech = construction9 }
NOT = { is_in_array = { array = rq_queue value = 535 } }
NOT = { is_in_array = { array = rq_ap_ban value = 535 } }
NOT = { is_in_array = { array = global.rq_hid value = 535 } }
OR = {
can_research = construction9
AND = {
OR = { is_in_array = { array = rq_queue value = 534 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 535 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2047.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 535 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 538 } }
if = {
limit = {
NOT = { has_tech = corvette_hull_1 }
NOT = { is_in_array = { array = rq_queue value = 537 } }
NOT = { is_in_array = { array = rq_ap_ban value = 537 } }
NOT = { is_in_array = { array = global.rq_hid value = 537 } }
OR = {
can_research = corvette_hull_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 537 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 5 }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = non_power has_idea = minor_power } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_idea = regional_power }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { any_owned_state = { is_coastal = no } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 537 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 539 } }
if = {
limit = {
NOT = { has_tech = corvette_hull_2 }
NOT = { is_in_array = { array = rq_queue value = 538 } }
NOT = { is_in_array = { array = rq_ap_ban value = 538 } }
NOT = { is_in_array = { array = global.rq_hid value = 538 } }
OR = {
can_research = corvette_hull_2
AND = {
OR = { is_in_array = { array = rq_queue value = 537 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 538 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 538 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = corvette_hull_3 }
NOT = { is_in_array = { array = rq_queue value = 539 } }
NOT = { is_in_array = { array = rq_ap_ban value = 539 } }
NOT = { is_in_array = { array = global.rq_hid value = 539 } }
OR = {
can_research = corvette_hull_3
AND = {
OR = { is_in_array = { array = rq_queue value = 538 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 539 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 539 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 543 } }
if = {
limit = { check_variable = { rq_t < 541 } }
if = {
limit = {
NOT = { has_tech = corvette_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 540 } }
NOT = { is_in_array = { array = rq_ap_ban value = 540 } }
NOT = { is_in_array = { array = global.rq_hid value = 540 } }
OR = {
can_research = corvette_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 539 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 540 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 540 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 542 } }
if = {
limit = {
NOT = { has_tech = corvette_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 541 } }
NOT = { is_in_array = { array = rq_ap_ban value = 541 } }
NOT = { is_in_array = { array = global.rq_hid value = 541 } }
OR = {
can_research = corvette_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 540 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 541 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 541 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = corvette_hull_6 }
NOT = { is_in_array = { array = rq_queue value = 542 } }
NOT = { is_in_array = { array = rq_ap_ban value = 542 } }
NOT = { is_in_array = { array = global.rq_hid value = 542 } }
OR = {
can_research = corvette_hull_6
AND = {
OR = { is_in_array = { array = rq_queue value = 541 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 542 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 542 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 544 } }
if = {
limit = {
NOT = { has_tech = corvette_hull_7 }
NOT = { is_in_array = { array = rq_queue value = 543 } }
NOT = { is_in_array = { array = rq_ap_ban value = 543 } }
NOT = { is_in_array = { array = global.rq_hid value = 543 } }
OR = {
can_research = corvette_hull_7
AND = {
OR = { is_in_array = { array = rq_queue value = 542 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 543 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 543 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 545 } }
if = {
limit = {
NOT = { has_tech = corvette_hull_8 }
NOT = { is_in_array = { array = rq_queue value = 544 } }
NOT = { is_in_array = { array = rq_ap_ban value = 544 } }
NOT = { is_in_array = { array = global.rq_hid value = 544 } }
OR = {
can_research = corvette_hull_8
AND = {
OR = { is_in_array = { array = rq_queue value = 543 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 544 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 544 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = countermeasures_1 }
NOT = { is_in_array = { array = rq_queue value = 545 } }
NOT = { is_in_array = { array = rq_ap_ban value = 545 } }
NOT = { is_in_array = { array = global.rq_hid value = 545 } }
OR = {
can_research = countermeasures_1
AND = {
OR = { is_in_array = { array = rq_queue value = 371 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 545 }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 545 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 552 } }
if = {
limit = { check_variable = { rq_t < 549 } }
if = {
limit = { check_variable = { rq_t < 547 } }
if = {
limit = {
NOT = { has_tech = countermeasures_2 }
NOT = { is_in_array = { array = rq_queue value = 546 } }
NOT = { is_in_array = { array = rq_ap_ban value = 546 } }
NOT = { is_in_array = { array = global.rq_hid value = 546 } }
OR = {
can_research = countermeasures_2
AND = {
OR = { is_in_array = { array = rq_queue value = 372 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 546 }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 546 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 548 } }
if = {
limit = {
NOT = { has_tech = countermeasures_3 }
NOT = { is_in_array = { array = rq_queue value = 547 } }
NOT = { is_in_array = { array = rq_ap_ban value = 547 } }
NOT = { is_in_array = { array = global.rq_hid value = 547 } }
OR = {
can_research = countermeasures_3
AND = {
OR = { is_in_array = { array = rq_queue value = 373 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 547 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 547 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = countermeasures_4 }
NOT = { is_in_array = { array = rq_queue value = 548 } }
NOT = { is_in_array = { array = rq_ap_ban value = 548 } }
NOT = { is_in_array = { array = global.rq_hid value = 548 } }
OR = {
can_research = countermeasures_4
AND = {
OR = { is_in_array = { array = rq_queue value = 374 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 548 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 548 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 550 } }
if = {
limit = {
NOT = { has_tech = countermeasures_5 }
NOT = { is_in_array = { array = rq_queue value = 549 } }
NOT = { is_in_array = { array = rq_ap_ban value = 549 } }
NOT = { is_in_array = { array = global.rq_hid value = 549 } }
OR = {
can_research = countermeasures_5
AND = {
OR = { is_in_array = { array = rq_queue value = 375 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 549 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 549 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 551 } }
if = {
limit = {
NOT = { has_tech = countermeasures_6 }
NOT = { is_in_array = { array = rq_queue value = 550 } }
NOT = { is_in_array = { array = rq_ap_ban value = 550 } }
NOT = { is_in_array = { array = global.rq_hid value = 550 } }
OR = {
can_research = countermeasures_6
AND = {
OR = { is_in_array = { array = rq_queue value = 376 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 550 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 550 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = crispr_1 }
NOT = { is_in_array = { array = rq_queue value = 551 } }
NOT = { is_in_array = { array = rq_ap_ban value = 551 } }
NOT = { is_in_array = { array = global.rq_hid value = 551 } }
OR = {
can_research = crispr_1
AND = {
OR = { is_in_array = { array = rq_queue value = 741 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 551 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 551 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 555 } }
if = {
limit = { check_variable = { rq_t < 553 } }
if = {
limit = {
NOT = { has_tech = crispr_2 }
NOT = { is_in_array = { array = rq_queue value = 552 } }
NOT = { is_in_array = { array = rq_ap_ban value = 552 } }
NOT = { is_in_array = { array = global.rq_hid value = 552 } }
OR = {
can_research = crispr_2
AND = {
OR = { is_in_array = { array = rq_queue value = 551 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 552 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 552 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 554 } }
if = {
limit = {
NOT = { has_tech = crispr_3 }
NOT = { is_in_array = { array = rq_queue value = 553 } }
NOT = { is_in_array = { array = rq_ap_ban value = 553 } }
NOT = { is_in_array = { array = global.rq_hid value = 553 } }
OR = {
can_research = crispr_3
AND = {
OR = { is_in_array = { array = rq_queue value = 552 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 553 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 553 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = crispr_4 }
NOT = { is_in_array = { array = rq_queue value = 554 } }
NOT = { is_in_array = { array = rq_ap_ban value = 554 } }
NOT = { is_in_array = { array = global.rq_hid value = 554 } }
OR = {
can_research = crispr_4
AND = {
OR = { is_in_array = { array = rq_queue value = 553 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 554 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 554 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 556 } }
if = {
limit = {
NOT = { has_tech = cruise_missile }
NOT = { is_in_array = { array = rq_queue value = 555 } }
NOT = { is_in_array = { array = rq_ap_ban value = 555 } }
NOT = { is_in_array = { array = global.rq_hid value = 555 } }
OR = {
can_research = cruise_missile
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 555 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 555 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 557 } }
if = {
limit = {
NOT = { has_tech = cruise_missile_non_got }
NOT = { is_in_array = { array = rq_queue value = 556 } }
NOT = { is_in_array = { array = rq_ap_ban value = 556 } }
NOT = { is_in_array = { array = global.rq_hid value = 556 } }
OR = {
can_research = cruise_missile_non_got
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 556 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 556 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cruiser_hull_1 }
NOT = { is_in_array = { array = rq_queue value = 557 } }
NOT = { is_in_array = { array = rq_ap_ban value = 557 } }
NOT = { is_in_array = { array = global.rq_hid value = 557 } }
OR = {
can_research = cruiser_hull_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 557 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 557 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 651 } }
if = {
limit = { check_variable = { rq_t < 604 } }
if = {
limit = { check_variable = { rq_t < 581 } }
if = {
limit = { check_variable = { rq_t < 569 } }
if = {
limit = { check_variable = { rq_t < 563 } }
if = {
limit = { check_variable = { rq_t < 560 } }
if = {
limit = { check_variable = { rq_t < 559 } }
if = {
limit = {
NOT = { has_tech = cruiser_hull_2 }
NOT = { is_in_array = { array = rq_queue value = 558 } }
NOT = { is_in_array = { array = rq_ap_ban value = 558 } }
NOT = { is_in_array = { array = global.rq_hid value = 558 } }
OR = {
can_research = cruiser_hull_2
AND = {
OR = { is_in_array = { array = rq_queue value = 557 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 558 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 558 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cruiser_hull_3 }
NOT = { is_in_array = { array = rq_queue value = 559 } }
NOT = { is_in_array = { array = rq_ap_ban value = 559 } }
NOT = { is_in_array = { array = global.rq_hid value = 559 } }
OR = {
can_research = cruiser_hull_3
AND = {
OR = { is_in_array = { array = rq_queue value = 558 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 559 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 559 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 561 } }
if = {
limit = {
NOT = { has_tech = cruiser_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 560 } }
NOT = { is_in_array = { array = rq_ap_ban value = 560 } }
NOT = { is_in_array = { array = global.rq_hid value = 560 } }
OR = {
can_research = cruiser_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 559 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 560 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 560 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 562 } }
if = {
limit = {
NOT = { has_tech = cruiser_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 561 } }
NOT = { is_in_array = { array = rq_ap_ban value = 561 } }
NOT = { is_in_array = { array = global.rq_hid value = 561 } }
OR = {
can_research = cruiser_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 560 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 561 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 561 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cruiser_hull_6 }
NOT = { is_in_array = { array = rq_queue value = 562 } }
NOT = { is_in_array = { array = rq_ap_ban value = 562 } }
NOT = { is_in_array = { array = global.rq_hid value = 562 } }
OR = {
can_research = cruiser_hull_6
AND = {
OR = { is_in_array = { array = rq_queue value = 561 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 562 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 562 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 566 } }
if = {
limit = { check_variable = { rq_t < 564 } }
if = {
limit = {
NOT = { has_tech = cruiser_hull_7 }
NOT = { is_in_array = { array = rq_queue value = 563 } }
NOT = { is_in_array = { array = rq_ap_ban value = 563 } }
NOT = { is_in_array = { array = global.rq_hid value = 563 } }
OR = {
can_research = cruiser_hull_7
AND = {
OR = { is_in_array = { array = rq_queue value = 562 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 563 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 563 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 565 } }
if = {
limit = {
NOT = { has_tech = cv_awacs_plane1 }
NOT = { is_in_array = { array = rq_queue value = 564 } }
NOT = { is_in_array = { array = rq_ap_ban value = 564 } }
NOT = { is_in_array = { array = global.rq_hid value = 564 } }
OR = {
can_research = cv_awacs_plane1
AND = {
OR = { is_in_array = { array = rq_queue value = 447 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 564 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 564 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = cv_awacs_plane2 }
NOT = { is_in_array = { array = rq_queue value = 565 } }
NOT = { is_in_array = { array = rq_ap_ban value = 565 } }
NOT = { is_in_array = { array = global.rq_hid value = 565 } }
OR = {
can_research = cv_awacs_plane2
AND = {
OR = { is_in_array = { array = rq_queue value = 448 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 565 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 565 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 567 } }
if = {
limit = {
NOT = { has_tech = decryption_1 }
NOT = { is_in_array = { array = rq_queue value = 566 } }
NOT = { is_in_array = { array = rq_ap_ban value = 566 } }
NOT = { is_in_array = { array = global.rq_hid value = 566 } }
OR = {
can_research = decryption_1
AND = {
OR = { is_in_array = { array = rq_queue value = 513 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 566 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 566 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 568 } }
if = {
limit = {
NOT = { has_tech = decryption_2 }
NOT = { is_in_array = { array = rq_queue value = 567 } }
NOT = { is_in_array = { array = rq_ap_ban value = 567 } }
NOT = { is_in_array = { array = global.rq_hid value = 567 } }
OR = {
can_research = decryption_2
AND = {
OR = { is_in_array = { array = rq_queue value = 516 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 567 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 567 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = decryption_3 }
NOT = { is_in_array = { array = rq_queue value = 568 } }
NOT = { is_in_array = { array = rq_ap_ban value = 568 } }
NOT = { is_in_array = { array = global.rq_hid value = 568 } }
OR = {
can_research = decryption_3
AND = {
OR = { is_in_array = { array = rq_queue value = 517 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 568 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 568 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 575 } }
if = {
limit = { check_variable = { rq_t < 572 } }
if = {
limit = { check_variable = { rq_t < 570 } }
if = {
limit = {
NOT = { has_tech = decryption_4 }
NOT = { is_in_array = { array = rq_queue value = 569 } }
NOT = { is_in_array = { array = rq_ap_ban value = 569 } }
NOT = { is_in_array = { array = global.rq_hid value = 569 } }
OR = {
can_research = decryption_4
AND = {
OR = { is_in_array = { array = rq_queue value = 518 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 569 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 569 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 571 } }
if = {
limit = {
NOT = { has_tech = decryption_5 }
NOT = { is_in_array = { array = rq_queue value = 570 } }
NOT = { is_in_array = { array = rq_ap_ban value = 570 } }
NOT = { is_in_array = { array = global.rq_hid value = 570 } }
OR = {
can_research = decryption_5
AND = {
OR = { is_in_array = { array = rq_queue value = 519 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 570 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 570 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = decryption_6 }
NOT = { is_in_array = { array = rq_queue value = 571 } }
NOT = { is_in_array = { array = rq_ap_ban value = 571 } }
NOT = { is_in_array = { array = global.rq_hid value = 571 } }
OR = {
can_research = decryption_6
AND = {
OR = { is_in_array = { array = rq_queue value = 520 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 571 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 571 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 573 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 574 } }
if = {
limit = {
NOT = { has_tech = defensive_systems }
NOT = { is_in_array = { array = rq_queue value = 573 } }
NOT = { is_in_array = { array = rq_ap_ban value = 573 } }
NOT = { is_in_array = { array = global.rq_hid value = 573 } }
OR = {
can_research = defensive_systems
AND = {
OR = { is_in_array = { array = rq_queue value = 384 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 573 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 573 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = defensive_systems_2 }
NOT = { is_in_array = { array = rq_queue value = 574 } }
NOT = { is_in_array = { array = rq_ap_ban value = 574 } }
NOT = { is_in_array = { array = global.rq_hid value = 574 } }
OR = {
can_research = defensive_systems_2
AND = {
OR = { is_in_array = { array = rq_queue value = 573 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 574 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 574 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 578 } }
if = {
limit = { check_variable = { rq_t < 576 } }
if = {
limit = {
NOT = { has_tech = defensive_systems_3 }
NOT = { is_in_array = { array = rq_queue value = 575 } }
NOT = { is_in_array = { array = rq_ap_ban value = 575 } }
NOT = { is_in_array = { array = global.rq_hid value = 575 } }
OR = {
can_research = defensive_systems_3
AND = {
OR = { is_in_array = { array = rq_queue value = 574 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 575 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 575 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 577 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 579 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 580 } }
}
else = {
if = {
limit = {
NOT = { has_tech = delta_wing_design }
NOT = { is_in_array = { array = rq_queue value = 580 } }
NOT = { is_in_array = { array = rq_ap_ban value = 580 } }
NOT = { is_in_array = { array = global.rq_hid value = 580 } }
OR = {
can_research = delta_wing_design
AND = {
OR = { is_in_array = { array = rq_queue value = 1485 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 580 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 580 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 592 } }
if = {
limit = { check_variable = { rq_t < 586 } }
if = {
limit = { check_variable = { rq_t < 583 } }
if = {
limit = { check_variable = { rq_t < 582 } }
if = {
limit = {
NOT = { has_tech = destroyer_hull_1 }
NOT = { is_in_array = { array = rq_queue value = 581 } }
NOT = { is_in_array = { array = rq_ap_ban value = 581 } }
NOT = { is_in_array = { array = global.rq_hid value = 581 } }
OR = {
can_research = destroyer_hull_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 581 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 581 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = destroyer_hull_2 }
NOT = { is_in_array = { array = rq_queue value = 582 } }
NOT = { is_in_array = { array = rq_ap_ban value = 582 } }
NOT = { is_in_array = { array = global.rq_hid value = 582 } }
OR = {
can_research = destroyer_hull_2
AND = {
OR = { is_in_array = { array = rq_queue value = 581 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 582 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 582 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 584 } }
if = {
limit = {
NOT = { has_tech = destroyer_hull_3 }
NOT = { is_in_array = { array = rq_queue value = 583 } }
NOT = { is_in_array = { array = rq_ap_ban value = 583 } }
NOT = { is_in_array = { array = global.rq_hid value = 583 } }
OR = {
can_research = destroyer_hull_3
AND = {
OR = { is_in_array = { array = rq_queue value = 582 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 583 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 583 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 585 } }
if = {
limit = {
NOT = { has_tech = destroyer_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 584 } }
NOT = { is_in_array = { array = rq_ap_ban value = 584 } }
NOT = { is_in_array = { array = global.rq_hid value = 584 } }
OR = {
can_research = destroyer_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 583 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 584 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 584 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = destroyer_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 585 } }
NOT = { is_in_array = { array = rq_ap_ban value = 585 } }
NOT = { is_in_array = { array = global.rq_hid value = 585 } }
OR = {
can_research = destroyer_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 584 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 585 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 585 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 589 } }
if = {
limit = { check_variable = { rq_t < 587 } }
if = {
limit = {
NOT = { has_tech = destroyer_hull_6 }
NOT = { is_in_array = { array = rq_queue value = 586 } }
NOT = { is_in_array = { array = rq_ap_ban value = 586 } }
NOT = { is_in_array = { array = global.rq_hid value = 586 } }
OR = {
can_research = destroyer_hull_6
AND = {
OR = { is_in_array = { array = rq_queue value = 585 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 586 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 586 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 588 } }
if = {
limit = {
NOT = { has_tech = destroyer_hull_7 }
NOT = { is_in_array = { array = rq_queue value = 587 } }
NOT = { is_in_array = { array = rq_ap_ban value = 587 } }
NOT = { is_in_array = { array = global.rq_hid value = 587 } }
OR = {
can_research = destroyer_hull_7
AND = {
OR = { is_in_array = { array = rq_queue value = 586 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 587 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 587 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = diamond_wing_design }
NOT = { is_in_array = { array = rq_queue value = 588 } }
NOT = { is_in_array = { array = rq_ap_ban value = 588 } }
NOT = { is_in_array = { array = global.rq_hid value = 588 } }
OR = {
can_research = diamond_wing_design
AND = {
OR = { is_in_array = { array = rq_queue value = 714 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 588 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 588 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 590 } }
if = {
limit = {
NOT = { has_tech = diesel_engine_tech }
NOT = { is_in_array = { array = rq_queue value = 589 } }
NOT = { is_in_array = { array = rq_ap_ban value = 589 } }
NOT = { is_in_array = { array = global.rq_hid value = 589 } }
OR = {
can_research = diesel_engine_tech
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 589 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 589 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 591 } }
if = {
limit = {
NOT = { has_tech = diesel_engine_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 590 } }
NOT = { is_in_array = { array = rq_ap_ban value = 590 } }
NOT = { is_in_array = { array = global.rq_hid value = 590 } }
OR = {
can_research = diesel_engine_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 589 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 590 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 590 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = diesel_engine_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 591 } }
NOT = { is_in_array = { array = rq_ap_ban value = 591 } }
NOT = { is_in_array = { array = global.rq_hid value = 591 } }
OR = {
can_research = diesel_engine_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 590 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 591 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 591 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 598 } }
if = {
limit = { check_variable = { rq_t < 595 } }
if = {
limit = { check_variable = { rq_t < 593 } }
if = {
limit = {
NOT = { has_tech = diesel_engine_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 592 } }
NOT = { is_in_array = { array = rq_ap_ban value = 592 } }
NOT = { is_in_array = { array = global.rq_hid value = 592 } }
OR = {
can_research = diesel_engine_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 591 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 592 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 592 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 594 } }
if = {
limit = {
NOT = { has_tech = diesel_engine_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 593 } }
NOT = { is_in_array = { array = rq_ap_ban value = 593 } }
NOT = { is_in_array = { array = global.rq_hid value = 593 } }
OR = {
can_research = diesel_engine_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 592 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 593 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 593 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = diesel_engine_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 594 } }
NOT = { is_in_array = { array = rq_ap_ban value = 594 } }
NOT = { is_in_array = { array = global.rq_hid value = 594 } }
OR = {
can_research = diesel_engine_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 593 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 594 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 594 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 596 } }
if = {
limit = {
NOT = { has_tech = diesel_engine_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 595 } }
NOT = { is_in_array = { array = rq_ap_ban value = 595 } }
NOT = { is_in_array = { array = global.rq_hid value = 595 } }
OR = {
can_research = diesel_engine_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 594 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 595 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 595 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 597 } }
if = {
limit = {
NOT = { has_tech = diesel_engine_tech_8 }
NOT = { is_in_array = { array = rq_queue value = 596 } }
NOT = { is_in_array = { array = rq_ap_ban value = 596 } }
NOT = { is_in_array = { array = global.rq_hid value = 596 } }
OR = {
can_research = diesel_engine_tech_8
AND = {
OR = { is_in_array = { array = rq_queue value = 595 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 596 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 596 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = diesel_engine_tech_9 }
NOT = { is_in_array = { array = rq_queue value = 597 } }
NOT = { is_in_array = { array = rq_ap_ban value = 597 } }
NOT = { is_in_array = { array = global.rq_hid value = 597 } }
OR = {
can_research = diesel_engine_tech_9
AND = {
OR = { is_in_array = { array = rq_queue value = 596 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 597 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 597 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 601 } }
if = {
limit = { check_variable = { rq_t < 599 } }
if = {
limit = {
NOT = { has_tech = drone_1 }
NOT = { is_in_array = { array = rq_queue value = 598 } }
NOT = { is_in_array = { array = rq_ap_ban value = 598 } }
NOT = { is_in_array = { array = global.rq_hid value = 598 } }
OR = {
can_research = drone_1
AND = {
OR = { is_in_array = { array = rq_queue value = 437 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 598 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 598 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 600 } }
if = {
limit = {
NOT = { has_tech = drone_2 }
NOT = { is_in_array = { array = rq_queue value = 599 } }
NOT = { is_in_array = { array = rq_ap_ban value = 599 } }
NOT = { is_in_array = { array = global.rq_hid value = 599 } }
OR = {
can_research = drone_2
AND = {
OR = { is_in_array = { array = rq_queue value = 438 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 599 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 599 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = drone_3 }
NOT = { is_in_array = { array = rq_queue value = 600 } }
NOT = { is_in_array = { array = rq_ap_ban value = 600 } }
NOT = { is_in_array = { array = global.rq_hid value = 600 } }
OR = {
can_research = drone_3
AND = {
OR = { is_in_array = { array = rq_queue value = 439 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 600 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 600 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 602 } }
if = {
limit = {
NOT = { has_tech = drone_4 }
NOT = { is_in_array = { array = rq_queue value = 601 } }
NOT = { is_in_array = { array = rq_ap_ban value = 601 } }
NOT = { is_in_array = { array = global.rq_hid value = 601 } }
OR = {
can_research = drone_4
AND = {
OR = { is_in_array = { array = rq_queue value = 440 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 601 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 601 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 603 } }
if = {
limit = {
NOT = { has_tech = drone_5 }
NOT = { is_in_array = { array = rq_queue value = 602 } }
NOT = { is_in_array = { array = rq_ap_ban value = 602 } }
NOT = { is_in_array = { array = global.rq_hid value = 602 } }
OR = {
can_research = drone_5
AND = {
OR = { is_in_array = { array = rq_queue value = 441 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 602 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 602 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = drone_6 }
NOT = { is_in_array = { array = rq_queue value = 603 } }
NOT = { is_in_array = { array = rq_ap_ban value = 603 } }
NOT = { is_in_array = { array = global.rq_hid value = 603 } }
OR = {
can_research = drone_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1219 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 603 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 603 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 627 } }
if = {
limit = { check_variable = { rq_t < 615 } }
if = {
limit = { check_variable = { rq_t < 609 } }
if = {
limit = { check_variable = { rq_t < 606 } }
if = {
limit = { check_variable = { rq_t < 605 } }
if = {
limit = {
NOT = { has_tech = early_airframe_designs }
NOT = { is_in_array = { array = rq_queue value = 604 } }
NOT = { is_in_array = { array = rq_ap_ban value = 604 } }
NOT = { is_in_array = { array = global.rq_hid value = 604 } }
OR = {
can_research = early_airframe_designs
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 604 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { gdp_per_capita < 7.000 } }
multiply_temp_variable = { rq_ap_w = 0.10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 604 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = early_bomber }
NOT = { is_in_array = { array = rq_queue value = 605 } }
NOT = { is_in_array = { array = rq_ap_ban value = 605 } }
NOT = { is_in_array = { array = global.rq_hid value = 605 } }
OR = {
can_research = early_bomber
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 605 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 605 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 607 } }
if = {
limit = {
NOT = { has_tech = early_fighter }
NOT = { is_in_array = { array = rq_queue value = 606 } }
NOT = { is_in_array = { array = rq_ap_ban value = 606 } }
NOT = { is_in_array = { array = global.rq_hid value = 606 } }
OR = {
can_research = early_fighter
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 606 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { gdp_per_capita < 7.000 } }
multiply_temp_variable = { rq_ap_w = 0.10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 606 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 608 } }
}
else = {
if = {
limit = {
NOT = { has_tech = early_renewables }
NOT = { is_in_array = { array = rq_queue value = 608 } }
NOT = { is_in_array = { array = rq_ap_ban value = 608 } }
NOT = { is_in_array = { array = global.rq_hid value = 608 } }
OR = {
can_research = early_renewables
AND = {
OR = { is_in_array = { array = rq_queue value = 708 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 608 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { OR = { tag = GER tag = ITA tag = JAP } has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 608 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 612 } }
if = {
limit = { check_variable = { rq_t < 610 } }
if = {
limit = {
NOT = { has_tech = early_renewables_9 }
NOT = { is_in_array = { array = rq_queue value = 609 } }
NOT = { is_in_array = { array = rq_ap_ban value = 609 } }
NOT = { is_in_array = { array = global.rq_hid value = 609 } }
OR = {
can_research = early_renewables_9
AND = {
OR = { is_in_array = { array = rq_queue value = 329 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 609 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 609 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 611 } }
if = {
limit = {
NOT = { has_tech = early_weapons }
NOT = { is_in_array = { array = rq_queue value = 610 } }
NOT = { is_in_array = { array = rq_ap_ban value = 610 } }
NOT = { is_in_array = { array = global.rq_hid value = 610 } }
OR = {
can_research = early_weapons
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 610 }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 610 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = edge }
NOT = { is_in_array = { array = rq_queue value = 611 } }
NOT = { is_in_array = { array = rq_ap_ban value = 611 } }
NOT = { is_in_array = { array = global.rq_hid value = 611 } }
OR = {
can_research = edge
AND = {
OR = { is_in_array = { array = rq_queue value = 749 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 611 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 611 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 613 } }
if = {
limit = {
NOT = { has_tech = electric_engine_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 612 } }
NOT = { is_in_array = { array = rq_ap_ban value = 612 } }
NOT = { is_in_array = { array = global.rq_hid value = 612 } }
OR = {
can_research = electric_engine_tech_1
AND = {
OR = { is_in_array = { array = rq_queue value = 589 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 612 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 612 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 614 } }
if = {
limit = {
NOT = { has_tech = electric_engine_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 613 } }
NOT = { is_in_array = { array = rq_ap_ban value = 613 } }
NOT = { is_in_array = { array = global.rq_hid value = 613 } }
OR = {
can_research = electric_engine_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 612 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 613 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 613 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 621 } }
if = {
limit = { check_variable = { rq_t < 618 } }
if = {
limit = { check_variable = { rq_t < 616 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 617 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 619 } }
if = {
limit = {
NOT = { has_tech = electrification_1 }
NOT = { is_in_array = { array = rq_queue value = 618 } }
NOT = { is_in_array = { array = rq_ap_ban value = 618 } }
NOT = { is_in_array = { array = global.rq_hid value = 618 } }
OR = {
can_research = electrification_1
AND = {
OR = { is_in_array = { array = rq_queue value = 708 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 618 }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 618 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 620 } }
if = {
limit = {
NOT = { has_tech = electrification_10 }
NOT = { is_in_array = { array = rq_queue value = 619 } }
NOT = { is_in_array = { array = rq_ap_ban value = 619 } }
NOT = { is_in_array = { array = global.rq_hid value = 619 } }
OR = {
can_research = electrification_10
AND = {
OR = { is_in_array = { array = rq_queue value = 631 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 619 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 619 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = electrification_11 }
NOT = { is_in_array = { array = rq_queue value = 620 } }
NOT = { is_in_array = { array = rq_ap_ban value = 620 } }
NOT = { is_in_array = { array = global.rq_hid value = 620 } }
OR = {
can_research = electrification_11
AND = {
OR = { is_in_array = { array = rq_queue value = 619 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 620 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 620 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 624 } }
if = {
limit = { check_variable = { rq_t < 622 } }
if = {
limit = {
NOT = { has_tech = electrification_12 }
NOT = { is_in_array = { array = rq_queue value = 621 } }
NOT = { is_in_array = { array = rq_ap_ban value = 621 } }
NOT = { is_in_array = { array = global.rq_hid value = 621 } }
OR = {
can_research = electrification_12
AND = {
OR = { is_in_array = { array = rq_queue value = 620 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 621 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 621 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 623 } }
if = {
limit = {
NOT = { has_tech = electrification_13 }
NOT = { is_in_array = { array = rq_queue value = 622 } }
NOT = { is_in_array = { array = rq_ap_ban value = 622 } }
NOT = { is_in_array = { array = global.rq_hid value = 622 } }
OR = {
can_research = electrification_13
AND = {
OR = { is_in_array = { array = rq_queue value = 621 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 622 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 622 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = electrification_14 }
NOT = { is_in_array = { array = rq_queue value = 623 } }
NOT = { is_in_array = { array = rq_ap_ban value = 623 } }
NOT = { is_in_array = { array = global.rq_hid value = 623 } }
OR = {
can_research = electrification_14
AND = {
OR = { is_in_array = { array = rq_queue value = 622 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 623 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 623 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 625 } }
if = {
limit = {
NOT = { has_tech = electrification_2 }
NOT = { is_in_array = { array = rq_queue value = 624 } }
NOT = { is_in_array = { array = rq_ap_ban value = 624 } }
NOT = { is_in_array = { array = global.rq_hid value = 624 } }
OR = {
can_research = electrification_2
AND = {
OR = { is_in_array = { array = rq_queue value = 618 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 624 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 624 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 626 } }
if = {
limit = {
NOT = { has_tech = electrification_3 }
NOT = { is_in_array = { array = rq_queue value = 625 } }
NOT = { is_in_array = { array = rq_ap_ban value = 625 } }
NOT = { is_in_array = { array = global.rq_hid value = 625 } }
OR = {
can_research = electrification_3
AND = {
OR = { is_in_array = { array = rq_queue value = 624 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 625 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 625 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = electrification_4 }
NOT = { is_in_array = { array = rq_queue value = 626 } }
NOT = { is_in_array = { array = rq_ap_ban value = 626 } }
NOT = { is_in_array = { array = global.rq_hid value = 626 } }
OR = {
can_research = electrification_4
AND = {
OR = { is_in_array = { array = rq_queue value = 625 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 626 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 626 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 639 } }
if = {
limit = { check_variable = { rq_t < 633 } }
if = {
limit = { check_variable = { rq_t < 630 } }
if = {
limit = { check_variable = { rq_t < 628 } }
if = {
limit = {
NOT = { has_tech = electrification_5 }
NOT = { is_in_array = { array = rq_queue value = 627 } }
NOT = { is_in_array = { array = rq_ap_ban value = 627 } }
NOT = { is_in_array = { array = global.rq_hid value = 627 } }
OR = {
can_research = electrification_5
AND = {
OR = { is_in_array = { array = rq_queue value = 626 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 627 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 627 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 629 } }
if = {
limit = {
NOT = { has_tech = electrification_6 }
NOT = { is_in_array = { array = rq_queue value = 628 } }
NOT = { is_in_array = { array = rq_ap_ban value = 628 } }
NOT = { is_in_array = { array = global.rq_hid value = 628 } }
OR = {
can_research = electrification_6
AND = {
OR = { is_in_array = { array = rq_queue value = 627 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 628 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 628 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = electrification_7 }
NOT = { is_in_array = { array = rq_queue value = 629 } }
NOT = { is_in_array = { array = rq_ap_ban value = 629 } }
NOT = { is_in_array = { array = global.rq_hid value = 629 } }
OR = {
can_research = electrification_7
AND = {
OR = { is_in_array = { array = rq_queue value = 628 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 629 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 629 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 631 } }
if = {
limit = {
NOT = { has_tech = electrification_8 }
NOT = { is_in_array = { array = rq_queue value = 630 } }
NOT = { is_in_array = { array = rq_ap_ban value = 630 } }
NOT = { is_in_array = { array = global.rq_hid value = 630 } }
OR = {
can_research = electrification_8
AND = {
OR = { is_in_array = { array = rq_queue value = 629 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 630 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 630 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 632 } }
if = {
limit = {
NOT = { has_tech = electrification_9 }
NOT = { is_in_array = { array = rq_queue value = 631 } }
NOT = { is_in_array = { array = rq_ap_ban value = 631 } }
NOT = { is_in_array = { array = global.rq_hid value = 631 } }
OR = {
can_research = electrification_9
AND = {
OR = { is_in_array = { array = rq_queue value = 630 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 631 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 631 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = encryption_1 }
NOT = { is_in_array = { array = rq_queue value = 632 } }
NOT = { is_in_array = { array = rq_ap_ban value = 632 } }
NOT = { is_in_array = { array = global.rq_hid value = 632 } }
OR = {
can_research = encryption_1
AND = {
OR = { is_in_array = { array = rq_queue value = 513 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 632 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 632 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 636 } }
if = {
limit = { check_variable = { rq_t < 634 } }
if = {
limit = {
NOT = { has_tech = encryption_2 }
NOT = { is_in_array = { array = rq_queue value = 633 } }
NOT = { is_in_array = { array = rq_ap_ban value = 633 } }
NOT = { is_in_array = { array = global.rq_hid value = 633 } }
OR = {
can_research = encryption_2
AND = {
OR = { is_in_array = { array = rq_queue value = 516 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 633 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 633 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 635 } }
if = {
limit = {
NOT = { has_tech = encryption_3 }
NOT = { is_in_array = { array = rq_queue value = 634 } }
NOT = { is_in_array = { array = rq_ap_ban value = 634 } }
NOT = { is_in_array = { array = global.rq_hid value = 634 } }
OR = {
can_research = encryption_3
AND = {
OR = { is_in_array = { array = rq_queue value = 517 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 634 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 634 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = encryption_4 }
NOT = { is_in_array = { array = rq_queue value = 635 } }
NOT = { is_in_array = { array = rq_ap_ban value = 635 } }
NOT = { is_in_array = { array = global.rq_hid value = 635 } }
OR = {
can_research = encryption_4
AND = {
OR = { is_in_array = { array = rq_queue value = 518 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 635 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 635 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 637 } }
if = {
limit = {
NOT = { has_tech = encryption_5 }
NOT = { is_in_array = { array = rq_queue value = 636 } }
NOT = { is_in_array = { array = rq_ap_ban value = 636 } }
NOT = { is_in_array = { array = global.rq_hid value = 636 } }
OR = {
can_research = encryption_5
AND = {
OR = { is_in_array = { array = rq_queue value = 519 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 636 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 636 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 638 } }
if = {
limit = {
NOT = { has_tech = encryption_6 }
NOT = { is_in_array = { array = rq_queue value = 637 } }
NOT = { is_in_array = { array = rq_ap_ban value = 637 } }
NOT = { is_in_array = { array = global.rq_hid value = 637 } }
OR = {
can_research = encryption_6
AND = {
OR = { is_in_array = { array = rq_queue value = 520 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 637 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 637 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = energy_efficiency }
NOT = { is_in_array = { array = rq_queue value = 638 } }
NOT = { is_in_array = { array = rq_ap_ban value = 638 } }
NOT = { is_in_array = { array = global.rq_hid value = 638 } }
OR = {
can_research = energy_efficiency
AND = {
OR = { is_in_array = { array = rq_queue value = 708 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 638 }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 638 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 645 } }
if = {
limit = { check_variable = { rq_t < 642 } }
if = {
limit = { check_variable = { rq_t < 640 } }
if = {
limit = {
NOT = { has_tech = energy_efficiency2 }
NOT = { is_in_array = { array = rq_queue value = 639 } }
NOT = { is_in_array = { array = rq_ap_ban value = 639 } }
NOT = { is_in_array = { array = global.rq_hid value = 639 } }
OR = {
can_research = energy_efficiency2
AND = {
OR = { is_in_array = { array = rq_queue value = 638 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 639 }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 639 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 641 } }
if = {
limit = {
NOT = { has_tech = energy_efficiency3 }
NOT = { is_in_array = { array = rq_queue value = 640 } }
NOT = { is_in_array = { array = rq_ap_ban value = 640 } }
NOT = { is_in_array = { array = global.rq_hid value = 640 } }
OR = {
can_research = energy_efficiency3
AND = {
OR = { is_in_array = { array = rq_queue value = 639 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 640 }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 640 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = energy_efficiency4 }
NOT = { is_in_array = { array = rq_queue value = 641 } }
NOT = { is_in_array = { array = rq_ap_ban value = 641 } }
NOT = { is_in_array = { array = global.rq_hid value = 641 } }
OR = {
can_research = energy_efficiency4
AND = {
OR = { is_in_array = { array = rq_queue value = 640 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 641 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 641 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 643 } }
if = {
limit = {
NOT = { has_tech = energy_efficiency5 }
NOT = { is_in_array = { array = rq_queue value = 642 } }
NOT = { is_in_array = { array = rq_ap_ban value = 642 } }
NOT = { is_in_array = { array = global.rq_hid value = 642 } }
OR = {
can_research = energy_efficiency5
AND = {
OR = { is_in_array = { array = rq_queue value = 641 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 642 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 642 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 644 } }
if = {
limit = {
NOT = { has_tech = energy_efficiency6 }
NOT = { is_in_array = { array = rq_queue value = 643 } }
NOT = { is_in_array = { array = rq_ap_ban value = 643 } }
NOT = { is_in_array = { array = global.rq_hid value = 643 } }
OR = {
can_research = energy_efficiency6
AND = {
OR = { is_in_array = { array = rq_queue value = 642 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 643 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 643 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = energy_efficiency7 }
NOT = { is_in_array = { array = rq_queue value = 644 } }
NOT = { is_in_array = { array = rq_ap_ban value = 644 } }
NOT = { is_in_array = { array = global.rq_hid value = 644 } }
OR = {
can_research = energy_efficiency7
AND = {
OR = { is_in_array = { array = rq_queue value = 643 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 644 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 644 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 648 } }
if = {
limit = { check_variable = { rq_t < 646 } }
if = {
limit = {
NOT = { has_tech = energy_efficiency8 }
NOT = { is_in_array = { array = rq_queue value = 645 } }
NOT = { is_in_array = { array = rq_ap_ban value = 645 } }
NOT = { is_in_array = { array = global.rq_hid value = 645 } }
OR = {
can_research = energy_efficiency8
AND = {
OR = { is_in_array = { array = rq_queue value = 644 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 645 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 645 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 647 } }
if = {
limit = {
NOT = { has_tech = energy_efficiency_10 }
NOT = { is_in_array = { array = rq_queue value = 646 } }
NOT = { is_in_array = { array = rq_ap_ban value = 646 } }
NOT = { is_in_array = { array = global.rq_hid value = 646 } }
OR = {
can_research = energy_efficiency_10
AND = {
OR = { is_in_array = { array = rq_queue value = 649 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 646 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 646 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = energy_efficiency_11 }
NOT = { is_in_array = { array = rq_queue value = 647 } }
NOT = { is_in_array = { array = rq_ap_ban value = 647 } }
NOT = { is_in_array = { array = global.rq_hid value = 647 } }
OR = {
can_research = energy_efficiency_11
AND = {
OR = { is_in_array = { array = rq_queue value = 646 } is_in_array = { array = rq_queue value = 646 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 647 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 647 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 649 } }
if = {
limit = {
NOT = { has_tech = energy_efficiency_12 }
NOT = { is_in_array = { array = rq_queue value = 648 } }
NOT = { is_in_array = { array = rq_ap_ban value = 648 } }
NOT = { is_in_array = { array = global.rq_hid value = 648 } }
OR = {
can_research = energy_efficiency_12
AND = {
OR = { is_in_array = { array = rq_queue value = 647 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 648 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 648 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 650 } }
if = {
limit = {
NOT = { has_tech = energy_efficiency_9 }
NOT = { is_in_array = { array = rq_queue value = 649 } }
NOT = { is_in_array = { array = rq_ap_ban value = 649 } }
NOT = { is_in_array = { array = global.rq_hid value = 649 } }
OR = {
can_research = energy_efficiency_9
AND = {
OR = { is_in_array = { array = rq_queue value = 645 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 649 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 649 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = engines_2 }
NOT = { is_in_array = { array = rq_queue value = 650 } }
NOT = { is_in_array = { array = rq_ap_ban value = 650 } }
NOT = { is_in_array = { array = global.rq_hid value = 650 } }
OR = {
can_research = engines_2
AND = {
OR = { is_in_array = { array = rq_queue value = 604 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 650 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 650 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 697 } }
if = {
limit = { check_variable = { rq_t < 674 } }
if = {
limit = { check_variable = { rq_t < 662 } }
if = {
limit = { check_variable = { rq_t < 656 } }
if = {
limit = { check_variable = { rq_t < 653 } }
if = {
limit = { check_variable = { rq_t < 652 } }
if = {
limit = {
NOT = { has_tech = engines_3 }
NOT = { is_in_array = { array = rq_queue value = 651 } }
NOT = { is_in_array = { array = rq_ap_ban value = 651 } }
NOT = { is_in_array = { array = global.rq_hid value = 651 } }
OR = {
can_research = engines_3
AND = {
OR = { is_in_array = { array = rq_queue value = 650 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 651 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 651 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = engines_4 }
NOT = { is_in_array = { array = rq_queue value = 652 } }
NOT = { is_in_array = { array = rq_ap_ban value = 652 } }
NOT = { is_in_array = { array = global.rq_hid value = 652 } }
OR = {
can_research = engines_4
AND = {
OR = { is_in_array = { array = rq_queue value = 651 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 652 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 652 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 654 } }
if = {
limit = {
NOT = { has_tech = engines_5 }
NOT = { is_in_array = { array = rq_queue value = 653 } }
NOT = { is_in_array = { array = rq_ap_ban value = 653 } }
NOT = { is_in_array = { array = global.rq_hid value = 653 } }
OR = {
can_research = engines_5
AND = {
OR = { is_in_array = { array = rq_queue value = 652 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 653 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 653 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 655 } }
if = {
limit = {
NOT = { has_tech = engines_6 }
NOT = { is_in_array = { array = rq_queue value = 654 } }
NOT = { is_in_array = { array = rq_ap_ban value = 654 } }
NOT = { is_in_array = { array = global.rq_hid value = 654 } }
OR = {
can_research = engines_6
AND = {
OR = { is_in_array = { array = rq_queue value = 653 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 654 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 654 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = era_tech }
NOT = { is_in_array = { array = rq_queue value = 655 } }
NOT = { is_in_array = { array = rq_ap_ban value = 655 } }
NOT = { is_in_array = { array = global.rq_hid value = 655 } }
OR = {
can_research = era_tech
AND = {
OR = { is_in_array = { array = rq_queue value = 384 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 655 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 655 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 659 } }
if = {
limit = { check_variable = { rq_t < 657 } }
if = {
limit = {
NOT = { has_tech = era_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 656 } }
NOT = { is_in_array = { array = rq_ap_ban value = 656 } }
NOT = { is_in_array = { array = global.rq_hid value = 656 } }
OR = {
can_research = era_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 655 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 656 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 656 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 658 } }
if = {
limit = {
NOT = { has_tech = era_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 657 } }
NOT = { is_in_array = { array = rq_ap_ban value = 657 } }
NOT = { is_in_array = { array = global.rq_hid value = 657 } }
OR = {
can_research = era_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 656 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 657 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_era_tech_3 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 657 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = era_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 658 } }
NOT = { is_in_array = { array = rq_ap_ban value = 658 } }
NOT = { is_in_array = { array = global.rq_hid value = 658 } }
OR = {
can_research = era_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 657 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 658 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 658 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 660 } }
if = {
limit = {
NOT = { has_tech = era_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 659 } }
NOT = { is_in_array = { array = rq_ap_ban value = 659 } }
NOT = { is_in_array = { array = global.rq_hid value = 659 } }
OR = {
can_research = era_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 658 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 659 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 659 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 661 } }
if = {
limit = {
NOT = { has_tech = era_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 660 } }
NOT = { is_in_array = { array = rq_ap_ban value = 660 } }
NOT = { is_in_array = { array = global.rq_hid value = 660 } }
OR = {
can_research = era_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 659 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 660 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 660 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = excavation1 }
NOT = { is_in_array = { array = rq_queue value = 661 } }
NOT = { is_in_array = { array = rq_ap_ban value = 661 } }
NOT = { is_in_array = { array = global.rq_hid value = 661 } }
OR = {
can_research = excavation1
AND = {
OR = { is_in_array = { array = rq_queue value = 524 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 661 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { original_tag = USA original_tag = CHI original_tag = SOV } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 661 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 668 } }
if = {
limit = { check_variable = { rq_t < 665 } }
if = {
limit = { check_variable = { rq_t < 663 } }
if = {
limit = {
NOT = { has_tech = excavation10 }
NOT = { is_in_array = { array = rq_queue value = 662 } }
NOT = { is_in_array = { array = rq_ap_ban value = 662 } }
NOT = { is_in_array = { array = global.rq_hid value = 662 } }
OR = {
can_research = excavation10
AND = {
OR = { is_in_array = { array = rq_queue value = 525 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 662 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 662 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 664 } }
if = {
limit = {
NOT = { has_tech = excavation11 }
NOT = { is_in_array = { array = rq_queue value = 663 } }
NOT = { is_in_array = { array = rq_ap_ban value = 663 } }
NOT = { is_in_array = { array = global.rq_hid value = 663 } }
OR = {
can_research = excavation11
AND = {
OR = { is_in_array = { array = rq_queue value = 526 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 663 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 663 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = excavation12 }
NOT = { is_in_array = { array = rq_queue value = 664 } }
NOT = { is_in_array = { array = rq_ap_ban value = 664 } }
NOT = { is_in_array = { array = global.rq_hid value = 664 } }
OR = {
can_research = excavation12
AND = {
OR = { is_in_array = { array = rq_queue value = 527 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 664 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 664 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 666 } }
if = {
limit = {
NOT = { has_tech = excavation2 }
NOT = { is_in_array = { array = rq_queue value = 665 } }
NOT = { is_in_array = { array = rq_ap_ban value = 665 } }
NOT = { is_in_array = { array = global.rq_hid value = 665 } }
OR = {
can_research = excavation2
AND = {
OR = { is_in_array = { array = rq_queue value = 528 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 665 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { original_tag = USA original_tag = CHI original_tag = SOV } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 665 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 667 } }
if = {
limit = {
NOT = { has_tech = excavation3 }
NOT = { is_in_array = { array = rq_queue value = 666 } }
NOT = { is_in_array = { array = rq_ap_ban value = 666 } }
NOT = { is_in_array = { array = global.rq_hid value = 666 } }
OR = {
can_research = excavation3
AND = {
OR = { is_in_array = { array = rq_queue value = 529 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 666 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { original_tag = USA original_tag = CHI original_tag = SOV } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 666 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = excavation4 }
NOT = { is_in_array = { array = rq_queue value = 667 } }
NOT = { is_in_array = { array = rq_ap_ban value = 667 } }
NOT = { is_in_array = { array = global.rq_hid value = 667 } }
OR = {
can_research = excavation4
AND = {
OR = { is_in_array = { array = rq_queue value = 530 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 667 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 667 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 671 } }
if = {
limit = { check_variable = { rq_t < 669 } }
if = {
limit = {
NOT = { has_tech = excavation5 }
NOT = { is_in_array = { array = rq_queue value = 668 } }
NOT = { is_in_array = { array = rq_ap_ban value = 668 } }
NOT = { is_in_array = { array = global.rq_hid value = 668 } }
OR = {
can_research = excavation5
AND = {
OR = { is_in_array = { array = rq_queue value = 531 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 668 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 668 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 670 } }
if = {
limit = {
NOT = { has_tech = excavation6 }
NOT = { is_in_array = { array = rq_queue value = 669 } }
NOT = { is_in_array = { array = rq_ap_ban value = 669 } }
NOT = { is_in_array = { array = global.rq_hid value = 669 } }
OR = {
can_research = excavation6
AND = {
OR = { is_in_array = { array = rq_queue value = 532 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 669 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 669 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = excavation7 }
NOT = { is_in_array = { array = rq_queue value = 670 } }
NOT = { is_in_array = { array = rq_ap_ban value = 670 } }
NOT = { is_in_array = { array = global.rq_hid value = 670 } }
OR = {
can_research = excavation7
AND = {
OR = { is_in_array = { array = rq_queue value = 533 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 670 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 670 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 672 } }
if = {
limit = {
NOT = { has_tech = excavation8 }
NOT = { is_in_array = { array = rq_queue value = 671 } }
NOT = { is_in_array = { array = rq_ap_ban value = 671 } }
NOT = { is_in_array = { array = global.rq_hid value = 671 } }
OR = {
can_research = excavation8
AND = {
OR = { is_in_array = { array = rq_queue value = 534 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 671 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 671 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 673 } }
if = {
limit = {
NOT = { has_tech = excavation9 }
NOT = { is_in_array = { array = rq_queue value = 672 } }
NOT = { is_in_array = { array = rq_ap_ban value = 672 } }
NOT = { is_in_array = { array = global.rq_hid value = 672 } }
OR = {
can_research = excavation9
AND = {
OR = { is_in_array = { array = rq_queue value = 535 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 672 }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 672 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 685 } }
if = {
limit = { check_variable = { rq_t < 679 } }
if = {
limit = { check_variable = { rq_t < 676 } }
if = {
limit = { check_variable = { rq_t < 675 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 677 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 678 } }
}
else = {
if = {
limit = {
NOT = { has_tech = flying_wing_design }
NOT = { is_in_array = { array = rq_queue value = 678 } }
NOT = { is_in_array = { array = rq_ap_ban value = 678 } }
NOT = { is_in_array = { array = global.rq_hid value = 678 } }
OR = {
can_research = flying_wing_design
AND = {
OR = { is_in_array = { array = rq_queue value = 604 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 678 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 678 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 682 } }
if = {
limit = { check_variable = { rq_t < 680 } }
if = {
limit = {
NOT = { has_tech = frigate_hull_1 }
NOT = { is_in_array = { array = rq_queue value = 679 } }
NOT = { is_in_array = { array = rq_ap_ban value = 679 } }
NOT = { is_in_array = { array = global.rq_hid value = 679 } }
OR = {
can_research = frigate_hull_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 679 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 679 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 681 } }
if = {
limit = {
NOT = { has_tech = frigate_hull_2 }
NOT = { is_in_array = { array = rq_queue value = 680 } }
NOT = { is_in_array = { array = rq_ap_ban value = 680 } }
NOT = { is_in_array = { array = global.rq_hid value = 680 } }
OR = {
can_research = frigate_hull_2
AND = {
OR = { is_in_array = { array = rq_queue value = 679 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 680 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 680 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = frigate_hull_3 }
NOT = { is_in_array = { array = rq_queue value = 681 } }
NOT = { is_in_array = { array = rq_ap_ban value = 681 } }
NOT = { is_in_array = { array = global.rq_hid value = 681 } }
OR = {
can_research = frigate_hull_3
AND = {
OR = { is_in_array = { array = rq_queue value = 680 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 681 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 681 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 683 } }
if = {
limit = {
NOT = { has_tech = frigate_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 682 } }
NOT = { is_in_array = { array = rq_ap_ban value = 682 } }
NOT = { is_in_array = { array = global.rq_hid value = 682 } }
OR = {
can_research = frigate_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 681 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 682 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 682 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 684 } }
if = {
limit = {
NOT = { has_tech = frigate_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 683 } }
NOT = { is_in_array = { array = rq_ap_ban value = 683 } }
NOT = { is_in_array = { array = global.rq_hid value = 683 } }
OR = {
can_research = frigate_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 682 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 683 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 683 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = frigate_hull_6 }
NOT = { is_in_array = { array = rq_queue value = 684 } }
NOT = { is_in_array = { array = rq_ap_ban value = 684 } }
NOT = { is_in_array = { array = global.rq_hid value = 684 } }
OR = {
can_research = frigate_hull_6
AND = {
OR = { is_in_array = { array = rq_queue value = 683 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 684 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 684 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 691 } }
if = {
limit = { check_variable = { rq_t < 688 } }
if = {
limit = { check_variable = { rq_t < 686 } }
if = {
limit = {
NOT = { has_tech = frigate_hull_7 }
NOT = { is_in_array = { array = rq_queue value = 685 } }
NOT = { is_in_array = { array = rq_ap_ban value = 685 } }
NOT = { is_in_array = { array = global.rq_hid value = 685 } }
OR = {
can_research = frigate_hull_7
AND = {
OR = { is_in_array = { array = rq_queue value = 684 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 685 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 685 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 687 } }
if = {
limit = {
NOT = { has_tech = frigate_hull_8 }
NOT = { is_in_array = { array = rq_queue value = 686 } }
NOT = { is_in_array = { array = rq_ap_ban value = 686 } }
NOT = { is_in_array = { array = global.rq_hid value = 686 } }
OR = {
can_research = frigate_hull_8
AND = {
OR = { is_in_array = { array = rq_queue value = 685 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 686 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 686 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = fuel_efficiency }
NOT = { is_in_array = { array = rq_queue value = 687 } }
NOT = { is_in_array = { array = rq_ap_ban value = 687 } }
NOT = { is_in_array = { array = global.rq_hid value = 687 } }
OR = {
can_research = fuel_efficiency
AND = {
OR = { is_in_array = { array = rq_queue value = 708 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 687 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 687 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 689 } }
if = {
limit = {
NOT = { has_tech = fuel_efficiency2 }
NOT = { is_in_array = { array = rq_queue value = 688 } }
NOT = { is_in_array = { array = rq_ap_ban value = 688 } }
NOT = { is_in_array = { array = global.rq_hid value = 688 } }
OR = {
can_research = fuel_efficiency2
AND = {
OR = { is_in_array = { array = rq_queue value = 687 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 688 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 688 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 690 } }
if = {
limit = {
NOT = { has_tech = fuel_efficiency3 }
NOT = { is_in_array = { array = rq_queue value = 689 } }
NOT = { is_in_array = { array = rq_ap_ban value = 689 } }
NOT = { is_in_array = { array = global.rq_hid value = 689 } }
OR = {
can_research = fuel_efficiency3
AND = {
OR = { is_in_array = { array = rq_queue value = 688 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 689 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 689 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = fuel_efficiency4 }
NOT = { is_in_array = { array = rq_queue value = 690 } }
NOT = { is_in_array = { array = rq_ap_ban value = 690 } }
NOT = { is_in_array = { array = global.rq_hid value = 690 } }
OR = {
can_research = fuel_efficiency4
AND = {
OR = { is_in_array = { array = rq_queue value = 689 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 690 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 690 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 694 } }
if = {
limit = { check_variable = { rq_t < 692 } }
if = {
limit = {
NOT = { has_tech = fuel_efficiency5 }
NOT = { is_in_array = { array = rq_queue value = 691 } }
NOT = { is_in_array = { array = rq_ap_ban value = 691 } }
NOT = { is_in_array = { array = global.rq_hid value = 691 } }
OR = {
can_research = fuel_efficiency5
AND = {
OR = { is_in_array = { array = rq_queue value = 690 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 691 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 691 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 693 } }
if = {
limit = {
NOT = { has_tech = fuel_efficiency6 }
NOT = { is_in_array = { array = rq_queue value = 692 } }
NOT = { is_in_array = { array = rq_ap_ban value = 692 } }
NOT = { is_in_array = { array = global.rq_hid value = 692 } }
OR = {
can_research = fuel_efficiency6
AND = {
OR = { is_in_array = { array = rq_queue value = 691 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 692 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 692 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = fuel_efficiency_10 }
NOT = { is_in_array = { array = rq_queue value = 693 } }
NOT = { is_in_array = { array = rq_ap_ban value = 693 } }
NOT = { is_in_array = { array = global.rq_hid value = 693 } }
OR = {
can_research = fuel_efficiency_10
AND = {
OR = { is_in_array = { array = rq_queue value = 696 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 693 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 693 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 695 } }
if = {
limit = {
NOT = { has_tech = fuel_efficiency_7 }
NOT = { is_in_array = { array = rq_queue value = 694 } }
NOT = { is_in_array = { array = rq_ap_ban value = 694 } }
NOT = { is_in_array = { array = global.rq_hid value = 694 } }
OR = {
can_research = fuel_efficiency_7
AND = {
OR = { is_in_array = { array = rq_queue value = 692 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 694 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 694 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 696 } }
if = {
limit = {
NOT = { has_tech = fuel_efficiency_8 }
NOT = { is_in_array = { array = rq_queue value = 695 } }
NOT = { is_in_array = { array = rq_ap_ban value = 695 } }
NOT = { is_in_array = { array = global.rq_hid value = 695 } }
OR = {
can_research = fuel_efficiency_8
AND = {
OR = { is_in_array = { array = rq_queue value = 694 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 695 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 695 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = fuel_efficiency_9 }
NOT = { is_in_array = { array = rq_queue value = 696 } }
NOT = { is_in_array = { array = rq_ap_ban value = 696 } }
NOT = { is_in_array = { array = global.rq_hid value = 696 } }
OR = {
can_research = fuel_efficiency_9
AND = {
OR = { is_in_array = { array = rq_queue value = 695 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 696 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 696 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 720 } }
if = {
limit = { check_variable = { rq_t < 708 } }
if = {
limit = { check_variable = { rq_t < 702 } }
if = {
limit = { check_variable = { rq_t < 699 } }
if = {
limit = { check_variable = { rq_t < 698 } }
if = {
limit = {
NOT = { has_tech = fuel_refining }
NOT = { is_in_array = { array = rq_queue value = 697 } }
NOT = { is_in_array = { array = rq_ap_ban value = 697 } }
NOT = { is_in_array = { array = global.rq_hid value = 697 } }
OR = {
can_research = fuel_refining
AND = {
OR = { is_in_array = { array = rq_queue value = 708 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 697 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { OR = { tag = USA tag = NIG tag = SOV tag = SAU tag = BHR tag = PER tag = OMA tag = UAE } }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 10 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 10 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 697 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = fuel_refining10 }
NOT = { is_in_array = { array = rq_queue value = 698 } }
NOT = { is_in_array = { array = rq_ap_ban value = 698 } }
NOT = { is_in_array = { array = global.rq_hid value = 698 } }
OR = {
can_research = fuel_refining10
AND = {
OR = { is_in_array = { array = rq_queue value = 707 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 698 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 698 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 700 } }
if = {
limit = {
NOT = { has_tech = fuel_refining11 }
NOT = { is_in_array = { array = rq_queue value = 699 } }
NOT = { is_in_array = { array = rq_ap_ban value = 699 } }
NOT = { is_in_array = { array = global.rq_hid value = 699 } }
OR = {
can_research = fuel_refining11
AND = {
OR = { is_in_array = { array = rq_queue value = 698 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 699 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 699 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 701 } }
if = {
limit = {
NOT = { has_tech = fuel_refining2 }
NOT = { is_in_array = { array = rq_queue value = 700 } }
NOT = { is_in_array = { array = rq_ap_ban value = 700 } }
NOT = { is_in_array = { array = global.rq_hid value = 700 } }
OR = {
can_research = fuel_refining2
AND = {
OR = { is_in_array = { array = rq_queue value = 697 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 700 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 700 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = fuel_refining3 }
NOT = { is_in_array = { array = rq_queue value = 701 } }
NOT = { is_in_array = { array = rq_ap_ban value = 701 } }
NOT = { is_in_array = { array = global.rq_hid value = 701 } }
OR = {
can_research = fuel_refining3
AND = {
OR = { is_in_array = { array = rq_queue value = 700 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 701 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 701 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 705 } }
if = {
limit = { check_variable = { rq_t < 703 } }
if = {
limit = {
NOT = { has_tech = fuel_refining4 }
NOT = { is_in_array = { array = rq_queue value = 702 } }
NOT = { is_in_array = { array = rq_ap_ban value = 702 } }
NOT = { is_in_array = { array = global.rq_hid value = 702 } }
OR = {
can_research = fuel_refining4
AND = {
OR = { is_in_array = { array = rq_queue value = 701 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 702 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 702 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 704 } }
if = {
limit = {
NOT = { has_tech = fuel_refining5 }
NOT = { is_in_array = { array = rq_queue value = 703 } }
NOT = { is_in_array = { array = rq_ap_ban value = 703 } }
NOT = { is_in_array = { array = global.rq_hid value = 703 } }
OR = {
can_research = fuel_refining5
AND = {
OR = { is_in_array = { array = rq_queue value = 702 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 703 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 703 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = fuel_refining6 }
NOT = { is_in_array = { array = rq_queue value = 704 } }
NOT = { is_in_array = { array = rq_ap_ban value = 704 } }
NOT = { is_in_array = { array = global.rq_hid value = 704 } }
OR = {
can_research = fuel_refining6
AND = {
OR = { is_in_array = { array = rq_queue value = 703 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 704 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 704 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 706 } }
if = {
limit = {
NOT = { has_tech = fuel_refining7 }
NOT = { is_in_array = { array = rq_queue value = 705 } }
NOT = { is_in_array = { array = rq_ap_ban value = 705 } }
NOT = { is_in_array = { array = global.rq_hid value = 705 } }
OR = {
can_research = fuel_refining7
AND = {
OR = { is_in_array = { array = rq_queue value = 704 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 705 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 705 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 707 } }
if = {
limit = {
NOT = { has_tech = fuel_refining8 }
NOT = { is_in_array = { array = rq_queue value = 706 } }
NOT = { is_in_array = { array = rq_ap_ban value = 706 } }
NOT = { is_in_array = { array = global.rq_hid value = 706 } }
OR = {
can_research = fuel_refining8
AND = {
OR = { is_in_array = { array = rq_queue value = 705 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 706 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 706 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = fuel_refining9 }
NOT = { is_in_array = { array = rq_queue value = 707 } }
NOT = { is_in_array = { array = rq_ap_ban value = 707 } }
NOT = { is_in_array = { array = global.rq_hid value = 707 } }
OR = {
can_research = fuel_refining9
AND = {
OR = { is_in_array = { array = rq_queue value = 706 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 707 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 707 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 714 } }
if = {
limit = { check_variable = { rq_t < 711 } }
if = {
limit = { check_variable = { rq_t < 709 } }
if = {
limit = {
NOT = { has_tech = fuel_silos }
NOT = { is_in_array = { array = rq_queue value = 708 } }
NOT = { is_in_array = { array = rq_ap_ban value = 708 } }
NOT = { is_in_array = { array = global.rq_hid value = 708 } }
OR = {
can_research = fuel_silos
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 708 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 708 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 710 } }
if = {
limit = {
NOT = { has_tech = full_reusable_OLV7 }
NOT = { is_in_array = { array = rq_queue value = 709 } }
NOT = { is_in_array = { array = rq_ap_ban value = 709 } }
NOT = { is_in_array = { array = global.rq_hid value = 709 } }
OR = {
can_research = full_reusable_OLV7
AND = {
OR = { is_in_array = { array = rq_queue value = 257 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 709 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 709 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = full_reusable_OLV8 }
NOT = { is_in_array = { array = rq_queue value = 710 } }
NOT = { is_in_array = { array = rq_ap_ban value = 710 } }
NOT = { is_in_array = { array = global.rq_hid value = 710 } }
OR = {
can_research = full_reusable_OLV8
AND = {
OR = { is_in_array = { array = rq_queue value = 258 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 710 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 710 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 712 } }
if = {
limit = {
NOT = { has_tech = future_wingform_designs }
NOT = { is_in_array = { array = rq_queue value = 711 } }
NOT = { is_in_array = { array = rq_ap_ban value = 711 } }
NOT = { is_in_array = { array = global.rq_hid value = 711 } }
OR = {
can_research = future_wingform_designs
AND = {
OR = { is_in_array = { array = rq_queue value = 580 } is_in_array = { array = rq_queue value = 588 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 711 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 711 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 713 } }
if = {
limit = {
NOT = { has_tech = future_wingform_designs_2 }
NOT = { is_in_array = { array = rq_queue value = 712 } }
NOT = { is_in_array = { array = rq_ap_ban value = 712 } }
NOT = { is_in_array = { array = global.rq_hid value = 712 } }
OR = {
can_research = future_wingform_designs_2
AND = {
OR = { is_in_array = { array = rq_queue value = 711 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 712 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 712 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = future_wingform_designs_3 }
NOT = { is_in_array = { array = rq_queue value = 713 } }
NOT = { is_in_array = { array = rq_ap_ban value = 713 } }
NOT = { is_in_array = { array = global.rq_hid value = 713 } }
OR = {
can_research = future_wingform_designs_3
AND = {
OR = { is_in_array = { array = rq_queue value = 712 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 713 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 713 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 717 } }
if = {
limit = { check_variable = { rq_t < 715 } }
if = {
limit = {
NOT = { has_tech = fwdswept_wing_design }
NOT = { is_in_array = { array = rq_queue value = 714 } }
NOT = { is_in_array = { array = rq_ap_ban value = 714 } }
NOT = { is_in_array = { array = global.rq_hid value = 714 } }
OR = {
can_research = fwdswept_wing_design
AND = {
OR = { is_in_array = { array = rq_queue value = 678 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 714 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 714 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 716 } }
if = {
limit = {
NOT = { has_tech = gen_3_large }
NOT = { is_in_array = { array = rq_queue value = 715 } }
NOT = { is_in_array = { array = rq_ap_ban value = 715 } }
NOT = { is_in_array = { array = global.rq_hid value = 715 } }
OR = {
can_research = gen_3_large
AND = {
OR = { is_in_array = { array = rq_queue value = 604 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 715 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 715 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = gen_3_light }
NOT = { is_in_array = { array = rq_queue value = 716 } }
NOT = { is_in_array = { array = rq_ap_ban value = 716 } }
NOT = { is_in_array = { array = global.rq_hid value = 716 } }
OR = {
can_research = gen_3_light
AND = {
OR = { is_in_array = { array = rq_queue value = 604 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 716 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = gen_4_light has_tech = gen_4_light } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 716 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 718 } }
if = {
limit = {
NOT = { has_tech = gen_3_medium }
NOT = { is_in_array = { array = rq_queue value = 717 } }
NOT = { is_in_array = { array = rq_ap_ban value = 717 } }
NOT = { is_in_array = { array = global.rq_hid value = 717 } }
OR = {
can_research = gen_3_medium
AND = {
OR = { is_in_array = { array = rq_queue value = 604 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 717 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 717 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 719 } }
if = {
limit = {
NOT = { has_tech = gen_4_large }
NOT = { is_in_array = { array = rq_queue value = 718 } }
NOT = { is_in_array = { array = rq_ap_ban value = 718 } }
NOT = { is_in_array = { array = global.rq_hid value = 718 } }
OR = {
can_research = gen_4_large
AND = {
OR = { is_in_array = { array = rq_queue value = 715 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 718 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 718 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = gen_4_light }
NOT = { is_in_array = { array = rq_queue value = 719 } }
NOT = { is_in_array = { array = rq_ap_ban value = 719 } }
NOT = { is_in_array = { array = global.rq_hid value = 719 } }
OR = {
can_research = gen_4_light
AND = {
OR = { is_in_array = { array = rq_queue value = 716 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 719 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = gen_5_light has_tech = gen_5_light } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 719 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 732 } }
if = {
limit = { check_variable = { rq_t < 726 } }
if = {
limit = { check_variable = { rq_t < 723 } }
if = {
limit = { check_variable = { rq_t < 721 } }
if = {
limit = {
NOT = { has_tech = gen_4_medium }
NOT = { is_in_array = { array = rq_queue value = 720 } }
NOT = { is_in_array = { array = rq_ap_ban value = 720 } }
NOT = { is_in_array = { array = global.rq_hid value = 720 } }
OR = {
can_research = gen_4_medium
AND = {
OR = { is_in_array = { array = rq_queue value = 717 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 720 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = gen_5_medium has_tech = gen_5_medium } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 720 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 722 } }
if = {
limit = {
NOT = { has_tech = gen_5_large }
NOT = { is_in_array = { array = rq_queue value = 721 } }
NOT = { is_in_array = { array = rq_ap_ban value = 721 } }
NOT = { is_in_array = { array = global.rq_hid value = 721 } }
OR = {
can_research = gen_5_large
AND = {
OR = { is_in_array = { array = rq_queue value = 718 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project is_special_project_completed = sp:sp_stealth_technology }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 721 }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 721 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = gen_5_light }
NOT = { is_in_array = { array = rq_queue value = 722 } }
NOT = { is_in_array = { array = rq_ap_ban value = 722 } }
NOT = { is_in_array = { array = global.rq_hid value = 722 } }
OR = {
can_research = gen_5_light
AND = {
OR = { is_in_array = { array = rq_queue value = 719 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project is_special_project_completed = sp:sp_stealth_technology }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 722 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_gen_5_light }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 722 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 724 } }
if = {
limit = {
NOT = { has_tech = gen_5_medium }
NOT = { is_in_array = { array = rq_queue value = 723 } }
NOT = { is_in_array = { array = rq_ap_ban value = 723 } }
NOT = { is_in_array = { array = global.rq_hid value = 723 } }
OR = {
can_research = gen_5_medium
AND = {
OR = { is_in_array = { array = rq_queue value = 720 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project is_special_project_completed = sp:sp_stealth_technology }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 723 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 723 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 725 } }
if = {
limit = {
NOT = { has_tech = gen_6_large }
NOT = { is_in_array = { array = rq_queue value = 724 } }
NOT = { is_in_array = { array = rq_ap_ban value = 724 } }
NOT = { is_in_array = { array = global.rq_hid value = 724 } }
OR = {
can_research = gen_6_large
AND = {
OR = { is_in_array = { array = rq_queue value = 721 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project is_special_project_completed = sp:sp_fully_autonomous_bombers }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 724 }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 724 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = gen_6_light }
NOT = { is_in_array = { array = rq_queue value = 725 } }
NOT = { is_in_array = { array = rq_ap_ban value = 725 } }
NOT = { is_in_array = { array = global.rq_hid value = 725 } }
OR = {
can_research = gen_6_light
AND = {
OR = { is_in_array = { array = rq_queue value = 722 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project is_special_project_completed = sp:sp_fully_autonomous_computers_framework }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 725 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 725 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 729 } }
if = {
limit = { check_variable = { rq_t < 727 } }
if = {
limit = {
NOT = { has_tech = gen_6_medium }
NOT = { is_in_array = { array = rq_queue value = 726 } }
NOT = { is_in_array = { array = rq_ap_ban value = 726 } }
NOT = { is_in_array = { array = global.rq_hid value = 726 } }
OR = {
can_research = gen_6_medium
AND = {
OR = { is_in_array = { array = rq_queue value = 723 } }
ROOT = { is_special_project_completed = sp:sp_aircraft_project is_special_project_completed = sp:sp_fully_autonomous_fighters }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 726 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 726 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 728 } }
if = {
limit = {
NOT = { has_tech = gen_7_large }
NOT = { is_in_array = { array = rq_queue value = 727 } }
NOT = { is_in_array = { array = rq_ap_ban value = 727 } }
NOT = { is_in_array = { array = global.rq_hid value = 727 } }
OR = {
can_research = gen_7_large
AND = {
OR = { is_in_array = { array = rq_queue value = 724 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 727 }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 727 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = gen_7_light }
NOT = { is_in_array = { array = rq_queue value = 728 } }
NOT = { is_in_array = { array = rq_ap_ban value = 728 } }
NOT = { is_in_array = { array = global.rq_hid value = 728 } }
OR = {
can_research = gen_7_light
AND = {
OR = { is_in_array = { array = rq_queue value = 725 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 728 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 728 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 730 } }
if = {
limit = {
NOT = { has_tech = gen_7_medium }
NOT = { is_in_array = { array = rq_queue value = 729 } }
NOT = { is_in_array = { array = rq_ap_ban value = 729 } }
NOT = { is_in_array = { array = global.rq_hid value = 729 } }
OR = {
can_research = gen_7_medium
AND = {
OR = { is_in_array = { array = rq_queue value = 726 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 729 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 729 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 731 } }
if = {
limit = {
NOT = { has_tech = gen_8_large }
NOT = { is_in_array = { array = rq_queue value = 730 } }
NOT = { is_in_array = { array = rq_ap_ban value = 730 } }
NOT = { is_in_array = { array = global.rq_hid value = 730 } }
OR = {
can_research = gen_8_large
AND = {
OR = { is_in_array = { array = rq_queue value = 727 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 730 }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 730 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = gen_8_light }
NOT = { is_in_array = { array = rq_queue value = 731 } }
NOT = { is_in_array = { array = rq_ap_ban value = 731 } }
NOT = { is_in_array = { array = global.rq_hid value = 731 } }
OR = {
can_research = gen_8_light
AND = {
OR = { is_in_array = { array = rq_queue value = 728 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 731 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 731 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 738 } }
if = {
limit = { check_variable = { rq_t < 735 } }
if = {
limit = { check_variable = { rq_t < 733 } }
if = {
limit = {
NOT = { has_tech = gen_8_medium }
NOT = { is_in_array = { array = rq_queue value = 732 } }
NOT = { is_in_array = { array = rq_ap_ban value = 732 } }
NOT = { is_in_array = { array = global.rq_hid value = 732 } }
OR = {
can_research = gen_8_medium
AND = {
OR = { is_in_array = { array = rq_queue value = 729 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 732 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 732 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 734 } }
if = {
limit = {
NOT = { has_tech = genetics_1 }
NOT = { is_in_array = { array = rq_queue value = 733 } }
NOT = { is_in_array = { array = rq_ap_ban value = 733 } }
NOT = { is_in_array = { array = global.rq_hid value = 733 } }
OR = {
can_research = genetics_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 733 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 733 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = genetics_10 }
NOT = { is_in_array = { array = rq_queue value = 734 } }
NOT = { is_in_array = { array = rq_ap_ban value = 734 } }
NOT = { is_in_array = { array = global.rq_hid value = 734 } }
OR = {
can_research = genetics_10
AND = {
OR = { is_in_array = { array = rq_queue value = 748 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 734 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 734 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 736 } }
if = {
limit = {
NOT = { has_tech = genetics_11 }
NOT = { is_in_array = { array = rq_queue value = 735 } }
NOT = { is_in_array = { array = rq_ap_ban value = 735 } }
NOT = { is_in_array = { array = global.rq_hid value = 735 } }
OR = {
can_research = genetics_11
AND = {
OR = { is_in_array = { array = rq_queue value = 734 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 735 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 735 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 737 } }
}
else = {
if = {
limit = {
NOT = { has_tech = genetics_13 }
NOT = { is_in_array = { array = rq_queue value = 737 } }
NOT = { is_in_array = { array = rq_ap_ban value = 737 } }
NOT = { is_in_array = { array = global.rq_hid value = 737 } }
OR = {
can_research = genetics_13
AND = {
OR = { is_in_array = { array = rq_queue value = 736 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 737 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 737 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 741 } }
if = {
limit = { check_variable = { rq_t < 739 } }
if = {
limit = {
NOT = { has_tech = genetics_14 }
NOT = { is_in_array = { array = rq_queue value = 738 } }
NOT = { is_in_array = { array = rq_ap_ban value = 738 } }
NOT = { is_in_array = { array = global.rq_hid value = 738 } }
OR = {
can_research = genetics_14
AND = {
OR = { is_in_array = { array = rq_queue value = 737 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 738 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 738 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 740 } }
if = {
limit = {
NOT = { has_tech = genetics_15 }
NOT = { is_in_array = { array = rq_queue value = 739 } }
NOT = { is_in_array = { array = rq_ap_ban value = 739 } }
NOT = { is_in_array = { array = global.rq_hid value = 739 } }
OR = {
can_research = genetics_15
AND = {
OR = { is_in_array = { array = rq_queue value = 738 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 739 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 739 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = genetics_16 }
NOT = { is_in_array = { array = rq_queue value = 740 } }
NOT = { is_in_array = { array = rq_ap_ban value = 740 } }
NOT = { is_in_array = { array = global.rq_hid value = 740 } }
OR = {
can_research = genetics_16
AND = {
OR = { is_in_array = { array = rq_queue value = 739 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 740 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 740 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 742 } }
if = {
limit = {
NOT = { has_tech = genetics_2 }
NOT = { is_in_array = { array = rq_queue value = 741 } }
NOT = { is_in_array = { array = rq_ap_ban value = 741 } }
NOT = { is_in_array = { array = global.rq_hid value = 741 } }
OR = {
can_research = genetics_2
AND = {
OR = { is_in_array = { array = rq_queue value = 733 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 741 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 741 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 743 } }
if = {
limit = {
NOT = { has_tech = genetics_3 }
NOT = { is_in_array = { array = rq_queue value = 742 } }
NOT = { is_in_array = { array = rq_ap_ban value = 742 } }
NOT = { is_in_array = { array = global.rq_hid value = 742 } }
OR = {
can_research = genetics_3
AND = {
OR = { is_in_array = { array = rq_queue value = 741 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 742 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { total_unemployed_percentage_display > 0.40 } }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 742 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = genetics_4 }
NOT = { is_in_array = { array = rq_queue value = 743 } }
NOT = { is_in_array = { array = rq_ap_ban value = 743 } }
NOT = { is_in_array = { array = global.rq_hid value = 743 } }
OR = {
can_research = genetics_4
AND = {
OR = { is_in_array = { array = rq_queue value = 742 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 743 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 743 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1116 } }
if = {
limit = { check_variable = { rq_t < 930 } }
if = {
limit = { check_variable = { rq_t < 837 } }
if = {
limit = { check_variable = { rq_t < 790 } }
if = {
limit = { check_variable = { rq_t < 767 } }
if = {
limit = { check_variable = { rq_t < 755 } }
if = {
limit = { check_variable = { rq_t < 749 } }
if = {
limit = { check_variable = { rq_t < 746 } }
if = {
limit = { check_variable = { rq_t < 745 } }
if = {
limit = {
NOT = { has_tech = genetics_5 }
NOT = { is_in_array = { array = rq_queue value = 744 } }
NOT = { is_in_array = { array = rq_ap_ban value = 744 } }
NOT = { is_in_array = { array = global.rq_hid value = 744 } }
OR = {
can_research = genetics_5
AND = {
OR = { is_in_array = { array = rq_queue value = 743 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 744 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 744 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = genetics_6 }
NOT = { is_in_array = { array = rq_queue value = 745 } }
NOT = { is_in_array = { array = rq_ap_ban value = 745 } }
NOT = { is_in_array = { array = global.rq_hid value = 745 } }
OR = {
can_research = genetics_6
AND = {
OR = { is_in_array = { array = rq_queue value = 744 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 745 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 745 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 747 } }
if = {
limit = {
NOT = { has_tech = genetics_7 }
NOT = { is_in_array = { array = rq_queue value = 746 } }
NOT = { is_in_array = { array = rq_ap_ban value = 746 } }
NOT = { is_in_array = { array = global.rq_hid value = 746 } }
OR = {
can_research = genetics_7
AND = {
OR = { is_in_array = { array = rq_queue value = 745 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 746 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 746 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 748 } }
if = {
limit = {
NOT = { has_tech = genetics_8 }
NOT = { is_in_array = { array = rq_queue value = 747 } }
NOT = { is_in_array = { array = rq_ap_ban value = 747 } }
NOT = { is_in_array = { array = global.rq_hid value = 747 } }
OR = {
can_research = genetics_8
AND = {
OR = { is_in_array = { array = rq_queue value = 746 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 747 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 747 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = genetics_9 }
NOT = { is_in_array = { array = rq_queue value = 748 } }
NOT = { is_in_array = { array = rq_ap_ban value = 748 } }
NOT = { is_in_array = { array = global.rq_hid value = 748 } }
OR = {
can_research = genetics_9
AND = {
OR = { is_in_array = { array = rq_queue value = 747 } is_in_array = { array = rq_queue value = 554 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 748 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 748 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 752 } }
if = {
limit = { check_variable = { rq_t < 750 } }
if = {
limit = {
NOT = { has_tech = gprs }
NOT = { is_in_array = { array = rq_queue value = 749 } }
NOT = { is_in_array = { array = rq_ap_ban value = 749 } }
NOT = { is_in_array = { array = global.rq_hid value = 749 } }
OR = {
can_research = gprs
AND = {
OR = { is_in_array = { array = rq_queue value = 805 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 749 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2003.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2008.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 749 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 751 } }
if = {
limit = {
NOT = { has_tech = gunship_1 }
NOT = { is_in_array = { array = rq_queue value = 750 } }
NOT = { is_in_array = { array = rq_ap_ban value = 750 } }
NOT = { is_in_array = { array = global.rq_hid value = 750 } }
OR = {
can_research = gunship_1
AND = {
OR = { is_in_array = { array = rq_queue value = 336 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 750 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 750 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = gunship_2 }
NOT = { is_in_array = { array = rq_queue value = 751 } }
NOT = { is_in_array = { array = rq_ap_ban value = 751 } }
NOT = { is_in_array = { array = global.rq_hid value = 751 } }
OR = {
can_research = gunship_2
AND = {
OR = { is_in_array = { array = rq_queue value = 750 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 751 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 751 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 753 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 754 } }
if = {
limit = {
NOT = { has_tech = helicopter_operator_hull_1 }
NOT = { is_in_array = { array = rq_queue value = 753 } }
NOT = { is_in_array = { array = rq_ap_ban value = 753 } }
NOT = { is_in_array = { array = global.rq_hid value = 753 } }
OR = {
can_research = helicopter_operator_hull_1
AND = {
OR = { is_in_array = { array = rq_queue value = 380 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 753 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 753 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = helicopter_operator_hull_2 }
NOT = { is_in_array = { array = rq_queue value = 754 } }
NOT = { is_in_array = { array = rq_ap_ban value = 754 } }
NOT = { is_in_array = { array = global.rq_hid value = 754 } }
OR = {
can_research = helicopter_operator_hull_2
AND = {
OR = { is_in_array = { array = rq_queue value = 381 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 754 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 754 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 761 } }
if = {
limit = { check_variable = { rq_t < 758 } }
if = {
limit = { check_variable = { rq_t < 756 } }
if = {
limit = {
NOT = { has_tech = helicopter_operator_hull_3 }
NOT = { is_in_array = { array = rq_queue value = 755 } }
NOT = { is_in_array = { array = rq_ap_ban value = 755 } }
NOT = { is_in_array = { array = global.rq_hid value = 755 } }
OR = {
can_research = helicopter_operator_hull_3
AND = {
OR = { is_in_array = { array = rq_queue value = 382 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 755 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 755 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 757 } }
if = {
limit = {
NOT = { has_tech = helicopter_operator_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 756 } }
NOT = { is_in_array = { array = rq_ap_ban value = 756 } }
NOT = { is_in_array = { array = global.rq_hid value = 756 } }
OR = {
can_research = helicopter_operator_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 755 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 756 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 756 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = helicopter_operator_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 757 } }
NOT = { is_in_array = { array = rq_ap_ban value = 757 } }
NOT = { is_in_array = { array = global.rq_hid value = 757 } }
OR = {
can_research = helicopter_operator_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 383 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 757 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 757 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 759 } }
if = {
limit = {
NOT = { has_tech = helicopter_operator_hull_6 }
NOT = { is_in_array = { array = rq_queue value = 758 } }
NOT = { is_in_array = { array = rq_ap_ban value = 758 } }
NOT = { is_in_array = { array = global.rq_hid value = 758 } }
OR = {
can_research = helicopter_operator_hull_6
AND = {
OR = { is_in_array = { array = rq_queue value = 757 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 758 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 758 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 760 } }
if = {
limit = {
NOT = { has_tech = helo_ops_tech }
NOT = { is_in_array = { array = rq_queue value = 759 } }
NOT = { is_in_array = { array = rq_ap_ban value = 759 } }
NOT = { is_in_array = { array = global.rq_hid value = 759 } }
OR = {
can_research = helo_ops_tech
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 759 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 759 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 764 } }
if = {
limit = { check_variable = { rq_t < 762 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 763 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 765 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 766 } }
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 778 } }
if = {
limit = { check_variable = { rq_t < 772 } }
if = {
limit = { check_variable = { rq_t < 769 } }
if = {
limit = { check_variable = { rq_t < 768 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 770 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 771 } }
if = {
limit = {
NOT = { has_tech = hsupa }
NOT = { is_in_array = { array = rq_queue value = 770 } }
NOT = { is_in_array = { array = rq_ap_ban value = 770 } }
NOT = { is_in_array = { array = global.rq_hid value = 770 } }
OR = {
can_research = hsupa
AND = {
OR = { is_in_array = { array = rq_queue value = 1465 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 770 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2014.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2017.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 770 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = improved_building_constructions_1 }
NOT = { is_in_array = { array = rq_queue value = 771 } }
NOT = { is_in_array = { array = rq_ap_ban value = 771 } }
NOT = { is_in_array = { array = global.rq_hid value = 771 } }
OR = {
can_research = improved_building_constructions_1
AND = {
OR = { is_in_array = { array = rq_queue value = 859 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 771 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 771 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 775 } }
if = {
limit = { check_variable = { rq_t < 773 } }
if = {
limit = {
NOT = { has_tech = improved_building_constructions_10 }
NOT = { is_in_array = { array = rq_queue value = 772 } }
NOT = { is_in_array = { array = rq_ap_ban value = 772 } }
NOT = { is_in_array = { array = global.rq_hid value = 772 } }
OR = {
can_research = improved_building_constructions_10
AND = {
OR = { is_in_array = { array = rq_queue value = 780 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 772 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 772 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 774 } }
if = {
limit = {
NOT = { has_tech = improved_building_constructions_2 }
NOT = { is_in_array = { array = rq_queue value = 773 } }
NOT = { is_in_array = { array = rq_ap_ban value = 773 } }
NOT = { is_in_array = { array = global.rq_hid value = 773 } }
OR = {
can_research = improved_building_constructions_2
AND = {
OR = { is_in_array = { array = rq_queue value = 771 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 773 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 773 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = improved_building_constructions_3 }
NOT = { is_in_array = { array = rq_queue value = 774 } }
NOT = { is_in_array = { array = rq_ap_ban value = 774 } }
NOT = { is_in_array = { array = global.rq_hid value = 774 } }
OR = {
can_research = improved_building_constructions_3
AND = {
OR = { is_in_array = { array = rq_queue value = 773 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 774 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 774 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 776 } }
if = {
limit = {
NOT = { has_tech = improved_building_constructions_4 }
NOT = { is_in_array = { array = rq_queue value = 775 } }
NOT = { is_in_array = { array = rq_ap_ban value = 775 } }
NOT = { is_in_array = { array = global.rq_hid value = 775 } }
OR = {
can_research = improved_building_constructions_4
AND = {
OR = { is_in_array = { array = rq_queue value = 774 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 775 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 775 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 777 } }
if = {
limit = {
NOT = { has_tech = improved_building_constructions_5 }
NOT = { is_in_array = { array = rq_queue value = 776 } }
NOT = { is_in_array = { array = rq_ap_ban value = 776 } }
NOT = { is_in_array = { array = global.rq_hid value = 776 } }
OR = {
can_research = improved_building_constructions_5
AND = {
OR = { is_in_array = { array = rq_queue value = 775 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 776 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 776 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = improved_building_constructions_6 }
NOT = { is_in_array = { array = rq_queue value = 777 } }
NOT = { is_in_array = { array = rq_ap_ban value = 777 } }
NOT = { is_in_array = { array = global.rq_hid value = 777 } }
OR = {
can_research = improved_building_constructions_6
AND = {
OR = { is_in_array = { array = rq_queue value = 776 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 777 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 777 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 784 } }
if = {
limit = { check_variable = { rq_t < 781 } }
if = {
limit = { check_variable = { rq_t < 779 } }
if = {
limit = {
NOT = { has_tech = improved_building_constructions_7 }
NOT = { is_in_array = { array = rq_queue value = 778 } }
NOT = { is_in_array = { array = rq_ap_ban value = 778 } }
NOT = { is_in_array = { array = global.rq_hid value = 778 } }
OR = {
can_research = improved_building_constructions_7
AND = {
OR = { is_in_array = { array = rq_queue value = 777 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 778 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 778 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 780 } }
if = {
limit = {
NOT = { has_tech = improved_building_constructions_8 }
NOT = { is_in_array = { array = rq_queue value = 779 } }
NOT = { is_in_array = { array = rq_ap_ban value = 779 } }
NOT = { is_in_array = { array = global.rq_hid value = 779 } }
OR = {
can_research = improved_building_constructions_8
AND = {
OR = { is_in_array = { array = rq_queue value = 778 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 779 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 779 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = improved_building_constructions_9 }
NOT = { is_in_array = { array = rq_queue value = 780 } }
NOT = { is_in_array = { array = rq_ap_ban value = 780 } }
NOT = { is_in_array = { array = global.rq_hid value = 780 } }
OR = {
can_research = improved_building_constructions_9
AND = {
OR = { is_in_array = { array = rq_queue value = 779 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 780 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 780 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 782 } }
if = {
limit = {
NOT = { has_tech = improved_modern_renewables }
NOT = { is_in_array = { array = rq_queue value = 781 } }
NOT = { is_in_array = { array = rq_ap_ban value = 781 } }
NOT = { is_in_array = { array = global.rq_hid value = 781 } }
OR = {
can_research = improved_modern_renewables
AND = {
OR = { is_in_array = { array = rq_queue value = 878 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 781 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 781 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 783 } }
if = {
limit = {
NOT = { has_tech = improved_renewables }
NOT = { is_in_array = { array = rq_queue value = 782 } }
NOT = { is_in_array = { array = rq_ap_ban value = 782 } }
NOT = { is_in_array = { array = global.rq_hid value = 782 } }
OR = {
can_research = improved_renewables
AND = {
OR = { is_in_array = { array = rq_queue value = 1131 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 782 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { tag = GER tag = ITA tag = JAP } has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { original_tag = GER has_war = yes }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil < 50 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 782 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 787 } }
if = {
limit = { check_variable = { rq_t < 785 } }
if = {
limit = {
NOT = { has_tech = infantry_weapons_1 }
NOT = { is_in_array = { array = rq_queue value = 784 } }
NOT = { is_in_array = { array = rq_ap_ban value = 784 } }
NOT = { is_in_array = { array = global.rq_hid value = 784 } }
OR = {
can_research = infantry_weapons_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 784 }
set_temp_variable = { rq_ap_w = 20 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 784 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 786 } }
if = {
limit = {
NOT = { has_tech = infantry_weapons_10 }
NOT = { is_in_array = { array = rq_queue value = 785 } }
NOT = { is_in_array = { array = rq_ap_ban value = 785 } }
NOT = { is_in_array = { array = global.rq_hid value = 785 } }
OR = {
can_research = infantry_weapons_10
AND = {
OR = { is_in_array = { array = rq_queue value = 795 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 785 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 785 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = infantry_weapons_11 }
NOT = { is_in_array = { array = rq_queue value = 786 } }
NOT = { is_in_array = { array = rq_ap_ban value = 786 } }
NOT = { is_in_array = { array = global.rq_hid value = 786 } }
OR = {
can_research = infantry_weapons_11
AND = {
OR = { is_in_array = { array = rq_queue value = 785 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 786 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 786 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 788 } }
if = {
limit = {
NOT = { has_tech = infantry_weapons_12 }
NOT = { is_in_array = { array = rq_queue value = 787 } }
NOT = { is_in_array = { array = rq_ap_ban value = 787 } }
NOT = { is_in_array = { array = global.rq_hid value = 787 } }
OR = {
can_research = infantry_weapons_12
AND = {
OR = { is_in_array = { array = rq_queue value = 786 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 787 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 787 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 789 } }
if = {
limit = {
NOT = { has_tech = infantry_weapons_2 }
NOT = { is_in_array = { array = rq_queue value = 788 } }
NOT = { is_in_array = { array = rq_ap_ban value = 788 } }
NOT = { is_in_array = { array = global.rq_hid value = 788 } }
OR = {
can_research = infantry_weapons_2
AND = {
OR = { is_in_array = { array = rq_queue value = 784 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 788 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 788 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = infantry_weapons_3 }
NOT = { is_in_array = { array = rq_queue value = 789 } }
NOT = { is_in_array = { array = rq_ap_ban value = 789 } }
NOT = { is_in_array = { array = global.rq_hid value = 789 } }
OR = {
can_research = infantry_weapons_3
AND = {
OR = { is_in_array = { array = rq_queue value = 788 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 789 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 789 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 813 } }
if = {
limit = { check_variable = { rq_t < 801 } }
if = {
limit = { check_variable = { rq_t < 795 } }
if = {
limit = { check_variable = { rq_t < 792 } }
if = {
limit = { check_variable = { rq_t < 791 } }
if = {
limit = {
NOT = { has_tech = infantry_weapons_4 }
NOT = { is_in_array = { array = rq_queue value = 790 } }
NOT = { is_in_array = { array = rq_ap_ban value = 790 } }
NOT = { is_in_array = { array = global.rq_hid value = 790 } }
OR = {
can_research = infantry_weapons_4
AND = {
OR = { is_in_array = { array = rq_queue value = 789 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 790 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 790 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = infantry_weapons_5 }
NOT = { is_in_array = { array = rq_queue value = 791 } }
NOT = { is_in_array = { array = rq_ap_ban value = 791 } }
NOT = { is_in_array = { array = global.rq_hid value = 791 } }
OR = {
can_research = infantry_weapons_5
AND = {
OR = { is_in_array = { array = rq_queue value = 790 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 791 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_infantry_weapons_5 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 791 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 793 } }
if = {
limit = {
NOT = { has_tech = infantry_weapons_6 }
NOT = { is_in_array = { array = rq_queue value = 792 } }
NOT = { is_in_array = { array = rq_ap_ban value = 792 } }
NOT = { is_in_array = { array = global.rq_hid value = 792 } }
OR = {
can_research = infantry_weapons_6
AND = {
OR = { is_in_array = { array = rq_queue value = 791 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 792 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_infantry_weapons_6 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 792 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 794 } }
if = {
limit = {
NOT = { has_tech = infantry_weapons_7 }
NOT = { is_in_array = { array = rq_queue value = 793 } }
NOT = { is_in_array = { array = rq_ap_ban value = 793 } }
NOT = { is_in_array = { array = global.rq_hid value = 793 } }
OR = {
can_research = infantry_weapons_7
AND = {
OR = { is_in_array = { array = rq_queue value = 792 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 793 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 793 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = infantry_weapons_8 }
NOT = { is_in_array = { array = rq_queue value = 794 } }
NOT = { is_in_array = { array = rq_ap_ban value = 794 } }
NOT = { is_in_array = { array = global.rq_hid value = 794 } }
OR = {
can_research = infantry_weapons_8
AND = {
OR = { is_in_array = { array = rq_queue value = 793 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 794 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 794 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 798 } }
if = {
limit = { check_variable = { rq_t < 796 } }
if = {
limit = {
NOT = { has_tech = infantry_weapons_9 }
NOT = { is_in_array = { array = rq_queue value = 795 } }
NOT = { is_in_array = { array = rq_ap_ban value = 795 } }
NOT = { is_in_array = { array = global.rq_hid value = 795 } }
OR = {
can_research = infantry_weapons_9
AND = {
OR = { is_in_array = { array = rq_queue value = 794 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 795 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 795 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 797 } }
if = {
limit = {
NOT = { has_tech = integrated_circuit }
NOT = { is_in_array = { array = rq_queue value = 796 } }
NOT = { is_in_array = { array = rq_ap_ban value = 796 } }
NOT = { is_in_array = { array = global.rq_hid value = 796 } }
OR = {
can_research = integrated_circuit
AND = {
OR = { is_in_array = { array = rq_queue value = 450 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 796 }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 796 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = internal_weapons_1 }
NOT = { is_in_array = { array = rq_queue value = 797 } }
NOT = { is_in_array = { array = rq_ap_ban value = 797 } }
NOT = { is_in_array = { array = global.rq_hid value = 797 } }
OR = {
can_research = internal_weapons_1
AND = {
OR = { is_in_array = { array = rq_queue value = 678 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 797 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 797 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 799 } }
if = {
limit = {
NOT = { has_tech = internal_weapons_2 }
NOT = { is_in_array = { array = rq_queue value = 798 } }
NOT = { is_in_array = { array = rq_ap_ban value = 798 } }
NOT = { is_in_array = { array = global.rq_hid value = 798 } }
OR = {
can_research = internal_weapons_2
AND = {
OR = { is_in_array = { array = rq_queue value = 797 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 798 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 798 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 800 } }
if = {
limit = {
NOT = { has_tech = internal_weapons_3 }
NOT = { is_in_array = { array = rq_queue value = 799 } }
NOT = { is_in_array = { array = rq_ap_ban value = 799 } }
NOT = { is_in_array = { array = global.rq_hid value = 799 } }
OR = {
can_research = internal_weapons_3
AND = {
OR = { is_in_array = { array = rq_queue value = 798 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 799 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 799 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = internal_weapons_4 }
NOT = { is_in_array = { array = rq_queue value = 800 } }
NOT = { is_in_array = { array = rq_ap_ban value = 800 } }
NOT = { is_in_array = { array = global.rq_hid value = 800 } }
OR = {
can_research = internal_weapons_4
AND = {
OR = { is_in_array = { array = rq_queue value = 799 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 800 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 800 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 807 } }
if = {
limit = { check_variable = { rq_t < 804 } }
if = {
limit = { check_variable = { rq_t < 802 } }
if = {
limit = {
NOT = { has_tech = internal_weapons_5 }
NOT = { is_in_array = { array = rq_queue value = 801 } }
NOT = { is_in_array = { array = rq_ap_ban value = 801 } }
NOT = { is_in_array = { array = global.rq_hid value = 801 } }
OR = {
can_research = internal_weapons_5
AND = {
OR = { is_in_array = { array = rq_queue value = 800 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 801 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 801 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 803 } }
if = {
limit = {
NOT = { has_tech = internet_1 }
NOT = { is_in_array = { array = rq_queue value = 802 } }
NOT = { is_in_array = { array = rq_ap_ban value = 802 } }
NOT = { is_in_array = { array = global.rq_hid value = 802 } }
OR = {
can_research = internet_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1096 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 802 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2005.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 802 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = internet_10 }
NOT = { is_in_array = { array = rq_queue value = 803 } }
NOT = { is_in_array = { array = rq_ap_ban value = 803 } }
NOT = { is_in_array = { array = global.rq_hid value = 803 } }
OR = {
can_research = internet_10
AND = {
OR = { is_in_array = { array = rq_queue value = 812 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 803 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2072.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2075.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 803 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 805 } }
if = {
limit = {
NOT = { has_tech = internet_11 }
NOT = { is_in_array = { array = rq_queue value = 804 } }
NOT = { is_in_array = { array = rq_ap_ban value = 804 } }
NOT = { is_in_array = { array = global.rq_hid value = 804 } }
OR = {
can_research = internet_11
AND = {
OR = { is_in_array = { array = rq_queue value = 803 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 804 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2082.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2085.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 804 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 806 } }
if = {
limit = {
NOT = { has_tech = internet_2 }
NOT = { is_in_array = { array = rq_queue value = 805 } }
NOT = { is_in_array = { array = rq_ap_ban value = 805 } }
NOT = { is_in_array = { array = global.rq_hid value = 805 } }
OR = {
can_research = internet_2
AND = {
OR = { is_in_array = { array = rq_queue value = 802 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 805 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2002.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2006.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 805 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = internet_3 }
NOT = { is_in_array = { array = rq_queue value = 806 } }
NOT = { is_in_array = { array = rq_ap_ban value = 806 } }
NOT = { is_in_array = { array = global.rq_hid value = 806 } }
OR = {
can_research = internet_3
AND = {
OR = { is_in_array = { array = rq_queue value = 749 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 806 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2009.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 806 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 810 } }
if = {
limit = { check_variable = { rq_t < 808 } }
if = {
limit = {
NOT = { has_tech = internet_4 }
NOT = { is_in_array = { array = rq_queue value = 807 } }
NOT = { is_in_array = { array = rq_ap_ban value = 807 } }
NOT = { is_in_array = { array = global.rq_hid value = 807 } }
OR = {
can_research = internet_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1465 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 807 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2014.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2017.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 807 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 809 } }
if = {
limit = {
NOT = { has_tech = internet_5 }
NOT = { is_in_array = { array = rq_queue value = 808 } }
NOT = { is_in_array = { array = rq_ap_ban value = 808 } }
NOT = { is_in_array = { array = global.rq_hid value = 808 } }
OR = {
can_research = internet_5
AND = {
OR = { is_in_array = { array = rq_queue value = 841 } is_in_array = { array = rq_queue value = 1486 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 808 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2023.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2027.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 808 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = internet_6 }
NOT = { is_in_array = { array = rq_queue value = 809 } }
NOT = { is_in_array = { array = rq_ap_ban value = 809 } }
NOT = { is_in_array = { array = global.rq_hid value = 809 } }
OR = {
can_research = internet_6
AND = {
OR = { is_in_array = { array = rq_queue value = 808 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 809 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2032.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 809 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 811 } }
if = {
limit = {
NOT = { has_tech = internet_7 }
NOT = { is_in_array = { array = rq_queue value = 810 } }
NOT = { is_in_array = { array = rq_ap_ban value = 810 } }
NOT = { is_in_array = { array = global.rq_hid value = 810 } }
OR = {
can_research = internet_7
AND = {
OR = { is_in_array = { array = rq_queue value = 809 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 810 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2042.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2045.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 810 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 812 } }
if = {
limit = {
NOT = { has_tech = internet_8 }
NOT = { is_in_array = { array = rq_queue value = 811 } }
NOT = { is_in_array = { array = rq_ap_ban value = 811 } }
NOT = { is_in_array = { array = global.rq_hid value = 811 } }
OR = {
can_research = internet_8
AND = {
OR = { is_in_array = { array = rq_queue value = 810 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 811 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2052.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2055.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 811 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = internet_9 }
NOT = { is_in_array = { array = rq_queue value = 812 } }
NOT = { is_in_array = { array = rq_ap_ban value = 812 } }
NOT = { is_in_array = { array = global.rq_hid value = 812 } }
OR = {
can_research = internet_9
AND = {
OR = { is_in_array = { array = rq_queue value = 811 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 812 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2062.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2065.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 812 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 825 } }
if = {
limit = { check_variable = { rq_t < 819 } }
if = {
limit = { check_variable = { rq_t < 816 } }
if = {
limit = { check_variable = { rq_t < 814 } }
if = {
limit = {
NOT = { has_tech = internet_access_1 }
NOT = { is_in_array = { array = rq_queue value = 813 } }
NOT = { is_in_array = { array = rq_ap_ban value = 813 } }
NOT = { is_in_array = { array = global.rq_hid value = 813 } }
OR = {
can_research = internet_access_1
AND = {
OR = { is_in_array = { array = rq_queue value = 806 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 813 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2006.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2009.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 813 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 815 } }
if = {
limit = {
NOT = { has_tech = internet_access_2 }
NOT = { is_in_array = { array = rq_queue value = 814 } }
NOT = { is_in_array = { array = rq_ap_ban value = 814 } }
NOT = { is_in_array = { array = global.rq_hid value = 814 } }
OR = {
can_research = internet_access_2
AND = {
OR = { is_in_array = { array = rq_queue value = 813 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 814 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2023.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2027.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 814 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = internet_access_3 }
NOT = { is_in_array = { array = rq_queue value = 815 } }
NOT = { is_in_array = { array = rq_ap_ban value = 815 } }
NOT = { is_in_array = { array = global.rq_hid value = 815 } }
OR = {
can_research = internet_access_3
AND = {
OR = { is_in_array = { array = rq_queue value = 814 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 815 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2032.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 815 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 817 } }
if = {
limit = {
NOT = { has_tech = internet_access_4 }
NOT = { is_in_array = { array = rq_queue value = 816 } }
NOT = { is_in_array = { array = rq_ap_ban value = 816 } }
NOT = { is_in_array = { array = global.rq_hid value = 816 } }
OR = {
can_research = internet_access_4
AND = {
OR = { is_in_array = { array = rq_queue value = 815 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 816 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2043.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2047.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 816 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 818 } }
if = {
limit = {
NOT = { has_tech = internet_access_5 }
NOT = { is_in_array = { array = rq_queue value = 817 } }
NOT = { is_in_array = { array = rq_ap_ban value = 817 } }
NOT = { is_in_array = { array = global.rq_hid value = 817 } }
OR = {
can_research = internet_access_5
AND = {
OR = { is_in_array = { array = rq_queue value = 816 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 817 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2053.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2057.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 817 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = internet_access_6 }
NOT = { is_in_array = { array = rq_queue value = 818 } }
NOT = { is_in_array = { array = rq_ap_ban value = 818 } }
NOT = { is_in_array = { array = global.rq_hid value = 818 } }
OR = {
can_research = internet_access_6
AND = {
OR = { is_in_array = { array = rq_queue value = 817 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 818 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2063.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2067.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 818 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 822 } }
if = {
limit = { check_variable = { rq_t < 820 } }
if = {
limit = {
NOT = { has_tech = internet_access_7 }
NOT = { is_in_array = { array = rq_queue value = 819 } }
NOT = { is_in_array = { array = rq_ap_ban value = 819 } }
NOT = { is_in_array = { array = global.rq_hid value = 819 } }
OR = {
can_research = internet_access_7
AND = {
OR = { is_in_array = { array = rq_queue value = 818 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 819 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2073.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2077.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 819 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 821 } }
if = {
limit = {
NOT = { has_tech = internet_access_8 }
NOT = { is_in_array = { array = rq_queue value = 820 } }
NOT = { is_in_array = { array = rq_ap_ban value = 820 } }
NOT = { is_in_array = { array = global.rq_hid value = 820 } }
OR = {
can_research = internet_access_8
AND = {
OR = { is_in_array = { array = rq_queue value = 819 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 820 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2083.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2087.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 820 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = land_drone_equipment_1 }
NOT = { is_in_array = { array = rq_queue value = 821 } }
NOT = { is_in_array = { array = rq_ap_ban value = 821 } }
NOT = { is_in_array = { array = global.rq_hid value = 821 } }
OR = {
can_research = land_drone_equipment_1
AND = {
OR = { is_in_array = { array = rq_queue value = 830 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 821 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 821 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 823 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 824 } }
}
else = {
if = {
limit = {
NOT = { has_tech = land_drone_equipment_6 }
NOT = { is_in_array = { array = rq_queue value = 824 } }
NOT = { is_in_array = { array = rq_ap_ban value = 824 } }
NOT = { is_in_array = { array = global.rq_hid value = 824 } }
OR = {
can_research = land_drone_equipment_6
AND = {
OR = { is_in_array = { array = rq_queue value = 823 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 824 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 824 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 831 } }
if = {
limit = { check_variable = { rq_t < 828 } }
if = {
limit = { check_variable = { rq_t < 826 } }
if = {
limit = {
NOT = { has_tech = land_drone_equipment_7 }
NOT = { is_in_array = { array = rq_queue value = 825 } }
NOT = { is_in_array = { array = rq_ap_ban value = 825 } }
NOT = { is_in_array = { array = global.rq_hid value = 825 } }
OR = {
can_research = land_drone_equipment_7
AND = {
OR = { is_in_array = { array = rq_queue value = 824 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 825 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 825 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 827 } }
if = {
limit = {
NOT = { has_tech = land_drone_equipment_8 }
NOT = { is_in_array = { array = rq_queue value = 826 } }
NOT = { is_in_array = { array = rq_ap_ban value = 826 } }
NOT = { is_in_array = { array = global.rq_hid value = 826 } }
OR = {
can_research = land_drone_equipment_8
AND = {
OR = { is_in_array = { array = rq_queue value = 825 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 826 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 826 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = land_drone_equipment_9 }
NOT = { is_in_array = { array = rq_queue value = 827 } }
NOT = { is_in_array = { array = rq_ap_ban value = 827 } }
NOT = { is_in_array = { array = global.rq_hid value = 827 } }
OR = {
can_research = land_drone_equipment_9
AND = {
OR = { is_in_array = { array = rq_queue value = 826 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 827 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 827 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 829 } }
if = {
limit = {
NOT = { has_tech = land_drone_equipment_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 828 } }
NOT = { is_in_array = { array = rq_ap_ban value = 828 } }
NOT = { is_in_array = { array = global.rq_hid value = 828 } }
OR = {
can_research = land_drone_equipment_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 821 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 828 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 828 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 830 } }
if = {
limit = {
NOT = { has_tech = land_drone_equipment_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 829 } }
NOT = { is_in_array = { array = rq_ap_ban value = 829 } }
NOT = { is_in_array = { array = global.rq_hid value = 829 } }
OR = {
can_research = land_drone_equipment_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 828 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 829 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 829 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = land_drone_equipment_type }
NOT = { is_in_array = { array = rq_queue value = 830 } }
NOT = { is_in_array = { array = rq_ap_ban value = 830 } }
NOT = { is_in_array = { array = global.rq_hid value = 830 } }
OR = {
can_research = land_drone_equipment_type
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 830 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 830 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 834 } }
if = {
limit = { check_variable = { rq_t < 832 } }
if = {
limit = {
NOT = { has_tech = land_fort_building_1 }
NOT = { is_in_array = { array = rq_queue value = 831 } }
NOT = { is_in_array = { array = rq_ap_ban value = 831 } }
NOT = { is_in_array = { array = global.rq_hid value = 831 } }
OR = {
can_research = land_fort_building_1
AND = {
OR = { is_in_array = { array = rq_queue value = 524 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 831 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 831 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 833 } }
if = {
limit = {
NOT = { has_tech = land_fort_building_2 }
NOT = { is_in_array = { array = rq_queue value = 832 } }
NOT = { is_in_array = { array = rq_ap_ban value = 832 } }
NOT = { is_in_array = { array = global.rq_hid value = 832 } }
OR = {
can_research = land_fort_building_2
AND = {
OR = { is_in_array = { array = rq_queue value = 529 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 832 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 832 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = land_fort_building_3 }
NOT = { is_in_array = { array = rq_queue value = 833 } }
NOT = { is_in_array = { array = rq_ap_ban value = 833 } }
NOT = { is_in_array = { array = global.rq_hid value = 833 } }
OR = {
can_research = land_fort_building_3
AND = {
OR = { is_in_array = { array = rq_queue value = 531 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 833 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 833 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 835 } }
if = {
limit = {
NOT = { has_tech = land_fort_building_4 }
NOT = { is_in_array = { array = rq_queue value = 834 } }
NOT = { is_in_array = { array = rq_ap_ban value = 834 } }
NOT = { is_in_array = { array = global.rq_hid value = 834 } }
OR = {
can_research = land_fort_building_4
AND = {
OR = { is_in_array = { array = rq_queue value = 532 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 834 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 834 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 836 } }
if = {
limit = {
NOT = { has_tech = large_gun_tech }
NOT = { is_in_array = { array = rq_queue value = 835 } }
NOT = { is_in_array = { array = rq_ap_ban value = 835 } }
NOT = { is_in_array = { array = global.rq_hid value = 835 } }
OR = {
can_research = large_gun_tech
AND = {
OR = { is_in_array = { array = rq_queue value = 854 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 835 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 835 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = large_gun_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 836 } }
NOT = { is_in_array = { array = rq_ap_ban value = 836 } }
NOT = { is_in_array = { array = global.rq_hid value = 836 } }
OR = {
can_research = large_gun_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 835 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 836 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 836 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 883 } }
if = {
limit = { check_variable = { rq_t < 860 } }
if = {
limit = { check_variable = { rq_t < 848 } }
if = {
limit = { check_variable = { rq_t < 842 } }
if = {
limit = { check_variable = { rq_t < 839 } }
if = {
limit = { check_variable = { rq_t < 838 } }
if = {
limit = {
NOT = { has_tech = large_gun_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 837 } }
NOT = { is_in_array = { array = rq_ap_ban value = 837 } }
NOT = { is_in_array = { array = global.rq_hid value = 837 } }
OR = {
can_research = large_gun_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 836 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 837 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 837 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = large_gun_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 838 } }
NOT = { is_in_array = { array = rq_ap_ban value = 838 } }
NOT = { is_in_array = { array = global.rq_hid value = 838 } }
OR = {
can_research = large_gun_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 837 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 838 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 838 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 840 } }
if = {
limit = {
NOT = { has_tech = large_gun_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 839 } }
NOT = { is_in_array = { array = rq_ap_ban value = 839 } }
NOT = { is_in_array = { array = global.rq_hid value = 839 } }
OR = {
can_research = large_gun_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 838 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 839 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 839 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 841 } }
}
else = {
if = {
limit = {
NOT = { has_tech = lte }
NOT = { is_in_array = { array = rq_queue value = 841 } }
NOT = { is_in_array = { array = rq_ap_ban value = 841 } }
NOT = { is_in_array = { array = global.rq_hid value = 841 } }
NOT = { has_tech = wimax }
NOT = { is_in_array = { array = rq_queue value = 1486 } }
OR = {
can_research = lte
AND = {
OR = { is_in_array = { array = rq_queue value = 807 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 841 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2018.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2020.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_tech = wimax is_researching_technology = wimax } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 841 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 845 } }
if = {
limit = { check_variable = { rq_t < 843 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 844 } }
}
else = {
if = {
limit = {
NOT = { has_tech = mbt_tech }
NOT = { is_in_array = { array = rq_queue value = 844 } }
NOT = { is_in_array = { array = rq_ap_ban value = 844 } }
NOT = { is_in_array = { array = global.rq_hid value = 844 } }
OR = {
can_research = mbt_tech
AND = {
OR = { is_in_array = { array = rq_queue value = 851 } }
ROOT = { is_special_project_completed = sp:sp_armoured_vehicle_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 844 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 844 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 846 } }
if = {
limit = {
NOT = { has_tech = mbt_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 845 } }
NOT = { is_in_array = { array = rq_ap_ban value = 845 } }
NOT = { is_in_array = { array = global.rq_hid value = 845 } }
OR = {
can_research = mbt_tech_1
AND = {
OR = { is_in_array = { array = rq_queue value = 844 } }
ROOT = { is_special_project_completed = sp:sp_armoured_vehicle_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 845 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 845 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 847 } }
if = {
limit = {
NOT = { has_tech = mbt_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 846 } }
NOT = { is_in_array = { array = rq_ap_ban value = 846 } }
NOT = { is_in_array = { array = global.rq_hid value = 846 } }
OR = {
can_research = mbt_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 845 } }
ROOT = { is_special_project_completed = sp:sp_armoured_vehicle_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 846 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 846 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = mbt_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 847 } }
NOT = { is_in_array = { array = rq_ap_ban value = 847 } }
NOT = { is_in_array = { array = global.rq_hid value = 847 } }
OR = {
can_research = mbt_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 846 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 847 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_mbt_tech_3 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 847 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 854 } }
if = {
limit = { check_variable = { rq_t < 851 } }
if = {
limit = { check_variable = { rq_t < 849 } }
if = {
limit = {
NOT = { has_tech = mbt_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 848 } }
NOT = { is_in_array = { array = rq_ap_ban value = 848 } }
NOT = { is_in_array = { array = global.rq_hid value = 848 } }
OR = {
can_research = mbt_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 847 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 848 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 848 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 850 } }
if = {
limit = {
NOT = { has_tech = mbt_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 849 } }
NOT = { is_in_array = { array = rq_ap_ban value = 849 } }
NOT = { is_in_array = { array = global.rq_hid value = 849 } }
OR = {
can_research = mbt_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 848 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 849 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 849 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = mbt_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 850 } }
NOT = { is_in_array = { array = rq_ap_ban value = 850 } }
NOT = { is_in_array = { array = global.rq_hid value = 850 } }
OR = {
can_research = mbt_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 849 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 850 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 850 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 852 } }
if = {
limit = {
NOT = { has_tech = mbt_tech_ops }
NOT = { is_in_array = { array = rq_queue value = 851 } }
NOT = { is_in_array = { array = rq_ap_ban value = 851 } }
NOT = { is_in_array = { array = global.rq_hid value = 851 } }
OR = {
can_research = mbt_tech_ops
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 851 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 851 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 853 } }
}
else = {
if = {
limit = {
NOT = { has_tech = medium_gun_tech }
NOT = { is_in_array = { array = rq_queue value = 853 } }
NOT = { is_in_array = { array = rq_ap_ban value = 853 } }
NOT = { is_in_array = { array = global.rq_hid value = 853 } }
OR = {
can_research = medium_gun_tech
AND = {
OR = { is_in_array = { array = rq_queue value = 1154 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 853 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 853 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 857 } }
if = {
limit = { check_variable = { rq_t < 855 } }
if = {
limit = {
NOT = { has_tech = medium_gun_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 854 } }
NOT = { is_in_array = { array = rq_ap_ban value = 854 } }
NOT = { is_in_array = { array = global.rq_hid value = 854 } }
OR = {
can_research = medium_gun_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 853 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 854 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 854 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 856 } }
if = {
limit = {
NOT = { has_tech = medium_gun_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 855 } }
NOT = { is_in_array = { array = rq_ap_ban value = 855 } }
NOT = { is_in_array = { array = global.rq_hid value = 855 } }
OR = {
can_research = medium_gun_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 854 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 855 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 855 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = medium_gun_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 856 } }
NOT = { is_in_array = { array = rq_ap_ban value = 856 } }
NOT = { is_in_array = { array = global.rq_hid value = 856 } }
OR = {
can_research = medium_gun_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 855 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 856 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 856 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 858 } }
if = {
limit = {
NOT = { has_tech = medium_gun_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 857 } }
NOT = { is_in_array = { array = rq_ap_ban value = 857 } }
NOT = { is_in_array = { array = global.rq_hid value = 857 } }
OR = {
can_research = medium_gun_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 856 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 857 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 857 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 859 } }
if = {
limit = {
NOT = { has_tech = medium_gun_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 858 } }
NOT = { is_in_array = { array = rq_ap_ban value = 858 } }
NOT = { is_in_array = { array = global.rq_hid value = 858 } }
OR = {
can_research = medium_gun_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 857 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 858 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 858 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = microchip_production_1 }
NOT = { is_in_array = { array = rq_queue value = 859 } }
NOT = { is_in_array = { array = rq_ap_ban value = 859 } }
NOT = { is_in_array = { array = global.rq_hid value = 859 } }
OR = {
can_research = microchip_production_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 859 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 859 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 871 } }
if = {
limit = { check_variable = { rq_t < 865 } }
if = {
limit = { check_variable = { rq_t < 862 } }
if = {
limit = { check_variable = { rq_t < 861 } }
if = {
limit = {
NOT = { has_tech = microchip_production_10 }
NOT = { is_in_array = { array = rq_queue value = 860 } }
NOT = { is_in_array = { array = rq_ap_ban value = 860 } }
NOT = { is_in_array = { array = global.rq_hid value = 860 } }
OR = {
can_research = microchip_production_10
AND = {
OR = { is_in_array = { array = rq_queue value = 868 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 860 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 860 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = microchip_production_2 }
NOT = { is_in_array = { array = rq_queue value = 861 } }
NOT = { is_in_array = { array = rq_ap_ban value = 861 } }
NOT = { is_in_array = { array = global.rq_hid value = 861 } }
OR = {
can_research = microchip_production_2
AND = {
OR = { is_in_array = { array = rq_queue value = 859 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 861 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 861 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 863 } }
if = {
limit = {
NOT = { has_tech = microchip_production_3 }
NOT = { is_in_array = { array = rq_queue value = 862 } }
NOT = { is_in_array = { array = rq_ap_ban value = 862 } }
NOT = { is_in_array = { array = global.rq_hid value = 862 } }
OR = {
can_research = microchip_production_3
AND = {
OR = { is_in_array = { array = rq_queue value = 861 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 862 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 862 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 864 } }
if = {
limit = {
NOT = { has_tech = microchip_production_4 }
NOT = { is_in_array = { array = rq_queue value = 863 } }
NOT = { is_in_array = { array = rq_ap_ban value = 863 } }
NOT = { is_in_array = { array = global.rq_hid value = 863 } }
OR = {
can_research = microchip_production_4
AND = {
OR = { is_in_array = { array = rq_queue value = 862 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 863 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 863 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = microchip_production_5 }
NOT = { is_in_array = { array = rq_queue value = 864 } }
NOT = { is_in_array = { array = rq_ap_ban value = 864 } }
NOT = { is_in_array = { array = global.rq_hid value = 864 } }
OR = {
can_research = microchip_production_5
AND = {
OR = { is_in_array = { array = rq_queue value = 863 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 864 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 864 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 868 } }
if = {
limit = { check_variable = { rq_t < 866 } }
if = {
limit = {
NOT = { has_tech = microchip_production_6 }
NOT = { is_in_array = { array = rq_queue value = 865 } }
NOT = { is_in_array = { array = rq_ap_ban value = 865 } }
NOT = { is_in_array = { array = global.rq_hid value = 865 } }
OR = {
can_research = microchip_production_6
AND = {
OR = { is_in_array = { array = rq_queue value = 864 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 865 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 865 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 867 } }
if = {
limit = {
NOT = { has_tech = microchip_production_7 }
NOT = { is_in_array = { array = rq_queue value = 866 } }
NOT = { is_in_array = { array = rq_ap_ban value = 866 } }
NOT = { is_in_array = { array = global.rq_hid value = 866 } }
OR = {
can_research = microchip_production_7
AND = {
OR = { is_in_array = { array = rq_queue value = 865 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 866 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 866 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = microchip_production_8 }
NOT = { is_in_array = { array = rq_queue value = 867 } }
NOT = { is_in_array = { array = rq_ap_ban value = 867 } }
NOT = { is_in_array = { array = global.rq_hid value = 867 } }
OR = {
can_research = microchip_production_8
AND = {
OR = { is_in_array = { array = rq_queue value = 866 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 867 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 867 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 869 } }
if = {
limit = {
NOT = { has_tech = microchip_production_9 }
NOT = { is_in_array = { array = rq_queue value = 868 } }
NOT = { is_in_array = { array = rq_ap_ban value = 868 } }
NOT = { is_in_array = { array = global.rq_hid value = 868 } }
OR = {
can_research = microchip_production_9
AND = {
OR = { is_in_array = { array = rq_queue value = 867 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 868 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 868 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 870 } }
if = {
limit = {
NOT = { has_tech = microprocessors }
NOT = { is_in_array = { array = rq_queue value = 869 } }
NOT = { is_in_array = { array = rq_ap_ban value = 869 } }
NOT = { is_in_array = { array = global.rq_hid value = 869 } }
OR = {
can_research = microprocessors
AND = {
OR = { is_in_array = { array = rq_queue value = 513 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 869 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 869 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = missile_submarine_hull_1 }
NOT = { is_in_array = { array = rq_queue value = 870 } }
NOT = { is_in_array = { array = rq_ap_ban value = 870 } }
NOT = { is_in_array = { array = global.rq_hid value = 870 } }
OR = {
can_research = missile_submarine_hull_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1367 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 870 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 870 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 877 } }
if = {
limit = { check_variable = { rq_t < 874 } }
if = {
limit = { check_variable = { rq_t < 872 } }
if = {
limit = {
NOT = { has_tech = missile_submarine_hull_2 }
NOT = { is_in_array = { array = rq_queue value = 871 } }
NOT = { is_in_array = { array = rq_ap_ban value = 871 } }
NOT = { is_in_array = { array = global.rq_hid value = 871 } }
OR = {
can_research = missile_submarine_hull_2
AND = {
OR = { is_in_array = { array = rq_queue value = 870 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 871 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 871 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 873 } }
if = {
limit = {
NOT = { has_tech = missile_submarine_hull_3 }
NOT = { is_in_array = { array = rq_queue value = 872 } }
NOT = { is_in_array = { array = rq_ap_ban value = 872 } }
NOT = { is_in_array = { array = global.rq_hid value = 872 } }
OR = {
can_research = missile_submarine_hull_3
AND = {
OR = { is_in_array = { array = rq_queue value = 871 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 872 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 872 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = missile_submarine_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 873 } }
NOT = { is_in_array = { array = rq_ap_ban value = 873 } }
NOT = { is_in_array = { array = global.rq_hid value = 873 } }
OR = {
can_research = missile_submarine_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 872 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 873 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 873 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 875 } }
if = {
limit = {
NOT = { has_tech = missile_submarine_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 874 } }
NOT = { is_in_array = { array = rq_ap_ban value = 874 } }
NOT = { is_in_array = { array = global.rq_hid value = 874 } }
OR = {
can_research = missile_submarine_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 873 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 874 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 874 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 876 } }
if = {
limit = {
NOT = { has_tech = missile_submarine_hull_6 }
NOT = { is_in_array = { array = rq_queue value = 875 } }
NOT = { is_in_array = { array = rq_ap_ban value = 875 } }
NOT = { is_in_array = { array = global.rq_hid value = 875 } }
OR = {
can_research = missile_submarine_hull_6
AND = {
OR = { is_in_array = { array = rq_queue value = 874 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 875 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 875 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = missile_submarine_hull_7 }
NOT = { is_in_array = { array = rq_queue value = 876 } }
NOT = { is_in_array = { array = rq_ap_ban value = 876 } }
NOT = { is_in_array = { array = global.rq_hid value = 876 } }
OR = {
can_research = missile_submarine_hull_7
AND = {
OR = { is_in_array = { array = rq_queue value = 875 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 876 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 876 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 880 } }
if = {
limit = { check_variable = { rq_t < 878 } }
if = {
limit = {
NOT = { has_tech = missile_submarine_hull_8 }
NOT = { is_in_array = { array = rq_queue value = 877 } }
NOT = { is_in_array = { array = rq_ap_ban value = 877 } }
NOT = { is_in_array = { array = global.rq_hid value = 877 } }
OR = {
can_research = missile_submarine_hull_8
AND = {
OR = { is_in_array = { array = rq_queue value = 876 } }
ROOT = { is_special_project_completed = sp:sp_naval_vessel_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 877 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 877 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 879 } }
if = {
limit = {
NOT = { has_tech = modern_renewables }
NOT = { is_in_array = { array = rq_queue value = 878 } }
NOT = { is_in_array = { array = rq_ap_ban value = 878 } }
NOT = { is_in_array = { array = global.rq_hid value = 878 } }
OR = {
can_research = modern_renewables
AND = {
OR = { is_in_array = { array = rq_queue value = 330 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 878 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 878 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nanofibers_1 }
NOT = { is_in_array = { array = rq_queue value = 879 } }
NOT = { is_in_array = { array = rq_ap_ban value = 879 } }
NOT = { is_in_array = { array = global.rq_hid value = 879 } }
OR = {
can_research = nanofibers_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 879 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 879 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 881 } }
if = {
limit = {
NOT = { has_tech = nanofibers_2 }
NOT = { is_in_array = { array = rq_queue value = 880 } }
NOT = { is_in_array = { array = rq_ap_ban value = 880 } }
NOT = { is_in_array = { array = global.rq_hid value = 880 } }
OR = {
can_research = nanofibers_2
AND = {
OR = { is_in_array = { array = rq_queue value = 879 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 880 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 880 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 882 } }
if = {
limit = {
NOT = { has_tech = nanofibers_3 }
NOT = { is_in_array = { array = rq_queue value = 881 } }
NOT = { is_in_array = { array = rq_ap_ban value = 881 } }
NOT = { is_in_array = { array = global.rq_hid value = 881 } }
OR = {
can_research = nanofibers_3
AND = {
OR = { is_in_array = { array = rq_queue value = 880 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 881 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 881 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nanofibers_4 }
NOT = { is_in_array = { array = rq_queue value = 882 } }
NOT = { is_in_array = { array = rq_ap_ban value = 882 } }
NOT = { is_in_array = { array = global.rq_hid value = 882 } }
OR = {
can_research = nanofibers_4
AND = {
OR = { is_in_array = { array = rq_queue value = 881 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 882 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 882 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 906 } }
if = {
limit = { check_variable = { rq_t < 894 } }
if = {
limit = { check_variable = { rq_t < 888 } }
if = {
limit = { check_variable = { rq_t < 885 } }
if = {
limit = { check_variable = { rq_t < 884 } }
if = {
limit = {
NOT = { has_tech = nanofibers_5 }
NOT = { is_in_array = { array = rq_queue value = 883 } }
NOT = { is_in_array = { array = rq_ap_ban value = 883 } }
NOT = { is_in_array = { array = global.rq_hid value = 883 } }
OR = {
can_research = nanofibers_5
AND = {
OR = { is_in_array = { array = rq_queue value = 882 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 883 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 883 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nanofibers_6 }
NOT = { is_in_array = { array = rq_queue value = 884 } }
NOT = { is_in_array = { array = rq_ap_ban value = 884 } }
NOT = { is_in_array = { array = global.rq_hid value = 884 } }
OR = {
can_research = nanofibers_6
AND = {
OR = { is_in_array = { array = rq_queue value = 883 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 884 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 884 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 886 } }
if = {
limit = {
NOT = { has_tech = nanofibers_7 }
NOT = { is_in_array = { array = rq_queue value = 885 } }
NOT = { is_in_array = { array = rq_ap_ban value = 885 } }
NOT = { is_in_array = { array = global.rq_hid value = 885 } }
OR = {
can_research = nanofibers_7
AND = {
OR = { is_in_array = { array = rq_queue value = 884 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 885 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 885 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 887 } }
if = {
limit = {
NOT = { has_tech = naval_plane1 }
NOT = { is_in_array = { array = rq_queue value = 886 } }
NOT = { is_in_array = { array = rq_ap_ban value = 886 } }
NOT = { is_in_array = { array = global.rq_hid value = 886 } }
OR = {
can_research = naval_plane1
AND = {
OR = { is_in_array = { array = rq_queue value = 605 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 886 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 886 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = naval_plane2 }
NOT = { is_in_array = { array = rq_queue value = 887 } }
NOT = { is_in_array = { array = rq_ap_ban value = 887 } }
NOT = { is_in_array = { array = global.rq_hid value = 887 } }
OR = {
can_research = naval_plane2
AND = {
OR = { is_in_array = { array = rq_queue value = 886 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 887 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 887 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 891 } }
if = {
limit = { check_variable = { rq_t < 889 } }
if = {
limit = {
NOT = { has_tech = naval_plane3 }
NOT = { is_in_array = { array = rq_queue value = 888 } }
NOT = { is_in_array = { array = rq_ap_ban value = 888 } }
NOT = { is_in_array = { array = global.rq_hid value = 888 } }
OR = {
can_research = naval_plane3
AND = {
OR = { is_in_array = { array = rq_queue value = 887 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 888 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 888 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 890 } }
if = {
limit = {
NOT = { has_tech = naval_plane4 }
NOT = { is_in_array = { array = rq_queue value = 889 } }
NOT = { is_in_array = { array = rq_ap_ban value = 889 } }
NOT = { is_in_array = { array = global.rq_hid value = 889 } }
OR = {
can_research = naval_plane4
AND = {
OR = { is_in_array = { array = rq_queue value = 888 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 889 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 889 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = naval_plane5 }
NOT = { is_in_array = { array = rq_queue value = 890 } }
NOT = { is_in_array = { array = rq_ap_ban value = 890 } }
NOT = { is_in_array = { array = global.rq_hid value = 890 } }
OR = {
can_research = naval_plane5
AND = {
OR = { is_in_array = { array = rq_queue value = 889 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 890 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 890 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 892 } }
if = {
limit = {
NOT = { has_tech = naval_plane6 }
NOT = { is_in_array = { array = rq_queue value = 891 } }
NOT = { is_in_array = { array = rq_ap_ban value = 891 } }
NOT = { is_in_array = { array = global.rq_hid value = 891 } }
OR = {
can_research = naval_plane6
AND = {
OR = { is_in_array = { array = rq_queue value = 890 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 891 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 891 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 893 } }
if = {
limit = {
NOT = { has_tech = naval_weapons_1 }
NOT = { is_in_array = { array = rq_queue value = 892 } }
NOT = { is_in_array = { array = rq_ap_ban value = 892 } }
NOT = { is_in_array = { array = global.rq_hid value = 892 } }
OR = {
can_research = naval_weapons_1
AND = {
OR = { is_in_array = { array = rq_queue value = 610 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 892 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 892 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = naval_weapons_2 }
NOT = { is_in_array = { array = rq_queue value = 893 } }
NOT = { is_in_array = { array = rq_ap_ban value = 893 } }
NOT = { is_in_array = { array = global.rq_hid value = 893 } }
OR = {
can_research = naval_weapons_2
AND = {
OR = { is_in_array = { array = rq_queue value = 892 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 893 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 893 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 900 } }
if = {
limit = { check_variable = { rq_t < 897 } }
if = {
limit = { check_variable = { rq_t < 895 } }
if = {
limit = {
NOT = { has_tech = naval_weapons_3 }
NOT = { is_in_array = { array = rq_queue value = 894 } }
NOT = { is_in_array = { array = rq_ap_ban value = 894 } }
NOT = { is_in_array = { array = global.rq_hid value = 894 } }
OR = {
can_research = naval_weapons_3
AND = {
OR = { is_in_array = { array = rq_queue value = 893 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 894 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 894 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 896 } }
if = {
limit = {
NOT = { has_tech = naval_weapons_4 }
NOT = { is_in_array = { array = rq_queue value = 895 } }
NOT = { is_in_array = { array = rq_ap_ban value = 895 } }
NOT = { is_in_array = { array = global.rq_hid value = 895 } }
OR = {
can_research = naval_weapons_4
AND = {
OR = { is_in_array = { array = rq_queue value = 894 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 895 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 895 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = naval_weapons_5 }
NOT = { is_in_array = { array = rq_queue value = 896 } }
NOT = { is_in_array = { array = rq_ap_ban value = 896 } }
NOT = { is_in_array = { array = global.rq_hid value = 896 } }
OR = {
can_research = naval_weapons_5
AND = {
OR = { is_in_array = { array = rq_queue value = 895 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 896 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 896 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 898 } }
if = {
limit = {
NOT = { has_tech = naval_weapons_6 }
NOT = { is_in_array = { array = rq_queue value = 897 } }
NOT = { is_in_array = { array = rq_ap_ban value = 897 } }
NOT = { is_in_array = { array = global.rq_hid value = 897 } }
OR = {
can_research = naval_weapons_6
AND = {
OR = { is_in_array = { array = rq_queue value = 896 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 897 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 897 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 899 } }
}
else = {
if = {
limit = {
NOT = { has_tech = nera_armor_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 899 } }
NOT = { is_in_array = { array = rq_ap_ban value = 899 } }
NOT = { is_in_array = { array = global.rq_hid value = 899 } }
OR = {
can_research = nera_armor_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 898 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 899 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 899 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 903 } }
if = {
limit = { check_variable = { rq_t < 901 } }
if = {
limit = {
NOT = { has_tech = nera_armor_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 900 } }
NOT = { is_in_array = { array = rq_ap_ban value = 900 } }
NOT = { is_in_array = { array = global.rq_hid value = 900 } }
OR = {
can_research = nera_armor_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 899 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 900 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 900 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 902 } }
if = {
limit = {
NOT = { has_tech = nera_armor_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 901 } }
NOT = { is_in_array = { array = rq_ap_ban value = 901 } }
NOT = { is_in_array = { array = global.rq_hid value = 901 } }
OR = {
can_research = nera_armor_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 900 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 901 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 901 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nera_armor_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 902 } }
NOT = { is_in_array = { array = rq_ap_ban value = 902 } }
NOT = { is_in_array = { array = global.rq_hid value = 902 } }
OR = {
can_research = nera_armor_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 901 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 902 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 902 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 904 } }
if = {
limit = {
NOT = { has_tech = night_vision_1 }
NOT = { is_in_array = { array = rq_queue value = 903 } }
NOT = { is_in_array = { array = rq_ap_ban value = 903 } }
NOT = { is_in_array = { array = global.rq_hid value = 903 } }
OR = {
can_research = night_vision_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 903 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 903 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 905 } }
if = {
limit = {
NOT = { has_tech = night_vision_2 }
NOT = { is_in_array = { array = rq_queue value = 904 } }
NOT = { is_in_array = { array = rq_ap_ban value = 904 } }
NOT = { is_in_array = { array = global.rq_hid value = 904 } }
OR = {
can_research = night_vision_2
AND = {
OR = { is_in_array = { array = rq_queue value = 903 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 904 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 904 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = night_vision_3 }
NOT = { is_in_array = { array = rq_queue value = 905 } }
NOT = { is_in_array = { array = rq_ap_ban value = 905 } }
NOT = { is_in_array = { array = global.rq_hid value = 905 } }
OR = {
can_research = night_vision_3
AND = {
OR = { is_in_array = { array = rq_queue value = 904 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 905 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 905 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 918 } }
if = {
limit = { check_variable = { rq_t < 912 } }
if = {
limit = { check_variable = { rq_t < 909 } }
if = {
limit = { check_variable = { rq_t < 907 } }
if = {
limit = {
NOT = { has_tech = night_vision_4 }
NOT = { is_in_array = { array = rq_queue value = 906 } }
NOT = { is_in_array = { array = rq_ap_ban value = 906 } }
NOT = { is_in_array = { array = global.rq_hid value = 906 } }
OR = {
can_research = night_vision_4
AND = {
OR = { is_in_array = { array = rq_queue value = 905 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 906 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 906 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 908 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_autocannon_1 }
NOT = { is_in_array = { array = rq_queue value = 907 } }
NOT = { is_in_array = { array = rq_ap_ban value = 907 } }
NOT = { is_in_array = { array = global.rq_hid value = 907 } }
OR = {
can_research = nsb_AA_autocannon_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 907 }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 907 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_AA_autocannon_2 }
NOT = { is_in_array = { array = rq_queue value = 908 } }
NOT = { is_in_array = { array = rq_ap_ban value = 908 } }
NOT = { is_in_array = { array = global.rq_hid value = 908 } }
OR = {
can_research = nsb_AA_autocannon_2
AND = {
OR = { is_in_array = { array = rq_queue value = 907 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 908 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 908 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 910 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_autocannon_3 }
NOT = { is_in_array = { array = rq_queue value = 909 } }
NOT = { is_in_array = { array = rq_ap_ban value = 909 } }
NOT = { is_in_array = { array = global.rq_hid value = 909 } }
OR = {
can_research = nsb_AA_autocannon_3
AND = {
OR = { is_in_array = { array = rq_queue value = 908 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 909 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 909 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 911 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_autocannon_4 }
NOT = { is_in_array = { array = rq_queue value = 910 } }
NOT = { is_in_array = { array = rq_ap_ban value = 910 } }
NOT = { is_in_array = { array = global.rq_hid value = 910 } }
OR = {
can_research = nsb_AA_autocannon_4
AND = {
OR = { is_in_array = { array = rq_queue value = 909 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 910 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 910 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_AA_autocannon_5 }
NOT = { is_in_array = { array = rq_queue value = 911 } }
NOT = { is_in_array = { array = rq_ap_ban value = 911 } }
NOT = { is_in_array = { array = global.rq_hid value = 911 } }
OR = {
can_research = nsb_AA_autocannon_5
AND = {
OR = { is_in_array = { array = rq_queue value = 910 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 911 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 911 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 915 } }
if = {
limit = { check_variable = { rq_t < 913 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_autocannon_6 }
NOT = { is_in_array = { array = rq_queue value = 912 } }
NOT = { is_in_array = { array = rq_ap_ban value = 912 } }
NOT = { is_in_array = { array = global.rq_hid value = 912 } }
OR = {
can_research = nsb_AA_autocannon_6
AND = {
OR = { is_in_array = { array = rq_queue value = 911 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 912 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 912 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 914 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_autocannon_7 }
NOT = { is_in_array = { array = rq_queue value = 913 } }
NOT = { is_in_array = { array = rq_ap_ban value = 913 } }
NOT = { is_in_array = { array = global.rq_hid value = 913 } }
OR = {
can_research = nsb_AA_autocannon_7
AND = {
OR = { is_in_array = { array = rq_queue value = 912 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 913 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 913 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_AA_autocannon_8 }
NOT = { is_in_array = { array = rq_queue value = 914 } }
NOT = { is_in_array = { array = rq_ap_ban value = 914 } }
NOT = { is_in_array = { array = global.rq_hid value = 914 } }
OR = {
can_research = nsb_AA_autocannon_8
AND = {
OR = { is_in_array = { array = rq_queue value = 913 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 914 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 914 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 916 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_autocannon_9 }
NOT = { is_in_array = { array = rq_queue value = 915 } }
NOT = { is_in_array = { array = rq_ap_ban value = 915 } }
NOT = { is_in_array = { array = global.rq_hid value = 915 } }
OR = {
can_research = nsb_AA_autocannon_9
AND = {
OR = { is_in_array = { array = rq_queue value = 914 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 915 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 915 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 917 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_upgrade_1 }
NOT = { is_in_array = { array = rq_queue value = 916 } }
NOT = { is_in_array = { array = rq_ap_ban value = 916 } }
NOT = { is_in_array = { array = global.rq_hid value = 916 } }
OR = {
can_research = nsb_AA_upgrade_1
AND = {
OR = { is_in_array = { array = rq_queue value = 924 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 916 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 916 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_AA_upgrade_2 }
NOT = { is_in_array = { array = rq_queue value = 917 } }
NOT = { is_in_array = { array = rq_ap_ban value = 917 } }
NOT = { is_in_array = { array = global.rq_hid value = 917 } }
OR = {
can_research = nsb_AA_upgrade_2
AND = {
OR = { is_in_array = { array = rq_queue value = 925 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 917 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 917 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 924 } }
if = {
limit = { check_variable = { rq_t < 921 } }
if = {
limit = { check_variable = { rq_t < 919 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_upgrade_3 }
NOT = { is_in_array = { array = rq_queue value = 918 } }
NOT = { is_in_array = { array = rq_ap_ban value = 918 } }
NOT = { is_in_array = { array = global.rq_hid value = 918 } }
OR = {
can_research = nsb_AA_upgrade_3
AND = {
OR = { is_in_array = { array = rq_queue value = 926 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 918 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 918 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 920 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_upgrade_4 }
NOT = { is_in_array = { array = rq_queue value = 919 } }
NOT = { is_in_array = { array = rq_ap_ban value = 919 } }
NOT = { is_in_array = { array = global.rq_hid value = 919 } }
OR = {
can_research = nsb_AA_upgrade_4
AND = {
OR = { is_in_array = { array = rq_queue value = 927 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 919 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 919 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_AA_upgrade_5 }
NOT = { is_in_array = { array = rq_queue value = 920 } }
NOT = { is_in_array = { array = rq_ap_ban value = 920 } }
NOT = { is_in_array = { array = global.rq_hid value = 920 } }
OR = {
can_research = nsb_AA_upgrade_5
AND = {
OR = { is_in_array = { array = rq_queue value = 928 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 920 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 920 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 922 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_upgrade_6 }
NOT = { is_in_array = { array = rq_queue value = 921 } }
NOT = { is_in_array = { array = rq_ap_ban value = 921 } }
NOT = { is_in_array = { array = global.rq_hid value = 921 } }
OR = {
can_research = nsb_AA_upgrade_6
AND = {
OR = { is_in_array = { array = rq_queue value = 929 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 921 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 921 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 923 } }
if = {
limit = {
NOT = { has_tech = nsb_AA_upgrade_7 }
NOT = { is_in_array = { array = rq_queue value = 922 } }
NOT = { is_in_array = { array = rq_ap_ban value = 922 } }
NOT = { is_in_array = { array = global.rq_hid value = 922 } }
OR = {
can_research = nsb_AA_upgrade_7
AND = {
OR = { is_in_array = { array = rq_queue value = 930 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 922 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 922 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_AA_upgrade_8 }
NOT = { is_in_array = { array = rq_queue value = 923 } }
NOT = { is_in_array = { array = rq_ap_ban value = 923 } }
NOT = { is_in_array = { array = global.rq_hid value = 923 } }
OR = {
can_research = nsb_AA_upgrade_8
AND = {
OR = { is_in_array = { array = rq_queue value = 931 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 923 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 923 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 927 } }
if = {
limit = { check_variable = { rq_t < 925 } }
if = {
limit = {
NOT = { has_tech = nsb_Anti_Air_0 }
NOT = { is_in_array = { array = rq_queue value = 924 } }
NOT = { is_in_array = { array = rq_ap_ban value = 924 } }
NOT = { is_in_array = { array = global.rq_hid value = 924 } }
OR = {
can_research = nsb_Anti_Air_0
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 924 }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 924 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 926 } }
if = {
limit = {
NOT = { has_tech = nsb_Anti_Air_1 }
NOT = { is_in_array = { array = rq_queue value = 925 } }
NOT = { is_in_array = { array = rq_ap_ban value = 925 } }
NOT = { is_in_array = { array = global.rq_hid value = 925 } }
OR = {
can_research = nsb_Anti_Air_1
AND = {
OR = { is_in_array = { array = rq_queue value = 916 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 925 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 925 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_Anti_Air_2 }
NOT = { is_in_array = { array = rq_queue value = 926 } }
NOT = { is_in_array = { array = rq_ap_ban value = 926 } }
NOT = { is_in_array = { array = global.rq_hid value = 926 } }
OR = {
can_research = nsb_Anti_Air_2
AND = {
OR = { is_in_array = { array = rq_queue value = 917 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 926 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 926 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 928 } }
if = {
limit = {
NOT = { has_tech = nsb_Anti_Air_3 }
NOT = { is_in_array = { array = rq_queue value = 927 } }
NOT = { is_in_array = { array = rq_ap_ban value = 927 } }
NOT = { is_in_array = { array = global.rq_hid value = 927 } }
OR = {
can_research = nsb_Anti_Air_3
AND = {
OR = { is_in_array = { array = rq_queue value = 918 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 927 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 927 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 929 } }
if = {
limit = {
NOT = { has_tech = nsb_Anti_Air_4 }
NOT = { is_in_array = { array = rq_queue value = 928 } }
NOT = { is_in_array = { array = rq_ap_ban value = 928 } }
NOT = { is_in_array = { array = global.rq_hid value = 928 } }
OR = {
can_research = nsb_Anti_Air_4
AND = {
OR = { is_in_array = { array = rq_queue value = 919 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 928 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 928 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_Anti_Air_5 }
NOT = { is_in_array = { array = rq_queue value = 929 } }
NOT = { is_in_array = { array = rq_ap_ban value = 929 } }
NOT = { is_in_array = { array = global.rq_hid value = 929 } }
OR = {
can_research = nsb_Anti_Air_5
AND = {
OR = { is_in_array = { array = rq_queue value = 920 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 929 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 929 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1023 } }
if = {
limit = { check_variable = { rq_t < 976 } }
if = {
limit = { check_variable = { rq_t < 953 } }
if = {
limit = { check_variable = { rq_t < 941 } }
if = {
limit = { check_variable = { rq_t < 935 } }
if = {
limit = { check_variable = { rq_t < 932 } }
if = {
limit = { check_variable = { rq_t < 931 } }
if = {
limit = {
NOT = { has_tech = nsb_Anti_Air_6 }
NOT = { is_in_array = { array = rq_queue value = 930 } }
NOT = { is_in_array = { array = rq_ap_ban value = 930 } }
NOT = { is_in_array = { array = global.rq_hid value = 930 } }
OR = {
can_research = nsb_Anti_Air_6
AND = {
OR = { is_in_array = { array = rq_queue value = 921 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 930 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 930 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_Anti_Air_7 }
NOT = { is_in_array = { array = rq_queue value = 931 } }
NOT = { is_in_array = { array = rq_ap_ban value = 931 } }
NOT = { is_in_array = { array = global.rq_hid value = 931 } }
OR = {
can_research = nsb_Anti_Air_7
AND = {
OR = { is_in_array = { array = rq_queue value = 922 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 931 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 931 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 933 } }
if = {
limit = {
NOT = { has_tech = nsb_Anti_Air_8 }
NOT = { is_in_array = { array = rq_queue value = 932 } }
NOT = { is_in_array = { array = rq_ap_ban value = 932 } }
NOT = { is_in_array = { array = global.rq_hid value = 932 } }
OR = {
can_research = nsb_Anti_Air_8
AND = {
OR = { is_in_array = { array = rq_queue value = 923 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 932 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 932 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 934 } }
if = {
limit = {
NOT = { has_tech = nsb_SHORAD_missile_1 }
NOT = { is_in_array = { array = rq_queue value = 933 } }
NOT = { is_in_array = { array = rq_ap_ban value = 933 } }
NOT = { is_in_array = { array = global.rq_hid value = 933 } }
OR = {
can_research = nsb_SHORAD_missile_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 933 }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 933 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_SHORAD_missile_2 }
NOT = { is_in_array = { array = rq_queue value = 934 } }
NOT = { is_in_array = { array = rq_ap_ban value = 934 } }
NOT = { is_in_array = { array = global.rq_hid value = 934 } }
OR = {
can_research = nsb_SHORAD_missile_2
AND = {
OR = { is_in_array = { array = rq_queue value = 933 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 934 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 934 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 938 } }
if = {
limit = { check_variable = { rq_t < 936 } }
if = {
limit = {
NOT = { has_tech = nsb_SHORAD_missile_3 }
NOT = { is_in_array = { array = rq_queue value = 935 } }
NOT = { is_in_array = { array = rq_ap_ban value = 935 } }
NOT = { is_in_array = { array = global.rq_hid value = 935 } }
OR = {
can_research = nsb_SHORAD_missile_3
AND = {
OR = { is_in_array = { array = rq_queue value = 934 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 935 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 935 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 937 } }
if = {
limit = {
NOT = { has_tech = nsb_SHORAD_missile_4 }
NOT = { is_in_array = { array = rq_queue value = 936 } }
NOT = { is_in_array = { array = rq_ap_ban value = 936 } }
NOT = { is_in_array = { array = global.rq_hid value = 936 } }
OR = {
can_research = nsb_SHORAD_missile_4
AND = {
OR = { is_in_array = { array = rq_queue value = 935 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 936 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 936 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_SHORAD_missile_5 }
NOT = { is_in_array = { array = rq_queue value = 937 } }
NOT = { is_in_array = { array = rq_ap_ban value = 937 } }
NOT = { is_in_array = { array = global.rq_hid value = 937 } }
OR = {
can_research = nsb_SHORAD_missile_5
AND = {
OR = { is_in_array = { array = rq_queue value = 936 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 937 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 937 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 939 } }
if = {
limit = {
NOT = { has_tech = nsb_SHORAD_missile_6 }
NOT = { is_in_array = { array = rq_queue value = 938 } }
NOT = { is_in_array = { array = rq_ap_ban value = 938 } }
NOT = { is_in_array = { array = global.rq_hid value = 938 } }
OR = {
can_research = nsb_SHORAD_missile_6
AND = {
OR = { is_in_array = { array = rq_queue value = 937 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 938 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 938 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 940 } }
if = {
limit = {
NOT = { has_tech = nsb_SHORAD_missile_7 }
NOT = { is_in_array = { array = rq_queue value = 939 } }
NOT = { is_in_array = { array = rq_ap_ban value = 939 } }
NOT = { is_in_array = { array = global.rq_hid value = 939 } }
OR = {
can_research = nsb_SHORAD_missile_7
AND = {
OR = { is_in_array = { array = rq_queue value = 938 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 939 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 939 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_SHORAD_missile_8 }
NOT = { is_in_array = { array = rq_queue value = 940 } }
NOT = { is_in_array = { array = rq_ap_ban value = 940 } }
NOT = { is_in_array = { array = global.rq_hid value = 940 } }
OR = {
can_research = nsb_SHORAD_missile_8
AND = {
OR = { is_in_array = { array = rq_queue value = 939 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 940 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 940 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 947 } }
if = {
limit = { check_variable = { rq_t < 944 } }
if = {
limit = { check_variable = { rq_t < 942 } }
if = {
limit = {
NOT = { has_tech = nsb_SHORAD_missile_9 }
NOT = { is_in_array = { array = rq_queue value = 941 } }
NOT = { is_in_array = { array = rq_ap_ban value = 941 } }
NOT = { is_in_array = { array = global.rq_hid value = 941 } }
OR = {
can_research = nsb_SHORAD_missile_9
AND = {
OR = { is_in_array = { array = rq_queue value = 940 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 941 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 941 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 943 } }
if = {
limit = {
NOT = { has_tech = nsb_artillery_1 }
NOT = { is_in_array = { array = rq_queue value = 942 } }
NOT = { is_in_array = { array = rq_ap_ban value = 942 } }
NOT = { is_in_array = { array = global.rq_hid value = 942 } }
OR = {
can_research = nsb_artillery_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 942 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 942 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_artillery_2 }
NOT = { is_in_array = { array = rq_queue value = 943 } }
NOT = { is_in_array = { array = rq_ap_ban value = 943 } }
NOT = { is_in_array = { array = global.rq_hid value = 943 } }
OR = {
can_research = nsb_artillery_2
AND = {
OR = { is_in_array = { array = rq_queue value = 954 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 943 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 943 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 945 } }
if = {
limit = {
NOT = { has_tech = nsb_artillery_3 }
NOT = { is_in_array = { array = rq_queue value = 944 } }
NOT = { is_in_array = { array = rq_ap_ban value = 944 } }
NOT = { is_in_array = { array = global.rq_hid value = 944 } }
OR = {
can_research = nsb_artillery_3
AND = {
OR = { is_in_array = { array = rq_queue value = 955 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 944 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 944 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 946 } }
if = {
limit = {
NOT = { has_tech = nsb_artillery_4 }
NOT = { is_in_array = { array = rq_queue value = 945 } }
NOT = { is_in_array = { array = rq_ap_ban value = 945 } }
NOT = { is_in_array = { array = global.rq_hid value = 945 } }
OR = {
can_research = nsb_artillery_4
AND = {
OR = { is_in_array = { array = rq_queue value = 956 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 945 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 945 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_artillery_5 }
NOT = { is_in_array = { array = rq_queue value = 946 } }
NOT = { is_in_array = { array = rq_ap_ban value = 946 } }
NOT = { is_in_array = { array = global.rq_hid value = 946 } }
OR = {
can_research = nsb_artillery_5
AND = {
OR = { is_in_array = { array = rq_queue value = 957 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 946 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 946 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 950 } }
if = {
limit = { check_variable = { rq_t < 948 } }
if = {
limit = {
NOT = { has_tech = nsb_artillery_6 }
NOT = { is_in_array = { array = rq_queue value = 947 } }
NOT = { is_in_array = { array = rq_ap_ban value = 947 } }
NOT = { is_in_array = { array = global.rq_hid value = 947 } }
OR = {
can_research = nsb_artillery_6
AND = {
OR = { is_in_array = { array = rq_queue value = 946 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 947 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 947 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 949 } }
if = {
limit = {
NOT = { has_tech = nsb_artillery_ammo_1 }
NOT = { is_in_array = { array = rq_queue value = 948 } }
NOT = { is_in_array = { array = rq_ap_ban value = 948 } }
NOT = { is_in_array = { array = global.rq_hid value = 948 } }
OR = {
can_research = nsb_artillery_ammo_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 948 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 948 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_artillery_ammo_2 }
NOT = { is_in_array = { array = rq_queue value = 949 } }
NOT = { is_in_array = { array = rq_ap_ban value = 949 } }
NOT = { is_in_array = { array = global.rq_hid value = 949 } }
OR = {
can_research = nsb_artillery_ammo_2
AND = {
OR = { is_in_array = { array = rq_queue value = 948 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 949 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 949 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 951 } }
if = {
limit = {
NOT = { has_tech = nsb_artillery_ammo_3 }
NOT = { is_in_array = { array = rq_queue value = 950 } }
NOT = { is_in_array = { array = rq_ap_ban value = 950 } }
NOT = { is_in_array = { array = global.rq_hid value = 950 } }
OR = {
can_research = nsb_artillery_ammo_3
AND = {
OR = { is_in_array = { array = rq_queue value = 949 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 950 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 950 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 952 } }
if = {
limit = {
NOT = { has_tech = nsb_artillery_ammo_4 }
NOT = { is_in_array = { array = rq_queue value = 951 } }
NOT = { is_in_array = { array = rq_ap_ban value = 951 } }
NOT = { is_in_array = { array = global.rq_hid value = 951 } }
OR = {
can_research = nsb_artillery_ammo_4
AND = {
OR = { is_in_array = { array = rq_queue value = 950 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 951 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 951 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_artillery_ammo_5 }
NOT = { is_in_array = { array = rq_queue value = 952 } }
NOT = { is_in_array = { array = rq_ap_ban value = 952 } }
NOT = { is_in_array = { array = global.rq_hid value = 952 } }
OR = {
can_research = nsb_artillery_ammo_5
AND = {
OR = { is_in_array = { array = rq_queue value = 951 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 952 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 952 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 964 } }
if = {
limit = { check_variable = { rq_t < 958 } }
if = {
limit = { check_variable = { rq_t < 955 } }
if = {
limit = { check_variable = { rq_t < 954 } }
if = {
limit = {
NOT = { has_tech = nsb_artillery_ammo_6 }
NOT = { is_in_array = { array = rq_queue value = 953 } }
NOT = { is_in_array = { array = rq_ap_ban value = 953 } }
NOT = { is_in_array = { array = global.rq_hid value = 953 } }
OR = {
can_research = nsb_artillery_ammo_6
AND = {
OR = { is_in_array = { array = rq_queue value = 952 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 953 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 953 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_arty_upgrade_1 }
NOT = { is_in_array = { array = rq_queue value = 954 } }
NOT = { is_in_array = { array = rq_ap_ban value = 954 } }
NOT = { is_in_array = { array = global.rq_hid value = 954 } }
OR = {
can_research = nsb_arty_upgrade_1
AND = {
OR = { is_in_array = { array = rq_queue value = 942 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 954 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 954 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 956 } }
if = {
limit = {
NOT = { has_tech = nsb_arty_upgrade_2 }
NOT = { is_in_array = { array = rq_queue value = 955 } }
NOT = { is_in_array = { array = rq_ap_ban value = 955 } }
NOT = { is_in_array = { array = global.rq_hid value = 955 } }
OR = {
can_research = nsb_arty_upgrade_2
AND = {
OR = { is_in_array = { array = rq_queue value = 943 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 955 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 955 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 957 } }
if = {
limit = {
NOT = { has_tech = nsb_arty_upgrade_3 }
NOT = { is_in_array = { array = rq_queue value = 956 } }
NOT = { is_in_array = { array = rq_ap_ban value = 956 } }
NOT = { is_in_array = { array = global.rq_hid value = 956 } }
OR = {
can_research = nsb_arty_upgrade_3
AND = {
OR = { is_in_array = { array = rq_queue value = 944 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 956 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 956 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_arty_upgrade_4 }
NOT = { is_in_array = { array = rq_queue value = 957 } }
NOT = { is_in_array = { array = rq_ap_ban value = 957 } }
NOT = { is_in_array = { array = global.rq_hid value = 957 } }
OR = {
can_research = nsb_arty_upgrade_4
AND = {
OR = { is_in_array = { array = rq_queue value = 945 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 957 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 957 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 961 } }
if = {
limit = { check_variable = { rq_t < 959 } }
if = {
limit = {
NOT = { has_tech = nsb_arty_upgrade_5 }
NOT = { is_in_array = { array = rq_queue value = 958 } }
NOT = { is_in_array = { array = rq_ap_ban value = 958 } }
NOT = { is_in_array = { array = global.rq_hid value = 958 } }
OR = {
can_research = nsb_arty_upgrade_5
AND = {
OR = { is_in_array = { array = rq_queue value = 946 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 958 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 958 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 960 } }
if = {
limit = {
NOT = { has_tech = nsb_arty_upgrade_6 }
NOT = { is_in_array = { array = rq_queue value = 959 } }
NOT = { is_in_array = { array = rq_ap_ban value = 959 } }
NOT = { is_in_array = { array = global.rq_hid value = 959 } }
OR = {
can_research = nsb_arty_upgrade_6
AND = {
OR = { is_in_array = { array = rq_queue value = 947 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 959 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 959 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_atgm_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 960 } }
NOT = { is_in_array = { array = rq_ap_ban value = 960 } }
NOT = { is_in_array = { array = global.rq_hid value = 960 } }
OR = {
can_research = nsb_atgm_tech_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 960 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 960 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 962 } }
if = {
limit = {
NOT = { has_tech = nsb_atgm_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 961 } }
NOT = { is_in_array = { array = rq_ap_ban value = 961 } }
NOT = { is_in_array = { array = global.rq_hid value = 961 } }
OR = {
can_research = nsb_atgm_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 960 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 961 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 961 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 963 } }
if = {
limit = {
NOT = { has_tech = nsb_atgm_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 962 } }
NOT = { is_in_array = { array = rq_ap_ban value = 962 } }
NOT = { is_in_array = { array = global.rq_hid value = 962 } }
OR = {
can_research = nsb_atgm_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 961 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 962 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 962 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_atgm_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 963 } }
NOT = { is_in_array = { array = rq_ap_ban value = 963 } }
NOT = { is_in_array = { array = global.rq_hid value = 963 } }
OR = {
can_research = nsb_atgm_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 962 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 963 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 963 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 970 } }
if = {
limit = { check_variable = { rq_t < 967 } }
if = {
limit = { check_variable = { rq_t < 965 } }
if = {
limit = {
NOT = { has_tech = nsb_atgm_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 964 } }
NOT = { is_in_array = { array = rq_ap_ban value = 964 } }
NOT = { is_in_array = { array = global.rq_hid value = 964 } }
OR = {
can_research = nsb_atgm_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 963 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 964 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 964 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 966 } }
if = {
limit = {
NOT = { has_tech = nsb_atgm_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 965 } }
NOT = { is_in_array = { array = rq_ap_ban value = 965 } }
NOT = { is_in_array = { array = global.rq_hid value = 965 } }
OR = {
can_research = nsb_atgm_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 964 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 965 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 965 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_atgm_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 966 } }
NOT = { is_in_array = { array = rq_ap_ban value = 966 } }
NOT = { is_in_array = { array = global.rq_hid value = 966 } }
OR = {
can_research = nsb_atgm_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 965 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 966 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 966 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 968 } }
if = {
limit = {
NOT = { has_tech = nsb_attack_helicopter_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 967 } }
NOT = { is_in_array = { array = rq_ap_ban value = 967 } }
NOT = { is_in_array = { array = global.rq_hid value = 967 } }
OR = {
can_research = nsb_attack_helicopter_tech_1
AND = {
OR = { is_in_array = { array = rq_queue value = 759 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 967 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 967 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 969 } }
if = {
limit = {
NOT = { has_tech = nsb_attack_helicopter_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 968 } }
NOT = { is_in_array = { array = rq_ap_ban value = 968 } }
NOT = { is_in_array = { array = global.rq_hid value = 968 } }
OR = {
can_research = nsb_attack_helicopter_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 967 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 968 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 968 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_attack_helicopter_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 969 } }
NOT = { is_in_array = { array = rq_ap_ban value = 969 } }
NOT = { is_in_array = { array = global.rq_hid value = 969 } }
OR = {
can_research = nsb_attack_helicopter_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 968 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 969 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 969 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 973 } }
if = {
limit = { check_variable = { rq_t < 971 } }
if = {
limit = {
NOT = { has_tech = nsb_attack_helicopter_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 970 } }
NOT = { is_in_array = { array = rq_ap_ban value = 970 } }
NOT = { is_in_array = { array = global.rq_hid value = 970 } }
OR = {
can_research = nsb_attack_helicopter_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 969 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 970 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 970 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 972 } }
if = {
limit = {
NOT = { has_tech = nsb_attack_helicopter_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 971 } }
NOT = { is_in_array = { array = rq_ap_ban value = 971 } }
NOT = { is_in_array = { array = global.rq_hid value = 971 } }
OR = {
can_research = nsb_attack_helicopter_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 970 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 971 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 971 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_attack_helicopter_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 972 } }
NOT = { is_in_array = { array = rq_ap_ban value = 972 } }
NOT = { is_in_array = { array = global.rq_hid value = 972 } }
OR = {
can_research = nsb_attack_helicopter_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 971 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 972 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 972 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 974 } }
if = {
limit = {
NOT = { has_tech = nsb_attack_helicopter_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 973 } }
NOT = { is_in_array = { array = rq_ap_ban value = 973 } }
NOT = { is_in_array = { array = global.rq_hid value = 973 } }
OR = {
can_research = nsb_attack_helicopter_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 972 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 973 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 973 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 975 } }
if = {
limit = {
NOT = { has_tech = nsb_barrel_conversions }
NOT = { is_in_array = { array = rq_queue value = 974 } }
NOT = { is_in_array = { array = rq_ap_ban value = 974 } }
NOT = { is_in_array = { array = global.rq_hid value = 974 } }
OR = {
can_research = nsb_barrel_conversions
AND = {
OR = { is_in_array = { array = rq_queue value = 942 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 974 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 974 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_defense_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 975 } }
NOT = { is_in_array = { array = rq_ap_ban value = 975 } }
NOT = { is_in_array = { array = global.rq_hid value = 975 } }
OR = {
can_research = nsb_defense_tech_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 975 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 975 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 999 } }
if = {
limit = { check_variable = { rq_t < 987 } }
if = {
limit = { check_variable = { rq_t < 981 } }
if = {
limit = { check_variable = { rq_t < 978 } }
if = {
limit = { check_variable = { rq_t < 977 } }
if = {
limit = {
NOT = { has_tech = nsb_defense_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 976 } }
NOT = { is_in_array = { array = rq_ap_ban value = 976 } }
NOT = { is_in_array = { array = global.rq_hid value = 976 } }
OR = {
can_research = nsb_defense_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 975 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 976 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 976 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_defense_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 977 } }
NOT = { is_in_array = { array = rq_ap_ban value = 977 } }
NOT = { is_in_array = { array = global.rq_hid value = 977 } }
OR = {
can_research = nsb_defense_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 976 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 977 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 977 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 979 } }
if = {
limit = {
NOT = { has_tech = nsb_defense_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 978 } }
NOT = { is_in_array = { array = rq_ap_ban value = 978 } }
NOT = { is_in_array = { array = global.rq_hid value = 978 } }
OR = {
can_research = nsb_defense_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 977 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 978 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 978 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 980 } }
if = {
limit = {
NOT = { has_tech = nsb_defense_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 979 } }
NOT = { is_in_array = { array = rq_ap_ban value = 979 } }
NOT = { is_in_array = { array = global.rq_hid value = 979 } }
OR = {
can_research = nsb_defense_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 978 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 979 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 979 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_defense_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 980 } }
NOT = { is_in_array = { array = rq_ap_ban value = 980 } }
NOT = { is_in_array = { array = global.rq_hid value = 980 } }
OR = {
can_research = nsb_defense_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 979 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 980 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 980 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 984 } }
if = {
limit = { check_variable = { rq_t < 982 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 983 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 985 } }
if = {
limit = {
NOT = { has_tech = nsb_drone_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 984 } }
NOT = { is_in_array = { array = rq_ap_ban value = 984 } }
NOT = { is_in_array = { array = global.rq_hid value = 984 } }
OR = {
can_research = nsb_drone_tech_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 984 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 984 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 986 } }
if = {
limit = {
NOT = { has_tech = nsb_drone_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 985 } }
NOT = { is_in_array = { array = rq_ap_ban value = 985 } }
NOT = { is_in_array = { array = global.rq_hid value = 985 } }
OR = {
can_research = nsb_drone_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 984 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 985 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 985 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_drone_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 986 } }
NOT = { is_in_array = { array = rq_ap_ban value = 986 } }
NOT = { is_in_array = { array = global.rq_hid value = 986 } }
OR = {
can_research = nsb_drone_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 985 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 986 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 986 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 993 } }
if = {
limit = { check_variable = { rq_t < 990 } }
if = {
limit = { check_variable = { rq_t < 988 } }
if = {
limit = {
NOT = { has_tech = nsb_drone_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 987 } }
NOT = { is_in_array = { array = rq_ap_ban value = 987 } }
NOT = { is_in_array = { array = global.rq_hid value = 987 } }
OR = {
can_research = nsb_drone_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 986 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 987 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 987 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 989 } }
if = {
limit = {
NOT = { has_tech = nsb_drone_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 988 } }
NOT = { is_in_array = { array = rq_ap_ban value = 988 } }
NOT = { is_in_array = { array = global.rq_hid value = 988 } }
OR = {
can_research = nsb_drone_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 987 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 988 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 988 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_dual_role_missile_1 }
NOT = { is_in_array = { array = rq_queue value = 989 } }
NOT = { is_in_array = { array = rq_ap_ban value = 989 } }
NOT = { is_in_array = { array = global.rq_hid value = 989 } }
OR = {
can_research = nsb_dual_role_missile_1
AND = {
OR = { is_in_array = { array = rq_queue value = 933 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 989 }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 989 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 991 } }
if = {
limit = {
NOT = { has_tech = nsb_dual_role_missile_2 }
NOT = { is_in_array = { array = rq_queue value = 990 } }
NOT = { is_in_array = { array = rq_ap_ban value = 990 } }
NOT = { is_in_array = { array = global.rq_hid value = 990 } }
OR = {
can_research = nsb_dual_role_missile_2
AND = {
OR = { is_in_array = { array = rq_queue value = 934 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 990 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 990 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 992 } }
if = {
limit = {
NOT = { has_tech = nsb_dual_role_missile_3 }
NOT = { is_in_array = { array = rq_queue value = 991 } }
NOT = { is_in_array = { array = rq_ap_ban value = 991 } }
NOT = { is_in_array = { array = global.rq_hid value = 991 } }
OR = {
can_research = nsb_dual_role_missile_3
AND = {
OR = { is_in_array = { array = rq_queue value = 935 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 991 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 991 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_dual_role_missile_4 }
NOT = { is_in_array = { array = rq_queue value = 992 } }
NOT = { is_in_array = { array = rq_ap_ban value = 992 } }
NOT = { is_in_array = { array = global.rq_hid value = 992 } }
OR = {
can_research = nsb_dual_role_missile_4
AND = {
OR = { is_in_array = { array = rq_queue value = 936 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 992 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 992 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 996 } }
if = {
limit = { check_variable = { rq_t < 994 } }
if = {
limit = {
NOT = { has_tech = nsb_dual_role_missile_5 }
NOT = { is_in_array = { array = rq_queue value = 993 } }
NOT = { is_in_array = { array = rq_ap_ban value = 993 } }
NOT = { is_in_array = { array = global.rq_hid value = 993 } }
OR = {
can_research = nsb_dual_role_missile_5
AND = {
OR = { is_in_array = { array = rq_queue value = 937 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 993 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 993 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 995 } }
if = {
limit = {
NOT = { has_tech = nsb_dual_role_missile_6 }
NOT = { is_in_array = { array = rq_queue value = 994 } }
NOT = { is_in_array = { array = rq_ap_ban value = 994 } }
NOT = { is_in_array = { array = global.rq_hid value = 994 } }
OR = {
can_research = nsb_dual_role_missile_6
AND = {
OR = { is_in_array = { array = rq_queue value = 938 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 994 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 994 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_dual_role_missile_7 }
NOT = { is_in_array = { array = rq_queue value = 995 } }
NOT = { is_in_array = { array = rq_ap_ban value = 995 } }
NOT = { is_in_array = { array = global.rq_hid value = 995 } }
OR = {
can_research = nsb_dual_role_missile_7
AND = {
OR = { is_in_array = { array = rq_queue value = 939 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 995 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 995 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 997 } }
if = {
limit = {
NOT = { has_tech = nsb_dual_role_missile_8 }
NOT = { is_in_array = { array = rq_queue value = 996 } }
NOT = { is_in_array = { array = rq_ap_ban value = 996 } }
NOT = { is_in_array = { array = global.rq_hid value = 996 } }
OR = {
can_research = nsb_dual_role_missile_8
AND = {
OR = { is_in_array = { array = rq_queue value = 940 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 996 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 996 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 998 } }
if = {
limit = {
NOT = { has_tech = nsb_dual_role_missile_9 }
NOT = { is_in_array = { array = rq_queue value = 997 } }
NOT = { is_in_array = { array = rq_ap_ban value = 997 } }
NOT = { is_in_array = { array = global.rq_hid value = 997 } }
OR = {
can_research = nsb_dual_role_missile_9
AND = {
OR = { is_in_array = { array = rq_queue value = 941 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 997 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 997 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_engine_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 998 } }
NOT = { is_in_array = { array = rq_ap_ban value = 998 } }
NOT = { is_in_array = { array = global.rq_hid value = 998 } }
OR = {
can_research = nsb_engine_tech_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 998 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 998 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1011 } }
if = {
limit = { check_variable = { rq_t < 1005 } }
if = {
limit = { check_variable = { rq_t < 1002 } }
if = {
limit = { check_variable = { rq_t < 1000 } }
if = {
limit = {
NOT = { has_tech = nsb_engine_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 999 } }
NOT = { is_in_array = { array = rq_ap_ban value = 999 } }
NOT = { is_in_array = { array = global.rq_hid value = 999 } }
OR = {
can_research = nsb_engine_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 998 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 999 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 999 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1001 } }
if = {
limit = {
NOT = { has_tech = nsb_engine_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1000 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1000 } }
NOT = { is_in_array = { array = global.rq_hid value = 1000 } }
OR = {
can_research = nsb_engine_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 999 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1000 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1000 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_engine_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1001 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1001 } }
NOT = { is_in_array = { array = global.rq_hid value = 1001 } }
OR = {
can_research = nsb_engine_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1000 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1001 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1001 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1003 } }
if = {
limit = {
NOT = { has_tech = nsb_engine_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1002 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1002 } }
NOT = { is_in_array = { array = global.rq_hid value = 1002 } }
OR = {
can_research = nsb_engine_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1001 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1002 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1002 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1004 } }
if = {
limit = {
NOT = { has_tech = nsb_engine_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 1003 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1003 } }
NOT = { is_in_array = { array = global.rq_hid value = 1003 } }
OR = {
can_research = nsb_engine_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1002 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1003 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1003 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_engine_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 1004 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1004 } }
NOT = { is_in_array = { array = global.rq_hid value = 1004 } }
OR = {
can_research = nsb_engine_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1003 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1004 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1004 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1008 } }
if = {
limit = { check_variable = { rq_t < 1006 } }
if = {
limit = {
NOT = { has_tech = nsb_fire_modes_1 }
NOT = { is_in_array = { array = rq_queue value = 1005 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1005 } }
NOT = { is_in_array = { array = global.rq_hid value = 1005 } }
OR = {
can_research = nsb_fire_modes_1
AND = {
OR = { is_in_array = { array = rq_queue value = 943 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1005 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1005 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1007 } }
if = {
limit = {
NOT = { has_tech = nsb_fire_modes_2 }
NOT = { is_in_array = { array = rq_queue value = 1006 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1006 } }
NOT = { is_in_array = { array = global.rq_hid value = 1006 } }
OR = {
can_research = nsb_fire_modes_2
AND = {
OR = { is_in_array = { array = rq_queue value = 944 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1006 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1006 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_fire_modes_3 }
NOT = { is_in_array = { array = rq_queue value = 1007 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1007 } }
NOT = { is_in_array = { array = global.rq_hid value = 1007 } }
OR = {
can_research = nsb_fire_modes_3
AND = {
OR = { is_in_array = { array = rq_queue value = 945 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1007 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1007 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1009 } }
if = {
limit = {
NOT = { has_tech = nsb_fire_modes_4 }
NOT = { is_in_array = { array = rq_queue value = 1008 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1008 } }
NOT = { is_in_array = { array = global.rq_hid value = 1008 } }
OR = {
can_research = nsb_fire_modes_4
AND = {
OR = { is_in_array = { array = rq_queue value = 946 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1008 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1008 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1010 } }
if = {
limit = {
NOT = { has_tech = nsb_fire_modes_5 }
NOT = { is_in_array = { array = rq_queue value = 1009 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1009 } }
NOT = { is_in_array = { array = global.rq_hid value = 1009 } }
OR = {
can_research = nsb_fire_modes_5
AND = {
OR = { is_in_array = { array = rq_queue value = 947 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1009 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1009 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_gun_pods_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 1010 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1010 } }
NOT = { is_in_array = { array = global.rq_hid value = 1010 } }
OR = {
can_research = nsb_gun_pods_tech_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1010 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1010 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1017 } }
if = {
limit = { check_variable = { rq_t < 1014 } }
if = {
limit = { check_variable = { rq_t < 1012 } }
if = {
limit = {
NOT = { has_tech = nsb_gun_pods_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1011 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1011 } }
NOT = { is_in_array = { array = global.rq_hid value = 1011 } }
OR = {
can_research = nsb_gun_pods_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1010 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1011 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1011 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1013 } }
if = {
limit = {
NOT = { has_tech = nsb_gun_pods_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1012 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1012 } }
NOT = { is_in_array = { array = global.rq_hid value = 1012 } }
OR = {
can_research = nsb_gun_pods_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1011 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1012 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1012 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_gun_pods_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1013 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1013 } }
NOT = { is_in_array = { array = global.rq_hid value = 1013 } }
OR = {
can_research = nsb_gun_pods_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1012 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1013 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1013 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1015 } }
if = {
limit = {
NOT = { has_tech = nsb_gun_pods_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1014 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1014 } }
NOT = { is_in_array = { array = global.rq_hid value = 1014 } }
OR = {
can_research = nsb_gun_pods_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1013 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1014 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1014 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1016 } }
if = {
limit = {
NOT = { has_tech = nsb_gun_pods_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 1015 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1015 } }
NOT = { is_in_array = { array = global.rq_hid value = 1015 } }
OR = {
can_research = nsb_gun_pods_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1014 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1015 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1015 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_gun_pods_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 1016 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1016 } }
NOT = { is_in_array = { array = global.rq_hid value = 1016 } }
OR = {
can_research = nsb_gun_pods_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1015 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1016 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1016 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1020 } }
if = {
limit = { check_variable = { rq_t < 1018 } }
if = {
limit = {
NOT = { has_tech = nsb_gun_technology_1 }
NOT = { is_in_array = { array = rq_queue value = 1017 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1017 } }
NOT = { is_in_array = { array = global.rq_hid value = 1017 } }
OR = {
can_research = nsb_gun_technology_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1017 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1017 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1019 } }
if = {
limit = {
NOT = { has_tech = nsb_gun_technology_2 }
NOT = { is_in_array = { array = rq_queue value = 1018 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1018 } }
NOT = { is_in_array = { array = global.rq_hid value = 1018 } }
OR = {
can_research = nsb_gun_technology_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1017 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1018 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1018 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_gun_technology_3 }
NOT = { is_in_array = { array = rq_queue value = 1019 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1019 } }
NOT = { is_in_array = { array = global.rq_hid value = 1019 } }
OR = {
can_research = nsb_gun_technology_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1018 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1019 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1019 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1021 } }
if = {
limit = {
NOT = { has_tech = nsb_gun_technology_4 }
NOT = { is_in_array = { array = rq_queue value = 1020 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1020 } }
NOT = { is_in_array = { array = global.rq_hid value = 1020 } }
OR = {
can_research = nsb_gun_technology_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1019 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1020 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1020 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1022 } }
if = {
limit = {
NOT = { has_tech = nsb_gun_technology_5 }
NOT = { is_in_array = { array = rq_queue value = 1021 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1021 } }
NOT = { is_in_array = { array = global.rq_hid value = 1021 } }
OR = {
can_research = nsb_gun_technology_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1020 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1021 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1021 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_gun_technology_6 }
NOT = { is_in_array = { array = rq_queue value = 1022 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1022 } }
NOT = { is_in_array = { array = global.rq_hid value = 1022 } }
OR = {
can_research = nsb_gun_technology_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1021 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1022 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1022 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1069 } }
if = {
limit = { check_variable = { rq_t < 1046 } }
if = {
limit = { check_variable = { rq_t < 1034 } }
if = {
limit = { check_variable = { rq_t < 1028 } }
if = {
limit = { check_variable = { rq_t < 1025 } }
if = {
limit = { check_variable = { rq_t < 1024 } }
if = {
limit = {
NOT = { has_tech = nsb_heavy_atgm_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 1023 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1023 } }
NOT = { is_in_array = { array = global.rq_hid value = 1023 } }
OR = {
can_research = nsb_heavy_atgm_tech_1
AND = {
OR = { is_in_array = { array = rq_queue value = 960 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1023 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1023 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_heavy_atgm_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1024 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1024 } }
NOT = { is_in_array = { array = global.rq_hid value = 1024 } }
OR = {
can_research = nsb_heavy_atgm_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 961 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1024 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1024 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1026 } }
if = {
limit = {
NOT = { has_tech = nsb_heavy_atgm_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1025 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1025 } }
NOT = { is_in_array = { array = global.rq_hid value = 1025 } }
OR = {
can_research = nsb_heavy_atgm_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 962 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1025 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1025 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1027 } }
if = {
limit = {
NOT = { has_tech = nsb_heavy_atgm_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1026 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1026 } }
NOT = { is_in_array = { array = global.rq_hid value = 1026 } }
OR = {
can_research = nsb_heavy_atgm_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 963 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1026 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1026 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_heavy_atgm_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1027 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1027 } }
NOT = { is_in_array = { array = global.rq_hid value = 1027 } }
OR = {
can_research = nsb_heavy_atgm_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 964 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1027 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1027 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1031 } }
if = {
limit = { check_variable = { rq_t < 1029 } }
if = {
limit = {
NOT = { has_tech = nsb_heavy_atgm_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 1028 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1028 } }
NOT = { is_in_array = { array = global.rq_hid value = 1028 } }
OR = {
can_research = nsb_heavy_atgm_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 965 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1028 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1028 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1030 } }
if = {
limit = {
NOT = { has_tech = nsb_heavy_atgm_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 1029 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1029 } }
NOT = { is_in_array = { array = global.rq_hid value = 1029 } }
OR = {
can_research = nsb_heavy_atgm_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 966 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1029 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1029 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_light_nose_gun_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 1030 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1030 } }
NOT = { is_in_array = { array = global.rq_hid value = 1030 } }
OR = {
can_research = nsb_light_nose_gun_tech_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1030 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1030 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1032 } }
if = {
limit = {
NOT = { has_tech = nsb_light_nose_gun_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1031 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1031 } }
NOT = { is_in_array = { array = global.rq_hid value = 1031 } }
OR = {
can_research = nsb_light_nose_gun_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1030 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1031 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1031 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1033 } }
if = {
limit = {
NOT = { has_tech = nsb_light_nose_gun_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1032 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1032 } }
NOT = { is_in_array = { array = global.rq_hid value = 1032 } }
OR = {
can_research = nsb_light_nose_gun_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1031 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1032 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1032 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1040 } }
if = {
limit = { check_variable = { rq_t < 1037 } }
if = {
limit = { check_variable = { rq_t < 1035 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1036 } }
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_multiple_atgm_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 1036 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1036 } }
NOT = { is_in_array = { array = global.rq_hid value = 1036 } }
OR = {
can_research = nsb_multiple_atgm_tech_1
AND = {
OR = { is_in_array = { array = rq_queue value = 960 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1036 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1036 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1038 } }
if = {
limit = {
NOT = { has_tech = nsb_multiple_atgm_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1037 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1037 } }
NOT = { is_in_array = { array = global.rq_hid value = 1037 } }
OR = {
can_research = nsb_multiple_atgm_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 961 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1037 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1037 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1039 } }
if = {
limit = {
NOT = { has_tech = nsb_multiple_atgm_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1038 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1038 } }
NOT = { is_in_array = { array = global.rq_hid value = 1038 } }
OR = {
can_research = nsb_multiple_atgm_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 962 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1038 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1038 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_multiple_atgm_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1039 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1039 } }
NOT = { is_in_array = { array = global.rq_hid value = 1039 } }
OR = {
can_research = nsb_multiple_atgm_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 963 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1039 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1039 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1043 } }
if = {
limit = { check_variable = { rq_t < 1041 } }
if = {
limit = {
NOT = { has_tech = nsb_multiple_atgm_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1040 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1040 } }
NOT = { is_in_array = { array = global.rq_hid value = 1040 } }
OR = {
can_research = nsb_multiple_atgm_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 964 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1040 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1040 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1042 } }
if = {
limit = {
NOT = { has_tech = nsb_multiple_atgm_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 1041 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1041 } }
NOT = { is_in_array = { array = global.rq_hid value = 1041 } }
OR = {
can_research = nsb_multiple_atgm_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 965 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1041 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1041 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_multiple_atgm_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 1042 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1042 } }
NOT = { is_in_array = { array = global.rq_hid value = 1042 } }
OR = {
can_research = nsb_multiple_atgm_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 966 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1042 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1042 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1044 } }
if = {
limit = {
NOT = { has_tech = nsb_rocket_pods_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 1043 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1043 } }
NOT = { is_in_array = { array = global.rq_hid value = 1043 } }
OR = {
can_research = nsb_rocket_pods_tech_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1043 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1043 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1045 } }
if = {
limit = {
NOT = { has_tech = nsb_rocket_pods_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1044 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1044 } }
NOT = { is_in_array = { array = global.rq_hid value = 1044 } }
OR = {
can_research = nsb_rocket_pods_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1043 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1044 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1044 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_rocket_pods_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1045 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1045 } }
NOT = { is_in_array = { array = global.rq_hid value = 1045 } }
OR = {
can_research = nsb_rocket_pods_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1044 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1045 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1045 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1057 } }
if = {
limit = { check_variable = { rq_t < 1051 } }
if = {
limit = { check_variable = { rq_t < 1048 } }
if = {
limit = { check_variable = { rq_t < 1047 } }
if = {
limit = {
NOT = { has_tech = nsb_rocket_pods_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1046 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1046 } }
NOT = { is_in_array = { array = global.rq_hid value = 1046 } }
OR = {
can_research = nsb_rocket_pods_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1045 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1046 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1046 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_rocket_pods_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1047 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1047 } }
NOT = { is_in_array = { array = global.rq_hid value = 1047 } }
OR = {
can_research = nsb_rocket_pods_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1046 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1047 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1047 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1049 } }
if = {
limit = {
NOT = { has_tech = nsb_rocket_pods_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 1048 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1048 } }
NOT = { is_in_array = { array = global.rq_hid value = 1048 } }
OR = {
can_research = nsb_rocket_pods_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1047 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1048 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1048 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1050 } }
if = {
limit = {
NOT = { has_tech = nsb_rocket_pods_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 1049 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1049 } }
NOT = { is_in_array = { array = global.rq_hid value = 1049 } }
OR = {
can_research = nsb_rocket_pods_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1048 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1049 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1049 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_special_ammo_1 }
NOT = { is_in_array = { array = rq_queue value = 1050 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1050 } }
NOT = { is_in_array = { array = global.rq_hid value = 1050 } }
OR = {
can_research = nsb_special_ammo_1
AND = {
OR = { is_in_array = { array = rq_queue value = 948 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1050 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1050 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1054 } }
if = {
limit = { check_variable = { rq_t < 1052 } }
if = {
limit = {
NOT = { has_tech = nsb_special_ammo_2 }
NOT = { is_in_array = { array = rq_queue value = 1051 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1051 } }
NOT = { is_in_array = { array = global.rq_hid value = 1051 } }
OR = {
can_research = nsb_special_ammo_2
AND = {
OR = { is_in_array = { array = rq_queue value = 949 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1051 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1051 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1053 } }
if = {
limit = {
NOT = { has_tech = nsb_special_ammo_3 }
NOT = { is_in_array = { array = rq_queue value = 1052 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1052 } }
NOT = { is_in_array = { array = global.rq_hid value = 1052 } }
OR = {
can_research = nsb_special_ammo_3
AND = {
OR = { is_in_array = { array = rq_queue value = 950 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1052 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1052 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_special_ammo_4 }
NOT = { is_in_array = { array = rq_queue value = 1053 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1053 } }
NOT = { is_in_array = { array = global.rq_hid value = 1053 } }
OR = {
can_research = nsb_special_ammo_4
AND = {
OR = { is_in_array = { array = rq_queue value = 951 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1053 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1053 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1055 } }
if = {
limit = {
NOT = { has_tech = nsb_special_ammo_5 }
NOT = { is_in_array = { array = rq_queue value = 1054 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1054 } }
NOT = { is_in_array = { array = global.rq_hid value = 1054 } }
OR = {
can_research = nsb_special_ammo_5
AND = {
OR = { is_in_array = { array = rq_queue value = 952 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1054 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1054 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1056 } }
if = {
limit = {
NOT = { has_tech = nsb_special_ammo_6 }
NOT = { is_in_array = { array = rq_queue value = 1055 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1055 } }
NOT = { is_in_array = { array = global.rq_hid value = 1055 } }
OR = {
can_research = nsb_special_ammo_6
AND = {
OR = { is_in_array = { array = rq_queue value = 953 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1055 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1055 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_transport_helicopter_1 }
NOT = { is_in_array = { array = rq_queue value = 1056 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1056 } }
NOT = { is_in_array = { array = global.rq_hid value = 1056 } }
OR = {
can_research = nsb_transport_helicopter_1
AND = {
OR = { is_in_array = { array = rq_queue value = 759 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1056 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1056 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1063 } }
if = {
limit = { check_variable = { rq_t < 1060 } }
if = {
limit = { check_variable = { rq_t < 1058 } }
if = {
limit = {
NOT = { has_tech = nsb_transport_helicopter_2 }
NOT = { is_in_array = { array = rq_queue value = 1057 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1057 } }
NOT = { is_in_array = { array = global.rq_hid value = 1057 } }
OR = {
can_research = nsb_transport_helicopter_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1056 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1057 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 29.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1057 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1059 } }
if = {
limit = {
NOT = { has_tech = nsb_transport_helicopter_3 }
NOT = { is_in_array = { array = rq_queue value = 1058 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1058 } }
NOT = { is_in_array = { array = global.rq_hid value = 1058 } }
OR = {
can_research = nsb_transport_helicopter_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1057 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1058 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 39.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1058 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_transport_helicopter_4 }
NOT = { is_in_array = { array = rq_queue value = 1059 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1059 } }
NOT = { is_in_array = { array = global.rq_hid value = 1059 } }
OR = {
can_research = nsb_transport_helicopter_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1058 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1059 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1059 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1061 } }
if = {
limit = {
NOT = { has_tech = nsb_transport_helicopter_5 }
NOT = { is_in_array = { array = rq_queue value = 1060 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1060 } }
NOT = { is_in_array = { array = global.rq_hid value = 1060 } }
OR = {
can_research = nsb_transport_helicopter_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1059 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1060 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1060 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1062 } }
if = {
limit = {
NOT = { has_tech = nsb_transport_helicopter_6 }
NOT = { is_in_array = { array = rq_queue value = 1061 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1061 } }
NOT = { is_in_array = { array = global.rq_hid value = 1061 } }
OR = {
can_research = nsb_transport_helicopter_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1060 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1061 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1061 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = nsb_transport_helicopter_7 }
NOT = { is_in_array = { array = rq_queue value = 1062 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1062 } }
NOT = { is_in_array = { array = global.rq_hid value = 1062 } }
OR = {
can_research = nsb_transport_helicopter_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1061 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1062 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1062 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1066 } }
if = {
limit = { check_variable = { rq_t < 1064 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1065 } }
}
else = {
if = {
limit = {
NOT = { has_tech = part_reusable_OLV6 }
NOT = { is_in_array = { array = rq_queue value = 1065 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1065 } }
NOT = { is_in_array = { array = global.rq_hid value = 1065 } }
OR = {
can_research = part_reusable_OLV6
AND = {
OR = { is_in_array = { array = rq_queue value = 256 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1065 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1065 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1067 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1068 } }
}
else = {
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1092 } }
if = {
limit = { check_variable = { rq_t < 1080 } }
if = {
limit = { check_variable = { rq_t < 1074 } }
if = {
limit = { check_variable = { rq_t < 1071 } }
if = {
limit = { check_variable = { rq_t < 1070 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1072 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1073 } }
}
else = {
if = {
limit = {
NOT = { has_tech = printing_1 }
NOT = { is_in_array = { array = rq_queue value = 1073 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1073 } }
NOT = { is_in_array = { array = global.rq_hid value = 1073 } }
OR = {
can_research = printing_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1073 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1073 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1077 } }
if = {
limit = { check_variable = { rq_t < 1075 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1076 } }
if = {
limit = {
NOT = { has_tech = printing_11 }
NOT = { is_in_array = { array = rq_queue value = 1075 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1075 } }
NOT = { is_in_array = { array = global.rq_hid value = 1075 } }
OR = {
can_research = printing_11
AND = {
OR = { is_in_array = { array = rq_queue value = 1074 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1075 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1075 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = printing_12 }
NOT = { is_in_array = { array = rq_queue value = 1076 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1076 } }
NOT = { is_in_array = { array = global.rq_hid value = 1076 } }
OR = {
can_research = printing_12
AND = {
OR = { is_in_array = { array = rq_queue value = 1075 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1076 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1076 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1078 } }
if = {
limit = {
NOT = { has_tech = printing_13 }
NOT = { is_in_array = { array = rq_queue value = 1077 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1077 } }
NOT = { is_in_array = { array = global.rq_hid value = 1077 } }
OR = {
can_research = printing_13
AND = {
OR = { is_in_array = { array = rq_queue value = 1076 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1077 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1077 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1079 } }
if = {
limit = {
NOT = { has_tech = printing_2 }
NOT = { is_in_array = { array = rq_queue value = 1078 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1078 } }
NOT = { is_in_array = { array = global.rq_hid value = 1078 } }
OR = {
can_research = printing_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1073 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1078 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1078 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = printing_3 }
NOT = { is_in_array = { array = rq_queue value = 1079 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1079 } }
NOT = { is_in_array = { array = global.rq_hid value = 1079 } }
OR = {
can_research = printing_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1078 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1079 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1079 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1086 } }
if = {
limit = { check_variable = { rq_t < 1083 } }
if = {
limit = { check_variable = { rq_t < 1081 } }
if = {
limit = {
NOT = { has_tech = printing_4 }
NOT = { is_in_array = { array = rq_queue value = 1080 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1080 } }
NOT = { is_in_array = { array = global.rq_hid value = 1080 } }
OR = {
can_research = printing_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1079 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1080 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1080 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1082 } }
if = {
limit = {
NOT = { has_tech = printing_5 }
NOT = { is_in_array = { array = rq_queue value = 1081 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1081 } }
NOT = { is_in_array = { array = global.rq_hid value = 1081 } }
OR = {
can_research = printing_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1080 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1081 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1081 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = printing_6 }
NOT = { is_in_array = { array = rq_queue value = 1082 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1082 } }
NOT = { is_in_array = { array = global.rq_hid value = 1082 } }
OR = {
can_research = printing_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1081 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1082 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1082 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1084 } }
if = {
limit = {
NOT = { has_tech = printing_7 }
NOT = { is_in_array = { array = rq_queue value = 1083 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1083 } }
NOT = { is_in_array = { array = global.rq_hid value = 1083 } }
OR = {
can_research = printing_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1082 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1083 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1083 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1085 } }
if = {
limit = {
NOT = { has_tech = printing_8 }
NOT = { is_in_array = { array = rq_queue value = 1084 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1084 } }
NOT = { is_in_array = { array = global.rq_hid value = 1084 } }
OR = {
can_research = printing_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1083 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1084 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1084 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = printing_9 }
NOT = { is_in_array = { array = rq_queue value = 1085 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1085 } }
NOT = { is_in_array = { array = global.rq_hid value = 1085 } }
OR = {
can_research = printing_9
AND = {
OR = { is_in_array = { array = rq_queue value = 1084 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1085 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1085 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1089 } }
if = {
limit = { check_variable = { rq_t < 1087 } }
if = {
limit = {
NOT = { has_tech = production_line_improvements_1 }
NOT = { is_in_array = { array = rq_queue value = 1086 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1086 } }
NOT = { is_in_array = { array = global.rq_hid value = 1086 } }
OR = {
can_research = production_line_improvements_1
AND = {
OR = { is_in_array = { array = rq_queue value = 859 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1086 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1086 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1088 } }
if = {
limit = {
NOT = { has_tech = production_line_improvements_10 }
NOT = { is_in_array = { array = rq_queue value = 1087 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1087 } }
NOT = { is_in_array = { array = global.rq_hid value = 1087 } }
OR = {
can_research = production_line_improvements_10
AND = {
OR = { is_in_array = { array = rq_queue value = 1095 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1087 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1087 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = production_line_improvements_2 }
NOT = { is_in_array = { array = rq_queue value = 1088 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1088 } }
NOT = { is_in_array = { array = global.rq_hid value = 1088 } }
OR = {
can_research = production_line_improvements_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1086 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1088 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1088 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1090 } }
if = {
limit = {
NOT = { has_tech = production_line_improvements_3 }
NOT = { is_in_array = { array = rq_queue value = 1089 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1089 } }
NOT = { is_in_array = { array = global.rq_hid value = 1089 } }
OR = {
can_research = production_line_improvements_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1088 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1089 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1089 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1091 } }
if = {
limit = {
NOT = { has_tech = production_line_improvements_4 }
NOT = { is_in_array = { array = rq_queue value = 1090 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1090 } }
NOT = { is_in_array = { array = global.rq_hid value = 1090 } }
OR = {
can_research = production_line_improvements_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1089 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1090 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1090 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = production_line_improvements_5 }
NOT = { is_in_array = { array = rq_queue value = 1091 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1091 } }
NOT = { is_in_array = { array = global.rq_hid value = 1091 } }
OR = {
can_research = production_line_improvements_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1090 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1091 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1091 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1104 } }
if = {
limit = { check_variable = { rq_t < 1098 } }
if = {
limit = { check_variable = { rq_t < 1095 } }
if = {
limit = { check_variable = { rq_t < 1093 } }
if = {
limit = {
NOT = { has_tech = production_line_improvements_6 }
NOT = { is_in_array = { array = rq_queue value = 1092 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1092 } }
NOT = { is_in_array = { array = global.rq_hid value = 1092 } }
OR = {
can_research = production_line_improvements_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1091 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1092 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1092 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1094 } }
if = {
limit = {
NOT = { has_tech = production_line_improvements_7 }
NOT = { is_in_array = { array = rq_queue value = 1093 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1093 } }
NOT = { is_in_array = { array = global.rq_hid value = 1093 } }
OR = {
can_research = production_line_improvements_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1092 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1093 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1093 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = production_line_improvements_8 }
NOT = { is_in_array = { array = rq_queue value = 1094 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1094 } }
NOT = { is_in_array = { array = global.rq_hid value = 1094 } }
OR = {
can_research = production_line_improvements_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1093 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1094 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1094 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1096 } }
if = {
limit = {
NOT = { has_tech = production_line_improvements_9 }
NOT = { is_in_array = { array = rq_queue value = 1095 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1095 } }
NOT = { is_in_array = { array = global.rq_hid value = 1095 } }
OR = {
can_research = production_line_improvements_9
AND = {
OR = { is_in_array = { array = rq_queue value = 1094 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1095 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1095 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1097 } }
if = {
limit = {
NOT = { has_tech = radar }
NOT = { is_in_array = { array = rq_queue value = 1096 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1096 } }
NOT = { is_in_array = { array = global.rq_hid value = 1096 } }
OR = {
can_research = radar
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1096 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1096 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = railway_system_01 }
NOT = { is_in_array = { array = rq_queue value = 1097 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1097 } }
NOT = { is_in_array = { array = global.rq_hid value = 1097 } }
OR = {
can_research = railway_system_01
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1097 }
set_temp_variable = { rq_ap_w = 2.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1097 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1101 } }
if = {
limit = { check_variable = { rq_t < 1099 } }
if = {
limit = {
NOT = { has_tech = railway_system_02 }
NOT = { is_in_array = { array = rq_queue value = 1098 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1098 } }
NOT = { is_in_array = { array = global.rq_hid value = 1098 } }
OR = {
can_research = railway_system_02
AND = {
OR = { is_in_array = { array = rq_queue value = 1097 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1098 }
set_temp_variable = { rq_ap_w = 2.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1098 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1100 } }
if = {
limit = {
NOT = { has_tech = railway_system_03 }
NOT = { is_in_array = { array = rq_queue value = 1099 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1099 } }
NOT = { is_in_array = { array = global.rq_hid value = 1099 } }
OR = {
can_research = railway_system_03
AND = {
OR = { is_in_array = { array = rq_queue value = 1098 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1099 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1099 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = railway_system_04 }
NOT = { is_in_array = { array = rq_queue value = 1100 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1100 } }
NOT = { is_in_array = { array = global.rq_hid value = 1100 } }
OR = {
can_research = railway_system_04
AND = {
OR = { is_in_array = { array = rq_queue value = 1099 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1100 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = SPR has_completed_focus = SPR_economia_espanola }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1100 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1102 } }
if = {
limit = {
NOT = { has_tech = railway_system_05 }
NOT = { is_in_array = { array = rq_queue value = 1101 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1101 } }
NOT = { is_in_array = { array = global.rq_hid value = 1101 } }
OR = {
can_research = railway_system_05
AND = {
OR = { is_in_array = { array = rq_queue value = 1100 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1101 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = SPR has_completed_focus = SPR_economia_espanola }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1101 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1103 } }
if = {
limit = {
NOT = { has_tech = railway_system_06 }
NOT = { is_in_array = { array = rq_queue value = 1102 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1102 } }
NOT = { is_in_array = { array = global.rq_hid value = 1102 } }
OR = {
can_research = railway_system_06
AND = {
OR = { is_in_array = { array = rq_queue value = 1101 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1102 }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1102 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = railway_system_07 }
NOT = { is_in_array = { array = rq_queue value = 1103 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1103 } }
NOT = { is_in_array = { array = global.rq_hid value = 1103 } }
OR = {
can_research = railway_system_07
AND = {
OR = { is_in_array = { array = rq_queue value = 1102 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1103 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1103 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1110 } }
if = {
limit = { check_variable = { rq_t < 1107 } }
if = {
limit = { check_variable = { rq_t < 1105 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1106 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1108 } }
if = {
limit = {
NOT = { has_tech = railway_system_11 }
NOT = { is_in_array = { array = rq_queue value = 1107 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1107 } }
NOT = { is_in_array = { array = global.rq_hid value = 1107 } }
OR = {
can_research = railway_system_11
AND = {
OR = { is_in_array = { array = rq_queue value = 1106 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1107 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1107 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1109 } }
if = {
limit = {
NOT = { has_tech = railway_system_12 }
NOT = { is_in_array = { array = rq_queue value = 1108 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1108 } }
NOT = { is_in_array = { array = global.rq_hid value = 1108 } }
OR = {
can_research = railway_system_12
AND = {
OR = { is_in_array = { array = rq_queue value = 1107 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1108 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1108 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = railway_system_13 }
NOT = { is_in_array = { array = rq_queue value = 1109 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1109 } }
NOT = { is_in_array = { array = global.rq_hid value = 1109 } }
OR = {
can_research = railway_system_13
AND = {
OR = { is_in_array = { array = rq_queue value = 1108 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1109 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1109 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1113 } }
if = {
limit = { check_variable = { rq_t < 1111 } }
if = {
limit = {
NOT = { has_tech = railway_system_14 }
NOT = { is_in_array = { array = rq_queue value = 1110 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1110 } }
NOT = { is_in_array = { array = global.rq_hid value = 1110 } }
OR = {
can_research = railway_system_14
AND = {
OR = { is_in_array = { array = rq_queue value = 1109 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1110 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1110 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1112 } }
if = {
limit = {
NOT = { has_tech = railway_system_15 }
NOT = { is_in_array = { array = rq_queue value = 1111 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1111 } }
NOT = { is_in_array = { array = global.rq_hid value = 1111 } }
OR = {
can_research = railway_system_15
AND = {
OR = { is_in_array = { array = rq_queue value = 1110 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1111 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1111 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1114 } }
if = {
limit = {
NOT = { has_tech = rapid_dragon }
NOT = { is_in_array = { array = rq_queue value = 1113 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1113 } }
NOT = { is_in_array = { array = global.rq_hid value = 1113 } }
OR = {
can_research = rapid_dragon
AND = {
OR = { is_in_array = { array = rq_queue value = 751 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1113 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1113 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1115 } }
}
else = {
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1302 } }
if = {
limit = { check_variable = { rq_t < 1209 } }
if = {
limit = { check_variable = { rq_t < 1162 } }
if = {
limit = { check_variable = { rq_t < 1139 } }
if = {
limit = { check_variable = { rq_t < 1127 } }
if = {
limit = { check_variable = { rq_t < 1121 } }
if = {
limit = { check_variable = { rq_t < 1118 } }
if = {
limit = { check_variable = { rq_t < 1117 } }
}
else = {
if = {
limit = {
NOT = { has_tech = reactor11 }
NOT = { is_in_array = { array = rq_queue value = 1117 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1117 } }
NOT = { is_in_array = { array = global.rq_hid value = 1117 } }
OR = {
can_research = reactor11
AND = {
OR = { is_in_array = { array = rq_queue value = 1116 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1117 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1117 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1119 } }
if = {
limit = {
NOT = { has_tech = reactor12 }
NOT = { is_in_array = { array = rq_queue value = 1118 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1118 } }
NOT = { is_in_array = { array = global.rq_hid value = 1118 } }
OR = {
can_research = reactor12
AND = {
OR = { is_in_array = { array = rq_queue value = 1117 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1118 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1118 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1120 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1124 } }
if = {
limit = { check_variable = { rq_t < 1122 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1123 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1125 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1126 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1133 } }
if = {
limit = { check_variable = { rq_t < 1130 } }
if = {
limit = { check_variable = { rq_t < 1128 } }
if = {
limit = {
NOT = { has_tech = redundant_1 }
NOT = { is_in_array = { array = rq_queue value = 1127 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1127 } }
NOT = { is_in_array = { array = global.rq_hid value = 1127 } }
OR = {
can_research = redundant_1
AND = {
OR = { is_in_array = { array = rq_queue value = 678 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1127 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1127 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1129 } }
if = {
limit = {
NOT = { has_tech = redundant_2 }
NOT = { is_in_array = { array = rq_queue value = 1128 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1128 } }
NOT = { is_in_array = { array = global.rq_hid value = 1128 } }
OR = {
can_research = redundant_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1127 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1128 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1128 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = refueling_1 }
NOT = { is_in_array = { array = rq_queue value = 1129 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1129 } }
NOT = { is_in_array = { array = global.rq_hid value = 1129 } }
OR = {
can_research = refueling_1
AND = {
OR = { is_in_array = { array = rq_queue value = 650 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1129 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1129 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1131 } }
if = {
limit = {
NOT = { has_tech = refueling_2 }
NOT = { is_in_array = { array = rq_queue value = 1130 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1130 } }
NOT = { is_in_array = { array = global.rq_hid value = 1130 } }
OR = {
can_research = refueling_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1129 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1130 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1130 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1132 } }
if = {
limit = {
NOT = { has_tech = renewables }
NOT = { is_in_array = { array = rq_queue value = 1131 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1131 } }
NOT = { is_in_array = { array = global.rq_hid value = 1131 } }
OR = {
can_research = renewables
AND = {
OR = { is_in_array = { array = rq_queue value = 608 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1131 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { tag = GER tag = ITA tag = JAP } has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1131 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = renewables_10 }
NOT = { is_in_array = { array = rq_queue value = 1132 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1132 } }
NOT = { is_in_array = { array = global.rq_hid value = 1132 } }
OR = {
can_research = renewables_10
AND = {
OR = { is_in_array = { array = rq_queue value = 1136 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1132 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1132 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1136 } }
if = {
limit = { check_variable = { rq_t < 1134 } }
if = {
limit = {
NOT = { has_tech = renewables_11 }
NOT = { is_in_array = { array = rq_queue value = 1133 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1133 } }
NOT = { is_in_array = { array = global.rq_hid value = 1133 } }
OR = {
can_research = renewables_11
AND = {
OR = { is_in_array = { array = rq_queue value = 1132 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1133 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1133 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1135 } }
if = {
limit = {
NOT = { has_tech = renewables_12 }
NOT = { is_in_array = { array = rq_queue value = 1134 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1134 } }
NOT = { is_in_array = { array = global.rq_hid value = 1134 } }
OR = {
can_research = renewables_12
AND = {
OR = { is_in_array = { array = rq_queue value = 1133 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1134 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1134 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = renewables_13 }
NOT = { is_in_array = { array = rq_queue value = 1135 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1135 } }
NOT = { is_in_array = { array = global.rq_hid value = 1135 } }
OR = {
can_research = renewables_13
AND = {
OR = { is_in_array = { array = rq_queue value = 1134 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1135 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1135 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1137 } }
if = {
limit = {
NOT = { has_tech = renewables_9 }
NOT = { is_in_array = { array = rq_queue value = 1136 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1136 } }
NOT = { is_in_array = { array = global.rq_hid value = 1136 } }
OR = {
can_research = renewables_9
AND = {
OR = { is_in_array = { array = rq_queue value = 609 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1136 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1136 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1138 } }
if = {
limit = {
NOT = { has_tech = robotics_1 }
NOT = { is_in_array = { array = rq_queue value = 1137 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1137 } }
NOT = { is_in_array = { array = global.rq_hid value = 1137 } }
OR = {
can_research = robotics_1
AND = {
OR = { is_in_array = { array = rq_queue value = 400 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1137 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1137 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = robotics_10 }
NOT = { is_in_array = { array = rq_queue value = 1138 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1138 } }
NOT = { is_in_array = { array = global.rq_hid value = 1138 } }
OR = {
can_research = robotics_10
AND = {
OR = { is_in_array = { array = rq_queue value = 1147 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1138 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1138 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1150 } }
if = {
limit = { check_variable = { rq_t < 1144 } }
if = {
limit = { check_variable = { rq_t < 1141 } }
if = {
limit = { check_variable = { rq_t < 1140 } }
if = {
limit = {
NOT = { has_tech = robotics_11 }
NOT = { is_in_array = { array = rq_queue value = 1139 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1139 } }
NOT = { is_in_array = { array = global.rq_hid value = 1139 } }
OR = {
can_research = robotics_11
AND = {
OR = { is_in_array = { array = rq_queue value = 1138 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1139 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1139 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = robotics_2 }
NOT = { is_in_array = { array = rq_queue value = 1140 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1140 } }
NOT = { is_in_array = { array = global.rq_hid value = 1140 } }
OR = {
can_research = robotics_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1137 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1140 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1140 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1142 } }
if = {
limit = {
NOT = { has_tech = robotics_3 }
NOT = { is_in_array = { array = rq_queue value = 1141 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1141 } }
NOT = { is_in_array = { array = global.rq_hid value = 1141 } }
OR = {
can_research = robotics_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1140 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1141 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1141 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1143 } }
if = {
limit = {
NOT = { has_tech = robotics_4 }
NOT = { is_in_array = { array = rq_queue value = 1142 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1142 } }
NOT = { is_in_array = { array = global.rq_hid value = 1142 } }
OR = {
can_research = robotics_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1141 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1142 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1142 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = robotics_5 }
NOT = { is_in_array = { array = rq_queue value = 1143 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1143 } }
NOT = { is_in_array = { array = global.rq_hid value = 1143 } }
OR = {
can_research = robotics_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1142 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1143 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1143 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1147 } }
if = {
limit = { check_variable = { rq_t < 1145 } }
if = {
limit = {
NOT = { has_tech = robotics_6 }
NOT = { is_in_array = { array = rq_queue value = 1144 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1144 } }
NOT = { is_in_array = { array = global.rq_hid value = 1144 } }
OR = {
can_research = robotics_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1143 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1144 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1144 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1146 } }
if = {
limit = {
NOT = { has_tech = robotics_7 }
NOT = { is_in_array = { array = rq_queue value = 1145 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1145 } }
NOT = { is_in_array = { array = global.rq_hid value = 1145 } }
OR = {
can_research = robotics_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1144 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1145 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1145 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = robotics_8 }
NOT = { is_in_array = { array = rq_queue value = 1146 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1146 } }
NOT = { is_in_array = { array = global.rq_hid value = 1146 } }
OR = {
can_research = robotics_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1145 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1146 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1146 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1148 } }
if = {
limit = {
NOT = { has_tech = robotics_9 }
NOT = { is_in_array = { array = rq_queue value = 1147 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1147 } }
NOT = { is_in_array = { array = global.rq_hid value = 1147 } }
OR = {
can_research = robotics_9
AND = {
OR = { is_in_array = { array = rq_queue value = 1146 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1147 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1147 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1149 } }
if = {
limit = {
NOT = { has_tech = small_autocannon_tech }
NOT = { is_in_array = { array = rq_queue value = 1148 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1148 } }
NOT = { is_in_array = { array = global.rq_hid value = 1148 } }
OR = {
can_research = small_autocannon_tech
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1148 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1148 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = small_autocannon_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1149 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1149 } }
NOT = { is_in_array = { array = global.rq_hid value = 1149 } }
OR = {
can_research = small_autocannon_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1148 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1149 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1149 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1156 } }
if = {
limit = { check_variable = { rq_t < 1153 } }
if = {
limit = { check_variable = { rq_t < 1151 } }
if = {
limit = {
NOT = { has_tech = small_autocannon_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1150 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1150 } }
NOT = { is_in_array = { array = global.rq_hid value = 1150 } }
OR = {
can_research = small_autocannon_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1149 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1150 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1150 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1152 } }
if = {
limit = {
NOT = { has_tech = small_autocannon_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1151 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1151 } }
NOT = { is_in_array = { array = global.rq_hid value = 1151 } }
OR = {
can_research = small_autocannon_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1150 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1151 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1151 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = small_autocannon_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1152 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1152 } }
NOT = { is_in_array = { array = global.rq_hid value = 1152 } }
OR = {
can_research = small_autocannon_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1151 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1152 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1152 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1154 } }
if = {
limit = {
NOT = { has_tech = small_autocannon_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 1153 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1153 } }
NOT = { is_in_array = { array = global.rq_hid value = 1153 } }
OR = {
can_research = small_autocannon_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1152 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1153 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1153 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1155 } }
if = {
limit = {
NOT = { has_tech = small_medium_gun_tech }
NOT = { is_in_array = { array = rq_queue value = 1154 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1154 } }
NOT = { is_in_array = { array = global.rq_hid value = 1154 } }
OR = {
can_research = small_medium_gun_tech
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1154 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1154 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = small_medium_gun_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1155 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1155 } }
NOT = { is_in_array = { array = global.rq_hid value = 1155 } }
OR = {
can_research = small_medium_gun_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1154 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1155 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1155 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1159 } }
if = {
limit = { check_variable = { rq_t < 1157 } }
if = {
limit = {
NOT = { has_tech = small_medium_gun_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1156 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1156 } }
NOT = { is_in_array = { array = global.rq_hid value = 1156 } }
OR = {
can_research = small_medium_gun_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1155 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1156 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1156 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1158 } }
if = {
limit = {
NOT = { has_tech = small_medium_gun_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1157 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1157 } }
NOT = { is_in_array = { array = global.rq_hid value = 1157 } }
OR = {
can_research = small_medium_gun_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1156 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1157 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1157 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = small_medium_gun_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1158 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1158 } }
NOT = { is_in_array = { array = global.rq_hid value = 1158 } }
OR = {
can_research = small_medium_gun_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1157 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1158 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1158 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1160 } }
if = {
limit = {
NOT = { has_tech = small_medium_gun_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 1159 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1159 } }
NOT = { is_in_array = { array = global.rq_hid value = 1159 } }
OR = {
can_research = small_medium_gun_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1158 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1159 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1159 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1161 } }
}
else = {
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1185 } }
if = {
limit = { check_variable = { rq_t < 1173 } }
if = {
limit = { check_variable = { rq_t < 1167 } }
if = {
limit = { check_variable = { rq_t < 1164 } }
if = {
limit = { check_variable = { rq_t < 1163 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1165 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1166 } }
if = {
limit = {
NOT = { has_tech = special_forces_tech_1 }
NOT = { is_in_array = { array = rq_queue value = 1165 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1165 } }
NOT = { is_in_array = { array = global.rq_hid value = 1165 } }
OR = {
can_research = special_forces_tech_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1165 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1165 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = special_forces_tech_10 }
NOT = { is_in_array = { array = rq_queue value = 1166 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1166 } }
NOT = { is_in_array = { array = global.rq_hid value = 1166 } }
OR = {
can_research = special_forces_tech_10
AND = {
OR = { is_in_array = { array = rq_queue value = 1175 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1166 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1166 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1170 } }
if = {
limit = { check_variable = { rq_t < 1168 } }
if = {
limit = {
NOT = { has_tech = special_forces_tech_11 }
NOT = { is_in_array = { array = rq_queue value = 1167 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1167 } }
NOT = { is_in_array = { array = global.rq_hid value = 1167 } }
OR = {
can_research = special_forces_tech_11
AND = {
OR = { is_in_array = { array = rq_queue value = 1166 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1167 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1167 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1169 } }
if = {
limit = {
NOT = { has_tech = special_forces_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1168 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1168 } }
NOT = { is_in_array = { array = global.rq_hid value = 1168 } }
OR = {
can_research = special_forces_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1165 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1168 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1168 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = special_forces_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1169 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1169 } }
NOT = { is_in_array = { array = global.rq_hid value = 1169 } }
OR = {
can_research = special_forces_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1168 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1169 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1169 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1171 } }
if = {
limit = {
NOT = { has_tech = special_forces_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1170 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1170 } }
NOT = { is_in_array = { array = global.rq_hid value = 1170 } }
OR = {
can_research = special_forces_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1169 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1170 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1170 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1172 } }
if = {
limit = {
NOT = { has_tech = special_forces_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1171 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1171 } }
NOT = { is_in_array = { array = global.rq_hid value = 1171 } }
OR = {
can_research = special_forces_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1170 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1171 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1171 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = special_forces_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 1172 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1172 } }
NOT = { is_in_array = { array = global.rq_hid value = 1172 } }
OR = {
can_research = special_forces_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1171 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1172 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1172 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1179 } }
if = {
limit = { check_variable = { rq_t < 1176 } }
if = {
limit = { check_variable = { rq_t < 1174 } }
if = {
limit = {
NOT = { has_tech = special_forces_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 1173 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1173 } }
NOT = { is_in_array = { array = global.rq_hid value = 1173 } }
OR = {
can_research = special_forces_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1172 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1173 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1173 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1175 } }
if = {
limit = {
NOT = { has_tech = special_forces_tech_8 }
NOT = { is_in_array = { array = rq_queue value = 1174 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1174 } }
NOT = { is_in_array = { array = global.rq_hid value = 1174 } }
OR = {
can_research = special_forces_tech_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1173 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1174 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1174 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = special_forces_tech_9 }
NOT = { is_in_array = { array = rq_queue value = 1175 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1175 } }
NOT = { is_in_array = { array = global.rq_hid value = 1175 } }
OR = {
can_research = special_forces_tech_9
AND = {
OR = { is_in_array = { array = rq_queue value = 1174 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1175 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1175 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1177 } }
if = {
limit = {
NOT = { has_tech = special_mad_1 }
NOT = { is_in_array = { array = rq_queue value = 1176 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1176 } }
NOT = { is_in_array = { array = global.rq_hid value = 1176 } }
OR = {
can_research = special_mad_1
AND = {
OR = { is_in_array = { array = rq_queue value = 892 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1176 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1176 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1178 } }
if = {
limit = {
NOT = { has_tech = special_mad_2 }
NOT = { is_in_array = { array = rq_queue value = 1177 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1177 } }
NOT = { is_in_array = { array = global.rq_hid value = 1177 } }
OR = {
can_research = special_mad_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1176 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1177 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1177 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = special_mad_3 }
NOT = { is_in_array = { array = rq_queue value = 1178 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1178 } }
NOT = { is_in_array = { array = global.rq_hid value = 1178 } }
OR = {
can_research = special_mad_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1177 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1178 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1178 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1182 } }
if = {
limit = { check_variable = { rq_t < 1180 } }
if = {
limit = {
NOT = { has_tech = special_mad_4 }
NOT = { is_in_array = { array = rq_queue value = 1179 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1179 } }
NOT = { is_in_array = { array = global.rq_hid value = 1179 } }
OR = {
can_research = special_mad_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1178 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1179 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1179 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1181 } }
if = {
limit = {
NOT = { has_tech = special_mad_5 }
NOT = { is_in_array = { array = rq_queue value = 1180 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1180 } }
NOT = { is_in_array = { array = global.rq_hid value = 1180 } }
OR = {
can_research = special_mad_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1179 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1180 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1180 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = special_mad_6 }
NOT = { is_in_array = { array = rq_queue value = 1181 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1181 } }
NOT = { is_in_array = { array = global.rq_hid value = 1181 } }
OR = {
can_research = special_mad_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1180 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1181 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1181 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1183 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1184 } }
}
else = {
if = {
limit = {
NOT = { has_tech = squad_automatic_weapon }
NOT = { is_in_array = { array = rq_queue value = 1184 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1184 } }
NOT = { is_in_array = { array = global.rq_hid value = 1184 } }
OR = {
can_research = squad_automatic_weapon
AND = {
OR = { is_in_array = { array = rq_queue value = 1222 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1184 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1184 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1197 } }
if = {
limit = { check_variable = { rq_t < 1191 } }
if = {
limit = { check_variable = { rq_t < 1188 } }
if = {
limit = { check_variable = { rq_t < 1186 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1187 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1189 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1190 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1194 } }
if = {
limit = { check_variable = { rq_t < 1192 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1193 } }
}
else = {
if = {
limit = {
NOT = { has_tech = stealth_destroyer_hull_4 }
NOT = { is_in_array = { array = rq_queue value = 1193 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1193 } }
NOT = { is_in_array = { array = global.rq_hid value = 1193 } }
OR = {
can_research = stealth_destroyer_hull_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1192 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1193 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1193 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1195 } }
if = {
limit = {
NOT = { has_tech = stealth_destroyer_hull_5 }
NOT = { is_in_array = { array = rq_queue value = 1194 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1194 } }
NOT = { is_in_array = { array = global.rq_hid value = 1194 } }
OR = {
can_research = stealth_destroyer_hull_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1193 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1194 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1194 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1196 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1203 } }
if = {
limit = { check_variable = { rq_t < 1200 } }
if = {
limit = { check_variable = { rq_t < 1198 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1199 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1201 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1202 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1206 } }
if = {
limit = { check_variable = { rq_t < 1204 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1205 } }
}
else = {
if = {
limit = {
NOT = { has_tech = strategic_bomber1 }
NOT = { is_in_array = { array = rq_queue value = 1205 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1205 } }
NOT = { is_in_array = { array = global.rq_hid value = 1205 } }
OR = {
can_research = strategic_bomber1
AND = {
OR = { is_in_array = { array = rq_queue value = 605 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1205 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1205 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1207 } }
if = {
limit = {
NOT = { has_tech = strategic_bomber2 }
NOT = { is_in_array = { array = rq_queue value = 1206 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1206 } }
NOT = { is_in_array = { array = global.rq_hid value = 1206 } }
OR = {
can_research = strategic_bomber2
AND = {
OR = { is_in_array = { array = rq_queue value = 1205 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1206 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1206 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1208 } }
if = {
limit = {
NOT = { has_tech = strategic_bomber3 }
NOT = { is_in_array = { array = rq_queue value = 1207 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1207 } }
NOT = { is_in_array = { array = global.rq_hid value = 1207 } }
OR = {
can_research = strategic_bomber3
AND = {
OR = { is_in_array = { array = rq_queue value = 1206 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1207 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1207 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = strategic_bomber4 }
NOT = { is_in_array = { array = rq_queue value = 1208 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1208 } }
NOT = { is_in_array = { array = global.rq_hid value = 1208 } }
OR = {
can_research = strategic_bomber4
AND = {
OR = { is_in_array = { array = rq_queue value = 1207 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1208 }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1208 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1255 } }
if = {
limit = { check_variable = { rq_t < 1232 } }
if = {
limit = { check_variable = { rq_t < 1220 } }
if = {
limit = { check_variable = { rq_t < 1214 } }
if = {
limit = { check_variable = { rq_t < 1211 } }
if = {
limit = { check_variable = { rq_t < 1210 } }
if = {
limit = {
NOT = { has_tech = strategic_bomber5 }
NOT = { is_in_array = { array = rq_queue value = 1209 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1209 } }
NOT = { is_in_array = { array = global.rq_hid value = 1209 } }
OR = {
can_research = strategic_bomber5
AND = {
OR = { is_in_array = { array = rq_queue value = 1208 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1209 }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1209 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = strategic_bomber6 }
NOT = { is_in_array = { array = rq_queue value = 1210 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1210 } }
NOT = { is_in_array = { array = global.rq_hid value = 1210 } }
OR = {
can_research = strategic_bomber6
AND = {
OR = { is_in_array = { array = rq_queue value = 1209 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1210 }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1210 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1212 } }
if = {
limit = {
NOT = { has_tech = strike_upgrade_1 }
NOT = { is_in_array = { array = rq_queue value = 1211 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1211 } }
NOT = { is_in_array = { array = global.rq_hid value = 1211 } }
OR = {
can_research = strike_upgrade_1
AND = {
OR = { is_in_array = { array = rq_queue value = 311 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1211 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1211 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1213 } }
if = {
limit = {
NOT = { has_tech = strike_upgrade_2 }
NOT = { is_in_array = { array = rq_queue value = 1212 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1212 } }
NOT = { is_in_array = { array = global.rq_hid value = 1212 } }
OR = {
can_research = strike_upgrade_2
AND = {
OR = { is_in_array = { array = rq_queue value = 313 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1212 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1212 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = strike_upgrade_3 }
NOT = { is_in_array = { array = rq_queue value = 1213 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1213 } }
NOT = { is_in_array = { array = global.rq_hid value = 1213 } }
OR = {
can_research = strike_upgrade_3
AND = {
OR = { is_in_array = { array = rq_queue value = 315 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1213 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1213 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1217 } }
if = {
limit = { check_variable = { rq_t < 1215 } }
if = {
limit = {
NOT = { has_tech = stronghold_building_1 }
NOT = { is_in_array = { array = rq_queue value = 1214 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1214 } }
NOT = { is_in_array = { array = global.rq_hid value = 1214 } }
OR = {
can_research = stronghold_building_1
AND = {
OR = { is_in_array = { array = rq_queue value = 524 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1214 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1214 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1216 } }
if = {
limit = {
NOT = { has_tech = suicide_drone_1 }
NOT = { is_in_array = { array = rq_queue value = 1215 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1215 } }
NOT = { is_in_array = { array = global.rq_hid value = 1215 } }
OR = {
can_research = suicide_drone_1
AND = {
OR = { is_in_array = { array = rq_queue value = 598 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1215 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1215 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = suicide_drone_2 }
NOT = { is_in_array = { array = rq_queue value = 1216 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1216 } }
NOT = { is_in_array = { array = global.rq_hid value = 1216 } }
OR = {
can_research = suicide_drone_2
AND = {
OR = { is_in_array = { array = rq_queue value = 599 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1216 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1216 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1218 } }
if = {
limit = {
NOT = { has_tech = suicide_drone_3 }
NOT = { is_in_array = { array = rq_queue value = 1217 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1217 } }
NOT = { is_in_array = { array = global.rq_hid value = 1217 } }
OR = {
can_research = suicide_drone_3
AND = {
OR = { is_in_array = { array = rq_queue value = 600 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1217 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1217 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1219 } }
if = {
limit = {
NOT = { has_tech = suicide_drone_4 }
NOT = { is_in_array = { array = rq_queue value = 1218 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1218 } }
NOT = { is_in_array = { array = global.rq_hid value = 1218 } }
OR = {
can_research = suicide_drone_4
AND = {
OR = { is_in_array = { array = rq_queue value = 601 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1218 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1218 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = suicide_drone_5 }
NOT = { is_in_array = { array = rq_queue value = 1219 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1219 } }
NOT = { is_in_array = { array = global.rq_hid value = 1219 } }
OR = {
can_research = suicide_drone_5
AND = {
OR = { is_in_array = { array = rq_queue value = 602 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1219 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1219 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1226 } }
if = {
limit = { check_variable = { rq_t < 1223 } }
if = {
limit = { check_variable = { rq_t < 1221 } }
if = {
limit = {
NOT = { has_tech = suicide_drone_6 }
NOT = { is_in_array = { array = rq_queue value = 1220 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1220 } }
NOT = { is_in_array = { array = global.rq_hid value = 1220 } }
OR = {
can_research = suicide_drone_6
AND = {
OR = { is_in_array = { array = rq_queue value = 603 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1220 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1220 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1222 } }
}
else = {
if = {
limit = {
NOT = { has_tech = support_weapons }
NOT = { is_in_array = { array = rq_queue value = 1222 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1222 } }
NOT = { is_in_array = { array = global.rq_hid value = 1222 } }
OR = {
can_research = support_weapons
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1222 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1222 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1224 } }
if = {
limit = {
NOT = { has_tech = support_weapons2 }
NOT = { is_in_array = { array = rq_queue value = 1223 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1223 } }
NOT = { is_in_array = { array = global.rq_hid value = 1223 } }
OR = {
can_research = support_weapons2
AND = {
OR = { is_in_array = { array = rq_queue value = 1184 } is_in_array = { array = rq_queue value = 1227 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1223 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1223 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1225 } }
if = {
limit = {
NOT = { has_tech = support_weapons3 }
NOT = { is_in_array = { array = rq_queue value = 1224 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1224 } }
NOT = { is_in_array = { array = global.rq_hid value = 1224 } }
OR = {
can_research = support_weapons3
AND = {
OR = { is_in_array = { array = rq_queue value = 1223 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1224 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1224 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = support_weapons4 }
NOT = { is_in_array = { array = rq_queue value = 1225 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1225 } }
NOT = { is_in_array = { array = global.rq_hid value = 1225 } }
OR = {
can_research = support_weapons4
AND = {
OR = { is_in_array = { array = rq_queue value = 1224 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1225 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1225 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1229 } }
if = {
limit = { check_variable = { rq_t < 1227 } }
if = {
limit = {
NOT = { has_tech = support_weapons5 }
NOT = { is_in_array = { array = rq_queue value = 1226 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1226 } }
NOT = { is_in_array = { array = global.rq_hid value = 1226 } }
OR = {
can_research = support_weapons5
AND = {
OR = { is_in_array = { array = rq_queue value = 1225 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1226 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1226 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1228 } }
if = {
limit = {
NOT = { has_tech = tandem_charge_warheads }
NOT = { is_in_array = { array = rq_queue value = 1227 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1227 } }
NOT = { is_in_array = { array = global.rq_hid value = 1227 } }
OR = {
can_research = tandem_charge_warheads
AND = {
OR = { is_in_array = { array = rq_queue value = 1222 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1227 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1227 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tank_ammo_1 }
NOT = { is_in_array = { array = rq_queue value = 1228 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1228 } }
NOT = { is_in_array = { array = global.rq_hid value = 1228 } }
OR = {
can_research = tank_ammo_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1228 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1228 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1230 } }
if = {
limit = {
NOT = { has_tech = tank_ammo_2 }
NOT = { is_in_array = { array = rq_queue value = 1229 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1229 } }
NOT = { is_in_array = { array = global.rq_hid value = 1229 } }
OR = {
can_research = tank_ammo_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1228 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1229 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1229 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1231 } }
if = {
limit = {
NOT = { has_tech = tank_ammo_3 }
NOT = { is_in_array = { array = rq_queue value = 1230 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1230 } }
NOT = { is_in_array = { array = global.rq_hid value = 1230 } }
OR = {
can_research = tank_ammo_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1229 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1230 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1230 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tank_ammo_4 }
NOT = { is_in_array = { array = rq_queue value = 1231 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1231 } }
NOT = { is_in_array = { array = global.rq_hid value = 1231 } }
OR = {
can_research = tank_ammo_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1230 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1231 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1231 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1243 } }
if = {
limit = { check_variable = { rq_t < 1237 } }
if = {
limit = { check_variable = { rq_t < 1234 } }
if = {
limit = { check_variable = { rq_t < 1233 } }
if = {
limit = {
NOT = { has_tech = tank_ammo_5 }
NOT = { is_in_array = { array = rq_queue value = 1232 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1232 } }
NOT = { is_in_array = { array = global.rq_hid value = 1232 } }
OR = {
can_research = tank_ammo_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1231 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1232 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1232 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tank_ammo_6 }
NOT = { is_in_array = { array = rq_queue value = 1233 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1233 } }
NOT = { is_in_array = { array = global.rq_hid value = 1233 } }
OR = {
can_research = tank_ammo_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1232 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1233 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1233 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1235 } }
if = {
limit = {
NOT = { has_tech = tank_ammo_7 }
NOT = { is_in_array = { array = rq_queue value = 1234 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1234 } }
NOT = { is_in_array = { array = global.rq_hid value = 1234 } }
OR = {
can_research = tank_ammo_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1233 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1234 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1234 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1236 } }
if = {
limit = {
NOT = { has_tech = tank_ammo_8 }
NOT = { is_in_array = { array = rq_queue value = 1235 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1235 } }
NOT = { is_in_array = { array = global.rq_hid value = 1235 } }
OR = {
can_research = tank_ammo_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1234 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1235 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1235 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tank_ammo_9 }
NOT = { is_in_array = { array = rq_queue value = 1236 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1236 } }
NOT = { is_in_array = { array = global.rq_hid value = 1236 } }
OR = {
can_research = tank_ammo_9
AND = {
OR = { is_in_array = { array = rq_queue value = 1235 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1236 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1236 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1240 } }
if = {
limit = { check_variable = { rq_t < 1238 } }
if = {
limit = {
NOT = { has_tech = tank_components_tech }
NOT = { is_in_array = { array = rq_queue value = 1237 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1237 } }
NOT = { is_in_array = { array = global.rq_hid value = 1237 } }
OR = {
can_research = tank_components_tech
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1237 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1237 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1239 } }
if = {
limit = {
NOT = { has_tech = tank_components_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1238 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1238 } }
NOT = { is_in_array = { array = global.rq_hid value = 1238 } }
OR = {
can_research = tank_components_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1237 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1238 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1238 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tank_components_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1239 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1239 } }
NOT = { is_in_array = { array = global.rq_hid value = 1239 } }
OR = {
can_research = tank_components_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1238 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1239 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1239 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1241 } }
if = {
limit = {
NOT = { has_tech = tank_components_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1240 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1240 } }
NOT = { is_in_array = { array = global.rq_hid value = 1240 } }
OR = {
can_research = tank_components_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1239 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1240 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_tank_components_tech_4 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1240 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1242 } }
if = {
limit = {
NOT = { has_tech = tank_components_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1241 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1241 } }
NOT = { is_in_array = { array = global.rq_hid value = 1241 } }
OR = {
can_research = tank_components_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1240 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1241 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1241 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tank_components_tech_6 }
NOT = { is_in_array = { array = rq_queue value = 1242 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1242 } }
NOT = { is_in_array = { array = global.rq_hid value = 1242 } }
OR = {
can_research = tank_components_tech_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1241 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1242 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1242 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1249 } }
if = {
limit = { check_variable = { rq_t < 1246 } }
if = {
limit = { check_variable = { rq_t < 1244 } }
if = {
limit = {
NOT = { has_tech = tank_components_tech_7 }
NOT = { is_in_array = { array = rq_queue value = 1243 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1243 } }
NOT = { is_in_array = { array = global.rq_hid value = 1243 } }
OR = {
can_research = tank_components_tech_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1242 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1243 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1243 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1245 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1247 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1248 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1252 } }
if = {
limit = { check_variable = { rq_t < 1250 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1251 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1253 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1254 } }
}
else = {
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1278 } }
if = {
limit = { check_variable = { rq_t < 1266 } }
if = {
limit = { check_variable = { rq_t < 1260 } }
if = {
limit = { check_variable = { rq_t < 1257 } }
if = {
limit = { check_variable = { rq_t < 1256 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1258 } }
if = {
limit = {
NOT = { has_tech = tech_arty_0 }
NOT = { is_in_array = { array = rq_queue value = 1257 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1257 } }
NOT = { is_in_array = { array = global.rq_hid value = 1257 } }
OR = {
can_research = tech_arty_0
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1257 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1257 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1259 } }
if = {
limit = {
NOT = { has_tech = tech_arty_1 }
NOT = { is_in_array = { array = rq_queue value = 1258 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1258 } }
NOT = { is_in_array = { array = global.rq_hid value = 1258 } }
OR = {
can_research = tech_arty_1
AND = {
OR = { is_in_array = { array = rq_queue value = 405 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1258 }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1258 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_arty_2 }
NOT = { is_in_array = { array = rq_queue value = 1259 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1259 } }
NOT = { is_in_array = { array = global.rq_hid value = 1259 } }
OR = {
can_research = tech_arty_2
AND = {
OR = { is_in_array = { array = rq_queue value = 406 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1259 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1259 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1263 } }
if = {
limit = { check_variable = { rq_t < 1261 } }
if = {
limit = {
NOT = { has_tech = tech_arty_3 }
NOT = { is_in_array = { array = rq_queue value = 1260 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1260 } }
NOT = { is_in_array = { array = global.rq_hid value = 1260 } }
OR = {
can_research = tech_arty_3
AND = {
OR = { is_in_array = { array = rq_queue value = 408 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1260 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1260 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1262 } }
if = {
limit = {
NOT = { has_tech = tech_arty_4 }
NOT = { is_in_array = { array = rq_queue value = 1261 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1261 } }
NOT = { is_in_array = { array = global.rq_hid value = 1261 } }
OR = {
can_research = tech_arty_4
AND = {
OR = { is_in_array = { array = rq_queue value = 409 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1261 }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1261 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_combat_radar_1 }
NOT = { is_in_array = { array = rq_queue value = 1262 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1262 } }
NOT = { is_in_array = { array = global.rq_hid value = 1262 } }
OR = {
can_research = tech_combat_radar_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1278 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1262 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1262 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1264 } }
if = {
limit = {
NOT = { has_tech = tech_combat_radar_2 }
NOT = { is_in_array = { array = rq_queue value = 1263 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1263 } }
NOT = { is_in_array = { array = global.rq_hid value = 1263 } }
OR = {
can_research = tech_combat_radar_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1262 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1263 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1263 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1265 } }
if = {
limit = {
NOT = { has_tech = tech_combat_radar_3 }
NOT = { is_in_array = { array = rq_queue value = 1264 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1264 } }
NOT = { is_in_array = { array = global.rq_hid value = 1264 } }
OR = {
can_research = tech_combat_radar_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1263 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1264 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1264 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_combat_radar_4 }
NOT = { is_in_array = { array = rq_queue value = 1265 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1265 } }
NOT = { is_in_array = { array = global.rq_hid value = 1265 } }
OR = {
can_research = tech_combat_radar_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1264 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1265 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1265 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1272 } }
if = {
limit = { check_variable = { rq_t < 1269 } }
if = {
limit = { check_variable = { rq_t < 1267 } }
if = {
limit = {
NOT = { has_tech = tech_combat_radar_5 }
NOT = { is_in_array = { array = rq_queue value = 1266 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1266 } }
NOT = { is_in_array = { array = global.rq_hid value = 1266 } }
OR = {
can_research = tech_combat_radar_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1265 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1266 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1266 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1268 } }
if = {
limit = {
NOT = { has_tech = tech_combat_radar_6 }
NOT = { is_in_array = { array = rq_queue value = 1267 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1267 } }
NOT = { is_in_array = { array = global.rq_hid value = 1267 } }
OR = {
can_research = tech_combat_radar_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1266 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1267 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1267 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_combat_radar_7 }
NOT = { is_in_array = { array = rq_queue value = 1268 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1268 } }
NOT = { is_in_array = { array = global.rq_hid value = 1268 } }
OR = {
can_research = tech_combat_radar_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1267 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1268 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1268 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1270 } }
if = {
limit = {
NOT = { has_tech = tech_combat_radar_8 }
NOT = { is_in_array = { array = rq_queue value = 1269 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1269 } }
NOT = { is_in_array = { array = global.rq_hid value = 1269 } }
OR = {
can_research = tech_combat_radar_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1268 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1269 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1269 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1271 } }
if = {
limit = {
NOT = { has_tech = tech_combat_sonar_1 }
NOT = { is_in_array = { array = rq_queue value = 1270 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1270 } }
NOT = { is_in_array = { array = global.rq_hid value = 1270 } }
OR = {
can_research = tech_combat_sonar_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1278 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1270 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1270 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_combat_sonar_2 }
NOT = { is_in_array = { array = rq_queue value = 1271 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1271 } }
NOT = { is_in_array = { array = global.rq_hid value = 1271 } }
OR = {
can_research = tech_combat_sonar_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1270 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1271 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1271 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1275 } }
if = {
limit = { check_variable = { rq_t < 1273 } }
if = {
limit = {
NOT = { has_tech = tech_combat_sonar_3 }
NOT = { is_in_array = { array = rq_queue value = 1272 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1272 } }
NOT = { is_in_array = { array = global.rq_hid value = 1272 } }
OR = {
can_research = tech_combat_sonar_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1271 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1272 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1272 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1274 } }
if = {
limit = {
NOT = { has_tech = tech_combat_sonar_4 }
NOT = { is_in_array = { array = rq_queue value = 1273 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1273 } }
NOT = { is_in_array = { array = global.rq_hid value = 1273 } }
OR = {
can_research = tech_combat_sonar_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1272 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1273 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1273 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_combat_sonar_5 }
NOT = { is_in_array = { array = rq_queue value = 1274 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1274 } }
NOT = { is_in_array = { array = global.rq_hid value = 1274 } }
OR = {
can_research = tech_combat_sonar_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1273 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1274 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1274 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1276 } }
if = {
limit = {
NOT = { has_tech = tech_combat_sonar_6 }
NOT = { is_in_array = { array = rq_queue value = 1275 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1275 } }
NOT = { is_in_array = { array = global.rq_hid value = 1275 } }
OR = {
can_research = tech_combat_sonar_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1274 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1275 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1275 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1277 } }
if = {
limit = {
NOT = { has_tech = tech_combat_sonar_7 }
NOT = { is_in_array = { array = rq_queue value = 1276 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1276 } }
NOT = { is_in_array = { array = global.rq_hid value = 1276 } }
OR = {
can_research = tech_combat_sonar_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1275 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1276 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1276 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_combat_sonar_8 }
NOT = { is_in_array = { array = rq_queue value = 1277 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1277 } }
NOT = { is_in_array = { array = global.rq_hid value = 1277 } }
OR = {
can_research = tech_combat_sonar_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1276 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1277 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1277 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1290 } }
if = {
limit = { check_variable = { rq_t < 1284 } }
if = {
limit = { check_variable = { rq_t < 1281 } }
if = {
limit = { check_variable = { rq_t < 1279 } }
if = {
limit = {
NOT = { has_tech = tech_combat_support_systems }
NOT = { is_in_array = { array = rq_queue value = 1278 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1278 } }
NOT = { is_in_array = { array = global.rq_hid value = 1278 } }
OR = {
can_research = tech_combat_support_systems
AND = {
OR = { is_in_array = { array = rq_queue value = 1326 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1278 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1278 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1280 } }
if = {
limit = {
NOT = { has_tech = tech_diesel_power_systems_1 }
NOT = { is_in_array = { array = rq_queue value = 1279 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1279 } }
NOT = { is_in_array = { array = global.rq_hid value = 1279 } }
OR = {
can_research = tech_diesel_power_systems_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1326 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1279 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1279 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_diesel_power_systems_2 }
NOT = { is_in_array = { array = rq_queue value = 1280 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1280 } }
NOT = { is_in_array = { array = global.rq_hid value = 1280 } }
OR = {
can_research = tech_diesel_power_systems_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1279 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1280 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1280 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1282 } }
if = {
limit = {
NOT = { has_tech = tech_diesel_power_systems_3 }
NOT = { is_in_array = { array = rq_queue value = 1281 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1281 } }
NOT = { is_in_array = { array = global.rq_hid value = 1281 } }
OR = {
can_research = tech_diesel_power_systems_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1280 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1281 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1281 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1283 } }
if = {
limit = {
NOT = { has_tech = tech_diesel_power_systems_4 }
NOT = { is_in_array = { array = rq_queue value = 1282 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1282 } }
NOT = { is_in_array = { array = global.rq_hid value = 1282 } }
OR = {
can_research = tech_diesel_power_systems_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1281 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1282 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1282 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_diesel_power_systems_5 }
NOT = { is_in_array = { array = rq_queue value = 1283 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1283 } }
NOT = { is_in_array = { array = global.rq_hid value = 1283 } }
OR = {
can_research = tech_diesel_power_systems_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1282 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1283 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1283 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1287 } }
if = {
limit = { check_variable = { rq_t < 1285 } }
if = {
limit = {
NOT = { has_tech = tech_diesel_power_systems_6 }
NOT = { is_in_array = { array = rq_queue value = 1284 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1284 } }
NOT = { is_in_array = { array = global.rq_hid value = 1284 } }
OR = {
can_research = tech_diesel_power_systems_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1283 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1284 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1284 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1286 } }
}
else = {
if = {
limit = {
NOT = { has_tech = tech_drone_torpedoes_2 }
NOT = { is_in_array = { array = rq_queue value = 1286 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1286 } }
NOT = { is_in_array = { array = global.rq_hid value = 1286 } }
OR = {
can_research = tech_drone_torpedoes_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1285 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1286 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1286 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1288 } }
if = {
limit = {
NOT = { has_tech = tech_drone_torpedoes_3 }
NOT = { is_in_array = { array = rq_queue value = 1287 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1287 } }
NOT = { is_in_array = { array = global.rq_hid value = 1287 } }
OR = {
can_research = tech_drone_torpedoes_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1286 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1287 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1287 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1289 } }
if = {
limit = {
NOT = { has_tech = tech_drone_torpedoes_4 }
NOT = { is_in_array = { array = rq_queue value = 1288 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1288 } }
NOT = { is_in_array = { array = global.rq_hid value = 1288 } }
OR = {
can_research = tech_drone_torpedoes_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1287 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1288 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1288 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_drone_torpedoes_5 }
NOT = { is_in_array = { array = rq_queue value = 1289 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1289 } }
NOT = { is_in_array = { array = global.rq_hid value = 1289 } }
OR = {
can_research = tech_drone_torpedoes_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1288 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1289 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1289 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1296 } }
if = {
limit = { check_variable = { rq_t < 1293 } }
if = {
limit = { check_variable = { rq_t < 1291 } }
if = {
limit = {
NOT = { has_tech = tech_early_naval_weapon_systems }
NOT = { is_in_array = { array = rq_queue value = 1290 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1290 } }
NOT = { is_in_array = { array = global.rq_hid value = 1290 } }
OR = {
can_research = tech_early_naval_weapon_systems
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1290 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1290 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1292 } }
if = {
limit = {
NOT = { has_tech = tech_fire_control_1 }
NOT = { is_in_array = { array = rq_queue value = 1291 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1291 } }
NOT = { is_in_array = { array = global.rq_hid value = 1291 } }
OR = {
can_research = tech_fire_control_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1278 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1291 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1291 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_fire_control_2 }
NOT = { is_in_array = { array = rq_queue value = 1292 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1292 } }
NOT = { is_in_array = { array = global.rq_hid value = 1292 } }
OR = {
can_research = tech_fire_control_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1291 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1292 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1292 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1294 } }
if = {
limit = {
NOT = { has_tech = tech_fire_control_3 }
NOT = { is_in_array = { array = rq_queue value = 1293 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1293 } }
NOT = { is_in_array = { array = global.rq_hid value = 1293 } }
OR = {
can_research = tech_fire_control_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1292 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1293 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1293 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1295 } }
if = {
limit = {
NOT = { has_tech = tech_fire_control_4 }
NOT = { is_in_array = { array = rq_queue value = 1294 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1294 } }
NOT = { is_in_array = { array = global.rq_hid value = 1294 } }
OR = {
can_research = tech_fire_control_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1293 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1294 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1294 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_fire_control_5 }
NOT = { is_in_array = { array = rq_queue value = 1295 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1295 } }
NOT = { is_in_array = { array = global.rq_hid value = 1295 } }
OR = {
can_research = tech_fire_control_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1294 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1295 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1295 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1299 } }
if = {
limit = { check_variable = { rq_t < 1297 } }
if = {
limit = {
NOT = { has_tech = tech_fire_control_6 }
NOT = { is_in_array = { array = rq_queue value = 1296 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1296 } }
NOT = { is_in_array = { array = global.rq_hid value = 1296 } }
OR = {
can_research = tech_fire_control_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1295 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1296 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1296 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1298 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1300 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1301 } }
}
else = {
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1395 } }
if = {
limit = { check_variable = { rq_t < 1348 } }
if = {
limit = { check_variable = { rq_t < 1325 } }
if = {
limit = { check_variable = { rq_t < 1313 } }
if = {
limit = { check_variable = { rq_t < 1307 } }
if = {
limit = { check_variable = { rq_t < 1304 } }
if = {
limit = { check_variable = { rq_t < 1303 } }
}
else = {
if = {
limit = {
NOT = { has_tech = tech_landing_craft_1 }
NOT = { is_in_array = { array = rq_queue value = 1303 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1303 } }
NOT = { is_in_array = { array = global.rq_hid value = 1303 } }
OR = {
can_research = tech_landing_craft_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1303 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1303 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1305 } }
if = {
limit = {
NOT = { has_tech = tech_landing_craft_10 }
NOT = { is_in_array = { array = rq_queue value = 1304 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1304 } }
NOT = { is_in_array = { array = global.rq_hid value = 1304 } }
OR = {
can_research = tech_landing_craft_10
AND = {
OR = { is_in_array = { array = rq_queue value = 1312 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1304 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1304 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1306 } }
if = {
limit = {
NOT = { has_tech = tech_landing_craft_2 }
NOT = { is_in_array = { array = rq_queue value = 1305 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1305 } }
NOT = { is_in_array = { array = global.rq_hid value = 1305 } }
OR = {
can_research = tech_landing_craft_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1303 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1305 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1305 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_landing_craft_3 }
NOT = { is_in_array = { array = rq_queue value = 1306 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1306 } }
NOT = { is_in_array = { array = global.rq_hid value = 1306 } }
OR = {
can_research = tech_landing_craft_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1305 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1306 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1306 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1310 } }
if = {
limit = { check_variable = { rq_t < 1308 } }
if = {
limit = {
NOT = { has_tech = tech_landing_craft_4 }
NOT = { is_in_array = { array = rq_queue value = 1307 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1307 } }
NOT = { is_in_array = { array = global.rq_hid value = 1307 } }
OR = {
can_research = tech_landing_craft_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1306 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1307 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1307 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1309 } }
if = {
limit = {
NOT = { has_tech = tech_landing_craft_5 }
NOT = { is_in_array = { array = rq_queue value = 1308 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1308 } }
NOT = { is_in_array = { array = global.rq_hid value = 1308 } }
OR = {
can_research = tech_landing_craft_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1307 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1308 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1308 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_landing_craft_6 }
NOT = { is_in_array = { array = rq_queue value = 1309 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1309 } }
NOT = { is_in_array = { array = global.rq_hid value = 1309 } }
OR = {
can_research = tech_landing_craft_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1308 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1309 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1309 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1311 } }
if = {
limit = {
NOT = { has_tech = tech_landing_craft_7 }
NOT = { is_in_array = { array = rq_queue value = 1310 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1310 } }
NOT = { is_in_array = { array = global.rq_hid value = 1310 } }
OR = {
can_research = tech_landing_craft_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1309 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1310 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1310 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1312 } }
if = {
limit = {
NOT = { has_tech = tech_landing_craft_8 }
NOT = { is_in_array = { array = rq_queue value = 1311 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1311 } }
NOT = { is_in_array = { array = global.rq_hid value = 1311 } }
OR = {
can_research = tech_landing_craft_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1310 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1311 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1311 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_landing_craft_9 }
NOT = { is_in_array = { array = rq_queue value = 1312 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1312 } }
NOT = { is_in_array = { array = global.rq_hid value = 1312 } }
OR = {
can_research = tech_landing_craft_9
AND = {
OR = { is_in_array = { array = rq_queue value = 1311 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1312 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1312 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1319 } }
if = {
limit = { check_variable = { rq_t < 1316 } }
if = {
limit = { check_variable = { rq_t < 1314 } }
if = {
limit = {
NOT = { has_tech = tech_light_guns_1 }
NOT = { is_in_array = { array = rq_queue value = 1313 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1313 } }
NOT = { is_in_array = { array = global.rq_hid value = 1313 } }
OR = {
can_research = tech_light_guns_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1327 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1313 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1313 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1315 } }
if = {
limit = {
NOT = { has_tech = tech_light_guns_2 }
NOT = { is_in_array = { array = rq_queue value = 1314 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1314 } }
NOT = { is_in_array = { array = global.rq_hid value = 1314 } }
OR = {
can_research = tech_light_guns_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1313 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1314 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1314 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_light_guns_3 }
NOT = { is_in_array = { array = rq_queue value = 1315 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1315 } }
NOT = { is_in_array = { array = global.rq_hid value = 1315 } }
OR = {
can_research = tech_light_guns_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1314 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1315 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1315 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1317 } }
if = {
limit = {
NOT = { has_tech = tech_light_guns_4 }
NOT = { is_in_array = { array = rq_queue value = 1316 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1316 } }
NOT = { is_in_array = { array = global.rq_hid value = 1316 } }
OR = {
can_research = tech_light_guns_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1315 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1316 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1316 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1318 } }
if = {
limit = {
NOT = { has_tech = tech_light_guns_5 }
NOT = { is_in_array = { array = rq_queue value = 1317 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1317 } }
NOT = { is_in_array = { array = global.rq_hid value = 1317 } }
OR = {
can_research = tech_light_guns_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1316 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1317 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1317 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_light_guns_6 }
NOT = { is_in_array = { array = rq_queue value = 1318 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1318 } }
NOT = { is_in_array = { array = global.rq_hid value = 1318 } }
OR = {
can_research = tech_light_guns_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1317 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1318 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1318 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1322 } }
if = {
limit = { check_variable = { rq_t < 1320 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1321 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1323 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1324 } }
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1336 } }
if = {
limit = { check_variable = { rq_t < 1330 } }
if = {
limit = { check_variable = { rq_t < 1327 } }
if = {
limit = { check_variable = { rq_t < 1326 } }
}
else = {
if = {
limit = {
NOT = { has_tech = tech_naval_systems_engineering }
NOT = { is_in_array = { array = rq_queue value = 1326 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1326 } }
NOT = { is_in_array = { array = global.rq_hid value = 1326 } }
OR = {
can_research = tech_naval_systems_engineering
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1326 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1326 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1328 } }
if = {
limit = {
NOT = { has_tech = tech_naval_weapon_systems }
NOT = { is_in_array = { array = rq_queue value = 1327 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1327 } }
NOT = { is_in_array = { array = global.rq_hid value = 1327 } }
OR = {
can_research = tech_naval_weapon_systems
AND = {
OR = { is_in_array = { array = rq_queue value = 1290 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1327 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1327 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1329 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1333 } }
if = {
limit = { check_variable = { rq_t < 1331 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1332 } }
}
else = {
if = {
limit = {
NOT = { has_tech = tech_nuclear_power_systems_5 }
NOT = { is_in_array = { array = rq_queue value = 1332 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1332 } }
NOT = { is_in_array = { array = global.rq_hid value = 1332 } }
OR = {
can_research = tech_nuclear_power_systems_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1331 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1332 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1332 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1334 } }
if = {
limit = {
NOT = { has_tech = tech_nuclear_power_systems_6 }
NOT = { is_in_array = { array = rq_queue value = 1333 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1333 } }
NOT = { is_in_array = { array = global.rq_hid value = 1333 } }
OR = {
can_research = tech_nuclear_power_systems_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1332 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1333 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1333 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1335 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1342 } }
if = {
limit = { check_variable = { rq_t < 1339 } }
if = {
limit = { check_variable = { rq_t < 1337 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1338 } }
}
else = {
if = {
limit = {
NOT = { has_tech = tech_point_defense_chain_gun }
NOT = { is_in_array = { array = rq_queue value = 1338 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1338 } }
NOT = { is_in_array = { array = global.rq_hid value = 1338 } }
OR = {
can_research = tech_point_defense_chain_gun
AND = {
OR = { is_in_array = { array = rq_queue value = 1327 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1338 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1338 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1340 } }
if = {
limit = {
NOT = { has_tech = tech_point_defense_system_1 }
NOT = { is_in_array = { array = rq_queue value = 1339 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1339 } }
NOT = { is_in_array = { array = global.rq_hid value = 1339 } }
OR = {
can_research = tech_point_defense_system_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1338 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1339 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1339 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1341 } }
if = {
limit = {
NOT = { has_tech = tech_point_defense_system_2 }
NOT = { is_in_array = { array = rq_queue value = 1340 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1340 } }
NOT = { is_in_array = { array = global.rq_hid value = 1340 } }
OR = {
can_research = tech_point_defense_system_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1339 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1340 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1340 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_point_defense_system_3 }
NOT = { is_in_array = { array = rq_queue value = 1341 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1341 } }
NOT = { is_in_array = { array = global.rq_hid value = 1341 } }
OR = {
can_research = tech_point_defense_system_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1340 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1341 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1341 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1345 } }
if = {
limit = { check_variable = { rq_t < 1343 } }
if = {
limit = {
NOT = { has_tech = tech_point_defense_system_4 }
NOT = { is_in_array = { array = rq_queue value = 1342 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1342 } }
NOT = { is_in_array = { array = global.rq_hid value = 1342 } }
OR = {
can_research = tech_point_defense_system_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1341 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1342 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1342 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1344 } }
if = {
limit = {
NOT = { has_tech = tech_point_defense_system_5 }
NOT = { is_in_array = { array = rq_queue value = 1343 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1343 } }
NOT = { is_in_array = { array = global.rq_hid value = 1343 } }
OR = {
can_research = tech_point_defense_system_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1342 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1343 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1343 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_point_defense_system_6 }
NOT = { is_in_array = { array = rq_queue value = 1344 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1344 } }
NOT = { is_in_array = { array = global.rq_hid value = 1344 } }
OR = {
can_research = tech_point_defense_system_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1343 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1344 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1344 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1346 } }
if = {
limit = {
NOT = { has_tech = tech_point_defense_system_7 }
NOT = { is_in_array = { array = rq_queue value = 1345 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1345 } }
NOT = { is_in_array = { array = global.rq_hid value = 1345 } }
OR = {
can_research = tech_point_defense_system_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1344 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1345 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1345 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1347 } }
if = {
limit = {
NOT = { has_tech = tech_point_defense_system_8 }
NOT = { is_in_array = { array = rq_queue value = 1346 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1346 } }
NOT = { is_in_array = { array = global.rq_hid value = 1346 } }
OR = {
can_research = tech_point_defense_system_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1345 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1346 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1346 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_power_systems_1 }
NOT = { is_in_array = { array = rq_queue value = 1347 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1347 } }
NOT = { is_in_array = { array = global.rq_hid value = 1347 } }
OR = {
can_research = tech_power_systems_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1326 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1347 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1347 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1371 } }
if = {
limit = { check_variable = { rq_t < 1359 } }
if = {
limit = { check_variable = { rq_t < 1353 } }
if = {
limit = { check_variable = { rq_t < 1350 } }
if = {
limit = { check_variable = { rq_t < 1349 } }
if = {
limit = {
NOT = { has_tech = tech_power_systems_2 }
NOT = { is_in_array = { array = rq_queue value = 1348 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1348 } }
NOT = { is_in_array = { array = global.rq_hid value = 1348 } }
OR = {
can_research = tech_power_systems_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1347 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1348 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1348 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_power_systems_3 }
NOT = { is_in_array = { array = rq_queue value = 1349 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1349 } }
NOT = { is_in_array = { array = global.rq_hid value = 1349 } }
OR = {
can_research = tech_power_systems_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1348 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1349 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1349 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1351 } }
if = {
limit = {
NOT = { has_tech = tech_power_systems_4 }
NOT = { is_in_array = { array = rq_queue value = 1350 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1350 } }
NOT = { is_in_array = { array = global.rq_hid value = 1350 } }
OR = {
can_research = tech_power_systems_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1349 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1350 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1350 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1352 } }
if = {
limit = {
NOT = { has_tech = tech_power_systems_5 }
NOT = { is_in_array = { array = rq_queue value = 1351 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1351 } }
NOT = { is_in_array = { array = global.rq_hid value = 1351 } }
OR = {
can_research = tech_power_systems_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1350 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1351 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1351 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_power_systems_6 }
NOT = { is_in_array = { array = rq_queue value = 1352 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1352 } }
NOT = { is_in_array = { array = global.rq_hid value = 1352 } }
OR = {
can_research = tech_power_systems_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1351 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1352 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1352 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1356 } }
if = {
limit = { check_variable = { rq_t < 1354 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1355 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1357 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1358 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1365 } }
if = {
limit = { check_variable = { rq_t < 1362 } }
if = {
limit = { check_variable = { rq_t < 1360 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1361 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1363 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1364 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1368 } }
if = {
limit = { check_variable = { rq_t < 1366 } }
if = {
limit = {
NOT = { has_tech = tech_rail_guns_5 }
NOT = { is_in_array = { array = rq_queue value = 1365 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1365 } }
NOT = { is_in_array = { array = global.rq_hid value = 1365 } }
OR = {
can_research = tech_rail_guns_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1364 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1365 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1365 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1367 } }
if = {
limit = {
NOT = { has_tech = tech_rail_guns_6 }
NOT = { is_in_array = { array = rq_queue value = 1366 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1366 } }
NOT = { is_in_array = { array = global.rq_hid value = 1366 } }
OR = {
can_research = tech_rail_guns_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1365 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1366 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1366 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_submarine_engineering_1 }
NOT = { is_in_array = { array = rq_queue value = 1367 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1367 } }
NOT = { is_in_array = { array = global.rq_hid value = 1367 } }
OR = {
can_research = tech_submarine_engineering_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1367 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1367 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1369 } }
if = {
limit = {
NOT = { has_tech = tech_submarine_engineering_2 }
NOT = { is_in_array = { array = rq_queue value = 1368 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1368 } }
NOT = { is_in_array = { array = global.rq_hid value = 1368 } }
OR = {
can_research = tech_submarine_engineering_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1367 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1368 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1368 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1370 } }
if = {
limit = {
NOT = { has_tech = tech_submarine_engineering_3 }
NOT = { is_in_array = { array = rq_queue value = 1369 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1369 } }
NOT = { is_in_array = { array = global.rq_hid value = 1369 } }
OR = {
can_research = tech_submarine_engineering_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1368 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1369 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1369 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_submarine_engineering_4 }
NOT = { is_in_array = { array = rq_queue value = 1370 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1370 } }
NOT = { is_in_array = { array = global.rq_hid value = 1370 } }
OR = {
can_research = tech_submarine_engineering_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1369 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1370 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1370 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1383 } }
if = {
limit = { check_variable = { rq_t < 1377 } }
if = {
limit = { check_variable = { rq_t < 1374 } }
if = {
limit = { check_variable = { rq_t < 1372 } }
if = {
limit = {
NOT = { has_tech = tech_submarine_engineering_5 }
NOT = { is_in_array = { array = rq_queue value = 1371 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1371 } }
NOT = { is_in_array = { array = global.rq_hid value = 1371 } }
OR = {
can_research = tech_submarine_engineering_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1370 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1371 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1371 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1373 } }
if = {
limit = {
NOT = { has_tech = tech_submarine_engineering_6 }
NOT = { is_in_array = { array = rq_queue value = 1372 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1372 } }
NOT = { is_in_array = { array = global.rq_hid value = 1372 } }
OR = {
can_research = tech_submarine_engineering_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1371 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1372 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1372 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_submarine_engineering_7 }
NOT = { is_in_array = { array = rq_queue value = 1373 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1373 } }
NOT = { is_in_array = { array = global.rq_hid value = 1373 } }
OR = {
can_research = tech_submarine_engineering_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1372 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1373 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1373 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1375 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1376 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1380 } }
if = {
limit = { check_variable = { rq_t < 1378 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1379 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1381 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1382 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1389 } }
if = {
limit = { check_variable = { rq_t < 1386 } }
if = {
limit = { check_variable = { rq_t < 1384 } }
if = {
limit = {
NOT = { has_tech = tech_torpedoes_1 }
NOT = { is_in_array = { array = rq_queue value = 1383 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1383 } }
NOT = { is_in_array = { array = global.rq_hid value = 1383 } }
OR = {
can_research = tech_torpedoes_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1327 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1383 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1383 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1385 } }
if = {
limit = {
NOT = { has_tech = tech_torpedoes_2 }
NOT = { is_in_array = { array = rq_queue value = 1384 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1384 } }
NOT = { is_in_array = { array = global.rq_hid value = 1384 } }
OR = {
can_research = tech_torpedoes_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1383 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1384 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1384 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_torpedoes_3 }
NOT = { is_in_array = { array = rq_queue value = 1385 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1385 } }
NOT = { is_in_array = { array = global.rq_hid value = 1385 } }
OR = {
can_research = tech_torpedoes_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1384 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1385 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1385 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1387 } }
if = {
limit = {
NOT = { has_tech = tech_torpedoes_4 }
NOT = { is_in_array = { array = rq_queue value = 1386 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1386 } }
NOT = { is_in_array = { array = global.rq_hid value = 1386 } }
OR = {
can_research = tech_torpedoes_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1385 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1386 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1386 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1388 } }
if = {
limit = {
NOT = { has_tech = tech_torpedoes_5 }
NOT = { is_in_array = { array = rq_queue value = 1387 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1387 } }
NOT = { is_in_array = { array = global.rq_hid value = 1387 } }
OR = {
can_research = tech_torpedoes_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1386 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1387 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1387 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_torpedoes_6 }
NOT = { is_in_array = { array = rq_queue value = 1388 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1388 } }
NOT = { is_in_array = { array = global.rq_hid value = 1388 } }
OR = {
can_research = tech_torpedoes_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1387 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1388 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1388 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1392 } }
if = {
limit = { check_variable = { rq_t < 1390 } }
if = {
limit = {
NOT = { has_tech = tech_torpedoes_7 }
NOT = { is_in_array = { array = rq_queue value = 1389 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1389 } }
NOT = { is_in_array = { array = global.rq_hid value = 1389 } }
OR = {
can_research = tech_torpedoes_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1388 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1389 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1389 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1391 } }
if = {
limit = {
NOT = { has_tech = tech_torpedoes_8 }
NOT = { is_in_array = { array = rq_queue value = 1390 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1390 } }
NOT = { is_in_array = { array = global.rq_hid value = 1390 } }
OR = {
can_research = tech_torpedoes_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1389 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1390 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1390 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_aa_1 }
NOT = { is_in_array = { array = rq_queue value = 1391 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1391 } }
NOT = { is_in_array = { array = global.rq_hid value = 1391 } }
OR = {
can_research = tech_turret_missiles_aa_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1327 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1391 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1391 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1393 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_aa_2 }
NOT = { is_in_array = { array = rq_queue value = 1392 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1392 } }
NOT = { is_in_array = { array = global.rq_hid value = 1392 } }
OR = {
can_research = tech_turret_missiles_aa_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1391 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1392 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1392 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1394 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_aa_3 }
NOT = { is_in_array = { array = rq_queue value = 1393 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1393 } }
NOT = { is_in_array = { array = global.rq_hid value = 1393 } }
OR = {
can_research = tech_turret_missiles_aa_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1392 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1393 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1393 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_aa_4 }
NOT = { is_in_array = { array = rq_queue value = 1394 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1394 } }
NOT = { is_in_array = { array = global.rq_hid value = 1394 } }
OR = {
can_research = tech_turret_missiles_aa_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1393 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1394 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1394 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1441 } }
if = {
limit = { check_variable = { rq_t < 1418 } }
if = {
limit = { check_variable = { rq_t < 1406 } }
if = {
limit = { check_variable = { rq_t < 1400 } }
if = {
limit = { check_variable = { rq_t < 1397 } }
if = {
limit = { check_variable = { rq_t < 1396 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_aa_5 }
NOT = { is_in_array = { array = rq_queue value = 1395 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1395 } }
NOT = { is_in_array = { array = global.rq_hid value = 1395 } }
OR = {
can_research = tech_turret_missiles_aa_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1394 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1395 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1395 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_aa_6 }
NOT = { is_in_array = { array = rq_queue value = 1396 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1396 } }
NOT = { is_in_array = { array = global.rq_hid value = 1396 } }
OR = {
can_research = tech_turret_missiles_aa_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1395 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1396 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1396 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1398 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_aa_7 }
NOT = { is_in_array = { array = rq_queue value = 1397 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1397 } }
NOT = { is_in_array = { array = global.rq_hid value = 1397 } }
OR = {
can_research = tech_turret_missiles_aa_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1396 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1397 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1397 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1399 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_aa_8 }
NOT = { is_in_array = { array = rq_queue value = 1398 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1398 } }
NOT = { is_in_array = { array = global.rq_hid value = 1398 } }
OR = {
can_research = tech_turret_missiles_aa_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1397 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1398 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1398 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1403 } }
if = {
limit = { check_variable = { rq_t < 1401 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1402 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1404 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_surface_1 }
NOT = { is_in_array = { array = rq_queue value = 1403 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1403 } }
NOT = { is_in_array = { array = global.rq_hid value = 1403 } }
OR = {
can_research = tech_turret_missiles_surface_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1327 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1403 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1403 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1405 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_surface_2 }
NOT = { is_in_array = { array = rq_queue value = 1404 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1404 } }
NOT = { is_in_array = { array = global.rq_hid value = 1404 } }
OR = {
can_research = tech_turret_missiles_surface_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1403 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1404 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1404 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_surface_3 }
NOT = { is_in_array = { array = rq_queue value = 1405 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1405 } }
NOT = { is_in_array = { array = global.rq_hid value = 1405 } }
OR = {
can_research = tech_turret_missiles_surface_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1404 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1405 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1405 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1412 } }
if = {
limit = { check_variable = { rq_t < 1409 } }
if = {
limit = { check_variable = { rq_t < 1407 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_surface_4 }
NOT = { is_in_array = { array = rq_queue value = 1406 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1406 } }
NOT = { is_in_array = { array = global.rq_hid value = 1406 } }
OR = {
can_research = tech_turret_missiles_surface_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1405 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1406 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1406 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1408 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_surface_5 }
NOT = { is_in_array = { array = rq_queue value = 1407 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1407 } }
NOT = { is_in_array = { array = global.rq_hid value = 1407 } }
OR = {
can_research = tech_turret_missiles_surface_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1406 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1407 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1407 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_surface_6 }
NOT = { is_in_array = { array = rq_queue value = 1408 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1408 } }
NOT = { is_in_array = { array = global.rq_hid value = 1408 } }
OR = {
can_research = tech_turret_missiles_surface_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1407 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1408 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1408 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1410 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_surface_7 }
NOT = { is_in_array = { array = rq_queue value = 1409 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1409 } }
NOT = { is_in_array = { array = global.rq_hid value = 1409 } }
OR = {
can_research = tech_turret_missiles_surface_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1408 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1409 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1409 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1411 } }
if = {
limit = {
NOT = { has_tech = tech_turret_missiles_surface_8 }
NOT = { is_in_array = { array = rq_queue value = 1410 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1410 } }
NOT = { is_in_array = { array = global.rq_hid value = 1410 } }
OR = {
can_research = tech_turret_missiles_surface_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1409 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1410 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1410 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_vls_aa_1 }
NOT = { is_in_array = { array = rq_queue value = 1411 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1411 } }
NOT = { is_in_array = { array = global.rq_hid value = 1411 } }
OR = {
can_research = tech_vls_aa_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1327 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1411 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1411 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1415 } }
if = {
limit = { check_variable = { rq_t < 1413 } }
if = {
limit = {
NOT = { has_tech = tech_vls_aa_2 }
NOT = { is_in_array = { array = rq_queue value = 1412 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1412 } }
NOT = { is_in_array = { array = global.rq_hid value = 1412 } }
OR = {
can_research = tech_vls_aa_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1411 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1412 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1412 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1414 } }
if = {
limit = {
NOT = { has_tech = tech_vls_aa_3 }
NOT = { is_in_array = { array = rq_queue value = 1413 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1413 } }
NOT = { is_in_array = { array = global.rq_hid value = 1413 } }
OR = {
can_research = tech_vls_aa_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1412 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1413 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1413 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_vls_aa_4 }
NOT = { is_in_array = { array = rq_queue value = 1414 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1414 } }
NOT = { is_in_array = { array = global.rq_hid value = 1414 } }
OR = {
can_research = tech_vls_aa_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1413 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1414 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1414 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1416 } }
if = {
limit = {
NOT = { has_tech = tech_vls_aa_5 }
NOT = { is_in_array = { array = rq_queue value = 1415 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1415 } }
NOT = { is_in_array = { array = global.rq_hid value = 1415 } }
OR = {
can_research = tech_vls_aa_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1414 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1415 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1415 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1417 } }
if = {
limit = {
NOT = { has_tech = tech_vls_aa_6 }
NOT = { is_in_array = { array = rq_queue value = 1416 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1416 } }
NOT = { is_in_array = { array = global.rq_hid value = 1416 } }
OR = {
can_research = tech_vls_aa_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1415 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1416 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1416 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_vls_aa_7 }
NOT = { is_in_array = { array = rq_queue value = 1417 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1417 } }
NOT = { is_in_array = { array = global.rq_hid value = 1417 } }
OR = {
can_research = tech_vls_aa_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1416 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1417 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1417 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1429 } }
if = {
limit = { check_variable = { rq_t < 1423 } }
if = {
limit = { check_variable = { rq_t < 1420 } }
if = {
limit = { check_variable = { rq_t < 1419 } }
if = {
limit = {
NOT = { has_tech = tech_vls_aa_8 }
NOT = { is_in_array = { array = rq_queue value = 1418 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1418 } }
NOT = { is_in_array = { array = global.rq_hid value = 1418 } }
OR = {
can_research = tech_vls_aa_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1417 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1418 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1418 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_vls_surface_1 }
NOT = { is_in_array = { array = rq_queue value = 1419 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1419 } }
NOT = { is_in_array = { array = global.rq_hid value = 1419 } }
OR = {
can_research = tech_vls_surface_1
AND = {
OR = { is_in_array = { array = rq_queue value = 1327 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1419 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1419 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1421 } }
if = {
limit = {
NOT = { has_tech = tech_vls_surface_2 }
NOT = { is_in_array = { array = rq_queue value = 1420 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1420 } }
NOT = { is_in_array = { array = global.rq_hid value = 1420 } }
OR = {
can_research = tech_vls_surface_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1419 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1420 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1420 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1422 } }
if = {
limit = {
NOT = { has_tech = tech_vls_surface_3 }
NOT = { is_in_array = { array = rq_queue value = 1421 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1421 } }
NOT = { is_in_array = { array = global.rq_hid value = 1421 } }
OR = {
can_research = tech_vls_surface_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1420 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1421 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1421 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_vls_surface_4 }
NOT = { is_in_array = { array = rq_queue value = 1422 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1422 } }
NOT = { is_in_array = { array = global.rq_hid value = 1422 } }
OR = {
can_research = tech_vls_surface_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1421 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1422 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1422 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1426 } }
if = {
limit = { check_variable = { rq_t < 1424 } }
if = {
limit = {
NOT = { has_tech = tech_vls_surface_5 }
NOT = { is_in_array = { array = rq_queue value = 1423 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1423 } }
NOT = { is_in_array = { array = global.rq_hid value = 1423 } }
OR = {
can_research = tech_vls_surface_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1422 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1423 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1423 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1425 } }
if = {
limit = {
NOT = { has_tech = tech_vls_surface_6 }
NOT = { is_in_array = { array = rq_queue value = 1424 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1424 } }
NOT = { is_in_array = { array = global.rq_hid value = 1424 } }
OR = {
can_research = tech_vls_surface_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1423 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1424 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1424 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tech_vls_surface_7 }
NOT = { is_in_array = { array = rq_queue value = 1425 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1425 } }
NOT = { is_in_array = { array = global.rq_hid value = 1425 } }
OR = {
can_research = tech_vls_surface_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1424 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1425 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1425 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1427 } }
if = {
limit = {
NOT = { has_tech = tech_vls_surface_8 }
NOT = { is_in_array = { array = rq_queue value = 1426 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1426 } }
NOT = { is_in_array = { array = global.rq_hid value = 1426 } }
OR = {
can_research = tech_vls_surface_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1425 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1426 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1426 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1428 } }
if = {
limit = {
NOT = { has_tech = tgp_recon_1 }
NOT = { is_in_array = { array = rq_queue value = 1427 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1427 } }
NOT = { is_in_array = { array = global.rq_hid value = 1427 } }
OR = {
can_research = tgp_recon_1
AND = {
OR = { is_in_array = { array = rq_queue value = 336 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1427 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1427 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tgp_recon_2 }
NOT = { is_in_array = { array = rq_queue value = 1428 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1428 } }
NOT = { is_in_array = { array = global.rq_hid value = 1428 } }
OR = {
can_research = tgp_recon_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1427 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1428 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1428 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1435 } }
if = {
limit = { check_variable = { rq_t < 1432 } }
if = {
limit = { check_variable = { rq_t < 1430 } }
if = {
limit = {
NOT = { has_tech = tgp_recon_3 }
NOT = { is_in_array = { array = rq_queue value = 1429 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1429 } }
NOT = { is_in_array = { array = global.rq_hid value = 1429 } }
OR = {
can_research = tgp_recon_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1428 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1429 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1429 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1431 } }
if = {
limit = {
NOT = { has_tech = tgp_recon_4 }
NOT = { is_in_array = { array = rq_queue value = 1430 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1430 } }
NOT = { is_in_array = { array = global.rq_hid value = 1430 } }
OR = {
can_research = tgp_recon_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1429 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1430 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1430 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = tgp_recon_5 }
NOT = { is_in_array = { array = rq_queue value = 1431 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1431 } }
NOT = { is_in_array = { array = global.rq_hid value = 1431 } }
OR = {
can_research = tgp_recon_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1430 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1431 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1431 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1433 } }
if = {
limit = {
NOT = { has_tech = tgp_recon_6 }
NOT = { is_in_array = { array = rq_queue value = 1432 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1432 } }
NOT = { is_in_array = { array = global.rq_hid value = 1432 } }
OR = {
can_research = tgp_recon_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1431 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1432 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1432 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1434 } }
if = {
limit = {
NOT = { has_tech = transport_helicopter_1 }
NOT = { is_in_array = { array = rq_queue value = 1433 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1433 } }
NOT = { is_in_array = { array = global.rq_hid value = 1433 } }
OR = {
can_research = transport_helicopter_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1433 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1433 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = transport_helicopter_2 }
NOT = { is_in_array = { array = rq_queue value = 1434 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1434 } }
NOT = { is_in_array = { array = global.rq_hid value = 1434 } }
OR = {
can_research = transport_helicopter_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1433 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1434 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 29.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1434 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1438 } }
if = {
limit = { check_variable = { rq_t < 1436 } }
if = {
limit = {
NOT = { has_tech = transport_helicopter_3 }
NOT = { is_in_array = { array = rq_queue value = 1435 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1435 } }
NOT = { is_in_array = { array = global.rq_hid value = 1435 } }
OR = {
can_research = transport_helicopter_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1434 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1435 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 39.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1435 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1437 } }
if = {
limit = {
NOT = { has_tech = transport_helicopter_4 }
NOT = { is_in_array = { array = rq_queue value = 1436 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1436 } }
NOT = { is_in_array = { array = global.rq_hid value = 1436 } }
OR = {
can_research = transport_helicopter_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1435 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1436 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1436 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = transport_helicopter_5 }
NOT = { is_in_array = { array = rq_queue value = 1437 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1437 } }
NOT = { is_in_array = { array = global.rq_hid value = 1437 } }
OR = {
can_research = transport_helicopter_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1436 } }
ROOT = { is_special_project_completed = sp:sp_helicopter_project }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1437 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1437 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1439 } }
if = {
limit = {
NOT = { has_tech = transport_helicopter_6 }
NOT = { is_in_array = { array = rq_queue value = 1438 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1438 } }
NOT = { is_in_array = { array = global.rq_hid value = 1438 } }
OR = {
can_research = transport_helicopter_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1437 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1438 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1438 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1440 } }
if = {
limit = {
NOT = { has_tech = transport_helicopter_7 }
NOT = { is_in_array = { array = rq_queue value = 1439 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1439 } }
NOT = { is_in_array = { array = global.rq_hid value = 1439 } }
OR = {
can_research = transport_helicopter_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1438 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1439 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1439 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = transport_plane1 }
NOT = { is_in_array = { array = rq_queue value = 1440 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1440 } }
NOT = { is_in_array = { array = global.rq_hid value = 1440 } }
OR = {
can_research = transport_plane1
AND = {
OR = { is_in_array = { array = rq_queue value = 605 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1440 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1440 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1464 } }
if = {
limit = { check_variable = { rq_t < 1452 } }
if = {
limit = { check_variable = { rq_t < 1446 } }
if = {
limit = { check_variable = { rq_t < 1443 } }
if = {
limit = { check_variable = { rq_t < 1442 } }
if = {
limit = {
NOT = { has_tech = transport_plane2 }
NOT = { is_in_array = { array = rq_queue value = 1441 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1441 } }
NOT = { is_in_array = { array = global.rq_hid value = 1441 } }
OR = {
can_research = transport_plane2
AND = {
OR = { is_in_array = { array = rq_queue value = 1440 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1441 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1441 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = transport_plane3 }
NOT = { is_in_array = { array = rq_queue value = 1442 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1442 } }
NOT = { is_in_array = { array = global.rq_hid value = 1442 } }
OR = {
can_research = transport_plane3
AND = {
OR = { is_in_array = { array = rq_queue value = 1441 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1442 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1442 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1444 } }
if = {
limit = {
NOT = { has_tech = transport_plane4 }
NOT = { is_in_array = { array = rq_queue value = 1443 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1443 } }
NOT = { is_in_array = { array = global.rq_hid value = 1443 } }
OR = {
can_research = transport_plane4
AND = {
OR = { is_in_array = { array = rq_queue value = 1442 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1443 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1443 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1445 } }
if = {
limit = {
NOT = { has_tech = transport_plane5 }
NOT = { is_in_array = { array = rq_queue value = 1444 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1444 } }
NOT = { is_in_array = { array = global.rq_hid value = 1444 } }
OR = {
can_research = transport_plane5
AND = {
OR = { is_in_array = { array = rq_queue value = 1443 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1444 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1444 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = transport_plane6 }
NOT = { is_in_array = { array = rq_queue value = 1445 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1445 } }
NOT = { is_in_array = { array = global.rq_hid value = 1445 } }
OR = {
can_research = transport_plane6
AND = {
OR = { is_in_array = { array = rq_queue value = 1444 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1445 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1445 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1449 } }
if = {
limit = { check_variable = { rq_t < 1447 } }
if = {
limit = {
NOT = { has_tech = turbine_engine_tech }
NOT = { is_in_array = { array = rq_queue value = 1446 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1446 } }
NOT = { is_in_array = { array = global.rq_hid value = 1446 } }
OR = {
can_research = turbine_engine_tech
AND = {
OR = { is_in_array = { array = rq_queue value = 589 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1446 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1446 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1448 } }
if = {
limit = {
NOT = { has_tech = turbine_engine_tech_2 }
NOT = { is_in_array = { array = rq_queue value = 1447 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1447 } }
NOT = { is_in_array = { array = global.rq_hid value = 1447 } }
OR = {
can_research = turbine_engine_tech_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1446 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1447 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1447 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = turbine_engine_tech_3 }
NOT = { is_in_array = { array = rq_queue value = 1448 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1448 } }
NOT = { is_in_array = { array = global.rq_hid value = 1448 } }
OR = {
can_research = turbine_engine_tech_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1447 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1448 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1448 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1450 } }
if = {
limit = {
NOT = { has_tech = turbine_engine_tech_4 }
NOT = { is_in_array = { array = rq_queue value = 1449 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1449 } }
NOT = { is_in_array = { array = global.rq_hid value = 1449 } }
OR = {
can_research = turbine_engine_tech_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1448 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1449 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1449 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1451 } }
if = {
limit = {
NOT = { has_tech = turbine_engine_tech_5 }
NOT = { is_in_array = { array = rq_queue value = 1450 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1450 } }
NOT = { is_in_array = { array = global.rq_hid value = 1450 } }
OR = {
can_research = turbine_engine_tech_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1449 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1450 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1450 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1458 } }
if = {
limit = { check_variable = { rq_t < 1455 } }
if = {
limit = { check_variable = { rq_t < 1453 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1454 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1456 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1457 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1461 } }
if = {
limit = { check_variable = { rq_t < 1459 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1460 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1462 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1463 } }
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1476 } }
if = {
limit = { check_variable = { rq_t < 1470 } }
if = {
limit = { check_variable = { rq_t < 1467 } }
if = {
limit = { check_variable = { rq_t < 1465 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1466 } }
if = {
limit = {
NOT = { has_tech = umts }
NOT = { is_in_array = { array = rq_queue value = 1465 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1465 } }
NOT = { is_in_array = { array = global.rq_hid value = 1465 } }
OR = {
can_research = umts
AND = {
OR = { is_in_array = { array = rq_queue value = 806 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1465 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1465 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = util_vehicle_1 }
NOT = { is_in_array = { array = rq_queue value = 1466 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1466 } }
NOT = { is_in_array = { array = global.rq_hid value = 1466 } }
OR = {
can_research = util_vehicle_1
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1466 }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1466 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1468 } }
if = {
limit = {
NOT = { has_tech = util_vehicle_10 }
NOT = { is_in_array = { array = rq_queue value = 1467 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1467 } }
NOT = { is_in_array = { array = global.rq_hid value = 1467 } }
OR = {
can_research = util_vehicle_10
AND = {
OR = { is_in_array = { array = rq_queue value = 1477 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1467 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1467 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1469 } }
if = {
limit = {
NOT = { has_tech = util_vehicle_11 }
NOT = { is_in_array = { array = rq_queue value = 1468 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1468 } }
NOT = { is_in_array = { array = global.rq_hid value = 1468 } }
OR = {
can_research = util_vehicle_11
AND = {
OR = { is_in_array = { array = rq_queue value = 1467 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1468 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1468 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = util_vehicle_12 }
NOT = { is_in_array = { array = rq_queue value = 1469 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1469 } }
NOT = { is_in_array = { array = global.rq_hid value = 1469 } }
OR = {
can_research = util_vehicle_12
AND = {
OR = { is_in_array = { array = rq_queue value = 1468 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1469 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1469 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1473 } }
if = {
limit = { check_variable = { rq_t < 1471 } }
if = {
limit = {
NOT = { has_tech = util_vehicle_2 }
NOT = { is_in_array = { array = rq_queue value = 1470 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1470 } }
NOT = { is_in_array = { array = global.rq_hid value = 1470 } }
OR = {
can_research = util_vehicle_2
AND = {
OR = { is_in_array = { array = rq_queue value = 1466 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1470 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1470 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1472 } }
if = {
limit = {
NOT = { has_tech = util_vehicle_3 }
NOT = { is_in_array = { array = rq_queue value = 1471 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1471 } }
NOT = { is_in_array = { array = global.rq_hid value = 1471 } }
OR = {
can_research = util_vehicle_3
AND = {
OR = { is_in_array = { array = rq_queue value = 1470 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1471 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1471 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = util_vehicle_4 }
NOT = { is_in_array = { array = rq_queue value = 1472 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1472 } }
NOT = { is_in_array = { array = global.rq_hid value = 1472 } }
OR = {
can_research = util_vehicle_4
AND = {
OR = { is_in_array = { array = rq_queue value = 1471 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1472 }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1472 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1474 } }
if = {
limit = {
NOT = { has_tech = util_vehicle_5 }
NOT = { is_in_array = { array = rq_queue value = 1473 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1473 } }
NOT = { is_in_array = { array = global.rq_hid value = 1473 } }
OR = {
can_research = util_vehicle_5
AND = {
OR = { is_in_array = { array = rq_queue value = 1472 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1473 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_util_vehicle_5 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1473 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1475 } }
if = {
limit = {
NOT = { has_tech = util_vehicle_6 }
NOT = { is_in_array = { array = rq_queue value = 1474 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1474 } }
NOT = { is_in_array = { array = global.rq_hid value = 1474 } }
OR = {
can_research = util_vehicle_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1473 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1474 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_util_vehicle_6 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1474 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = util_vehicle_7 }
NOT = { is_in_array = { array = rq_queue value = 1475 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1475 } }
NOT = { is_in_array = { array = global.rq_hid value = 1475 } }
OR = {
can_research = util_vehicle_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1474 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1475 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1475 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1482 } }
if = {
limit = { check_variable = { rq_t < 1479 } }
if = {
limit = { check_variable = { rq_t < 1477 } }
if = {
limit = {
NOT = { has_tech = util_vehicle_8 }
NOT = { is_in_array = { array = rq_queue value = 1476 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1476 } }
NOT = { is_in_array = { array = global.rq_hid value = 1476 } }
OR = {
can_research = util_vehicle_8
AND = {
OR = { is_in_array = { array = rq_queue value = 1475 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1476 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1476 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1478 } }
if = {
limit = {
NOT = { has_tech = util_vehicle_9 }
NOT = { is_in_array = { array = rq_queue value = 1477 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1477 } }
NOT = { is_in_array = { array = global.rq_hid value = 1477 } }
OR = {
can_research = util_vehicle_9
AND = {
OR = { is_in_array = { array = rq_queue value = 1476 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1477 }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1477 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = utility_scale_battery_storage }
NOT = { is_in_array = { array = rq_queue value = 1478 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1478 } }
NOT = { is_in_array = { array = global.rq_hid value = 1478 } }
OR = {
can_research = utility_scale_battery_storage
AND = {
OR = { is_in_array = { array = rq_queue value = 708 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1478 }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1478 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1480 } }
if = {
limit = {
NOT = { has_tech = utility_scale_battery_storage2 }
NOT = { is_in_array = { array = rq_queue value = 1479 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1479 } }
NOT = { is_in_array = { array = global.rq_hid value = 1479 } }
OR = {
can_research = utility_scale_battery_storage2
AND = {
OR = { is_in_array = { array = rq_queue value = 1478 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1479 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1479 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1481 } }
if = {
limit = {
NOT = { has_tech = utility_scale_battery_storage3 }
NOT = { is_in_array = { array = rq_queue value = 1480 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1480 } }
NOT = { is_in_array = { array = global.rq_hid value = 1480 } }
OR = {
can_research = utility_scale_battery_storage3
AND = {
OR = { is_in_array = { array = rq_queue value = 1479 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1480 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1480 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = utility_scale_battery_storage4 }
NOT = { is_in_array = { array = rq_queue value = 1481 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1481 } }
NOT = { is_in_array = { array = global.rq_hid value = 1481 } }
OR = {
can_research = utility_scale_battery_storage4
AND = {
OR = { is_in_array = { array = rq_queue value = 1480 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1481 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1481 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1485 } }
if = {
limit = { check_variable = { rq_t < 1483 } }
if = {
limit = {
NOT = { has_tech = utility_scale_battery_storage5 }
NOT = { is_in_array = { array = rq_queue value = 1482 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1482 } }
NOT = { is_in_array = { array = global.rq_hid value = 1482 } }
OR = {
can_research = utility_scale_battery_storage5
AND = {
OR = { is_in_array = { array = rq_queue value = 1481 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1482 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1482 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1484 } }
if = {
limit = {
NOT = { has_tech = utility_scale_battery_storage_6 }
NOT = { is_in_array = { array = rq_queue value = 1483 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1483 } }
NOT = { is_in_array = { array = global.rq_hid value = 1483 } }
OR = {
can_research = utility_scale_battery_storage_6
AND = {
OR = { is_in_array = { array = rq_queue value = 1482 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1483 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1483 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = {
NOT = { has_tech = utility_scale_battery_storage_7 }
NOT = { is_in_array = { array = rq_queue value = 1484 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1484 } }
NOT = { is_in_array = { array = global.rq_hid value = 1484 } }
OR = {
can_research = utility_scale_battery_storage_7
AND = {
OR = { is_in_array = { array = rq_queue value = 1483 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1484 }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1484 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1486 } }
if = {
limit = {
NOT = { has_tech = variable_wing_design }
NOT = { is_in_array = { array = rq_queue value = 1485 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1485 } }
NOT = { is_in_array = { array = global.rq_hid value = 1485 } }
OR = {
can_research = variable_wing_design
AND = {
OR = { is_in_array = { array = rq_queue value = 678 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1485 }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1485 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1487 } }
if = {
limit = {
NOT = { has_tech = wimax }
NOT = { is_in_array = { array = rq_queue value = 1486 } }
NOT = { is_in_array = { array = rq_ap_ban value = 1486 } }
NOT = { is_in_array = { array = global.rq_hid value = 1486 } }
NOT = { has_tech = lte }
NOT = { is_in_array = { array = rq_queue value = 841 } }
OR = {
can_research = wimax
AND = {
OR = { is_in_array = { array = rq_queue value = 807 } }
}
}
}
set_temp_variable = { rq_ap_ok = 1 }
if = {
limit = { check_variable = { rq_ap_chk = 0 } }
set_temp_variable = { rq_t = 1486 }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { OR = { has_tech = lte is_researching_technology = lte } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
set_temp_variable = { rq_ap_n = 1 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
set_temp_variable = { rq_ap_p = 0 }
if = { limit = { is_in_array = { array = rq_ap_pb value = 1486 } } set_temp_variable = { rq_ap_p = 1 } }
rq_ap_score = yes
}
}
}
else = {
}
}
}
}
}
}
}
}
}
}
}
}
rq_ap_kids = {
set_temp_variable = { rq_ap_chk = 0 }
if = {
limit = { check_variable = { rq_t < 744 } }
if = {
limit = { check_variable = { rq_t < 372 } }
if = {
limit = { check_variable = { rq_t < 186 } }
if = {
limit = { check_variable = { rq_t < 93 } }
if = {
limit = { check_variable = { rq_t < 47 } }
if = {
limit = { check_variable = { rq_t < 24 } }
if = {
limit = { check_variable = { rq_t < 12 } }
if = {
limit = { check_variable = { rq_t < 6 } }
if = {
limit = { check_variable = { rq_t < 3 } }
if = {
limit = { check_variable = { rq_t < 2 } }
set_temp_variable = { rq_t = 49 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 3 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 4 } }
set_temp_variable = { rq_t = 50 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 5 } }
set_temp_variable = { rq_t = 52 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 9 } }
if = {
limit = { check_variable = { rq_t < 7 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 8 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 10 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 11 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 18 } }
if = {
limit = { check_variable = { rq_t < 15 } }
if = {
limit = { check_variable = { rq_t < 13 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 14 } }
}
else = {
set_temp_variable = { rq_t = 15 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 16 } }
set_temp_variable = { rq_t = 16 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 17 } }
set_temp_variable = { rq_t = 17 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 18 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 21 } }
if = {
limit = { check_variable = { rq_t < 19 } }
set_temp_variable = { rq_t = 19 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 20 } }
set_temp_variable = { rq_t = 20 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 21 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 22 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 23 } }
set_temp_variable = { rq_t = 23 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 29 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 35 } }
if = {
limit = { check_variable = { rq_t < 29 } }
if = {
limit = { check_variable = { rq_t < 26 } }
if = {
limit = { check_variable = { rq_t < 25 } }
}
else = {
set_temp_variable = { rq_t = 30 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 27 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 28 } }
set_temp_variable = { rq_t = 31 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 32 } }
if = {
limit = { check_variable = { rq_t < 30 } }
set_temp_variable = { rq_t = 24 } rq_ap_one = yes
set_temp_variable = { rq_t = 25 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 31 } }
set_temp_variable = { rq_t = 26 } rq_ap_one = yes
set_temp_variable = { rq_t = 27 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 28 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 33 } }
set_temp_variable = { rq_t = 54 } rq_ap_one = yes
set_temp_variable = { rq_t = 152 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 34 } }
set_temp_variable = { rq_t = 55 } rq_ap_one = yes
set_temp_variable = { rq_t = 153 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 56 } rq_ap_one = yes
set_temp_variable = { rq_t = 154 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 41 } }
if = {
limit = { check_variable = { rq_t < 38 } }
if = {
limit = { check_variable = { rq_t < 36 } }
set_temp_variable = { rq_t = 57 } rq_ap_one = yes
set_temp_variable = { rq_t = 155 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 37 } }
set_temp_variable = { rq_t = 58 } rq_ap_one = yes
set_temp_variable = { rq_t = 156 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 59 } rq_ap_one = yes
set_temp_variable = { rq_t = 157 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 39 } }
set_temp_variable = { rq_t = 60 } rq_ap_one = yes
set_temp_variable = { rq_t = 158 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 40 } }
set_temp_variable = { rq_t = 61 } rq_ap_one = yes
set_temp_variable = { rq_t = 159 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 44 } }
if = {
limit = { check_variable = { rq_t < 42 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 43 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 45 } }
set_temp_variable = { rq_t = 40 } rq_ap_one = yes
set_temp_variable = { rq_t = 45 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 46 } }
set_temp_variable = { rq_t = 41 } rq_ap_one = yes
set_temp_variable = { rq_t = 46 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 42 } rq_ap_one = yes
set_temp_variable = { rq_t = 47 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 70 } }
if = {
limit = { check_variable = { rq_t < 58 } }
if = {
limit = { check_variable = { rq_t < 52 } }
if = {
limit = { check_variable = { rq_t < 49 } }
if = {
limit = { check_variable = { rq_t < 48 } }
set_temp_variable = { rq_t = 43 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1 } rq_ap_one = yes
set_temp_variable = { rq_t = 295 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 50 } }
set_temp_variable = { rq_t = 2 } rq_ap_one = yes
set_temp_variable = { rq_t = 296 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 51 } }
set_temp_variable = { rq_t = 51 } rq_ap_one = yes
set_temp_variable = { rq_t = 297 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 4 } rq_ap_one = yes
set_temp_variable = { rq_t = 298 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 55 } }
if = {
limit = { check_variable = { rq_t < 53 } }
set_temp_variable = { rq_t = 299 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 54 } }
set_temp_variable = { rq_t = 32 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 33 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 56 } }
set_temp_variable = { rq_t = 34 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 57 } }
set_temp_variable = { rq_t = 35 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 36 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 64 } }
if = {
limit = { check_variable = { rq_t < 61 } }
if = {
limit = { check_variable = { rq_t < 59 } }
set_temp_variable = { rq_t = 37 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 60 } }
set_temp_variable = { rq_t = 38 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 39 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 62 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 63 } }
set_temp_variable = { rq_t = 66 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 64 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 67 } }
if = {
limit = { check_variable = { rq_t < 65 } }
set_temp_variable = { rq_t = 65 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 66 } }
}
else = {
set_temp_variable = { rq_t = 67 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 68 } }
set_temp_variable = { rq_t = 68 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 69 } }
set_temp_variable = { rq_t = 69 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 70 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 81 } }
if = {
limit = { check_variable = { rq_t < 75 } }
if = {
limit = { check_variable = { rq_t < 72 } }
if = {
limit = { check_variable = { rq_t < 71 } }
set_temp_variable = { rq_t = 71 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 72 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 73 } }
set_temp_variable = { rq_t = 73 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 74 } }
set_temp_variable = { rq_t = 63 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 78 } }
if = {
limit = { check_variable = { rq_t < 76 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 77 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 79 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 80 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 87 } }
if = {
limit = { check_variable = { rq_t < 84 } }
if = {
limit = { check_variable = { rq_t < 82 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 83 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 85 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 86 } }
}
else = {
set_temp_variable = { rq_t = 87 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 90 } }
if = {
limit = { check_variable = { rq_t < 88 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 89 } }
set_temp_variable = { rq_t = 90 } rq_ap_one = yes
set_temp_variable = { rq_t = 95 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 91 } }
set_temp_variable = { rq_t = 91 } rq_ap_one = yes
set_temp_variable = { rq_t = 92 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 92 } }
set_temp_variable = { rq_t = 93 } rq_ap_one = yes
set_temp_variable = { rq_t = 94 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 93 } rq_ap_one = yes
set_temp_variable = { rq_t = 94 } rq_ap_one = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 139 } }
if = {
limit = { check_variable = { rq_t < 116 } }
if = {
limit = { check_variable = { rq_t < 104 } }
if = {
limit = { check_variable = { rq_t < 98 } }
if = {
limit = { check_variable = { rq_t < 95 } }
if = {
limit = { check_variable = { rq_t < 94 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 96 } }
set_temp_variable = { rq_t = 96 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 97 } }
set_temp_variable = { rq_t = 89 } rq_ap_one = yes
set_temp_variable = { rq_t = 97 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 101 } }
if = {
limit = { check_variable = { rq_t < 99 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 100 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 102 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 103 } }
}
else = {
set_temp_variable = { rq_t = 14 } rq_ap_one = yes
set_temp_variable = { rq_t = 173 } rq_ap_one = yes
set_temp_variable = { rq_t = 220 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 110 } }
if = {
limit = { check_variable = { rq_t < 107 } }
if = {
limit = { check_variable = { rq_t < 105 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 106 } }
set_temp_variable = { rq_t = 106 } rq_ap_one = yes
set_temp_variable = { rq_t = 327 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 111 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 108 } }
set_temp_variable = { rq_t = 108 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 109 } }
set_temp_variable = { rq_t = 109 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 113 } }
if = {
limit = { check_variable = { rq_t < 111 } }
set_temp_variable = { rq_t = 112 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 112 } }
set_temp_variable = { rq_t = 113 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 114 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 114 } }
set_temp_variable = { rq_t = 115 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 115 } }
set_temp_variable = { rq_t = 116 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 117 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 127 } }
if = {
limit = { check_variable = { rq_t < 121 } }
if = {
limit = { check_variable = { rq_t < 118 } }
if = {
limit = { check_variable = { rq_t < 117 } }
set_temp_variable = { rq_t = 118 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 119 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 119 } }
set_temp_variable = { rq_t = 120 } rq_ap_one = yes
set_temp_variable = { rq_t = 150 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 120 } }
set_temp_variable = { rq_t = 121 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 122 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 124 } }
if = {
limit = { check_variable = { rq_t < 122 } }
set_temp_variable = { rq_t = 123 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 123 } }
set_temp_variable = { rq_t = 124 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 125 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 125 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 126 } }
set_temp_variable = { rq_t = 107 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 110 } rq_ap_one = yes
set_temp_variable = { rq_t = 328 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 133 } }
if = {
limit = { check_variable = { rq_t < 130 } }
if = {
limit = { check_variable = { rq_t < 128 } }
set_temp_variable = { rq_t = 131 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 129 } }
set_temp_variable = { rq_t = 129 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 130 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 131 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 132 } }
set_temp_variable = { rq_t = 132 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 133 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 136 } }
if = {
limit = { check_variable = { rq_t < 134 } }
set_temp_variable = { rq_t = 134 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 135 } }
set_temp_variable = { rq_t = 135 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 136 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 137 } }
set_temp_variable = { rq_t = 137 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 138 } }
set_temp_variable = { rq_t = 138 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 128 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 162 } }
if = {
limit = { check_variable = { rq_t < 150 } }
if = {
limit = { check_variable = { rq_t < 144 } }
if = {
limit = { check_variable = { rq_t < 141 } }
if = {
limit = { check_variable = { rq_t < 140 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 142 } }
set_temp_variable = { rq_t = 142 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 143 } }
set_temp_variable = { rq_t = 144 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 145 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 147 } }
if = {
limit = { check_variable = { rq_t < 145 } }
set_temp_variable = { rq_t = 146 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 146 } }
}
else = {
set_temp_variable = { rq_t = 147 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 148 } }
set_temp_variable = { rq_t = 148 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 149 } }
set_temp_variable = { rq_t = 149 } rq_ap_one = yes
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 156 } }
if = {
limit = { check_variable = { rq_t < 153 } }
if = {
limit = { check_variable = { rq_t < 151 } }
set_temp_variable = { rq_t = 143 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 152 } }
set_temp_variable = { rq_t = 32 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 33 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 154 } }
set_temp_variable = { rq_t = 34 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 155 } }
set_temp_variable = { rq_t = 35 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 36 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 159 } }
if = {
limit = { check_variable = { rq_t < 157 } }
set_temp_variable = { rq_t = 37 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 158 } }
set_temp_variable = { rq_t = 38 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 39 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 160 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 161 } }
set_temp_variable = { rq_t = 161 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 165 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 174 } }
if = {
limit = { check_variable = { rq_t < 168 } }
if = {
limit = { check_variable = { rq_t < 165 } }
if = {
limit = { check_variable = { rq_t < 163 } }
set_temp_variable = { rq_t = 163 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 164 } }
set_temp_variable = { rq_t = 164 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 166 } }
set_temp_variable = { rq_t = 166 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 167 } }
set_temp_variable = { rq_t = 167 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 168 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 171 } }
if = {
limit = { check_variable = { rq_t < 169 } }
set_temp_variable = { rq_t = 169 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 170 } }
set_temp_variable = { rq_t = 170 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 171 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 172 } }
set_temp_variable = { rq_t = 172 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 173 } }
set_temp_variable = { rq_t = 162 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 174 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 180 } }
if = {
limit = { check_variable = { rq_t < 177 } }
if = {
limit = { check_variable = { rq_t < 175 } }
set_temp_variable = { rq_t = 175 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 176 } }
set_temp_variable = { rq_t = 176 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 177 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 178 } }
set_temp_variable = { rq_t = 178 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 179 } }
set_temp_variable = { rq_t = 179 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 180 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 183 } }
if = {
limit = { check_variable = { rq_t < 181 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 182 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 184 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 185 } }
}
else = {
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 279 } }
if = {
limit = { check_variable = { rq_t < 232 } }
if = {
limit = { check_variable = { rq_t < 209 } }
if = {
limit = { check_variable = { rq_t < 197 } }
if = {
limit = { check_variable = { rq_t < 191 } }
if = {
limit = { check_variable = { rq_t < 188 } }
if = {
limit = { check_variable = { rq_t < 187 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 189 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 190 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 194 } }
if = {
limit = { check_variable = { rq_t < 192 } }
set_temp_variable = { rq_t = 192 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 193 } }
set_temp_variable = { rq_t = 196 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 194 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 195 } }
set_temp_variable = { rq_t = 195 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 196 } }
}
else = {
set_temp_variable = { rq_t = 197 } rq_ap_one = yes
set_temp_variable = { rq_t = 237 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 203 } }
if = {
limit = { check_variable = { rq_t < 200 } }
if = {
limit = { check_variable = { rq_t < 198 } }
set_temp_variable = { rq_t = 198 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 199 } }
set_temp_variable = { rq_t = 199 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 200 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 201 } }
set_temp_variable = { rq_t = 201 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 202 } }
set_temp_variable = { rq_t = 202 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 203 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 206 } }
if = {
limit = { check_variable = { rq_t < 204 } }
set_temp_variable = { rq_t = 193 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 205 } }
set_temp_variable = { rq_t = 206 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 207 } }
set_temp_variable = { rq_t = 207 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 208 } }
set_temp_variable = { rq_t = 208 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 209 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 220 } }
if = {
limit = { check_variable = { rq_t < 214 } }
if = {
limit = { check_variable = { rq_t < 211 } }
if = {
limit = { check_variable = { rq_t < 210 } }
set_temp_variable = { rq_t = 210 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 211 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 212 } }
set_temp_variable = { rq_t = 212 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 213 } }
set_temp_variable = { rq_t = 213 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 205 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 217 } }
if = {
limit = { check_variable = { rq_t < 215 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 216 } }
set_temp_variable = { rq_t = 74 } rq_ap_one = yes
set_temp_variable = { rq_t = 216 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 75 } rq_ap_one = yes
set_temp_variable = { rq_t = 217 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 218 } }
set_temp_variable = { rq_t = 76 } rq_ap_one = yes
set_temp_variable = { rq_t = 218 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 219 } }
set_temp_variable = { rq_t = 77 } rq_ap_one = yes
set_temp_variable = { rq_t = 219 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 78 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 226 } }
if = {
limit = { check_variable = { rq_t < 223 } }
if = {
limit = { check_variable = { rq_t < 221 } }
set_temp_variable = { rq_t = 221 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 222 } }
set_temp_variable = { rq_t = 222 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 223 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 224 } }
set_temp_variable = { rq_t = 224 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 225 } }
set_temp_variable = { rq_t = 225 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 226 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 229 } }
if = {
limit = { check_variable = { rq_t < 227 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 228 } }
set_temp_variable = { rq_t = 79 } rq_ap_one = yes
set_temp_variable = { rq_t = 228 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 80 } rq_ap_one = yes
set_temp_variable = { rq_t = 234 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 230 } }
set_temp_variable = { rq_t = 81 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 231 } }
set_temp_variable = { rq_t = 82 } rq_ap_one = yes
set_temp_variable = { rq_t = 235 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 83 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 255 } }
if = {
limit = { check_variable = { rq_t < 243 } }
if = {
limit = { check_variable = { rq_t < 237 } }
if = {
limit = { check_variable = { rq_t < 234 } }
if = {
limit = { check_variable = { rq_t < 233 } }
set_temp_variable = { rq_t = 84 } rq_ap_one = yes
set_temp_variable = { rq_t = 236 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 85 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 235 } }
set_temp_variable = { rq_t = 229 } rq_ap_one = yes
set_temp_variable = { rq_t = 230 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 236 } }
set_temp_variable = { rq_t = 231 } rq_ap_one = yes
set_temp_variable = { rq_t = 232 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 233 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 240 } }
if = {
limit = { check_variable = { rq_t < 238 } }
set_temp_variable = { rq_t = 240 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 239 } }
set_temp_variable = { rq_t = 239 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 241 } }
set_temp_variable = { rq_t = 241 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 242 } }
set_temp_variable = { rq_t = 242 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 243 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 249 } }
if = {
limit = { check_variable = { rq_t < 246 } }
if = {
limit = { check_variable = { rq_t < 244 } }
set_temp_variable = { rq_t = 244 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 245 } }
set_temp_variable = { rq_t = 245 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 246 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 247 } }
set_temp_variable = { rq_t = 247 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 248 } }
set_temp_variable = { rq_t = 238 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 252 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 252 } }
if = {
limit = { check_variable = { rq_t < 250 } }
set_temp_variable = { rq_t = 250 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 251 } }
set_temp_variable = { rq_t = 251 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 253 } }
set_temp_variable = { rq_t = 253 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 254 } }
set_temp_variable = { rq_t = 254 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 255 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 267 } }
if = {
limit = { check_variable = { rq_t < 261 } }
if = {
limit = { check_variable = { rq_t < 258 } }
if = {
limit = { check_variable = { rq_t < 256 } }
set_temp_variable = { rq_t = 256 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 257 } }
set_temp_variable = { rq_t = 257 } rq_ap_one = yes
set_temp_variable = { rq_t = 1065 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 258 } rq_ap_one = yes
set_temp_variable = { rq_t = 709 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 259 } }
set_temp_variable = { rq_t = 710 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 260 } }
set_temp_variable = { rq_t = 249 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 261 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 264 } }
if = {
limit = { check_variable = { rq_t < 262 } }
set_temp_variable = { rq_t = 262 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 263 } }
set_temp_variable = { rq_t = 263 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 264 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 265 } }
set_temp_variable = { rq_t = 265 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 266 } }
}
else = {
set_temp_variable = { rq_t = 267 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 273 } }
if = {
limit = { check_variable = { rq_t < 270 } }
if = {
limit = { check_variable = { rq_t < 268 } }
set_temp_variable = { rq_t = 269 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 269 } }
set_temp_variable = { rq_t = 272 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 273 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 271 } }
set_temp_variable = { rq_t = 271 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 272 } }
}
else = {
set_temp_variable = { rq_t = 274 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 276 } }
if = {
limit = { check_variable = { rq_t < 274 } }
set_temp_variable = { rq_t = 275 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 275 } }
}
else = {
set_temp_variable = { rq_t = 276 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 277 } }
set_temp_variable = { rq_t = 277 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 278 } }
set_temp_variable = { rq_t = 278 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 279 } rq_ap_one = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 325 } }
if = {
limit = { check_variable = { rq_t < 302 } }
if = {
limit = { check_variable = { rq_t < 290 } }
if = {
limit = { check_variable = { rq_t < 284 } }
if = {
limit = { check_variable = { rq_t < 281 } }
if = {
limit = { check_variable = { rq_t < 280 } }
set_temp_variable = { rq_t = 280 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 281 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 282 } }
set_temp_variable = { rq_t = 270 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 283 } }
set_temp_variable = { rq_t = 268 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 287 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 287 } }
if = {
limit = { check_variable = { rq_t < 285 } }
set_temp_variable = { rq_t = 285 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 286 } }
set_temp_variable = { rq_t = 286 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 288 } }
set_temp_variable = { rq_t = 288 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 289 } }
set_temp_variable = { rq_t = 289 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 290 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 296 } }
if = {
limit = { check_variable = { rq_t < 293 } }
if = {
limit = { check_variable = { rq_t < 291 } }
set_temp_variable = { rq_t = 291 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 292 } }
set_temp_variable = { rq_t = 292 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 293 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 294 } }
set_temp_variable = { rq_t = 294 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 295 } }
set_temp_variable = { rq_t = 284 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 299 } }
if = {
limit = { check_variable = { rq_t < 297 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 298 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 300 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 301 } }
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 313 } }
if = {
limit = { check_variable = { rq_t < 307 } }
if = {
limit = { check_variable = { rq_t < 304 } }
if = {
limit = { check_variable = { rq_t < 303 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 305 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 306 } }
}
else = {
set_temp_variable = { rq_t = 301 } rq_ap_one = yes
set_temp_variable = { rq_t = 406 } rq_ap_one = yes
set_temp_variable = { rq_t = 407 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 310 } }
if = {
limit = { check_variable = { rq_t < 308 } }
set_temp_variable = { rq_t = 302 } rq_ap_one = yes
set_temp_variable = { rq_t = 408 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 309 } }
set_temp_variable = { rq_t = 303 } rq_ap_one = yes
set_temp_variable = { rq_t = 409 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 304 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 311 } }
set_temp_variable = { rq_t = 311 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 312 } }
set_temp_variable = { rq_t = 1211 } rq_ap_one = yes
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 319 } }
if = {
limit = { check_variable = { rq_t < 316 } }
if = {
limit = { check_variable = { rq_t < 314 } }
set_temp_variable = { rq_t = 1212 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 315 } }
}
else = {
set_temp_variable = { rq_t = 1213 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 317 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 318 } }
set_temp_variable = { rq_t = 319 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 320 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 322 } }
if = {
limit = { check_variable = { rq_t < 320 } }
set_temp_variable = { rq_t = 321 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 321 } }
set_temp_variable = { rq_t = 322 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 323 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 323 } }
set_temp_variable = { rq_t = 324 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 324 } }
set_temp_variable = { rq_t = 325 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 326 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 348 } }
if = {
limit = { check_variable = { rq_t < 336 } }
if = {
limit = { check_variable = { rq_t < 330 } }
if = {
limit = { check_variable = { rq_t < 327 } }
if = {
limit = { check_variable = { rq_t < 326 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 328 } }
set_temp_variable = { rq_t = 317 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 329 } }
set_temp_variable = { rq_t = 318 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 609 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 333 } }
if = {
limit = { check_variable = { rq_t < 331 } }
set_temp_variable = { rq_t = 878 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 332 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 334 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 335 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 342 } }
if = {
limit = { check_variable = { rq_t < 339 } }
if = {
limit = { check_variable = { rq_t < 337 } }
set_temp_variable = { rq_t = 337 } rq_ap_one = yes
set_temp_variable = { rq_t = 750 } rq_ap_one = yes
set_temp_variable = { rq_t = 1427 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 338 } }
set_temp_variable = { rq_t = 338 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 339 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 340 } }
set_temp_variable = { rq_t = 340 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 341 } }
set_temp_variable = { rq_t = 341 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 345 } }
if = {
limit = { check_variable = { rq_t < 343 } }
set_temp_variable = { rq_t = 347 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 344 } }
set_temp_variable = { rq_t = 344 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 345 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 346 } }
set_temp_variable = { rq_t = 346 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 347 } }
}
else = {
set_temp_variable = { rq_t = 348 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 360 } }
if = {
limit = { check_variable = { rq_t < 354 } }
if = {
limit = { check_variable = { rq_t < 351 } }
if = {
limit = { check_variable = { rq_t < 349 } }
set_temp_variable = { rq_t = 349 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 350 } }
set_temp_variable = { rq_t = 350 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 352 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 353 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 357 } }
if = {
limit = { check_variable = { rq_t < 355 } }
set_temp_variable = { rq_t = 343 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 356 } }
}
else = {
set_temp_variable = { rq_t = 266 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 358 } }
set_temp_variable = { rq_t = 282 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 359 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 366 } }
if = {
limit = { check_variable = { rq_t < 363 } }
if = {
limit = { check_variable = { rq_t < 361 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 362 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 364 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 365 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 369 } }
if = {
limit = { check_variable = { rq_t < 367 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 368 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 370 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 371 } }
}
else = {
set_temp_variable = { rq_t = 372 } rq_ap_one = yes
set_temp_variable = { rq_t = 545 } rq_ap_one = yes
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 558 } }
if = {
limit = { check_variable = { rq_t < 465 } }
if = {
limit = { check_variable = { rq_t < 418 } }
if = {
limit = { check_variable = { rq_t < 395 } }
if = {
limit = { check_variable = { rq_t < 383 } }
if = {
limit = { check_variable = { rq_t < 377 } }
if = {
limit = { check_variable = { rq_t < 374 } }
if = {
limit = { check_variable = { rq_t < 373 } }
set_temp_variable = { rq_t = 373 } rq_ap_one = yes
set_temp_variable = { rq_t = 546 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 374 } rq_ap_one = yes
set_temp_variable = { rq_t = 547 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 375 } }
set_temp_variable = { rq_t = 375 } rq_ap_one = yes
set_temp_variable = { rq_t = 548 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 376 } }
set_temp_variable = { rq_t = 376 } rq_ap_one = yes
set_temp_variable = { rq_t = 549 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 550 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 380 } }
if = {
limit = { check_variable = { rq_t < 378 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 379 } }
set_temp_variable = { rq_t = 380 } rq_ap_one = yes
set_temp_variable = { rq_t = 480 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 485 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 381 } }
set_temp_variable = { rq_t = 753 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 382 } }
set_temp_variable = { rq_t = 754 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 755 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 389 } }
if = {
limit = { check_variable = { rq_t < 386 } }
if = {
limit = { check_variable = { rq_t < 384 } }
set_temp_variable = { rq_t = 757 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 385 } }
set_temp_variable = { rq_t = 385 } rq_ap_one = yes
set_temp_variable = { rq_t = 573 } rq_ap_one = yes
set_temp_variable = { rq_t = 655 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 386 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 387 } }
set_temp_variable = { rq_t = 387 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 388 } }
set_temp_variable = { rq_t = 388 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 389 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 392 } }
if = {
limit = { check_variable = { rq_t < 390 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 391 } }
}
else = {
set_temp_variable = { rq_t = 397 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 393 } }
set_temp_variable = { rq_t = 393 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 394 } }
set_temp_variable = { rq_t = 394 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 395 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 406 } }
if = {
limit = { check_variable = { rq_t < 400 } }
if = {
limit = { check_variable = { rq_t < 397 } }
if = {
limit = { check_variable = { rq_t < 396 } }
set_temp_variable = { rq_t = 396 } rq_ap_one = yes
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 398 } }
set_temp_variable = { rq_t = 398 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 399 } }
set_temp_variable = { rq_t = 399 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 400 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 403 } }
if = {
limit = { check_variable = { rq_t < 401 } }
set_temp_variable = { rq_t = 401 } rq_ap_one = yes
set_temp_variable = { rq_t = 1137 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 402 } }
set_temp_variable = { rq_t = 402 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 403 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 404 } }
set_temp_variable = { rq_t = 404 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 405 } }
set_temp_variable = { rq_t = 392 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 306 } rq_ap_one = yes
set_temp_variable = { rq_t = 1258 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 412 } }
if = {
limit = { check_variable = { rq_t < 409 } }
if = {
limit = { check_variable = { rq_t < 407 } }
set_temp_variable = { rq_t = 1259 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 408 } }
set_temp_variable = { rq_t = 307 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 308 } rq_ap_one = yes
set_temp_variable = { rq_t = 1260 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 410 } }
set_temp_variable = { rq_t = 309 } rq_ap_one = yes
set_temp_variable = { rq_t = 1261 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 411 } }
set_temp_variable = { rq_t = 411 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 412 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 415 } }
if = {
limit = { check_variable = { rq_t < 413 } }
set_temp_variable = { rq_t = 413 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 414 } }
set_temp_variable = { rq_t = 414 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 415 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 416 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 417 } }
set_temp_variable = { rq_t = 417 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 418 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 441 } }
if = {
limit = { check_variable = { rq_t < 429 } }
if = {
limit = { check_variable = { rq_t < 423 } }
if = {
limit = { check_variable = { rq_t < 420 } }
if = {
limit = { check_variable = { rq_t < 419 } }
set_temp_variable = { rq_t = 419 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 420 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 421 } }
set_temp_variable = { rq_t = 421 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 422 } }
set_temp_variable = { rq_t = 422 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 426 } }
if = {
limit = { check_variable = { rq_t < 424 } }
set_temp_variable = { rq_t = 424 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 425 } }
set_temp_variable = { rq_t = 425 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 426 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 427 } }
set_temp_variable = { rq_t = 427 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 428 } }
set_temp_variable = { rq_t = 428 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 429 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 435 } }
if = {
limit = { check_variable = { rq_t < 432 } }
if = {
limit = { check_variable = { rq_t < 430 } }
set_temp_variable = { rq_t = 430 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 431 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 433 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 434 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 438 } }
if = {
limit = { check_variable = { rq_t < 436 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 437 } }
}
else = {
set_temp_variable = { rq_t = 438 } rq_ap_one = yes
set_temp_variable = { rq_t = 598 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 439 } }
set_temp_variable = { rq_t = 439 } rq_ap_one = yes
set_temp_variable = { rq_t = 599 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 440 } }
set_temp_variable = { rq_t = 440 } rq_ap_one = yes
set_temp_variable = { rq_t = 444 } rq_ap_one = yes
set_temp_variable = { rq_t = 600 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 441 } rq_ap_one = yes
set_temp_variable = { rq_t = 445 } rq_ap_one = yes
set_temp_variable = { rq_t = 601 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 453 } }
if = {
limit = { check_variable = { rq_t < 447 } }
if = {
limit = { check_variable = { rq_t < 444 } }
if = {
limit = { check_variable = { rq_t < 442 } }
set_temp_variable = { rq_t = 446 } rq_ap_one = yes
set_temp_variable = { rq_t = 602 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 443 } }
}
else = {
set_temp_variable = { rq_t = 444 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 445 } }
set_temp_variable = { rq_t = 445 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 446 } }
set_temp_variable = { rq_t = 446 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 450 } }
if = {
limit = { check_variable = { rq_t < 448 } }
set_temp_variable = { rq_t = 564 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 449 } }
set_temp_variable = { rq_t = 565 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 160 } rq_ap_one = yes
set_temp_variable = { rq_t = 191 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 451 } }
set_temp_variable = { rq_t = 796 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 452 } }
set_temp_variable = { rq_t = 452 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 453 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 459 } }
if = {
limit = { check_variable = { rq_t < 456 } }
if = {
limit = { check_variable = { rq_t < 454 } }
set_temp_variable = { rq_t = 454 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 455 } }
set_temp_variable = { rq_t = 455 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 457 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 458 } }
set_temp_variable = { rq_t = 458 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 459 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 462 } }
if = {
limit = { check_variable = { rq_t < 460 } }
set_temp_variable = { rq_t = 460 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 461 } }
set_temp_variable = { rq_t = 461 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 462 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 463 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 464 } }
set_temp_variable = { rq_t = 464 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 465 } rq_ap_one = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 511 } }
if = {
limit = { check_variable = { rq_t < 488 } }
if = {
limit = { check_variable = { rq_t < 476 } }
if = {
limit = { check_variable = { rq_t < 470 } }
if = {
limit = { check_variable = { rq_t < 467 } }
if = {
limit = { check_variable = { rq_t < 466 } }
set_temp_variable = { rq_t = 466 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 467 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 468 } }
set_temp_variable = { rq_t = 468 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 469 } }
set_temp_variable = { rq_t = 469 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 470 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 473 } }
if = {
limit = { check_variable = { rq_t < 471 } }
set_temp_variable = { rq_t = 471 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 472 } }
}
else = {
set_temp_variable = { rq_t = 473 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 474 } }
set_temp_variable = { rq_t = 474 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 475 } }
set_temp_variable = { rq_t = 475 } rq_ap_one = yes
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 482 } }
if = {
limit = { check_variable = { rq_t < 479 } }
if = {
limit = { check_variable = { rq_t < 477 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 478 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 480 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 481 } }
set_temp_variable = { rq_t = 481 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 482 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 485 } }
if = {
limit = { check_variable = { rq_t < 483 } }
set_temp_variable = { rq_t = 483 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 484 } }
set_temp_variable = { rq_t = 484 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 379 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 486 } }
set_temp_variable = { rq_t = 486 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 487 } }
}
else = {
set_temp_variable = { rq_t = 488 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 499 } }
if = {
limit = { check_variable = { rq_t < 493 } }
if = {
limit = { check_variable = { rq_t < 490 } }
if = {
limit = { check_variable = { rq_t < 489 } }
set_temp_variable = { rq_t = 489 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 490 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 491 } }
set_temp_variable = { rq_t = 491 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 492 } }
}
else = {
set_temp_variable = { rq_t = 495 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 496 } }
if = {
limit = { check_variable = { rq_t < 494 } }
set_temp_variable = { rq_t = 494 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 495 } }
}
else = {
set_temp_variable = { rq_t = 496 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 497 } }
set_temp_variable = { rq_t = 497 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 498 } }
set_temp_variable = { rq_t = 498 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 499 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 505 } }
if = {
limit = { check_variable = { rq_t < 502 } }
if = {
limit = { check_variable = { rq_t < 500 } }
set_temp_variable = { rq_t = 500 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 501 } }
set_temp_variable = { rq_t = 501 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 502 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 503 } }
set_temp_variable = { rq_t = 493 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 504 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 508 } }
if = {
limit = { check_variable = { rq_t < 506 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 507 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 509 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 510 } }
}
else = {
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 534 } }
if = {
limit = { check_variable = { rq_t < 522 } }
if = {
limit = { check_variable = { rq_t < 516 } }
if = {
limit = { check_variable = { rq_t < 513 } }
if = {
limit = { check_variable = { rq_t < 512 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 514 } }
set_temp_variable = { rq_t = 566 } rq_ap_one = yes
set_temp_variable = { rq_t = 632 } rq_ap_one = yes
set_temp_variable = { rq_t = 869 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 515 } }
set_temp_variable = { rq_t = 515 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 519 } }
if = {
limit = { check_variable = { rq_t < 517 } }
set_temp_variable = { rq_t = 517 } rq_ap_one = yes
set_temp_variable = { rq_t = 567 } rq_ap_one = yes
set_temp_variable = { rq_t = 633 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 518 } }
set_temp_variable = { rq_t = 518 } rq_ap_one = yes
set_temp_variable = { rq_t = 568 } rq_ap_one = yes
set_temp_variable = { rq_t = 634 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 519 } rq_ap_one = yes
set_temp_variable = { rq_t = 569 } rq_ap_one = yes
set_temp_variable = { rq_t = 635 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 520 } }
set_temp_variable = { rq_t = 520 } rq_ap_one = yes
set_temp_variable = { rq_t = 570 } rq_ap_one = yes
set_temp_variable = { rq_t = 636 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 521 } }
set_temp_variable = { rq_t = 521 } rq_ap_one = yes
set_temp_variable = { rq_t = 571 } rq_ap_one = yes
set_temp_variable = { rq_t = 637 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 522 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 528 } }
if = {
limit = { check_variable = { rq_t < 525 } }
if = {
limit = { check_variable = { rq_t < 523 } }
set_temp_variable = { rq_t = 523 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 524 } }
set_temp_variable = { rq_t = 514 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 528 } rq_ap_one = yes
set_temp_variable = { rq_t = 661 } rq_ap_one = yes
set_temp_variable = { rq_t = 831 } rq_ap_one = yes
set_temp_variable = { rq_t = 1214 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 526 } }
set_temp_variable = { rq_t = 526 } rq_ap_one = yes
set_temp_variable = { rq_t = 662 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 527 } }
set_temp_variable = { rq_t = 527 } rq_ap_one = yes
set_temp_variable = { rq_t = 663 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 664 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 531 } }
if = {
limit = { check_variable = { rq_t < 529 } }
set_temp_variable = { rq_t = 529 } rq_ap_one = yes
set_temp_variable = { rq_t = 665 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 530 } }
set_temp_variable = { rq_t = 530 } rq_ap_one = yes
set_temp_variable = { rq_t = 666 } rq_ap_one = yes
set_temp_variable = { rq_t = 832 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 531 } rq_ap_one = yes
set_temp_variable = { rq_t = 667 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 532 } }
set_temp_variable = { rq_t = 532 } rq_ap_one = yes
set_temp_variable = { rq_t = 668 } rq_ap_one = yes
set_temp_variable = { rq_t = 833 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 533 } }
set_temp_variable = { rq_t = 533 } rq_ap_one = yes
set_temp_variable = { rq_t = 669 } rq_ap_one = yes
set_temp_variable = { rq_t = 834 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 534 } rq_ap_one = yes
set_temp_variable = { rq_t = 670 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 546 } }
if = {
limit = { check_variable = { rq_t < 540 } }
if = {
limit = { check_variable = { rq_t < 537 } }
if = {
limit = { check_variable = { rq_t < 535 } }
set_temp_variable = { rq_t = 535 } rq_ap_one = yes
set_temp_variable = { rq_t = 671 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 536 } }
set_temp_variable = { rq_t = 525 } rq_ap_one = yes
set_temp_variable = { rq_t = 672 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 538 } }
set_temp_variable = { rq_t = 538 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 539 } }
set_temp_variable = { rq_t = 539 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 540 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 543 } }
if = {
limit = { check_variable = { rq_t < 541 } }
set_temp_variable = { rq_t = 541 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 542 } }
set_temp_variable = { rq_t = 542 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 543 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 544 } }
set_temp_variable = { rq_t = 544 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 545 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 552 } }
if = {
limit = { check_variable = { rq_t < 549 } }
if = {
limit = { check_variable = { rq_t < 547 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 548 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 550 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 551 } }
}
else = {
set_temp_variable = { rq_t = 552 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 555 } }
if = {
limit = { check_variable = { rq_t < 553 } }
set_temp_variable = { rq_t = 553 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 554 } }
set_temp_variable = { rq_t = 554 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 748 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 556 } }
set_temp_variable = { rq_t = 105 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 557 } }
set_temp_variable = { rq_t = 126 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 558 } rq_ap_one = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 651 } }
if = {
limit = { check_variable = { rq_t < 604 } }
if = {
limit = { check_variable = { rq_t < 581 } }
if = {
limit = { check_variable = { rq_t < 569 } }
if = {
limit = { check_variable = { rq_t < 563 } }
if = {
limit = { check_variable = { rq_t < 560 } }
if = {
limit = { check_variable = { rq_t < 559 } }
set_temp_variable = { rq_t = 559 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 560 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 561 } }
set_temp_variable = { rq_t = 561 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 562 } }
set_temp_variable = { rq_t = 562 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 563 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 566 } }
if = {
limit = { check_variable = { rq_t < 564 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 565 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 567 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 568 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 575 } }
if = {
limit = { check_variable = { rq_t < 572 } }
if = {
limit = { check_variable = { rq_t < 570 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 571 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 573 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 574 } }
set_temp_variable = { rq_t = 574 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 575 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 578 } }
if = {
limit = { check_variable = { rq_t < 576 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 577 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 579 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 580 } }
}
else = {
set_temp_variable = { rq_t = 711 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 592 } }
if = {
limit = { check_variable = { rq_t < 586 } }
if = {
limit = { check_variable = { rq_t < 583 } }
if = {
limit = { check_variable = { rq_t < 582 } }
set_temp_variable = { rq_t = 582 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 583 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 584 } }
set_temp_variable = { rq_t = 584 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 585 } }
set_temp_variable = { rq_t = 585 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 586 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 589 } }
if = {
limit = { check_variable = { rq_t < 587 } }
set_temp_variable = { rq_t = 587 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 588 } }
}
else = {
set_temp_variable = { rq_t = 711 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 590 } }
set_temp_variable = { rq_t = 590 } rq_ap_one = yes
set_temp_variable = { rq_t = 612 } rq_ap_one = yes
set_temp_variable = { rq_t = 1446 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 591 } }
set_temp_variable = { rq_t = 591 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 592 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 598 } }
if = {
limit = { check_variable = { rq_t < 595 } }
if = {
limit = { check_variable = { rq_t < 593 } }
set_temp_variable = { rq_t = 593 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 594 } }
set_temp_variable = { rq_t = 594 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 595 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 596 } }
set_temp_variable = { rq_t = 596 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 597 } }
set_temp_variable = { rq_t = 597 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 601 } }
if = {
limit = { check_variable = { rq_t < 599 } }
set_temp_variable = { rq_t = 1215 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 600 } }
set_temp_variable = { rq_t = 1216 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1217 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 602 } }
set_temp_variable = { rq_t = 1218 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 603 } }
set_temp_variable = { rq_t = 1219 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1220 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 627 } }
if = {
limit = { check_variable = { rq_t < 615 } }
if = {
limit = { check_variable = { rq_t < 609 } }
if = {
limit = { check_variable = { rq_t < 606 } }
if = {
limit = { check_variable = { rq_t < 605 } }
set_temp_variable = { rq_t = 437 } rq_ap_one = yes
set_temp_variable = { rq_t = 650 } rq_ap_one = yes
set_temp_variable = { rq_t = 678 } rq_ap_one = yes
set_temp_variable = { rq_t = 715 } rq_ap_one = yes
set_temp_variable = { rq_t = 716 } rq_ap_one = yes
set_temp_variable = { rq_t = 717 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 886 } rq_ap_one = yes
set_temp_variable = { rq_t = 1205 } rq_ap_one = yes
set_temp_variable = { rq_t = 1440 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 607 } }
set_temp_variable = { rq_t = 22 } rq_ap_one = yes
set_temp_variable = { rq_t = 227 } rq_ap_one = yes
set_temp_variable = { rq_t = 310 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 608 } }
}
else = {
set_temp_variable = { rq_t = 1131 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 612 } }
if = {
limit = { check_variable = { rq_t < 610 } }
set_temp_variable = { rq_t = 1136 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 611 } }
set_temp_variable = { rq_t = 336 } rq_ap_one = yes
set_temp_variable = { rq_t = 371 } rq_ap_one = yes
set_temp_variable = { rq_t = 892 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 613 } }
set_temp_variable = { rq_t = 613 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 614 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 621 } }
if = {
limit = { check_variable = { rq_t < 618 } }
if = {
limit = { check_variable = { rq_t < 616 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 617 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 619 } }
set_temp_variable = { rq_t = 624 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 620 } }
set_temp_variable = { rq_t = 620 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 621 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 624 } }
if = {
limit = { check_variable = { rq_t < 622 } }
set_temp_variable = { rq_t = 622 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 623 } }
set_temp_variable = { rq_t = 623 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 625 } }
set_temp_variable = { rq_t = 625 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 626 } }
set_temp_variable = { rq_t = 626 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 627 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 639 } }
if = {
limit = { check_variable = { rq_t < 633 } }
if = {
limit = { check_variable = { rq_t < 630 } }
if = {
limit = { check_variable = { rq_t < 628 } }
set_temp_variable = { rq_t = 628 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 629 } }
set_temp_variable = { rq_t = 629 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 630 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 631 } }
set_temp_variable = { rq_t = 631 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 632 } }
set_temp_variable = { rq_t = 619 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 636 } }
if = {
limit = { check_variable = { rq_t < 634 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 635 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 637 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 638 } }
}
else = {
set_temp_variable = { rq_t = 639 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 645 } }
if = {
limit = { check_variable = { rq_t < 642 } }
if = {
limit = { check_variable = { rq_t < 640 } }
set_temp_variable = { rq_t = 640 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 641 } }
set_temp_variable = { rq_t = 641 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 642 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 643 } }
set_temp_variable = { rq_t = 643 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 644 } }
set_temp_variable = { rq_t = 644 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 645 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 648 } }
if = {
limit = { check_variable = { rq_t < 646 } }
set_temp_variable = { rq_t = 649 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 647 } }
set_temp_variable = { rq_t = 647 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 648 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 649 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 650 } }
set_temp_variable = { rq_t = 646 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 651 } rq_ap_one = yes
set_temp_variable = { rq_t = 1129 } rq_ap_one = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 697 } }
if = {
limit = { check_variable = { rq_t < 674 } }
if = {
limit = { check_variable = { rq_t < 662 } }
if = {
limit = { check_variable = { rq_t < 656 } }
if = {
limit = { check_variable = { rq_t < 653 } }
if = {
limit = { check_variable = { rq_t < 652 } }
set_temp_variable = { rq_t = 652 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 653 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 654 } }
set_temp_variable = { rq_t = 654 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 655 } }
}
else = {
set_temp_variable = { rq_t = 656 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 659 } }
if = {
limit = { check_variable = { rq_t < 657 } }
set_temp_variable = { rq_t = 657 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 658 } }
set_temp_variable = { rq_t = 658 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 659 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 660 } }
set_temp_variable = { rq_t = 660 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 661 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 668 } }
if = {
limit = { check_variable = { rq_t < 665 } }
if = {
limit = { check_variable = { rq_t < 663 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 664 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 666 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 667 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 671 } }
if = {
limit = { check_variable = { rq_t < 669 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 670 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 672 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 673 } }
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 685 } }
if = {
limit = { check_variable = { rq_t < 679 } }
if = {
limit = { check_variable = { rq_t < 676 } }
if = {
limit = { check_variable = { rq_t < 675 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 677 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 678 } }
}
else = {
set_temp_variable = { rq_t = 714 } rq_ap_one = yes
set_temp_variable = { rq_t = 797 } rq_ap_one = yes
set_temp_variable = { rq_t = 1127 } rq_ap_one = yes
set_temp_variable = { rq_t = 1485 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 682 } }
if = {
limit = { check_variable = { rq_t < 680 } }
set_temp_variable = { rq_t = 680 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 681 } }
set_temp_variable = { rq_t = 681 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 682 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 683 } }
set_temp_variable = { rq_t = 683 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 684 } }
set_temp_variable = { rq_t = 684 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 685 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 691 } }
if = {
limit = { check_variable = { rq_t < 688 } }
if = {
limit = { check_variable = { rq_t < 686 } }
set_temp_variable = { rq_t = 686 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 687 } }
}
else = {
set_temp_variable = { rq_t = 688 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 689 } }
set_temp_variable = { rq_t = 689 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 690 } }
set_temp_variable = { rq_t = 690 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 691 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 694 } }
if = {
limit = { check_variable = { rq_t < 692 } }
set_temp_variable = { rq_t = 692 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 693 } }
set_temp_variable = { rq_t = 694 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 695 } }
set_temp_variable = { rq_t = 695 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 696 } }
set_temp_variable = { rq_t = 696 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 693 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 720 } }
if = {
limit = { check_variable = { rq_t < 708 } }
if = {
limit = { check_variable = { rq_t < 702 } }
if = {
limit = { check_variable = { rq_t < 699 } }
if = {
limit = { check_variable = { rq_t < 698 } }
set_temp_variable = { rq_t = 700 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 699 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 700 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 701 } }
set_temp_variable = { rq_t = 701 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 702 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 705 } }
if = {
limit = { check_variable = { rq_t < 703 } }
set_temp_variable = { rq_t = 703 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 704 } }
set_temp_variable = { rq_t = 704 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 705 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 706 } }
set_temp_variable = { rq_t = 706 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 707 } }
set_temp_variable = { rq_t = 707 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 698 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 714 } }
if = {
limit = { check_variable = { rq_t < 711 } }
if = {
limit = { check_variable = { rq_t < 709 } }
set_temp_variable = { rq_t = 608 } rq_ap_one = yes
set_temp_variable = { rq_t = 618 } rq_ap_one = yes
set_temp_variable = { rq_t = 638 } rq_ap_one = yes
set_temp_variable = { rq_t = 687 } rq_ap_one = yes
set_temp_variable = { rq_t = 697 } rq_ap_one = yes
set_temp_variable = { rq_t = 1478 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 710 } }
}
else = {
set_temp_variable = { rq_t = 259 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 712 } }
set_temp_variable = { rq_t = 712 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 713 } }
set_temp_variable = { rq_t = 713 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 717 } }
if = {
limit = { check_variable = { rq_t < 715 } }
set_temp_variable = { rq_t = 588 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 716 } }
set_temp_variable = { rq_t = 718 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 719 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 718 } }
set_temp_variable = { rq_t = 720 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 719 } }
set_temp_variable = { rq_t = 721 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 722 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 732 } }
if = {
limit = { check_variable = { rq_t < 726 } }
if = {
limit = { check_variable = { rq_t < 723 } }
if = {
limit = { check_variable = { rq_t < 721 } }
set_temp_variable = { rq_t = 723 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 722 } }
set_temp_variable = { rq_t = 724 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 725 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 724 } }
set_temp_variable = { rq_t = 726 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 725 } }
set_temp_variable = { rq_t = 727 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 728 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 729 } }
if = {
limit = { check_variable = { rq_t < 727 } }
set_temp_variable = { rq_t = 729 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 728 } }
set_temp_variable = { rq_t = 730 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 731 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 730 } }
set_temp_variable = { rq_t = 732 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 731 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 738 } }
if = {
limit = { check_variable = { rq_t < 735 } }
if = {
limit = { check_variable = { rq_t < 733 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 734 } }
set_temp_variable = { rq_t = 741 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 735 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 736 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 737 } }
set_temp_variable = { rq_t = 737 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 738 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 741 } }
if = {
limit = { check_variable = { rq_t < 739 } }
set_temp_variable = { rq_t = 739 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 740 } }
set_temp_variable = { rq_t = 740 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 742 } }
set_temp_variable = { rq_t = 551 } rq_ap_one = yes
set_temp_variable = { rq_t = 742 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 743 } }
set_temp_variable = { rq_t = 743 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 744 } rq_ap_one = yes
}
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1116 } }
if = {
limit = { check_variable = { rq_t < 930 } }
if = {
limit = { check_variable = { rq_t < 837 } }
if = {
limit = { check_variable = { rq_t < 790 } }
if = {
limit = { check_variable = { rq_t < 767 } }
if = {
limit = { check_variable = { rq_t < 755 } }
if = {
limit = { check_variable = { rq_t < 749 } }
if = {
limit = { check_variable = { rq_t < 746 } }
if = {
limit = { check_variable = { rq_t < 745 } }
set_temp_variable = { rq_t = 745 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 746 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 747 } }
set_temp_variable = { rq_t = 747 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 748 } }
set_temp_variable = { rq_t = 748 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 734 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 752 } }
if = {
limit = { check_variable = { rq_t < 750 } }
set_temp_variable = { rq_t = 611 } rq_ap_one = yes
set_temp_variable = { rq_t = 806 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 751 } }
set_temp_variable = { rq_t = 751 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1113 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 753 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 754 } }
set_temp_variable = { rq_t = 381 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 382 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 761 } }
if = {
limit = { check_variable = { rq_t < 758 } }
if = {
limit = { check_variable = { rq_t < 756 } }
set_temp_variable = { rq_t = 756 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 757 } }
set_temp_variable = { rq_t = 383 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 758 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 759 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 760 } }
set_temp_variable = { rq_t = 967 } rq_ap_one = yes
set_temp_variable = { rq_t = 1056 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 764 } }
if = {
limit = { check_variable = { rq_t < 762 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 763 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 765 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 766 } }
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 778 } }
if = {
limit = { check_variable = { rq_t < 772 } }
if = {
limit = { check_variable = { rq_t < 769 } }
if = {
limit = { check_variable = { rq_t < 768 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 770 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 771 } }
}
else = {
set_temp_variable = { rq_t = 773 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 775 } }
if = {
limit = { check_variable = { rq_t < 773 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 774 } }
set_temp_variable = { rq_t = 774 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 775 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 776 } }
set_temp_variable = { rq_t = 776 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 777 } }
set_temp_variable = { rq_t = 777 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 778 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 784 } }
if = {
limit = { check_variable = { rq_t < 781 } }
if = {
limit = { check_variable = { rq_t < 779 } }
set_temp_variable = { rq_t = 779 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 780 } }
set_temp_variable = { rq_t = 780 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 772 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 782 } }
set_temp_variable = { rq_t = 329 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 783 } }
set_temp_variable = { rq_t = 330 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 787 } }
if = {
limit = { check_variable = { rq_t < 785 } }
set_temp_variable = { rq_t = 788 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 786 } }
set_temp_variable = { rq_t = 786 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 787 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 788 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 789 } }
set_temp_variable = { rq_t = 789 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 790 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 813 } }
if = {
limit = { check_variable = { rq_t < 801 } }
if = {
limit = { check_variable = { rq_t < 795 } }
if = {
limit = { check_variable = { rq_t < 792 } }
if = {
limit = { check_variable = { rq_t < 791 } }
set_temp_variable = { rq_t = 791 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 792 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 793 } }
set_temp_variable = { rq_t = 793 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 794 } }
set_temp_variable = { rq_t = 794 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 795 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 798 } }
if = {
limit = { check_variable = { rq_t < 796 } }
set_temp_variable = { rq_t = 785 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 797 } }
set_temp_variable = { rq_t = 513 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 798 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 799 } }
set_temp_variable = { rq_t = 799 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 800 } }
set_temp_variable = { rq_t = 800 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 801 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 807 } }
if = {
limit = { check_variable = { rq_t < 804 } }
if = {
limit = { check_variable = { rq_t < 802 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 803 } }
set_temp_variable = { rq_t = 805 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 804 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 805 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 806 } }
set_temp_variable = { rq_t = 749 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 813 } rq_ap_one = yes
set_temp_variable = { rq_t = 1465 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 810 } }
if = {
limit = { check_variable = { rq_t < 808 } }
set_temp_variable = { rq_t = 841 } rq_ap_one = yes
set_temp_variable = { rq_t = 1486 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 809 } }
set_temp_variable = { rq_t = 809 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 810 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 811 } }
set_temp_variable = { rq_t = 811 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 812 } }
set_temp_variable = { rq_t = 812 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 803 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 825 } }
if = {
limit = { check_variable = { rq_t < 819 } }
if = {
limit = { check_variable = { rq_t < 816 } }
if = {
limit = { check_variable = { rq_t < 814 } }
set_temp_variable = { rq_t = 814 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 815 } }
set_temp_variable = { rq_t = 815 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 816 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 817 } }
set_temp_variable = { rq_t = 817 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 818 } }
set_temp_variable = { rq_t = 818 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 819 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 822 } }
if = {
limit = { check_variable = { rq_t < 820 } }
set_temp_variable = { rq_t = 820 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 821 } }
}
else = {
set_temp_variable = { rq_t = 828 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 823 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 824 } }
set_temp_variable = { rq_t = 824 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 825 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 831 } }
if = {
limit = { check_variable = { rq_t < 828 } }
if = {
limit = { check_variable = { rq_t < 826 } }
set_temp_variable = { rq_t = 826 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 827 } }
set_temp_variable = { rq_t = 827 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 829 } }
set_temp_variable = { rq_t = 829 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 830 } }
}
else = {
set_temp_variable = { rq_t = 821 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 834 } }
if = {
limit = { check_variable = { rq_t < 832 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 833 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 835 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 836 } }
set_temp_variable = { rq_t = 836 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 837 } rq_ap_one = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 883 } }
if = {
limit = { check_variable = { rq_t < 860 } }
if = {
limit = { check_variable = { rq_t < 848 } }
if = {
limit = { check_variable = { rq_t < 842 } }
if = {
limit = { check_variable = { rq_t < 839 } }
if = {
limit = { check_variable = { rq_t < 838 } }
set_temp_variable = { rq_t = 838 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 839 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 840 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 841 } }
}
else = {
set_temp_variable = { rq_t = 808 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 845 } }
if = {
limit = { check_variable = { rq_t < 843 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 844 } }
}
else = {
set_temp_variable = { rq_t = 845 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 846 } }
set_temp_variable = { rq_t = 846 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 847 } }
set_temp_variable = { rq_t = 847 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 848 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 854 } }
if = {
limit = { check_variable = { rq_t < 851 } }
if = {
limit = { check_variable = { rq_t < 849 } }
set_temp_variable = { rq_t = 849 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 850 } }
set_temp_variable = { rq_t = 850 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 852 } }
set_temp_variable = { rq_t = 844 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 853 } }
}
else = {
set_temp_variable = { rq_t = 410 } rq_ap_one = yes
set_temp_variable = { rq_t = 854 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 857 } }
if = {
limit = { check_variable = { rq_t < 855 } }
set_temp_variable = { rq_t = 835 } rq_ap_one = yes
set_temp_variable = { rq_t = 855 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 856 } }
set_temp_variable = { rq_t = 856 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 857 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 858 } }
set_temp_variable = { rq_t = 858 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 859 } }
}
else = {
set_temp_variable = { rq_t = 771 } rq_ap_one = yes
set_temp_variable = { rq_t = 861 } rq_ap_one = yes
set_temp_variable = { rq_t = 1086 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 871 } }
if = {
limit = { check_variable = { rq_t < 865 } }
if = {
limit = { check_variable = { rq_t < 862 } }
if = {
limit = { check_variable = { rq_t < 861 } }
}
else = {
set_temp_variable = { rq_t = 862 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 863 } }
set_temp_variable = { rq_t = 863 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 864 } }
set_temp_variable = { rq_t = 864 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 865 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 868 } }
if = {
limit = { check_variable = { rq_t < 866 } }
set_temp_variable = { rq_t = 866 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 867 } }
set_temp_variable = { rq_t = 867 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 868 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 869 } }
set_temp_variable = { rq_t = 860 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 870 } }
set_temp_variable = { rq_t = 516 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 871 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 877 } }
if = {
limit = { check_variable = { rq_t < 874 } }
if = {
limit = { check_variable = { rq_t < 872 } }
set_temp_variable = { rq_t = 872 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 873 } }
set_temp_variable = { rq_t = 873 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 874 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 875 } }
set_temp_variable = { rq_t = 875 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 876 } }
set_temp_variable = { rq_t = 876 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 877 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 880 } }
if = {
limit = { check_variable = { rq_t < 878 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 879 } }
set_temp_variable = { rq_t = 781 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 880 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 881 } }
set_temp_variable = { rq_t = 881 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 882 } }
set_temp_variable = { rq_t = 882 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 883 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 906 } }
if = {
limit = { check_variable = { rq_t < 894 } }
if = {
limit = { check_variable = { rq_t < 888 } }
if = {
limit = { check_variable = { rq_t < 885 } }
if = {
limit = { check_variable = { rq_t < 884 } }
set_temp_variable = { rq_t = 884 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 885 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 886 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 887 } }
set_temp_variable = { rq_t = 887 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 888 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 891 } }
if = {
limit = { check_variable = { rq_t < 889 } }
set_temp_variable = { rq_t = 889 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 890 } }
set_temp_variable = { rq_t = 890 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 891 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 892 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 893 } }
set_temp_variable = { rq_t = 893 } rq_ap_one = yes
set_temp_variable = { rq_t = 1176 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 894 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 900 } }
if = {
limit = { check_variable = { rq_t < 897 } }
if = {
limit = { check_variable = { rq_t < 895 } }
set_temp_variable = { rq_t = 895 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 896 } }
set_temp_variable = { rq_t = 896 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 897 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 898 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 899 } }
set_temp_variable = { rq_t = 899 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 900 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 903 } }
if = {
limit = { check_variable = { rq_t < 901 } }
set_temp_variable = { rq_t = 901 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 902 } }
set_temp_variable = { rq_t = 902 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 904 } }
set_temp_variable = { rq_t = 904 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 905 } }
set_temp_variable = { rq_t = 905 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 906 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 918 } }
if = {
limit = { check_variable = { rq_t < 912 } }
if = {
limit = { check_variable = { rq_t < 909 } }
if = {
limit = { check_variable = { rq_t < 907 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 908 } }
set_temp_variable = { rq_t = 908 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 909 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 910 } }
set_temp_variable = { rq_t = 910 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 911 } }
set_temp_variable = { rq_t = 911 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 912 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 915 } }
if = {
limit = { check_variable = { rq_t < 913 } }
set_temp_variable = { rq_t = 913 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 914 } }
set_temp_variable = { rq_t = 914 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 915 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 916 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 917 } }
set_temp_variable = { rq_t = 925 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 926 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 924 } }
if = {
limit = { check_variable = { rq_t < 921 } }
if = {
limit = { check_variable = { rq_t < 919 } }
set_temp_variable = { rq_t = 927 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 920 } }
set_temp_variable = { rq_t = 928 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 929 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 922 } }
set_temp_variable = { rq_t = 930 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 923 } }
set_temp_variable = { rq_t = 931 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 932 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 927 } }
if = {
limit = { check_variable = { rq_t < 925 } }
set_temp_variable = { rq_t = 916 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 926 } }
set_temp_variable = { rq_t = 917 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 918 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 928 } }
set_temp_variable = { rq_t = 919 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 929 } }
set_temp_variable = { rq_t = 920 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 921 } rq_ap_one = yes
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1023 } }
if = {
limit = { check_variable = { rq_t < 976 } }
if = {
limit = { check_variable = { rq_t < 953 } }
if = {
limit = { check_variable = { rq_t < 941 } }
if = {
limit = { check_variable = { rq_t < 935 } }
if = {
limit = { check_variable = { rq_t < 932 } }
if = {
limit = { check_variable = { rq_t < 931 } }
set_temp_variable = { rq_t = 922 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 923 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 933 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 934 } }
set_temp_variable = { rq_t = 934 } rq_ap_one = yes
set_temp_variable = { rq_t = 989 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 935 } rq_ap_one = yes
set_temp_variable = { rq_t = 990 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 938 } }
if = {
limit = { check_variable = { rq_t < 936 } }
set_temp_variable = { rq_t = 936 } rq_ap_one = yes
set_temp_variable = { rq_t = 991 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 937 } }
set_temp_variable = { rq_t = 937 } rq_ap_one = yes
set_temp_variable = { rq_t = 992 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 938 } rq_ap_one = yes
set_temp_variable = { rq_t = 993 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 939 } }
set_temp_variable = { rq_t = 939 } rq_ap_one = yes
set_temp_variable = { rq_t = 994 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 940 } }
set_temp_variable = { rq_t = 940 } rq_ap_one = yes
set_temp_variable = { rq_t = 995 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 941 } rq_ap_one = yes
set_temp_variable = { rq_t = 996 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 947 } }
if = {
limit = { check_variable = { rq_t < 944 } }
if = {
limit = { check_variable = { rq_t < 942 } }
set_temp_variable = { rq_t = 997 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 943 } }
set_temp_variable = { rq_t = 954 } rq_ap_one = yes
set_temp_variable = { rq_t = 974 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 955 } rq_ap_one = yes
set_temp_variable = { rq_t = 1005 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 945 } }
set_temp_variable = { rq_t = 956 } rq_ap_one = yes
set_temp_variable = { rq_t = 1006 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 946 } }
set_temp_variable = { rq_t = 957 } rq_ap_one = yes
set_temp_variable = { rq_t = 1007 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 947 } rq_ap_one = yes
set_temp_variable = { rq_t = 958 } rq_ap_one = yes
set_temp_variable = { rq_t = 1008 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 950 } }
if = {
limit = { check_variable = { rq_t < 948 } }
set_temp_variable = { rq_t = 959 } rq_ap_one = yes
set_temp_variable = { rq_t = 1009 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 949 } }
set_temp_variable = { rq_t = 949 } rq_ap_one = yes
set_temp_variable = { rq_t = 1050 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 950 } rq_ap_one = yes
set_temp_variable = { rq_t = 1051 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 951 } }
set_temp_variable = { rq_t = 951 } rq_ap_one = yes
set_temp_variable = { rq_t = 1052 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 952 } }
set_temp_variable = { rq_t = 952 } rq_ap_one = yes
set_temp_variable = { rq_t = 1053 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 953 } rq_ap_one = yes
set_temp_variable = { rq_t = 1054 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 964 } }
if = {
limit = { check_variable = { rq_t < 958 } }
if = {
limit = { check_variable = { rq_t < 955 } }
if = {
limit = { check_variable = { rq_t < 954 } }
set_temp_variable = { rq_t = 1055 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 943 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 956 } }
set_temp_variable = { rq_t = 944 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 957 } }
set_temp_variable = { rq_t = 945 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 946 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 961 } }
if = {
limit = { check_variable = { rq_t < 959 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 960 } }
}
else = {
set_temp_variable = { rq_t = 961 } rq_ap_one = yes
set_temp_variable = { rq_t = 1023 } rq_ap_one = yes
set_temp_variable = { rq_t = 1036 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 962 } }
set_temp_variable = { rq_t = 962 } rq_ap_one = yes
set_temp_variable = { rq_t = 1024 } rq_ap_one = yes
set_temp_variable = { rq_t = 1037 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 963 } }
set_temp_variable = { rq_t = 963 } rq_ap_one = yes
set_temp_variable = { rq_t = 1025 } rq_ap_one = yes
set_temp_variable = { rq_t = 1038 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 964 } rq_ap_one = yes
set_temp_variable = { rq_t = 1026 } rq_ap_one = yes
set_temp_variable = { rq_t = 1039 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 970 } }
if = {
limit = { check_variable = { rq_t < 967 } }
if = {
limit = { check_variable = { rq_t < 965 } }
set_temp_variable = { rq_t = 965 } rq_ap_one = yes
set_temp_variable = { rq_t = 1027 } rq_ap_one = yes
set_temp_variable = { rq_t = 1040 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 966 } }
set_temp_variable = { rq_t = 966 } rq_ap_one = yes
set_temp_variable = { rq_t = 1028 } rq_ap_one = yes
set_temp_variable = { rq_t = 1041 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1029 } rq_ap_one = yes
set_temp_variable = { rq_t = 1042 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 968 } }
set_temp_variable = { rq_t = 968 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 969 } }
set_temp_variable = { rq_t = 969 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 970 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 973 } }
if = {
limit = { check_variable = { rq_t < 971 } }
set_temp_variable = { rq_t = 971 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 972 } }
set_temp_variable = { rq_t = 972 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 973 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 974 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 975 } }
}
else = {
set_temp_variable = { rq_t = 976 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 999 } }
if = {
limit = { check_variable = { rq_t < 987 } }
if = {
limit = { check_variable = { rq_t < 981 } }
if = {
limit = { check_variable = { rq_t < 978 } }
if = {
limit = { check_variable = { rq_t < 977 } }
set_temp_variable = { rq_t = 977 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 978 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 979 } }
set_temp_variable = { rq_t = 979 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 980 } }
set_temp_variable = { rq_t = 980 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 984 } }
if = {
limit = { check_variable = { rq_t < 982 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 983 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 985 } }
set_temp_variable = { rq_t = 985 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 986 } }
set_temp_variable = { rq_t = 986 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 987 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 993 } }
if = {
limit = { check_variable = { rq_t < 990 } }
if = {
limit = { check_variable = { rq_t < 988 } }
set_temp_variable = { rq_t = 988 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 989 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 991 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 992 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 996 } }
if = {
limit = { check_variable = { rq_t < 994 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 995 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 997 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 998 } }
}
else = {
set_temp_variable = { rq_t = 999 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1011 } }
if = {
limit = { check_variable = { rq_t < 1005 } }
if = {
limit = { check_variable = { rq_t < 1002 } }
if = {
limit = { check_variable = { rq_t < 1000 } }
set_temp_variable = { rq_t = 1000 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1001 } }
set_temp_variable = { rq_t = 1001 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1002 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1003 } }
set_temp_variable = { rq_t = 1003 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1004 } }
set_temp_variable = { rq_t = 1004 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1008 } }
if = {
limit = { check_variable = { rq_t < 1006 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1007 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1009 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1010 } }
}
else = {
set_temp_variable = { rq_t = 1011 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1017 } }
if = {
limit = { check_variable = { rq_t < 1014 } }
if = {
limit = { check_variable = { rq_t < 1012 } }
set_temp_variable = { rq_t = 1012 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1013 } }
set_temp_variable = { rq_t = 1013 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1014 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1015 } }
set_temp_variable = { rq_t = 1015 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1016 } }
set_temp_variable = { rq_t = 1016 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1020 } }
if = {
limit = { check_variable = { rq_t < 1018 } }
set_temp_variable = { rq_t = 1018 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1019 } }
set_temp_variable = { rq_t = 1019 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1020 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1021 } }
set_temp_variable = { rq_t = 1021 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1022 } }
set_temp_variable = { rq_t = 1022 } rq_ap_one = yes
}
else = {
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1069 } }
if = {
limit = { check_variable = { rq_t < 1046 } }
if = {
limit = { check_variable = { rq_t < 1034 } }
if = {
limit = { check_variable = { rq_t < 1028 } }
if = {
limit = { check_variable = { rq_t < 1025 } }
if = {
limit = { check_variable = { rq_t < 1024 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1026 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1027 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1031 } }
if = {
limit = { check_variable = { rq_t < 1029 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1030 } }
}
else = {
set_temp_variable = { rq_t = 1031 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1032 } }
set_temp_variable = { rq_t = 1032 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1033 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1040 } }
if = {
limit = { check_variable = { rq_t < 1037 } }
if = {
limit = { check_variable = { rq_t < 1035 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1036 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1038 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1039 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1043 } }
if = {
limit = { check_variable = { rq_t < 1041 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1042 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1044 } }
set_temp_variable = { rq_t = 1044 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1045 } }
set_temp_variable = { rq_t = 1045 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1046 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1057 } }
if = {
limit = { check_variable = { rq_t < 1051 } }
if = {
limit = { check_variable = { rq_t < 1048 } }
if = {
limit = { check_variable = { rq_t < 1047 } }
set_temp_variable = { rq_t = 1047 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1048 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1049 } }
set_temp_variable = { rq_t = 1049 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1050 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1054 } }
if = {
limit = { check_variable = { rq_t < 1052 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1053 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1055 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1056 } }
}
else = {
set_temp_variable = { rq_t = 1057 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1063 } }
if = {
limit = { check_variable = { rq_t < 1060 } }
if = {
limit = { check_variable = { rq_t < 1058 } }
set_temp_variable = { rq_t = 1058 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1059 } }
set_temp_variable = { rq_t = 1059 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1060 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1061 } }
set_temp_variable = { rq_t = 1061 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1062 } }
set_temp_variable = { rq_t = 1062 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1066 } }
if = {
limit = { check_variable = { rq_t < 1064 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1065 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1067 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1068 } }
}
else = {
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1092 } }
if = {
limit = { check_variable = { rq_t < 1080 } }
if = {
limit = { check_variable = { rq_t < 1074 } }
if = {
limit = { check_variable = { rq_t < 1071 } }
if = {
limit = { check_variable = { rq_t < 1070 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1072 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1073 } }
}
else = {
set_temp_variable = { rq_t = 1078 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1077 } }
if = {
limit = { check_variable = { rq_t < 1075 } }
set_temp_variable = { rq_t = 1075 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1076 } }
set_temp_variable = { rq_t = 1076 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1077 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1078 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1079 } }
set_temp_variable = { rq_t = 1079 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1080 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1086 } }
if = {
limit = { check_variable = { rq_t < 1083 } }
if = {
limit = { check_variable = { rq_t < 1081 } }
set_temp_variable = { rq_t = 1081 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1082 } }
set_temp_variable = { rq_t = 1082 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1083 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1084 } }
set_temp_variable = { rq_t = 1084 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1085 } }
set_temp_variable = { rq_t = 1085 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1089 } }
if = {
limit = { check_variable = { rq_t < 1087 } }
set_temp_variable = { rq_t = 1088 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1088 } }
}
else = {
set_temp_variable = { rq_t = 1089 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1090 } }
set_temp_variable = { rq_t = 1090 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1091 } }
set_temp_variable = { rq_t = 1091 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1092 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1104 } }
if = {
limit = { check_variable = { rq_t < 1098 } }
if = {
limit = { check_variable = { rq_t < 1095 } }
if = {
limit = { check_variable = { rq_t < 1093 } }
set_temp_variable = { rq_t = 1093 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1094 } }
set_temp_variable = { rq_t = 1094 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1095 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1096 } }
set_temp_variable = { rq_t = 1087 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1097 } }
set_temp_variable = { rq_t = 802 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1098 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1101 } }
if = {
limit = { check_variable = { rq_t < 1099 } }
set_temp_variable = { rq_t = 1099 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1100 } }
set_temp_variable = { rq_t = 1100 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1101 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1102 } }
set_temp_variable = { rq_t = 1102 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1103 } }
set_temp_variable = { rq_t = 1103 } rq_ap_one = yes
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1110 } }
if = {
limit = { check_variable = { rq_t < 1107 } }
if = {
limit = { check_variable = { rq_t < 1105 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1106 } }
}
else = {
set_temp_variable = { rq_t = 1107 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1108 } }
set_temp_variable = { rq_t = 1108 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1109 } }
set_temp_variable = { rq_t = 1109 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1110 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1113 } }
if = {
limit = { check_variable = { rq_t < 1111 } }
set_temp_variable = { rq_t = 1111 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1112 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1114 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1115 } }
}
else = {
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1302 } }
if = {
limit = { check_variable = { rq_t < 1209 } }
if = {
limit = { check_variable = { rq_t < 1162 } }
if = {
limit = { check_variable = { rq_t < 1139 } }
if = {
limit = { check_variable = { rq_t < 1127 } }
if = {
limit = { check_variable = { rq_t < 1121 } }
if = {
limit = { check_variable = { rq_t < 1118 } }
if = {
limit = { check_variable = { rq_t < 1117 } }
set_temp_variable = { rq_t = 1117 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1118 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1119 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1120 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1124 } }
if = {
limit = { check_variable = { rq_t < 1122 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1123 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1125 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1126 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1133 } }
if = {
limit = { check_variable = { rq_t < 1130 } }
if = {
limit = { check_variable = { rq_t < 1128 } }
set_temp_variable = { rq_t = 1128 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1129 } }
}
else = {
set_temp_variable = { rq_t = 1130 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1131 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1132 } }
set_temp_variable = { rq_t = 782 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1133 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1136 } }
if = {
limit = { check_variable = { rq_t < 1134 } }
set_temp_variable = { rq_t = 1134 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1135 } }
set_temp_variable = { rq_t = 1135 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1137 } }
set_temp_variable = { rq_t = 1132 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1138 } }
set_temp_variable = { rq_t = 1140 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1139 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1150 } }
if = {
limit = { check_variable = { rq_t < 1144 } }
if = {
limit = { check_variable = { rq_t < 1141 } }
if = {
limit = { check_variable = { rq_t < 1140 } }
}
else = {
set_temp_variable = { rq_t = 1141 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1142 } }
set_temp_variable = { rq_t = 1142 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1143 } }
set_temp_variable = { rq_t = 1143 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1144 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1147 } }
if = {
limit = { check_variable = { rq_t < 1145 } }
set_temp_variable = { rq_t = 1145 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1146 } }
set_temp_variable = { rq_t = 1146 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1147 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1148 } }
set_temp_variable = { rq_t = 1138 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1149 } }
set_temp_variable = { rq_t = 457 } rq_ap_one = yes
set_temp_variable = { rq_t = 1149 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1150 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1156 } }
if = {
limit = { check_variable = { rq_t < 1153 } }
if = {
limit = { check_variable = { rq_t < 1151 } }
set_temp_variable = { rq_t = 1151 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1152 } }
set_temp_variable = { rq_t = 1152 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1153 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1154 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1155 } }
set_temp_variable = { rq_t = 853 } rq_ap_one = yes
set_temp_variable = { rq_t = 1155 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1156 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1159 } }
if = {
limit = { check_variable = { rq_t < 1157 } }
set_temp_variable = { rq_t = 1157 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1158 } }
set_temp_variable = { rq_t = 1158 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1159 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1160 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1161 } }
}
else = {
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1185 } }
if = {
limit = { check_variable = { rq_t < 1173 } }
if = {
limit = { check_variable = { rq_t < 1167 } }
if = {
limit = { check_variable = { rq_t < 1164 } }
if = {
limit = { check_variable = { rq_t < 1163 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1165 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1166 } }
set_temp_variable = { rq_t = 1168 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1167 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1170 } }
if = {
limit = { check_variable = { rq_t < 1168 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1169 } }
set_temp_variable = { rq_t = 1169 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1170 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1171 } }
set_temp_variable = { rq_t = 1171 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1172 } }
set_temp_variable = { rq_t = 1172 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1173 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1179 } }
if = {
limit = { check_variable = { rq_t < 1176 } }
if = {
limit = { check_variable = { rq_t < 1174 } }
set_temp_variable = { rq_t = 1174 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1175 } }
set_temp_variable = { rq_t = 1175 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1166 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1177 } }
set_temp_variable = { rq_t = 1177 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1178 } }
set_temp_variable = { rq_t = 1178 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1179 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1182 } }
if = {
limit = { check_variable = { rq_t < 1180 } }
set_temp_variable = { rq_t = 1180 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1181 } }
set_temp_variable = { rq_t = 1181 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1183 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1184 } }
}
else = {
set_temp_variable = { rq_t = 1223 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1197 } }
if = {
limit = { check_variable = { rq_t < 1191 } }
if = {
limit = { check_variable = { rq_t < 1188 } }
if = {
limit = { check_variable = { rq_t < 1186 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1187 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1189 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1190 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1194 } }
if = {
limit = { check_variable = { rq_t < 1192 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1193 } }
set_temp_variable = { rq_t = 1193 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1194 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1195 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1196 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1203 } }
if = {
limit = { check_variable = { rq_t < 1200 } }
if = {
limit = { check_variable = { rq_t < 1198 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1199 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1201 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1202 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1206 } }
if = {
limit = { check_variable = { rq_t < 1204 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1205 } }
}
else = {
set_temp_variable = { rq_t = 1206 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1207 } }
set_temp_variable = { rq_t = 1207 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1208 } }
set_temp_variable = { rq_t = 1208 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1209 } rq_ap_one = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1255 } }
if = {
limit = { check_variable = { rq_t < 1232 } }
if = {
limit = { check_variable = { rq_t < 1220 } }
if = {
limit = { check_variable = { rq_t < 1214 } }
if = {
limit = { check_variable = { rq_t < 1211 } }
if = {
limit = { check_variable = { rq_t < 1210 } }
set_temp_variable = { rq_t = 1210 } rq_ap_one = yes
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1212 } }
set_temp_variable = { rq_t = 312 } rq_ap_one = yes
set_temp_variable = { rq_t = 313 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1213 } }
set_temp_variable = { rq_t = 314 } rq_ap_one = yes
set_temp_variable = { rq_t = 315 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 316 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1217 } }
if = {
limit = { check_variable = { rq_t < 1215 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1216 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1218 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1219 } }
}
else = {
set_temp_variable = { rq_t = 603 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1226 } }
if = {
limit = { check_variable = { rq_t < 1223 } }
if = {
limit = { check_variable = { rq_t < 1221 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1222 } }
}
else = {
set_temp_variable = { rq_t = 1184 } rq_ap_one = yes
set_temp_variable = { rq_t = 1227 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1224 } }
set_temp_variable = { rq_t = 1224 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1225 } }
set_temp_variable = { rq_t = 1225 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1226 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1229 } }
if = {
limit = { check_variable = { rq_t < 1227 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1228 } }
set_temp_variable = { rq_t = 1223 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1229 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1230 } }
set_temp_variable = { rq_t = 1230 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1231 } }
set_temp_variable = { rq_t = 1231 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1232 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1243 } }
if = {
limit = { check_variable = { rq_t < 1237 } }
if = {
limit = { check_variable = { rq_t < 1234 } }
if = {
limit = { check_variable = { rq_t < 1233 } }
set_temp_variable = { rq_t = 1233 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1234 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1235 } }
set_temp_variable = { rq_t = 1235 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1236 } }
set_temp_variable = { rq_t = 1236 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1240 } }
if = {
limit = { check_variable = { rq_t < 1238 } }
set_temp_variable = { rq_t = 1238 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1239 } }
set_temp_variable = { rq_t = 1239 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1240 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1241 } }
set_temp_variable = { rq_t = 1241 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1242 } }
set_temp_variable = { rq_t = 1242 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1243 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1249 } }
if = {
limit = { check_variable = { rq_t < 1246 } }
if = {
limit = { check_variable = { rq_t < 1244 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1245 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1247 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1248 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1252 } }
if = {
limit = { check_variable = { rq_t < 1250 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1251 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1253 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1254 } }
}
else = {
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1278 } }
if = {
limit = { check_variable = { rq_t < 1266 } }
if = {
limit = { check_variable = { rq_t < 1260 } }
if = {
limit = { check_variable = { rq_t < 1257 } }
if = {
limit = { check_variable = { rq_t < 1256 } }
}
else = {
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1258 } }
set_temp_variable = { rq_t = 300 } rq_ap_one = yes
set_temp_variable = { rq_t = 305 } rq_ap_one = yes
set_temp_variable = { rq_t = 405 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1259 } }
set_temp_variable = { rq_t = 406 } rq_ap_one = yes
set_temp_variable = { rq_t = 407 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 408 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1263 } }
if = {
limit = { check_variable = { rq_t < 1261 } }
set_temp_variable = { rq_t = 409 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1262 } }
}
else = {
set_temp_variable = { rq_t = 1263 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1264 } }
set_temp_variable = { rq_t = 1264 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1265 } }
set_temp_variable = { rq_t = 1265 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1266 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1272 } }
if = {
limit = { check_variable = { rq_t < 1269 } }
if = {
limit = { check_variable = { rq_t < 1267 } }
set_temp_variable = { rq_t = 1267 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1268 } }
set_temp_variable = { rq_t = 1268 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1269 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1270 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1271 } }
set_temp_variable = { rq_t = 1271 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1272 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1275 } }
if = {
limit = { check_variable = { rq_t < 1273 } }
set_temp_variable = { rq_t = 1273 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1274 } }
set_temp_variable = { rq_t = 1274 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1275 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1276 } }
set_temp_variable = { rq_t = 1276 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1277 } }
set_temp_variable = { rq_t = 1277 } rq_ap_one = yes
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1290 } }
if = {
limit = { check_variable = { rq_t < 1284 } }
if = {
limit = { check_variable = { rq_t < 1281 } }
if = {
limit = { check_variable = { rq_t < 1279 } }
set_temp_variable = { rq_t = 1262 } rq_ap_one = yes
set_temp_variable = { rq_t = 1270 } rq_ap_one = yes
set_temp_variable = { rq_t = 1291 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1280 } }
set_temp_variable = { rq_t = 1280 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1281 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1282 } }
set_temp_variable = { rq_t = 1282 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1283 } }
set_temp_variable = { rq_t = 1283 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1284 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1287 } }
if = {
limit = { check_variable = { rq_t < 1285 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1286 } }
set_temp_variable = { rq_t = 1286 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1287 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1288 } }
set_temp_variable = { rq_t = 1288 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1289 } }
set_temp_variable = { rq_t = 1289 } rq_ap_one = yes
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1296 } }
if = {
limit = { check_variable = { rq_t < 1293 } }
if = {
limit = { check_variable = { rq_t < 1291 } }
set_temp_variable = { rq_t = 1327 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1292 } }
set_temp_variable = { rq_t = 1292 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1293 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1294 } }
set_temp_variable = { rq_t = 1294 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1295 } }
set_temp_variable = { rq_t = 1295 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1296 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1299 } }
if = {
limit = { check_variable = { rq_t < 1297 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1298 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1300 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1301 } }
}
else = {
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1395 } }
if = {
limit = { check_variable = { rq_t < 1348 } }
if = {
limit = { check_variable = { rq_t < 1325 } }
if = {
limit = { check_variable = { rq_t < 1313 } }
if = {
limit = { check_variable = { rq_t < 1307 } }
if = {
limit = { check_variable = { rq_t < 1304 } }
if = {
limit = { check_variable = { rq_t < 1303 } }
}
else = {
set_temp_variable = { rq_t = 1305 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1305 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1306 } }
set_temp_variable = { rq_t = 1306 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1307 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1310 } }
if = {
limit = { check_variable = { rq_t < 1308 } }
set_temp_variable = { rq_t = 1308 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1309 } }
set_temp_variable = { rq_t = 1309 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1310 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1311 } }
set_temp_variable = { rq_t = 1311 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1312 } }
set_temp_variable = { rq_t = 1312 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1304 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1319 } }
if = {
limit = { check_variable = { rq_t < 1316 } }
if = {
limit = { check_variable = { rq_t < 1314 } }
set_temp_variable = { rq_t = 1314 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1315 } }
set_temp_variable = { rq_t = 1315 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1316 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1317 } }
set_temp_variable = { rq_t = 1317 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1318 } }
set_temp_variable = { rq_t = 1318 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1322 } }
if = {
limit = { check_variable = { rq_t < 1320 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1321 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1323 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1324 } }
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1336 } }
if = {
limit = { check_variable = { rq_t < 1330 } }
if = {
limit = { check_variable = { rq_t < 1327 } }
if = {
limit = { check_variable = { rq_t < 1326 } }
}
else = {
set_temp_variable = { rq_t = 1278 } rq_ap_one = yes
set_temp_variable = { rq_t = 1279 } rq_ap_one = yes
set_temp_variable = { rq_t = 1347 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1328 } }
set_temp_variable = { rq_t = 1313 } rq_ap_one = yes
set_temp_variable = { rq_t = 1338 } rq_ap_one = yes
set_temp_variable = { rq_t = 1383 } rq_ap_one = yes
set_temp_variable = { rq_t = 1391 } rq_ap_one = yes
set_temp_variable = { rq_t = 1403 } rq_ap_one = yes
set_temp_variable = { rq_t = 1411 } rq_ap_one = yes
set_temp_variable = { rq_t = 1419 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1329 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1333 } }
if = {
limit = { check_variable = { rq_t < 1331 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1332 } }
set_temp_variable = { rq_t = 1332 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1333 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1334 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1335 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1342 } }
if = {
limit = { check_variable = { rq_t < 1339 } }
if = {
limit = { check_variable = { rq_t < 1337 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1338 } }
}
else = {
set_temp_variable = { rq_t = 1339 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1340 } }
set_temp_variable = { rq_t = 1340 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1341 } }
set_temp_variable = { rq_t = 1341 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1342 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1345 } }
if = {
limit = { check_variable = { rq_t < 1343 } }
set_temp_variable = { rq_t = 1343 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1344 } }
set_temp_variable = { rq_t = 1344 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1345 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1346 } }
set_temp_variable = { rq_t = 1346 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1347 } }
}
else = {
set_temp_variable = { rq_t = 1348 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1371 } }
if = {
limit = { check_variable = { rq_t < 1359 } }
if = {
limit = { check_variable = { rq_t < 1353 } }
if = {
limit = { check_variable = { rq_t < 1350 } }
if = {
limit = { check_variable = { rq_t < 1349 } }
set_temp_variable = { rq_t = 1349 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1350 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1351 } }
set_temp_variable = { rq_t = 1351 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1352 } }
set_temp_variable = { rq_t = 1352 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1356 } }
if = {
limit = { check_variable = { rq_t < 1354 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1355 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1357 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1358 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1365 } }
if = {
limit = { check_variable = { rq_t < 1362 } }
if = {
limit = { check_variable = { rq_t < 1360 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1361 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1363 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1364 } }
}
else = {
set_temp_variable = { rq_t = 1365 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1368 } }
if = {
limit = { check_variable = { rq_t < 1366 } }
set_temp_variable = { rq_t = 1366 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1367 } }
}
else = {
set_temp_variable = { rq_t = 423 } rq_ap_one = yes
set_temp_variable = { rq_t = 870 } rq_ap_one = yes
set_temp_variable = { rq_t = 1368 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1369 } }
set_temp_variable = { rq_t = 1369 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1370 } }
set_temp_variable = { rq_t = 1370 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1371 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1383 } }
if = {
limit = { check_variable = { rq_t < 1377 } }
if = {
limit = { check_variable = { rq_t < 1374 } }
if = {
limit = { check_variable = { rq_t < 1372 } }
set_temp_variable = { rq_t = 1372 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1373 } }
set_temp_variable = { rq_t = 1373 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1375 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1376 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1380 } }
if = {
limit = { check_variable = { rq_t < 1378 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1379 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1381 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1382 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1389 } }
if = {
limit = { check_variable = { rq_t < 1386 } }
if = {
limit = { check_variable = { rq_t < 1384 } }
set_temp_variable = { rq_t = 1384 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1385 } }
set_temp_variable = { rq_t = 1385 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1386 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1387 } }
set_temp_variable = { rq_t = 1387 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1388 } }
set_temp_variable = { rq_t = 1388 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1389 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1392 } }
if = {
limit = { check_variable = { rq_t < 1390 } }
set_temp_variable = { rq_t = 1390 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1391 } }
}
else = {
set_temp_variable = { rq_t = 1392 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1393 } }
set_temp_variable = { rq_t = 1393 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1394 } }
set_temp_variable = { rq_t = 1394 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1395 } rq_ap_one = yes
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1441 } }
if = {
limit = { check_variable = { rq_t < 1418 } }
if = {
limit = { check_variable = { rq_t < 1406 } }
if = {
limit = { check_variable = { rq_t < 1400 } }
if = {
limit = { check_variable = { rq_t < 1397 } }
if = {
limit = { check_variable = { rq_t < 1396 } }
set_temp_variable = { rq_t = 1396 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1397 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1398 } }
set_temp_variable = { rq_t = 1398 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1399 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1403 } }
if = {
limit = { check_variable = { rq_t < 1401 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1402 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1404 } }
set_temp_variable = { rq_t = 1404 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1405 } }
set_temp_variable = { rq_t = 1405 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1406 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1412 } }
if = {
limit = { check_variable = { rq_t < 1409 } }
if = {
limit = { check_variable = { rq_t < 1407 } }
set_temp_variable = { rq_t = 1407 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1408 } }
set_temp_variable = { rq_t = 1408 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1409 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1410 } }
set_temp_variable = { rq_t = 1410 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1411 } }
}
else = {
set_temp_variable = { rq_t = 1412 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1415 } }
if = {
limit = { check_variable = { rq_t < 1413 } }
set_temp_variable = { rq_t = 1413 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1414 } }
set_temp_variable = { rq_t = 1414 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1415 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1416 } }
set_temp_variable = { rq_t = 1416 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1417 } }
set_temp_variable = { rq_t = 1417 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1418 } rq_ap_one = yes
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1429 } }
if = {
limit = { check_variable = { rq_t < 1423 } }
if = {
limit = { check_variable = { rq_t < 1420 } }
if = {
limit = { check_variable = { rq_t < 1419 } }
}
else = {
set_temp_variable = { rq_t = 1420 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1421 } }
set_temp_variable = { rq_t = 1421 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1422 } }
set_temp_variable = { rq_t = 1422 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1423 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1426 } }
if = {
limit = { check_variable = { rq_t < 1424 } }
set_temp_variable = { rq_t = 1424 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1425 } }
set_temp_variable = { rq_t = 1425 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1426 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1427 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1428 } }
set_temp_variable = { rq_t = 1428 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1429 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1435 } }
if = {
limit = { check_variable = { rq_t < 1432 } }
if = {
limit = { check_variable = { rq_t < 1430 } }
set_temp_variable = { rq_t = 1430 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1431 } }
set_temp_variable = { rq_t = 1431 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1432 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1433 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1434 } }
set_temp_variable = { rq_t = 1434 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1435 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1438 } }
if = {
limit = { check_variable = { rq_t < 1436 } }
set_temp_variable = { rq_t = 1436 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1437 } }
set_temp_variable = { rq_t = 1437 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1438 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1439 } }
set_temp_variable = { rq_t = 1439 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1440 } }
}
else = {
set_temp_variable = { rq_t = 1441 } rq_ap_one = yes
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1464 } }
if = {
limit = { check_variable = { rq_t < 1452 } }
if = {
limit = { check_variable = { rq_t < 1446 } }
if = {
limit = { check_variable = { rq_t < 1443 } }
if = {
limit = { check_variable = { rq_t < 1442 } }
set_temp_variable = { rq_t = 1442 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1443 } rq_ap_one = yes
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1444 } }
set_temp_variable = { rq_t = 1444 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1445 } }
set_temp_variable = { rq_t = 1445 } rq_ap_one = yes
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1449 } }
if = {
limit = { check_variable = { rq_t < 1447 } }
set_temp_variable = { rq_t = 1447 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1448 } }
set_temp_variable = { rq_t = 1448 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1449 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1450 } }
set_temp_variable = { rq_t = 1450 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1451 } }
}
else = {
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1458 } }
if = {
limit = { check_variable = { rq_t < 1455 } }
if = {
limit = { check_variable = { rq_t < 1453 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1454 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1456 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1457 } }
}
else = {
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1461 } }
if = {
limit = { check_variable = { rq_t < 1459 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1460 } }
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1462 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1463 } }
}
else = {
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1476 } }
if = {
limit = { check_variable = { rq_t < 1470 } }
if = {
limit = { check_variable = { rq_t < 1467 } }
if = {
limit = { check_variable = { rq_t < 1465 } }
}
else = {
if = {
limit = { check_variable = { rq_t < 1466 } }
set_temp_variable = { rq_t = 770 } rq_ap_one = yes
set_temp_variable = { rq_t = 807 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1470 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1468 } }
set_temp_variable = { rq_t = 181 } rq_ap_one = yes
set_temp_variable = { rq_t = 1468 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1469 } }
set_temp_variable = { rq_t = 182 } rq_ap_one = yes
set_temp_variable = { rq_t = 1469 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 183 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1473 } }
if = {
limit = { check_variable = { rq_t < 1471 } }
set_temp_variable = { rq_t = 1471 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1472 } }
set_temp_variable = { rq_t = 184 } rq_ap_one = yes
set_temp_variable = { rq_t = 1472 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 185 } rq_ap_one = yes
set_temp_variable = { rq_t = 1473 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1474 } }
set_temp_variable = { rq_t = 186 } rq_ap_one = yes
set_temp_variable = { rq_t = 1474 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1475 } }
set_temp_variable = { rq_t = 187 } rq_ap_one = yes
set_temp_variable = { rq_t = 1475 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 188 } rq_ap_one = yes
set_temp_variable = { rq_t = 1476 } rq_ap_one = yes
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1482 } }
if = {
limit = { check_variable = { rq_t < 1479 } }
if = {
limit = { check_variable = { rq_t < 1477 } }
set_temp_variable = { rq_t = 189 } rq_ap_one = yes
set_temp_variable = { rq_t = 1477 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1478 } }
set_temp_variable = { rq_t = 190 } rq_ap_one = yes
set_temp_variable = { rq_t = 1467 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1479 } rq_ap_one = yes
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1480 } }
set_temp_variable = { rq_t = 1480 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1481 } }
set_temp_variable = { rq_t = 1481 } rq_ap_one = yes
}
else = {
set_temp_variable = { rq_t = 1482 } rq_ap_one = yes
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1485 } }
if = {
limit = { check_variable = { rq_t < 1483 } }
set_temp_variable = { rq_t = 1483 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1484 } }
set_temp_variable = { rq_t = 1484 } rq_ap_one = yes
}
else = {
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1486 } }
set_temp_variable = { rq_t = 580 } rq_ap_one = yes
}
else = {
if = {
limit = { check_variable = { rq_t < 1487 } }
set_temp_variable = { rq_t = 808 } rq_ap_one = yes
}
else = {
}
}
}
}
}
}
}
}
}
}
}
}
rq_ap_weigh = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_n = 1 }
if = {
limit = { check_variable = { rq_t < 744 } }
if = {
limit = { check_variable = { rq_t < 372 } }
if = {
limit = { check_variable = { rq_t < 186 } }
if = {
limit = { check_variable = { rq_t < 93 } }
if = {
limit = { check_variable = { rq_t < 47 } }
if = {
limit = { check_variable = { rq_t < 24 } }
if = {
limit = { check_variable = { rq_t < 12 } }
if = {
limit = { check_variable = { rq_t < 6 } }
if = {
limit = { check_variable = { rq_t < 3 } }
if = {
limit = { check_variable = { rq_t < 2 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 4 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 5 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 9 } }
if = {
limit = { check_variable = { rq_t < 7 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 8 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 10 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 11 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 18 } }
if = {
limit = { check_variable = { rq_t < 15 } }
if = {
limit = { check_variable = { rq_t < 13 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 14 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 16 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 17 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 21 } }
if = {
limit = { check_variable = { rq_t < 19 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 20 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 22 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 23 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 35 } }
if = {
limit = { check_variable = { rq_t < 29 } }
if = {
limit = { check_variable = { rq_t < 26 } }
if = {
limit = { check_variable = { rq_t < 25 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = AS_Fighter4 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = AS_Fighter4 date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { original_tag = USA }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 27 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = AS_Fighter6 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = AS_Fighter6 date > 2022.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 28 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 32 } }
if = {
limit = { check_variable = { rq_t < 30 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 31 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 33 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 34 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 41 } }
if = {
limit = { check_variable = { rq_t < 38 } }
if = {
limit = { check_variable = { rq_t < 36 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 37 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 39 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 40 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 44 } }
if = {
limit = { check_variable = { rq_t < 42 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 43 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 45 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 46 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 70 } }
if = {
limit = { check_variable = { rq_t < 58 } }
if = {
limit = { check_variable = { rq_t < 52 } }
if = {
limit = { check_variable = { rq_t < 49 } }
if = {
limit = { check_variable = { rq_t < 48 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 50 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 51 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 55 } }
if = {
limit = { check_variable = { rq_t < 53 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 54 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 56 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 57 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 64 } }
if = {
limit = { check_variable = { rq_t < 61 } }
if = {
limit = { check_variable = { rq_t < 59 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 60 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 62 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 63 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 67 } }
if = {
limit = { check_variable = { rq_t < 65 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
else = {
if = {
limit = { check_variable = { rq_t < 66 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 68 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
else = {
if = {
limit = { check_variable = { rq_t < 69 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 81 } }
if = {
limit = { check_variable = { rq_t < 75 } }
if = {
limit = { check_variable = { rq_t < 72 } }
if = {
limit = { check_variable = { rq_t < 71 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 73 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
else = {
if = {
limit = { check_variable = { rq_t < 74 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_2 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_L_Strike_fighter2 has_tech = CV_L_Strike_fighter2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 78 } }
if = {
limit = { check_variable = { rq_t < 76 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_L_Strike_fighter3 has_tech = CV_L_Strike_fighter3 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
if = {
limit = { check_variable = { rq_t < 77 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_L_Strike_fighter4 has_tech = CV_L_Strike_fighter4 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_L_Strike_fighter5 has_tech = CV_L_Strike_fighter5 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 79 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
if = {
limit = { check_variable = { rq_t < 80 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_MR_Fighter2 has_tech = CV_MR_Fighter2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter3 has_tech = CV_MR_Fighter3 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 87 } }
if = {
limit = { check_variable = { rq_t < 84 } }
if = {
limit = { check_variable = { rq_t < 82 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter4 has_tech = CV_MR_Fighter4 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 83 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter5 has_tech = CV_MR_Fighter5 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter6 has_tech = CV_MR_Fighter6 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 85 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter7 has_tech = CV_MR_Fighter7 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 86 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 90 } }
if = {
limit = { check_variable = { rq_t < 88 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 89 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 91 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 92 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 139 } }
if = {
limit = { check_variable = { rq_t < 116 } }
if = {
limit = { check_variable = { rq_t < 104 } }
if = {
limit = { check_variable = { rq_t < 98 } }
if = {
limit = { check_variable = { rq_t < 95 } }
if = {
limit = { check_variable = { rq_t < 94 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 96 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 97 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 101 } }
if = {
limit = { check_variable = { rq_t < 99 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 100 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 102 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 103 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 110 } }
if = {
limit = { check_variable = { rq_t < 107 } }
if = {
limit = { check_variable = { rq_t < 105 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 106 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 108 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 109 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 113 } }
if = {
limit = { check_variable = { rq_t < 111 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 112 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 114 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 115 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 127 } }
if = {
limit = { check_variable = { rq_t < 121 } }
if = {
limit = { check_variable = { rq_t < 118 } }
if = {
limit = { check_variable = { rq_t < 117 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 119 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 120 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 124 } }
if = {
limit = { check_variable = { rq_t < 122 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 123 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 125 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 126 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 133 } }
if = {
limit = { check_variable = { rq_t < 130 } }
if = {
limit = { check_variable = { rq_t < 128 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
else = {
if = {
limit = { check_variable = { rq_t < 129 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 131 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
else = {
if = {
limit = { check_variable = { rq_t < 132 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 136 } }
if = {
limit = { check_variable = { rq_t < 134 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
else = {
if = {
limit = { check_variable = { rq_t < 135 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 137 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
else = {
if = {
limit = { check_variable = { rq_t < 138 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_4 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 162 } }
if = {
limit = { check_variable = { rq_t < 150 } }
if = {
limit = { check_variable = { rq_t < 144 } }
if = {
limit = { check_variable = { rq_t < 141 } }
if = {
limit = { check_variable = { rq_t < 140 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 142 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 143 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 147 } }
if = {
limit = { check_variable = { rq_t < 145 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 146 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 148 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 149 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 156 } }
if = {
limit = { check_variable = { rq_t < 153 } }
if = {
limit = { check_variable = { rq_t < 151 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 152 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 154 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 155 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 159 } }
if = {
limit = { check_variable = { rq_t < 157 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 158 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 160 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 161 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 174 } }
if = {
limit = { check_variable = { rq_t < 168 } }
if = {
limit = { check_variable = { rq_t < 165 } }
if = {
limit = { check_variable = { rq_t < 163 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 164 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 166 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 167 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 171 } }
if = {
limit = { check_variable = { rq_t < 169 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 170 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 172 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 173 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 180 } }
if = {
limit = { check_variable = { rq_t < 177 } }
if = {
limit = { check_variable = { rq_t < 175 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 176 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 178 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 179 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 183 } }
if = {
limit = { check_variable = { rq_t < 181 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 182 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 184 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 185 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 279 } }
if = {
limit = { check_variable = { rq_t < 232 } }
if = {
limit = { check_variable = { rq_t < 209 } }
if = {
limit = { check_variable = { rq_t < 197 } }
if = {
limit = { check_variable = { rq_t < 191 } }
if = {
limit = { check_variable = { rq_t < 188 } }
if = {
limit = { check_variable = { rq_t < 187 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 189 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 190 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 194 } }
if = {
limit = { check_variable = { rq_t < 192 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 193 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 195 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 196 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 203 } }
if = {
limit = { check_variable = { rq_t < 200 } }
if = {
limit = { check_variable = { rq_t < 198 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 199 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 201 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 202 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 206 } }
if = {
limit = { check_variable = { rq_t < 204 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 205 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 207 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
else = {
if = {
limit = { check_variable = { rq_t < 208 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 220 } }
if = {
limit = { check_variable = { rq_t < 214 } }
if = {
limit = { check_variable = { rq_t < 211 } }
if = {
limit = { check_variable = { rq_t < 210 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 212 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
else = {
if = {
limit = { check_variable = { rq_t < 213 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_5 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 217 } }
if = {
limit = { check_variable = { rq_t < 215 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 216 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 218 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
if = {
limit = { check_variable = { rq_t < 219 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 226 } }
if = {
limit = { check_variable = { rq_t < 223 } }
if = {
limit = { check_variable = { rq_t < 221 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 222 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 224 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 225 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 229 } }
if = {
limit = { check_variable = { rq_t < 227 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 228 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 230 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = MR_Fighter4 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = MR_Fighter4 date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 231 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = MR_Fighter6 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = MR_Fighter6 date > 2022.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 255 } }
if = {
limit = { check_variable = { rq_t < 243 } }
if = {
limit = { check_variable = { rq_t < 237 } }
if = {
limit = { check_variable = { rq_t < 234 } }
if = {
limit = { check_variable = { rq_t < 233 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 235 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 236 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 240 } }
if = {
limit = { check_variable = { rq_t < 238 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 239 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 241 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 242 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 249 } }
if = {
limit = { check_variable = { rq_t < 246 } }
if = {
limit = { check_variable = { rq_t < 244 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 245 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 247 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 248 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 252 } }
if = {
limit = { check_variable = { rq_t < 250 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
else = {
if = {
limit = { check_variable = { rq_t < 251 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 253 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
else = {
if = {
limit = { check_variable = { rq_t < 254 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 267 } }
if = {
limit = { check_variable = { rq_t < 261 } }
if = {
limit = { check_variable = { rq_t < 258 } }
if = {
limit = { check_variable = { rq_t < 256 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
else = {
if = {
limit = { check_variable = { rq_t < 257 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 259 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
else = {
if = {
limit = { check_variable = { rq_t < 260 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_1 has_tech = Rec_tank_2 has_tech = Rec_tank_3 has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_1 can_research = Rec_tank_2 can_research = Rec_tank_3 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_1 is_researching_technology = Rec_tank_2 is_researching_technology = Rec_tank_3 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 264 } }
if = {
limit = { check_variable = { rq_t < 262 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_2 has_tech = Rec_tank_3 has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_2 can_research = Rec_tank_3 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_2 is_researching_technology = Rec_tank_3 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 263 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_3 has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_3 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_3 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 265 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_5 can_research = Rec_tank_5 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 266 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 273 } }
if = {
limit = { check_variable = { rq_t < 270 } }
if = {
limit = { check_variable = { rq_t < 268 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 269 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 271 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 272 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 276 } }
if = {
limit = { check_variable = { rq_t < 274 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 275 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 277 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 278 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 325 } }
if = {
limit = { check_variable = { rq_t < 302 } }
if = {
limit = { check_variable = { rq_t < 290 } }
if = {
limit = { check_variable = { rq_t < 284 } }
if = {
limit = { check_variable = { rq_t < 281 } }
if = {
limit = { check_variable = { rq_t < 280 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 282 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 283 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 287 } }
if = {
limit = { check_variable = { rq_t < 285 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
else = {
if = {
limit = { check_variable = { rq_t < 286 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 288 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
else = {
if = {
limit = { check_variable = { rq_t < 289 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 296 } }
if = {
limit = { check_variable = { rq_t < 293 } }
if = {
limit = { check_variable = { rq_t < 291 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
else = {
if = {
limit = { check_variable = { rq_t < 292 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 294 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
else = {
if = {
limit = { check_variable = { rq_t < 295 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_7 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 299 } }
if = {
limit = { check_variable = { rq_t < 297 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 298 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 300 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 301 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 313 } }
if = {
limit = { check_variable = { rq_t < 307 } }
if = {
limit = { check_variable = { rq_t < 304 } }
if = {
limit = { check_variable = { rq_t < 303 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 305 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 306 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 310 } }
if = {
limit = { check_variable = { rq_t < 308 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 309 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 311 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
if = {
limit = { check_variable = { rq_t < 312 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = Strike_fighter4 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = Strike_fighter4 date > 2032.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 319 } }
if = {
limit = { check_variable = { rq_t < 316 } }
if = {
limit = { check_variable = { rq_t < 314 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
if = {
limit = { check_variable = { rq_t < 315 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_tech = Strike_fighter6 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = Strike_fighter6 date > 2022.01.01 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 317 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
if = {
limit = { check_variable = { rq_t < 318 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 322 } }
if = {
limit = { check_variable = { rq_t < 320 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 321 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 323 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 324 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 348 } }
if = {
limit = { check_variable = { rq_t < 336 } }
if = {
limit = { check_variable = { rq_t < 330 } }
if = {
limit = { check_variable = { rq_t < 327 } }
if = {
limit = { check_variable = { rq_t < 326 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 328 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 329 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 333 } }
if = {
limit = { check_variable = { rq_t < 331 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 332 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 334 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 335 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 342 } }
if = {
limit = { check_variable = { rq_t < 339 } }
if = {
limit = { check_variable = { rq_t < 337 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 338 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 340 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 341 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 345 } }
if = {
limit = { check_variable = { rq_t < 343 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 344 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 346 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 347 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 360 } }
if = {
limit = { check_variable = { rq_t < 354 } }
if = {
limit = { check_variable = { rq_t < 351 } }
if = {
limit = { check_variable = { rq_t < 349 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 350 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 352 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 353 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 357 } }
if = {
limit = { check_variable = { rq_t < 355 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 356 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 358 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 359 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 366 } }
if = {
limit = { check_variable = { rq_t < 363 } }
if = {
limit = { check_variable = { rq_t < 361 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 362 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 364 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 365 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 369 } }
if = {
limit = { check_variable = { rq_t < 367 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 368 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 370 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 371 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 558 } }
if = {
limit = { check_variable = { rq_t < 465 } }
if = {
limit = { check_variable = { rq_t < 418 } }
if = {
limit = { check_variable = { rq_t < 395 } }
if = {
limit = { check_variable = { rq_t < 383 } }
if = {
limit = { check_variable = { rq_t < 377 } }
if = {
limit = { check_variable = { rq_t < 374 } }
if = {
limit = { check_variable = { rq_t < 373 } }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 375 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 376 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 380 } }
if = {
limit = { check_variable = { rq_t < 378 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 379 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2051.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 381 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 382 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 389 } }
if = {
limit = { check_variable = { rq_t < 386 } }
if = {
limit = { check_variable = { rq_t < 384 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2051.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 385 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 387 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_armor_tech_3 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 388 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 392 } }
if = {
limit = { check_variable = { rq_t < 390 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 391 } }
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 393 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 394 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 406 } }
if = {
limit = { check_variable = { rq_t < 400 } }
if = {
limit = { check_variable = { rq_t < 397 } }
if = {
limit = { check_variable = { rq_t < 396 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 398 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 399 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 403 } }
if = {
limit = { check_variable = { rq_t < 401 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 402 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 404 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 405 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 412 } }
if = {
limit = { check_variable = { rq_t < 409 } }
if = {
limit = { check_variable = { rq_t < 407 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 408 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 410 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 411 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 415 } }
if = {
limit = { check_variable = { rq_t < 413 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 414 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 416 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 417 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 441 } }
if = {
limit = { check_variable = { rq_t < 429 } }
if = {
limit = { check_variable = { rq_t < 423 } }
if = {
limit = { check_variable = { rq_t < 420 } }
if = {
limit = { check_variable = { rq_t < 419 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 421 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
if = {
limit = { check_variable = { rq_t < 422 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 426 } }
if = {
limit = { check_variable = { rq_t < 424 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 425 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 427 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 428 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 435 } }
if = {
limit = { check_variable = { rq_t < 432 } }
if = {
limit = { check_variable = { rq_t < 430 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 431 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 433 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 434 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 438 } }
if = {
limit = { check_variable = { rq_t < 436 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 437 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 439 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 440 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 453 } }
if = {
limit = { check_variable = { rq_t < 447 } }
if = {
limit = { check_variable = { rq_t < 444 } }
if = {
limit = { check_variable = { rq_t < 442 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 443 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 445 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 446 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 450 } }
if = {
limit = { check_variable = { rq_t < 448 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 449 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 451 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 452 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 459 } }
if = {
limit = { check_variable = { rq_t < 456 } }
if = {
limit = { check_variable = { rq_t < 454 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 455 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 457 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 458 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 462 } }
if = {
limit = { check_variable = { rq_t < 460 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 461 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 463 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 464 } }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 511 } }
if = {
limit = { check_variable = { rq_t < 488 } }
if = {
limit = { check_variable = { rq_t < 476 } }
if = {
limit = { check_variable = { rq_t < 470 } }
if = {
limit = { check_variable = { rq_t < 467 } }
if = {
limit = { check_variable = { rq_t < 466 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 468 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 469 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 473 } }
if = {
limit = { check_variable = { rq_t < 471 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 472 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 474 } }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 475 } }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 482 } }
if = {
limit = { check_variable = { rq_t < 479 } }
if = {
limit = { check_variable = { rq_t < 477 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 478 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 480 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 481 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 485 } }
if = {
limit = { check_variable = { rq_t < 483 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 484 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 486 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 487 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 499 } }
if = {
limit = { check_variable = { rq_t < 493 } }
if = {
limit = { check_variable = { rq_t < 490 } }
if = {
limit = { check_variable = { rq_t < 489 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 491 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 492 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 496 } }
if = {
limit = { check_variable = { rq_t < 494 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 495 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 497 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 498 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 505 } }
if = {
limit = { check_variable = { rq_t < 502 } }
if = {
limit = { check_variable = { rq_t < 500 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 501 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 503 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 504 } }
set_temp_variable = { rq_ap_w = 5 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 508 } }
if = {
limit = { check_variable = { rq_t < 506 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 507 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 509 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 510 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 534 } }
if = {
limit = { check_variable = { rq_t < 522 } }
if = {
limit = { check_variable = { rq_t < 516 } }
if = {
limit = { check_variable = { rq_t < 513 } }
if = {
limit = { check_variable = { rq_t < 512 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 514 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 515 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2075.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2080.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2085.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2090.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 519 } }
if = {
limit = { check_variable = { rq_t < 517 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2005.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 518 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2020.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 520 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2025.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2030.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 521 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2040.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2040.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 528 } }
if = {
limit = { check_variable = { rq_t < 525 } }
if = {
limit = { check_variable = { rq_t < 523 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2055.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2060.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 524 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2065.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2070.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 8 }
if = {
limit = { num_of_factories < 100 }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories > 100 }
multiply_temp_variable = { rq_ap_w = 0.75 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > "1980.1.1" }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 526 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2057.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 527 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2067.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2077.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 531 } }
if = {
limit = { check_variable = { rq_t < 529 } }
set_temp_variable = { rq_ap_w = 8 }
if = {
limit = { date > "1997.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 530 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = no }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > "2002.1.1" }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2007.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 532 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2012.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 533 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2017.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2027.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 546 } }
if = {
limit = { check_variable = { rq_t < 540 } }
if = {
limit = { check_variable = { rq_t < 537 } }
if = {
limit = { check_variable = { rq_t < 535 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2037.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 536 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2047.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 538 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 5 }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = non_power has_idea = minor_power } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_idea = regional_power }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { any_owned_state = { is_coastal = no } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 539 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 543 } }
if = {
limit = { check_variable = { rq_t < 541 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 542 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 544 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 545 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 552 } }
if = {
limit = { check_variable = { rq_t < 549 } }
if = {
limit = { check_variable = { rq_t < 547 } }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 548 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 550 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 551 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 555 } }
if = {
limit = { check_variable = { rq_t < 553 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 554 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 556 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 557 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 651 } }
if = {
limit = { check_variable = { rq_t < 604 } }
if = {
limit = { check_variable = { rq_t < 581 } }
if = {
limit = { check_variable = { rq_t < 569 } }
if = {
limit = { check_variable = { rq_t < 563 } }
if = {
limit = { check_variable = { rq_t < 560 } }
if = {
limit = { check_variable = { rq_t < 559 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 561 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 562 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 566 } }
if = {
limit = { check_variable = { rq_t < 564 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 565 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 567 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 568 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 575 } }
if = {
limit = { check_variable = { rq_t < 572 } }
if = {
limit = { check_variable = { rq_t < 570 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 571 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 573 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 574 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 578 } }
if = {
limit = { check_variable = { rq_t < 576 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 577 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 579 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 580 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 592 } }
if = {
limit = { check_variable = { rq_t < 586 } }
if = {
limit = { check_variable = { rq_t < 583 } }
if = {
limit = { check_variable = { rq_t < 582 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 584 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 585 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 589 } }
if = {
limit = { check_variable = { rq_t < 587 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 588 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 590 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 591 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 598 } }
if = {
limit = { check_variable = { rq_t < 595 } }
if = {
limit = { check_variable = { rq_t < 593 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 594 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 596 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 597 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 601 } }
if = {
limit = { check_variable = { rq_t < 599 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 600 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 602 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 603 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 627 } }
if = {
limit = { check_variable = { rq_t < 615 } }
if = {
limit = { check_variable = { rq_t < 609 } }
if = {
limit = { check_variable = { rq_t < 606 } }
if = {
limit = { check_variable = { rq_t < 605 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { gdp_per_capita < 7.000 } }
multiply_temp_variable = { rq_ap_w = 0.10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 607 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { gdp_per_capita < 7.000 } }
multiply_temp_variable = { rq_ap_w = 0.10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 608 } }
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { OR = { tag = GER tag = ITA tag = JAP } has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 612 } }
if = {
limit = { check_variable = { rq_t < 610 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 611 } }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 613 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 614 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 621 } }
if = {
limit = { check_variable = { rq_t < 618 } }
if = {
limit = { check_variable = { rq_t < 616 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 617 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 619 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 620 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 624 } }
if = {
limit = { check_variable = { rq_t < 622 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 623 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 625 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 626 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 639 } }
if = {
limit = { check_variable = { rq_t < 633 } }
if = {
limit = { check_variable = { rq_t < 630 } }
if = {
limit = { check_variable = { rq_t < 628 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 629 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 631 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 632 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 636 } }
if = {
limit = { check_variable = { rq_t < 634 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 635 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 637 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 638 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 645 } }
if = {
limit = { check_variable = { rq_t < 642 } }
if = {
limit = { check_variable = { rq_t < 640 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 641 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 643 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 644 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 648 } }
if = {
limit = { check_variable = { rq_t < 646 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 647 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 649 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 650 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 697 } }
if = {
limit = { check_variable = { rq_t < 674 } }
if = {
limit = { check_variable = { rq_t < 662 } }
if = {
limit = { check_variable = { rq_t < 656 } }
if = {
limit = { check_variable = { rq_t < 653 } }
if = {
limit = { check_variable = { rq_t < 652 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 654 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 655 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 659 } }
if = {
limit = { check_variable = { rq_t < 657 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 658 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_era_tech_3 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 660 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 661 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { original_tag = USA original_tag = CHI original_tag = SOV } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 668 } }
if = {
limit = { check_variable = { rq_t < 665 } }
if = {
limit = { check_variable = { rq_t < 663 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 664 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 666 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { original_tag = USA original_tag = CHI original_tag = SOV } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 667 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { original_tag = USA original_tag = CHI original_tag = SOV } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 671 } }
if = {
limit = { check_variable = { rq_t < 669 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 670 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 672 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 673 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 685 } }
if = {
limit = { check_variable = { rq_t < 679 } }
if = {
limit = { check_variable = { rq_t < 676 } }
if = {
limit = { check_variable = { rq_t < 675 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 677 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 678 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 682 } }
if = {
limit = { check_variable = { rq_t < 680 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 681 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 683 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 684 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 691 } }
if = {
limit = { check_variable = { rq_t < 688 } }
if = {
limit = { check_variable = { rq_t < 686 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 687 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 689 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 690 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 694 } }
if = {
limit = { check_variable = { rq_t < 692 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 693 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 695 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 696 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 720 } }
if = {
limit = { check_variable = { rq_t < 708 } }
if = {
limit = { check_variable = { rq_t < 702 } }
if = {
limit = { check_variable = { rq_t < 699 } }
if = {
limit = { check_variable = { rq_t < 698 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { OR = { tag = USA tag = NIG tag = SOV tag = SAU tag = BHR tag = PER tag = OMA tag = UAE } }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 10 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 10 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 700 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 701 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 705 } }
if = {
limit = { check_variable = { rq_t < 703 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 704 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 706 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 707 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 714 } }
if = {
limit = { check_variable = { rq_t < 711 } }
if = {
limit = { check_variable = { rq_t < 709 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 710 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 712 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 713 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 717 } }
if = {
limit = { check_variable = { rq_t < 715 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 716 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = gen_4_light has_tech = gen_4_light } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 718 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 719 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = gen_5_light has_tech = gen_5_light } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 732 } }
if = {
limit = { check_variable = { rq_t < 726 } }
if = {
limit = { check_variable = { rq_t < 723 } }
if = {
limit = { check_variable = { rq_t < 721 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = gen_5_medium has_tech = gen_5_medium } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 722 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_gen_5_light }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 724 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 725 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 729 } }
if = {
limit = { check_variable = { rq_t < 727 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 728 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 730 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 731 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 738 } }
if = {
limit = { check_variable = { rq_t < 735 } }
if = {
limit = { check_variable = { rq_t < 733 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_0 }
}
else = {
if = {
limit = { check_variable = { rq_t < 734 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 736 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 737 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 741 } }
if = {
limit = { check_variable = { rq_t < 739 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 740 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 742 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 743 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { total_unemployed_percentage_display > 0.40 } }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1116 } }
if = {
limit = { check_variable = { rq_t < 930 } }
if = {
limit = { check_variable = { rq_t < 837 } }
if = {
limit = { check_variable = { rq_t < 790 } }
if = {
limit = { check_variable = { rq_t < 767 } }
if = {
limit = { check_variable = { rq_t < 755 } }
if = {
limit = { check_variable = { rq_t < 749 } }
if = {
limit = { check_variable = { rq_t < 746 } }
if = {
limit = { check_variable = { rq_t < 745 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 747 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 748 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 752 } }
if = {
limit = { check_variable = { rq_t < 750 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2003.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2008.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 751 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 753 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 754 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 761 } }
if = {
limit = { check_variable = { rq_t < 758 } }
if = {
limit = { check_variable = { rq_t < 756 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 757 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 759 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 760 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 764 } }
if = {
limit = { check_variable = { rq_t < 762 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 763 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 765 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 766 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 778 } }
if = {
limit = { check_variable = { rq_t < 772 } }
if = {
limit = { check_variable = { rq_t < 769 } }
if = {
limit = { check_variable = { rq_t < 768 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 770 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 771 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2014.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2017.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 775 } }
if = {
limit = { check_variable = { rq_t < 773 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 774 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 776 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 777 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 784 } }
if = {
limit = { check_variable = { rq_t < 781 } }
if = {
limit = { check_variable = { rq_t < 779 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 780 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 782 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 783 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { tag = GER tag = ITA tag = JAP } has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { original_tag = GER has_war = yes }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil < 50 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 787 } }
if = {
limit = { check_variable = { rq_t < 785 } }
set_temp_variable = { rq_ap_w = 20 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 786 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 788 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 789 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 813 } }
if = {
limit = { check_variable = { rq_t < 801 } }
if = {
limit = { check_variable = { rq_t < 795 } }
if = {
limit = { check_variable = { rq_t < 792 } }
if = {
limit = { check_variable = { rq_t < 791 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_infantry_weapons_5 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 793 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_infantry_weapons_6 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 794 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 798 } }
if = {
limit = { check_variable = { rq_t < 796 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 797 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 799 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 800 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 807 } }
if = {
limit = { check_variable = { rq_t < 804 } }
if = {
limit = { check_variable = { rq_t < 802 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 803 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2005.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2072.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2075.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 805 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2082.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2085.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 806 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2002.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2006.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2009.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 810 } }
if = {
limit = { check_variable = { rq_t < 808 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2014.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2017.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 809 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2023.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2027.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2032.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 811 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2042.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2045.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 812 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2052.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2055.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2062.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2065.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 825 } }
if = {
limit = { check_variable = { rq_t < 819 } }
if = {
limit = { check_variable = { rq_t < 816 } }
if = {
limit = { check_variable = { rq_t < 814 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2006.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2009.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 815 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2023.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2027.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2032.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 817 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2043.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2047.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 818 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2053.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2057.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2063.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2067.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 822 } }
if = {
limit = { check_variable = { rq_t < 820 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2073.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2077.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 821 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2083.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2087.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 823 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 824 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 831 } }
if = {
limit = { check_variable = { rq_t < 828 } }
if = {
limit = { check_variable = { rq_t < 826 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 827 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 829 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 830 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 834 } }
if = {
limit = { check_variable = { rq_t < 832 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 833 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 835 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 836 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 883 } }
if = {
limit = { check_variable = { rq_t < 860 } }
if = {
limit = { check_variable = { rq_t < 848 } }
if = {
limit = { check_variable = { rq_t < 842 } }
if = {
limit = { check_variable = { rq_t < 839 } }
if = {
limit = { check_variable = { rq_t < 838 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 840 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 841 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2018.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2020.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_tech = wimax is_researching_technology = wimax } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 845 } }
if = {
limit = { check_variable = { rq_t < 843 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 844 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 846 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 847 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_mbt_tech_3 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 854 } }
if = {
limit = { check_variable = { rq_t < 851 } }
if = {
limit = { check_variable = { rq_t < 849 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 850 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 852 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 853 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 857 } }
if = {
limit = { check_variable = { rq_t < 855 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 856 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 858 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 859 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 871 } }
if = {
limit = { check_variable = { rq_t < 865 } }
if = {
limit = { check_variable = { rq_t < 862 } }
if = {
limit = { check_variable = { rq_t < 861 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 863 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 864 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 868 } }
if = {
limit = { check_variable = { rq_t < 866 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 867 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 869 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 870 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 877 } }
if = {
limit = { check_variable = { rq_t < 874 } }
if = {
limit = { check_variable = { rq_t < 872 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 873 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 875 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 876 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 880 } }
if = {
limit = { check_variable = { rq_t < 878 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 879 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 881 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 882 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 906 } }
if = {
limit = { check_variable = { rq_t < 894 } }
if = {
limit = { check_variable = { rq_t < 888 } }
if = {
limit = { check_variable = { rq_t < 885 } }
if = {
limit = { check_variable = { rq_t < 884 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 886 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 887 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 891 } }
if = {
limit = { check_variable = { rq_t < 889 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 890 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 892 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 893 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 900 } }
if = {
limit = { check_variable = { rq_t < 897 } }
if = {
limit = { check_variable = { rq_t < 895 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 896 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 898 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 899 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 903 } }
if = {
limit = { check_variable = { rq_t < 901 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 902 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 904 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 905 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 918 } }
if = {
limit = { check_variable = { rq_t < 912 } }
if = {
limit = { check_variable = { rq_t < 909 } }
if = {
limit = { check_variable = { rq_t < 907 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 908 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 910 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 911 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 915 } }
if = {
limit = { check_variable = { rq_t < 913 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 914 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 916 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 917 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 924 } }
if = {
limit = { check_variable = { rq_t < 921 } }
if = {
limit = { check_variable = { rq_t < 919 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 920 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 922 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 923 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 927 } }
if = {
limit = { check_variable = { rq_t < 925 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 926 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 928 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 929 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1023 } }
if = {
limit = { check_variable = { rq_t < 976 } }
if = {
limit = { check_variable = { rq_t < 953 } }
if = {
limit = { check_variable = { rq_t < 941 } }
if = {
limit = { check_variable = { rq_t < 935 } }
if = {
limit = { check_variable = { rq_t < 932 } }
if = {
limit = { check_variable = { rq_t < 931 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 933 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 934 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 938 } }
if = {
limit = { check_variable = { rq_t < 936 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 937 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 939 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 940 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 947 } }
if = {
limit = { check_variable = { rq_t < 944 } }
if = {
limit = { check_variable = { rq_t < 942 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 943 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 945 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 946 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 950 } }
if = {
limit = { check_variable = { rq_t < 948 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 949 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 951 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 952 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 964 } }
if = {
limit = { check_variable = { rq_t < 958 } }
if = {
limit = { check_variable = { rq_t < 955 } }
if = {
limit = { check_variable = { rq_t < 954 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 956 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 957 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 961 } }
if = {
limit = { check_variable = { rq_t < 959 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 960 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 962 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 963 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 970 } }
if = {
limit = { check_variable = { rq_t < 967 } }
if = {
limit = { check_variable = { rq_t < 965 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 966 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 968 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
if = {
limit = { check_variable = { rq_t < 969 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 973 } }
if = {
limit = { check_variable = { rq_t < 971 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
if = {
limit = { check_variable = { rq_t < 972 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 974 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
if = {
limit = { check_variable = { rq_t < 975 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 999 } }
if = {
limit = { check_variable = { rq_t < 987 } }
if = {
limit = { check_variable = { rq_t < 981 } }
if = {
limit = { check_variable = { rq_t < 978 } }
if = {
limit = { check_variable = { rq_t < 977 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 979 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 980 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 984 } }
if = {
limit = { check_variable = { rq_t < 982 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 983 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 985 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 986 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 993 } }
if = {
limit = { check_variable = { rq_t < 990 } }
if = {
limit = { check_variable = { rq_t < 988 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 989 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 991 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 992 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 996 } }
if = {
limit = { check_variable = { rq_t < 994 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 995 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 997 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 998 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1011 } }
if = {
limit = { check_variable = { rq_t < 1005 } }
if = {
limit = { check_variable = { rq_t < 1002 } }
if = {
limit = { check_variable = { rq_t < 1000 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1001 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1003 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1004 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1008 } }
if = {
limit = { check_variable = { rq_t < 1006 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1007 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1009 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1010 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1017 } }
if = {
limit = { check_variable = { rq_t < 1014 } }
if = {
limit = { check_variable = { rq_t < 1012 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1013 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1015 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1016 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1020 } }
if = {
limit = { check_variable = { rq_t < 1018 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1019 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1021 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1022 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1069 } }
if = {
limit = { check_variable = { rq_t < 1046 } }
if = {
limit = { check_variable = { rq_t < 1034 } }
if = {
limit = { check_variable = { rq_t < 1028 } }
if = {
limit = { check_variable = { rq_t < 1025 } }
if = {
limit = { check_variable = { rq_t < 1024 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1026 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1027 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1031 } }
if = {
limit = { check_variable = { rq_t < 1029 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1030 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1032 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1033 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1040 } }
if = {
limit = { check_variable = { rq_t < 1037 } }
if = {
limit = { check_variable = { rq_t < 1035 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1036 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1038 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1039 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1043 } }
if = {
limit = { check_variable = { rq_t < 1041 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1042 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1044 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1045 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1057 } }
if = {
limit = { check_variable = { rq_t < 1051 } }
if = {
limit = { check_variable = { rq_t < 1048 } }
if = {
limit = { check_variable = { rq_t < 1047 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1049 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1050 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1054 } }
if = {
limit = { check_variable = { rq_t < 1052 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1053 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1055 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1056 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1063 } }
if = {
limit = { check_variable = { rq_t < 1060 } }
if = {
limit = { check_variable = { rq_t < 1058 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 29.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1059 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 39.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1061 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1062 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1066 } }
if = {
limit = { check_variable = { rq_t < 1064 } }
set_temp_variable = { rq_ap_w = 0.01 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1065 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_gx_space }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_6 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1067 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1068 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1092 } }
if = {
limit = { check_variable = { rq_t < 1080 } }
if = {
limit = { check_variable = { rq_t < 1074 } }
if = {
limit = { check_variable = { rq_t < 1071 } }
if = {
limit = { check_variable = { rq_t < 1070 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1072 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1073 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1077 } }
if = {
limit = { check_variable = { rq_t < 1075 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1076 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1078 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1079 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1086 } }
if = {
limit = { check_variable = { rq_t < 1083 } }
if = {
limit = { check_variable = { rq_t < 1081 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1082 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1084 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1085 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1089 } }
if = {
limit = { check_variable = { rq_t < 1087 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1088 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1090 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1091 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1104 } }
if = {
limit = { check_variable = { rq_t < 1098 } }
if = {
limit = { check_variable = { rq_t < 1095 } }
if = {
limit = { check_variable = { rq_t < 1093 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1094 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1096 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1097 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 2.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1101 } }
if = {
limit = { check_variable = { rq_t < 1099 } }
set_temp_variable = { rq_ap_w = 2.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1100 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = SPR has_completed_focus = SPR_economia_espanola }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1102 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = SPR has_completed_focus = SPR_economia_espanola }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1103 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1110 } }
if = {
limit = { check_variable = { rq_t < 1107 } }
if = {
limit = { check_variable = { rq_t < 1105 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1106 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1108 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1109 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1113 } }
if = {
limit = { check_variable = { rq_t < 1111 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1112 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1114 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1115 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1302 } }
if = {
limit = { check_variable = { rq_t < 1209 } }
if = {
limit = { check_variable = { rq_t < 1162 } }
if = {
limit = { check_variable = { rq_t < 1139 } }
if = {
limit = { check_variable = { rq_t < 1127 } }
if = {
limit = { check_variable = { rq_t < 1121 } }
if = {
limit = { check_variable = { rq_t < 1118 } }
if = {
limit = { check_variable = { rq_t < 1117 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1119 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1120 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1124 } }
if = {
limit = { check_variable = { rq_t < 1122 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1123 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1125 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1126 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1133 } }
if = {
limit = { check_variable = { rq_t < 1130 } }
if = {
limit = { check_variable = { rq_t < 1128 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1129 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1131 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1132 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { tag = GER tag = ITA tag = JAP } has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1136 } }
if = {
limit = { check_variable = { rq_t < 1134 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1135 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1137 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1138 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1150 } }
if = {
limit = { check_variable = { rq_t < 1144 } }
if = {
limit = { check_variable = { rq_t < 1141 } }
if = {
limit = { check_variable = { rq_t < 1140 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1142 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1143 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1147 } }
if = {
limit = { check_variable = { rq_t < 1145 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1146 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1148 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1149 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1156 } }
if = {
limit = { check_variable = { rq_t < 1153 } }
if = {
limit = { check_variable = { rq_t < 1151 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1152 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1154 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1155 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1159 } }
if = {
limit = { check_variable = { rq_t < 1157 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1158 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1160 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1161 } }
set_temp_variable = { rq_ap_w = 0 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 0 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1185 } }
if = {
limit = { check_variable = { rq_t < 1173 } }
if = {
limit = { check_variable = { rq_t < 1167 } }
if = {
limit = { check_variable = { rq_t < 1164 } }
if = {
limit = { check_variable = { rq_t < 1163 } }
set_temp_variable = { rq_ap_w = 0 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 0 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1165 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1166 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1170 } }
if = {
limit = { check_variable = { rq_t < 1168 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1169 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1171 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1172 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1179 } }
if = {
limit = { check_variable = { rq_t < 1176 } }
if = {
limit = { check_variable = { rq_t < 1174 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1175 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1177 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1178 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1182 } }
if = {
limit = { check_variable = { rq_t < 1180 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1181 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1183 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1184 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1197 } }
if = {
limit = { check_variable = { rq_t < 1191 } }
if = {
limit = { check_variable = { rq_t < 1188 } }
if = {
limit = { check_variable = { rq_t < 1186 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1187 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1189 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1190 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1194 } }
if = {
limit = { check_variable = { rq_t < 1192 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1193 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1195 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1196 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1203 } }
if = {
limit = { check_variable = { rq_t < 1200 } }
if = {
limit = { check_variable = { rq_t < 1198 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1199 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1201 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1202 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1206 } }
if = {
limit = { check_variable = { rq_t < 1204 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1205 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1207 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1208 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1255 } }
if = {
limit = { check_variable = { rq_t < 1232 } }
if = {
limit = { check_variable = { rq_t < 1220 } }
if = {
limit = { check_variable = { rq_t < 1214 } }
if = {
limit = { check_variable = { rq_t < 1211 } }
if = {
limit = { check_variable = { rq_t < 1210 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1212 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1213 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_3 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1217 } }
if = {
limit = { check_variable = { rq_t < 1215 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1216 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1218 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1219 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1226 } }
if = {
limit = { check_variable = { rq_t < 1223 } }
if = {
limit = { check_variable = { rq_t < 1221 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1222 } }
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1224 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1225 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1229 } }
if = {
limit = { check_variable = { rq_t < 1227 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1228 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1230 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1231 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1243 } }
if = {
limit = { check_variable = { rq_t < 1237 } }
if = {
limit = { check_variable = { rq_t < 1234 } }
if = {
limit = { check_variable = { rq_t < 1233 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1235 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1236 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1240 } }
if = {
limit = { check_variable = { rq_t < 1238 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1239 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1241 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_tank_components_tech_4 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1242 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1249 } }
if = {
limit = { check_variable = { rq_t < 1246 } }
if = {
limit = { check_variable = { rq_t < 1244 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1245 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1247 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1248 } }
set_temp_variable = { rq_ap_w = 0.01 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1252 } }
if = {
limit = { check_variable = { rq_t < 1250 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1251 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1253 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1254 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1278 } }
if = {
limit = { check_variable = { rq_t < 1266 } }
if = {
limit = { check_variable = { rq_t < 1260 } }
if = {
limit = { check_variable = { rq_t < 1257 } }
if = {
limit = { check_variable = { rq_t < 1256 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1258 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1259 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1263 } }
if = {
limit = { check_variable = { rq_t < 1261 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1262 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1264 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1265 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1272 } }
if = {
limit = { check_variable = { rq_t < 1269 } }
if = {
limit = { check_variable = { rq_t < 1267 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1268 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1270 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1271 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1275 } }
if = {
limit = { check_variable = { rq_t < 1273 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1274 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1276 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1277 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1290 } }
if = {
limit = { check_variable = { rq_t < 1284 } }
if = {
limit = { check_variable = { rq_t < 1281 } }
if = {
limit = { check_variable = { rq_t < 1279 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1280 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1282 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1283 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1287 } }
if = {
limit = { check_variable = { rq_t < 1285 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1286 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1288 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1289 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1296 } }
if = {
limit = { check_variable = { rq_t < 1293 } }
if = {
limit = { check_variable = { rq_t < 1291 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1292 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1294 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1295 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1299 } }
if = {
limit = { check_variable = { rq_t < 1297 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1298 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1300 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1301 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_military_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_military_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1395 } }
if = {
limit = { check_variable = { rq_t < 1348 } }
if = {
limit = { check_variable = { rq_t < 1325 } }
if = {
limit = { check_variable = { rq_t < 1313 } }
if = {
limit = { check_variable = { rq_t < 1307 } }
if = {
limit = { check_variable = { rq_t < 1304 } }
if = {
limit = { check_variable = { rq_t < 1303 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_military_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_13 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1305 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1306 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1310 } }
if = {
limit = { check_variable = { rq_t < 1308 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1309 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1311 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1312 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_10 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1319 } }
if = {
limit = { check_variable = { rq_t < 1316 } }
if = {
limit = { check_variable = { rq_t < 1314 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1315 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1317 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1318 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1322 } }
if = {
limit = { check_variable = { rq_t < 1320 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1321 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1323 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1324 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1336 } }
if = {
limit = { check_variable = { rq_t < 1330 } }
if = {
limit = { check_variable = { rq_t < 1327 } }
if = {
limit = { check_variable = { rq_t < 1326 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1328 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1329 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1333 } }
if = {
limit = { check_variable = { rq_t < 1331 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1332 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1334 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1335 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1342 } }
if = {
limit = { check_variable = { rq_t < 1339 } }
if = {
limit = { check_variable = { rq_t < 1337 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1338 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1340 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1341 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1345 } }
if = {
limit = { check_variable = { rq_t < 1343 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1344 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1346 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1347 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1371 } }
if = {
limit = { check_variable = { rq_t < 1359 } }
if = {
limit = { check_variable = { rq_t < 1353 } }
if = {
limit = { check_variable = { rq_t < 1350 } }
if = {
limit = { check_variable = { rq_t < 1349 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1351 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1352 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_16 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1356 } }
if = {
limit = { check_variable = { rq_t < 1354 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1355 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1357 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1358 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_15 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1365 } }
if = {
limit = { check_variable = { rq_t < 1362 } }
if = {
limit = { check_variable = { rq_t < 1360 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1361 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1363 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1364 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1368 } }
if = {
limit = { check_variable = { rq_t < 1366 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1367 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1369 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1370 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1383 } }
if = {
limit = { check_variable = { rq_t < 1377 } }
if = {
limit = { check_variable = { rq_t < 1374 } }
if = {
limit = { check_variable = { rq_t < 1372 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1373 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_12 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1375 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1376 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1380 } }
if = {
limit = { check_variable = { rq_t < 1378 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1379 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1381 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1382 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1389 } }
if = {
limit = { check_variable = { rq_t < 1386 } }
if = {
limit = { check_variable = { rq_t < 1384 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1385 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1387 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1388 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1392 } }
if = {
limit = { check_variable = { rq_t < 1390 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1391 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_14 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1393 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1394 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1441 } }
if = {
limit = { check_variable = { rq_t < 1418 } }
if = {
limit = { check_variable = { rq_t < 1406 } }
if = {
limit = { check_variable = { rq_t < 1400 } }
if = {
limit = { check_variable = { rq_t < 1397 } }
if = {
limit = { check_variable = { rq_t < 1396 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1398 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1399 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1403 } }
if = {
limit = { check_variable = { rq_t < 1401 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1402 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1404 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1405 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1412 } }
if = {
limit = { check_variable = { rq_t < 1409 } }
if = {
limit = { check_variable = { rq_t < 1407 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1408 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1410 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1411 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1415 } }
if = {
limit = { check_variable = { rq_t < 1413 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1414 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1416 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1417 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1429 } }
if = {
limit = { check_variable = { rq_t < 1423 } }
if = {
limit = { check_variable = { rq_t < 1420 } }
if = {
limit = { check_variable = { rq_t < 1419 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1421 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1422 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1426 } }
if = {
limit = { check_variable = { rq_t < 1424 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1425 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1427 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_nav }
multiply_temp_variable = { rq_ap_n = rq_ap_wsea }
multiply_temp_variable = { rq_ap_n = rq_ap_gn }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_17 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1428 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1435 } }
if = {
limit = { check_variable = { rq_t < 1432 } }
if = {
limit = { check_variable = { rq_t < 1430 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1431 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1433 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_8 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1434 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 29.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1438 } }
if = {
limit = { check_variable = { rq_t < 1436 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 39.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1437 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1439 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1440 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_11 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1464 } }
if = {
limit = { check_variable = { rq_t < 1452 } }
if = {
limit = { check_variable = { rq_t < 1446 } }
if = {
limit = { check_variable = { rq_t < 1443 } }
if = {
limit = { check_variable = { rq_t < 1442 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1444 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1445 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_1 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1449 } }
if = {
limit = { check_variable = { rq_t < 1447 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1448 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1450 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1451 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1458 } }
if = {
limit = { check_variable = { rq_t < 1455 } }
if = {
limit = { check_variable = { rq_t < 1453 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1454 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1456 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1457 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1461 } }
if = {
limit = { check_variable = { rq_t < 1459 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1460 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1462 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1463 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1476 } }
if = {
limit = { check_variable = { rq_t < 1470 } }
if = {
limit = { check_variable = { rq_t < 1467 } }
if = {
limit = { check_variable = { rq_t < 1465 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1466 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1468 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1469 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1473 } }
if = {
limit = { check_variable = { rq_t < 1471 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1472 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1474 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_util_vehicle_5 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1475 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_util_vehicle_6 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1482 } }
if = {
limit = { check_variable = { rq_t < 1479 } }
if = {
limit = { check_variable = { rq_t < 1477 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
if = {
limit = { check_variable = { rq_t < 1478 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_wland }
multiply_temp_variable = { rq_ap_n = rq_ap_gl }
multiply_temp_variable = { rq_ap_n = rq_ap_s_land_CAT_military }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1480 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1481 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1485 } }
if = {
limit = { check_variable = { rq_t < 1483 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
if = {
limit = { check_variable = { rq_t < 1484 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1486 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_air }
multiply_temp_variable = { rq_ap_n = rq_ap_wair }
multiply_temp_variable = { rq_ap_n = rq_ap_ga }
multiply_temp_variable = { rq_ap_n = rq_ap_sx_9 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1487 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { OR = { has_tech = lte is_researching_technology = lte } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
multiply_temp_variable = { rq_ap_n = rq_ap_ind }
multiply_temp_variable = { rq_ap_n = rq_ap_gi }
multiply_temp_variable = { rq_ap_n = rq_ap_s_ind_CAT_civilian }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
}
}
}
multiply_temp_variable = { rq_ap_w = rq_ap_n }
}
rq_ap_why = {
if = {
limit = { check_variable = { rq_t < 744 } }
if = {
limit = { check_variable = { rq_t < 372 } }
if = {
limit = { check_variable = { rq_t < 186 } }
if = {
limit = { check_variable = { rq_t < 93 } }
if = {
limit = { check_variable = { rq_t < 47 } }
if = {
limit = { check_variable = { rq_t < 24 } }
if = {
limit = { check_variable = { rq_t < 12 } }
if = {
limit = { check_variable = { rq_t < 6 } }
if = {
limit = { check_variable = { rq_t < 3 } }
if = {
limit = { check_variable = { rq_t < 2 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 4 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 5 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 9 } }
if = {
limit = { check_variable = { rq_t < 7 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 8 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 10 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 11 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 18 } }
if = {
limit = { check_variable = { rq_t < 15 } }
if = {
limit = { check_variable = { rq_t < 13 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 14 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 16 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 17 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 21 } }
if = {
limit = { check_variable = { rq_t < 19 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 20 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 22 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 23 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 35 } }
if = {
limit = { check_variable = { rq_t < 29 } }
if = {
limit = { check_variable = { rq_t < 26 } }
if = {
limit = { check_variable = { rq_t < 25 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = AS_Fighter4 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = AS_Fighter4 date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { original_tag = USA }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 27 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = AS_Fighter6 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = AS_Fighter6 date > 2022.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 28 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 32 } }
if = {
limit = { check_variable = { rq_t < 30 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 31 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 33 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 34 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 41 } }
if = {
limit = { check_variable = { rq_t < 38 } }
if = {
limit = { check_variable = { rq_t < 36 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 37 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 39 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 40 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 44 } }
if = {
limit = { check_variable = { rq_t < 42 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 43 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 45 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 46 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 70 } }
if = {
limit = { check_variable = { rq_t < 58 } }
if = {
limit = { check_variable = { rq_t < 52 } }
if = {
limit = { check_variable = { rq_t < 49 } }
if = {
limit = { check_variable = { rq_t < 48 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 50 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 51 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 55 } }
if = {
limit = { check_variable = { rq_t < 53 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 54 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 56 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 57 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 64 } }
if = {
limit = { check_variable = { rq_t < 61 } }
if = {
limit = { check_variable = { rq_t < 59 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 60 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 62 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 63 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 67 } }
if = {
limit = { check_variable = { rq_t < 65 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 66 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 68 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 69 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 81 } }
if = {
limit = { check_variable = { rq_t < 75 } }
if = {
limit = { check_variable = { rq_t < 72 } }
if = {
limit = { check_variable = { rq_t < 71 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 73 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 74 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_L_Strike_fighter2 has_tech = CV_L_Strike_fighter2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 78 } }
if = {
limit = { check_variable = { rq_t < 76 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_L_Strike_fighter3 has_tech = CV_L_Strike_fighter3 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 77 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_L_Strike_fighter4 has_tech = CV_L_Strike_fighter4 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_L_Strike_fighter5 has_tech = CV_L_Strike_fighter5 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 79 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 80 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = CV_MR_Fighter2 has_tech = CV_MR_Fighter2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter3 has_tech = CV_MR_Fighter3 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 87 } }
if = {
limit = { check_variable = { rq_t < 84 } }
if = {
limit = { check_variable = { rq_t < 82 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter4 has_tech = CV_MR_Fighter4 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 83 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter5 has_tech = CV_MR_Fighter5 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter6 has_tech = CV_MR_Fighter6 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 85 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = CV_MR_Fighter7 has_tech = CV_MR_Fighter7 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 86 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 90 } }
if = {
limit = { check_variable = { rq_t < 88 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 89 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 91 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 92 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 139 } }
if = {
limit = { check_variable = { rq_t < 116 } }
if = {
limit = { check_variable = { rq_t < 104 } }
if = {
limit = { check_variable = { rq_t < 98 } }
if = {
limit = { check_variable = { rq_t < 95 } }
if = {
limit = { check_variable = { rq_t < 94 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 96 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 97 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 101 } }
if = {
limit = { check_variable = { rq_t < 99 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 100 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 102 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 103 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 110 } }
if = {
limit = { check_variable = { rq_t < 107 } }
if = {
limit = { check_variable = { rq_t < 105 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 106 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 108 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 109 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 113 } }
if = {
limit = { check_variable = { rq_t < 111 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 112 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 114 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 115 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 127 } }
if = {
limit = { check_variable = { rq_t < 121 } }
if = {
limit = { check_variable = { rq_t < 118 } }
if = {
limit = { check_variable = { rq_t < 117 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 119 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 120 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 124 } }
if = {
limit = { check_variable = { rq_t < 122 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 123 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 125 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 126 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 133 } }
if = {
limit = { check_variable = { rq_t < 130 } }
if = {
limit = { check_variable = { rq_t < 128 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 129 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 131 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 132 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 136 } }
if = {
limit = { check_variable = { rq_t < 134 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 135 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 137 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 138 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 162 } }
if = {
limit = { check_variable = { rq_t < 150 } }
if = {
limit = { check_variable = { rq_t < 144 } }
if = {
limit = { check_variable = { rq_t < 141 } }
if = {
limit = { check_variable = { rq_t < 140 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 142 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 143 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 147 } }
if = {
limit = { check_variable = { rq_t < 145 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 146 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 148 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 149 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 156 } }
if = {
limit = { check_variable = { rq_t < 153 } }
if = {
limit = { check_variable = { rq_t < 151 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 152 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 154 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 155 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 159 } }
if = {
limit = { check_variable = { rq_t < 157 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 158 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 160 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 161 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 174 } }
if = {
limit = { check_variable = { rq_t < 168 } }
if = {
limit = { check_variable = { rq_t < 165 } }
if = {
limit = { check_variable = { rq_t < 163 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 164 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 166 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 167 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 171 } }
if = {
limit = { check_variable = { rq_t < 169 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 170 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 172 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 173 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 180 } }
if = {
limit = { check_variable = { rq_t < 177 } }
if = {
limit = { check_variable = { rq_t < 175 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 176 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 178 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 179 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 183 } }
if = {
limit = { check_variable = { rq_t < 181 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 182 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 184 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 185 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 279 } }
if = {
limit = { check_variable = { rq_t < 232 } }
if = {
limit = { check_variable = { rq_t < 209 } }
if = {
limit = { check_variable = { rq_t < 197 } }
if = {
limit = { check_variable = { rq_t < 191 } }
if = {
limit = { check_variable = { rq_t < 188 } }
if = {
limit = { check_variable = { rq_t < 187 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 189 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 190 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 194 } }
if = {
limit = { check_variable = { rq_t < 192 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 193 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 195 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 196 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 203 } }
if = {
limit = { check_variable = { rq_t < 200 } }
if = {
limit = { check_variable = { rq_t < 198 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 199 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 201 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 202 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 206 } }
if = {
limit = { check_variable = { rq_t < 204 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 205 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 207 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 208 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 220 } }
if = {
limit = { check_variable = { rq_t < 214 } }
if = {
limit = { check_variable = { rq_t < 211 } }
if = {
limit = { check_variable = { rq_t < 210 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 212 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 213 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 217 } }
if = {
limit = { check_variable = { rq_t < 215 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 216 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 218 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 219 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 226 } }
if = {
limit = { check_variable = { rq_t < 223 } }
if = {
limit = { check_variable = { rq_t < 221 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 222 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 224 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 225 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 229 } }
if = {
limit = { check_variable = { rq_t < 227 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 228 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 230 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = MR_Fighter4 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = MR_Fighter4 date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 231 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = MR_Fighter6 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = MR_Fighter6 date > 2022.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 255 } }
if = {
limit = { check_variable = { rq_t < 243 } }
if = {
limit = { check_variable = { rq_t < 237 } }
if = {
limit = { check_variable = { rq_t < 234 } }
if = {
limit = { check_variable = { rq_t < 233 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 235 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 236 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 240 } }
if = {
limit = { check_variable = { rq_t < 238 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 239 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 241 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 242 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 249 } }
if = {
limit = { check_variable = { rq_t < 246 } }
if = {
limit = { check_variable = { rq_t < 244 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 245 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 247 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 248 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 252 } }
if = {
limit = { check_variable = { rq_t < 250 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 251 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 253 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 254 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 267 } }
if = {
limit = { check_variable = { rq_t < 261 } }
if = {
limit = { check_variable = { rq_t < 258 } }
if = {
limit = { check_variable = { rq_t < 256 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 257 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 259 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 260 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_1 has_tech = Rec_tank_2 has_tech = Rec_tank_3 has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_1 can_research = Rec_tank_2 can_research = Rec_tank_3 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_1 is_researching_technology = Rec_tank_2 is_researching_technology = Rec_tank_3 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 264 } }
if = {
limit = { check_variable = { rq_t < 262 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_2 has_tech = Rec_tank_3 has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_2 can_research = Rec_tank_3 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_2 is_researching_technology = Rec_tank_3 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 263 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_3 has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_3 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_3 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_4 has_tech = Rec_tank_5 can_research = Rec_tank_4 can_research = Rec_tank_5 is_researching_technology = Rec_tank_4 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 265 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { has_tech = Rec_tank_5 can_research = Rec_tank_5 is_researching_technology = Rec_tank_5 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 266 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 273 } }
if = {
limit = { check_variable = { rq_t < 270 } }
if = {
limit = { check_variable = { rq_t < 268 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 269 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 271 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 272 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 276 } }
if = {
limit = { check_variable = { rq_t < 274 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 275 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 277 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 278 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 325 } }
if = {
limit = { check_variable = { rq_t < 302 } }
if = {
limit = { check_variable = { rq_t < 290 } }
if = {
limit = { check_variable = { rq_t < 284 } }
if = {
limit = { check_variable = { rq_t < 281 } }
if = {
limit = { check_variable = { rq_t < 280 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 282 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 283 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 287 } }
if = {
limit = { check_variable = { rq_t < 285 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 286 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 288 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 289 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 296 } }
if = {
limit = { check_variable = { rq_t < 293 } }
if = {
limit = { check_variable = { rq_t < 291 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 292 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 294 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 295 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 299 } }
if = {
limit = { check_variable = { rq_t < 297 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 298 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 300 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 301 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 313 } }
if = {
limit = { check_variable = { rq_t < 307 } }
if = {
limit = { check_variable = { rq_t < 304 } }
if = {
limit = { check_variable = { rq_t < 303 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 305 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 306 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 310 } }
if = {
limit = { check_variable = { rq_t < 308 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 309 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 311 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 312 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_tech = Strike_fighter4 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = Strike_fighter4 date > 2032.01.01 }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 319 } }
if = {
limit = { check_variable = { rq_t < 316 } }
if = {
limit = { check_variable = { rq_t < 314 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 315 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_tech = Strike_fighter6 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { can_research = Strike_fighter6 date > 2022.01.01 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 317 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 318 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 322 } }
if = {
limit = { check_variable = { rq_t < 320 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 321 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 323 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 324 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 348 } }
if = {
limit = { check_variable = { rq_t < 336 } }
if = {
limit = { check_variable = { rq_t < 330 } }
if = {
limit = { check_variable = { rq_t < 327 } }
if = {
limit = { check_variable = { rq_t < 326 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 328 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 329 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 333 } }
if = {
limit = { check_variable = { rq_t < 331 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 332 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 334 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 335 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 342 } }
if = {
limit = { check_variable = { rq_t < 339 } }
if = {
limit = { check_variable = { rq_t < 337 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 338 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 340 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 341 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 345 } }
if = {
limit = { check_variable = { rq_t < 343 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 344 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 346 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 347 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 360 } }
if = {
limit = { check_variable = { rq_t < 354 } }
if = {
limit = { check_variable = { rq_t < 351 } }
if = {
limit = { check_variable = { rq_t < 349 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 350 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 352 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 353 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 357 } }
if = {
limit = { check_variable = { rq_t < 355 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { agriculture_district_total > 4 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 9 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 14 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_district_total > 19 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.05 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.15 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { agriculture_percent > 0.30 } }
add_to_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 11000 } }
add_to_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 8000 } }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { max_manpower_k < 5000 } }
add_to_temp_variable = { rq_ap_w = 8 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories < 50 }
add_to_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 356 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 358 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 359 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 366 } }
if = {
limit = { check_variable = { rq_t < 363 } }
if = {
limit = { check_variable = { rq_t < 361 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 362 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 364 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 365 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 369 } }
if = {
limit = { check_variable = { rq_t < 367 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 368 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 370 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 371 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 558 } }
if = {
limit = { check_variable = { rq_t < 465 } }
if = {
limit = { check_variable = { rq_t < 418 } }
if = {
limit = { check_variable = { rq_t < 395 } }
if = {
limit = { check_variable = { rq_t < 383 } }
if = {
limit = { check_variable = { rq_t < 377 } }
if = {
limit = { check_variable = { rq_t < 374 } }
if = {
limit = { check_variable = { rq_t < 373 } }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 375 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 376 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 380 } }
if = {
limit = { check_variable = { rq_t < 378 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 379 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2051.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 381 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 382 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 389 } }
if = {
limit = { check_variable = { rq_t < 386 } }
if = {
limit = { check_variable = { rq_t < 384 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2051.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 385 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 387 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_armor_tech_3 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 388 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 392 } }
if = {
limit = { check_variable = { rq_t < 390 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 391 } }
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 393 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 394 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 406 } }
if = {
limit = { check_variable = { rq_t < 400 } }
if = {
limit = { check_variable = { rq_t < 397 } }
if = {
limit = { check_variable = { rq_t < 396 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 398 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 399 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 403 } }
if = {
limit = { check_variable = { rq_t < 401 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 402 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 404 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 405 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_populous_developing_country = yes date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 412 } }
if = {
limit = { check_variable = { rq_t < 409 } }
if = {
limit = { check_variable = { rq_t < 407 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 408 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 410 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 411 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 415 } }
if = {
limit = { check_variable = { rq_t < 413 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 414 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 416 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 417 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 441 } }
if = {
limit = { check_variable = { rq_t < 429 } }
if = {
limit = { check_variable = { rq_t < 423 } }
if = {
limit = { check_variable = { rq_t < 420 } }
if = {
limit = { check_variable = { rq_t < 419 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 421 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 422 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 426 } }
if = {
limit = { check_variable = { rq_t < 424 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 425 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 427 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 428 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 435 } }
if = {
limit = { check_variable = { rq_t < 432 } }
if = {
limit = { check_variable = { rq_t < 430 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 431 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 433 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 434 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 438 } }
if = {
limit = { check_variable = { rq_t < 436 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 437 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 439 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 440 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 453 } }
if = {
limit = { check_variable = { rq_t < 447 } }
if = {
limit = { check_variable = { rq_t < 444 } }
if = {
limit = { check_variable = { rq_t < 442 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 443 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 445 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 446 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 450 } }
if = {
limit = { check_variable = { rq_t < 448 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 449 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 451 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 452 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 459 } }
if = {
limit = { check_variable = { rq_t < 456 } }
if = {
limit = { check_variable = { rq_t < 454 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 455 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 457 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 458 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 462 } }
if = {
limit = { check_variable = { rq_t < 460 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 461 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 463 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 464 } }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 511 } }
if = {
limit = { check_variable = { rq_t < 488 } }
if = {
limit = { check_variable = { rq_t < 476 } }
if = {
limit = { check_variable = { rq_t < 470 } }
if = {
limit = { check_variable = { rq_t < 467 } }
if = {
limit = { check_variable = { rq_t < 466 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 468 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 469 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 473 } }
if = {
limit = { check_variable = { rq_t < 471 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 472 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 474 } }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 475 } }
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 482 } }
if = {
limit = { check_variable = { rq_t < 479 } }
if = {
limit = { check_variable = { rq_t < 477 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 478 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 480 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 481 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 485 } }
if = {
limit = { check_variable = { rq_t < 483 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 484 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 486 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 487 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 499 } }
if = {
limit = { check_variable = { rq_t < 493 } }
if = {
limit = { check_variable = { rq_t < 490 } }
if = {
limit = { check_variable = { rq_t < 489 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 491 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 492 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 496 } }
if = {
limit = { check_variable = { rq_t < 494 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 495 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 497 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 498 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 505 } }
if = {
limit = { check_variable = { rq_t < 502 } }
if = {
limit = { check_variable = { rq_t < 500 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 501 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 503 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 504 } }
set_temp_variable = { rq_ap_w = 5 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 508 } }
if = {
limit = { check_variable = { rq_t < 506 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 507 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 509 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 510 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 534 } }
if = {
limit = { check_variable = { rq_t < 522 } }
if = {
limit = { check_variable = { rq_t < 516 } }
if = {
limit = { check_variable = { rq_t < 513 } }
if = {
limit = { check_variable = { rq_t < 512 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { composite_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@composites < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 514 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 515 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2075.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2080.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2085.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2090.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 519 } }
if = {
limit = { check_variable = { rq_t < 517 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2005.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 518 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2020.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 520 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2025.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2030.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 521 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2040.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2040.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 528 } }
if = {
limit = { check_variable = { rq_t < 525 } }
if = {
limit = { check_variable = { rq_t < 523 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2055.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2060.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 524 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2065.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2070.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 8 }
if = {
limit = { num_of_factories < 100 }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_factories > 100 }
multiply_temp_variable = { rq_ap_w = 0.75 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > "1980.1.1" }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 526 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2057.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 527 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2067.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2077.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 531 } }
if = {
limit = { check_variable = { rq_t < 529 } }
set_temp_variable = { rq_ap_w = 8 }
if = {
limit = { date > "1997.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 530 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = no }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > "2002.1.1" }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2007.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 532 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2012.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 533 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2017.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2027.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 546 } }
if = {
limit = { check_variable = { rq_t < 540 } }
if = {
limit = { check_variable = { rq_t < 537 } }
if = {
limit = { check_variable = { rq_t < 535 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2037.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 536 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date > "2047.1.1" }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 538 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 5 }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = non_power has_idea = minor_power } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_idea = regional_power }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { any_owned_state = { is_coastal = no } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 539 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 543 } }
if = {
limit = { check_variable = { rq_t < 541 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 542 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 544 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 545 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 552 } }
if = {
limit = { check_variable = { rq_t < 549 } }
if = {
limit = { check_variable = { rq_t < 547 } }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 548 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 550 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 551 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 555 } }
if = {
limit = { check_variable = { rq_t < 553 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 554 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 556 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 557 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 0.2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 651 } }
if = {
limit = { check_variable = { rq_t < 604 } }
if = {
limit = { check_variable = { rq_t < 581 } }
if = {
limit = { check_variable = { rq_t < 569 } }
if = {
limit = { check_variable = { rq_t < 563 } }
if = {
limit = { check_variable = { rq_t < 560 } }
if = {
limit = { check_variable = { rq_t < 559 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 561 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 562 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 566 } }
if = {
limit = { check_variable = { rq_t < 564 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 565 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 567 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 568 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 575 } }
if = {
limit = { check_variable = { rq_t < 572 } }
if = {
limit = { check_variable = { rq_t < 570 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 571 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 573 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 574 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 578 } }
if = {
limit = { check_variable = { rq_t < 576 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 577 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 579 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 580 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 592 } }
if = {
limit = { check_variable = { rq_t < 586 } }
if = {
limit = { check_variable = { rq_t < 583 } }
if = {
limit = { check_variable = { rq_t < 582 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 584 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 585 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 589 } }
if = {
limit = { check_variable = { rq_t < 587 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 588 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 590 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 591 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 598 } }
if = {
limit = { check_variable = { rq_t < 595 } }
if = {
limit = { check_variable = { rq_t < 593 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 594 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 596 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 597 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 601 } }
if = {
limit = { check_variable = { rq_t < 599 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 600 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 602 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 603 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 627 } }
if = {
limit = { check_variable = { rq_t < 615 } }
if = {
limit = { check_variable = { rq_t < 609 } }
if = {
limit = { check_variable = { rq_t < 606 } }
if = {
limit = { check_variable = { rq_t < 605 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { gdp_per_capita < 7.000 } }
multiply_temp_variable = { rq_ap_w = 0.10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 607 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { gdp_per_capita < 7.000 } }
multiply_temp_variable = { rq_ap_w = 0.10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 608 } }
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { OR = { tag = GER tag = ITA tag = JAP } has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 612 } }
if = {
limit = { check_variable = { rq_t < 610 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 611 } }
set_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2010.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 613 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 614 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 621 } }
if = {
limit = { check_variable = { rq_t < 618 } }
if = {
limit = { check_variable = { rq_t < 616 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 617 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 619 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 620 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 624 } }
if = {
limit = { check_variable = { rq_t < 622 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 623 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 625 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 626 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 639 } }
if = {
limit = { check_variable = { rq_t < 633 } }
if = {
limit = { check_variable = { rq_t < 630 } }
if = {
limit = { check_variable = { rq_t < 628 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 629 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 631 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 632 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { is_populous_developing_country = yes date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 636 } }
if = {
limit = { check_variable = { rq_t < 634 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 635 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 637 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 638 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 645 } }
if = {
limit = { check_variable = { rq_t < 642 } }
if = {
limit = { check_variable = { rq_t < 640 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 641 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 643 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 644 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 648 } }
if = {
limit = { check_variable = { rq_t < 646 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 647 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 649 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 650 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 697 } }
if = {
limit = { check_variable = { rq_t < 674 } }
if = {
limit = { check_variable = { rq_t < 662 } }
if = {
limit = { check_variable = { rq_t < 656 } }
if = {
limit = { check_variable = { rq_t < 653 } }
if = {
limit = { check_variable = { rq_t < 652 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 654 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 655 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 659 } }
if = {
limit = { check_variable = { rq_t < 657 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 658 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_era_tech_3 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 660 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 661 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { original_tag = USA original_tag = CHI original_tag = SOV } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 668 } }
if = {
limit = { check_variable = { rq_t < 665 } }
if = {
limit = { check_variable = { rq_t < 663 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 664 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 666 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { original_tag = USA original_tag = CHI original_tag = SOV } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 667 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { original_tag = USA original_tag = CHI original_tag = SOV } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 671 } }
if = {
limit = { check_variable = { rq_t < 669 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 670 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 672 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 673 } }
set_temp_variable = { rq_ap_w = 2 }
if = {
limit = { OR = { oil > 0 aluminium > 0 tungsten > 0 steel > 0 } }
multiply_temp_variable = { rq_ap_w = 5.0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { oil > 64 aluminium > 64 tungsten > 64 steel > 64 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_idea = rentier_state has_idea = globalized_trade_economy has_idea = export_economy } }
multiply_temp_variable = { rq_ap_w = 1.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { check_variable = { resource_produced@oil > resource_consumed@oil } check_variable = { resource_produced@aluminium > resource_consumed@aluminium } check_variable = { resource_produced@rubber > resource_consumed@rubber } check_variable = { resource_produced@tungsten > resource_consumed@tungsten } check_variable = { resource_produced@steel > resource_consumed@steel } check_variable = { resource_produced@chromium > resource_consumed@chromium } } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_excavation }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 685 } }
if = {
limit = { check_variable = { rq_t < 679 } }
if = {
limit = { check_variable = { rq_t < 676 } }
if = {
limit = { check_variable = { rq_t < 675 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 677 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 678 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 682 } }
if = {
limit = { check_variable = { rq_t < 680 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 681 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 683 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 684 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 691 } }
if = {
limit = { check_variable = { rq_t < 688 } }
if = {
limit = { check_variable = { rq_t < 686 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 687 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 689 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 690 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 694 } }
if = {
limit = { check_variable = { rq_t < 692 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 693 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 695 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 696 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 720 } }
if = {
limit = { check_variable = { rq_t < 708 } }
if = {
limit = { check_variable = { rq_t < 702 } }
if = {
limit = { check_variable = { rq_t < 699 } }
if = {
limit = { check_variable = { rq_t < 698 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { OR = { tag = USA tag = NIG tag = SOV tag = SAU tag = BHR tag = PER tag = OMA tag = UAE } }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 10 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 10 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 700 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 701 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 705 } }
if = {
limit = { check_variable = { rq_t < 703 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 30 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 704 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { tag = USA }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = no }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 40 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { is_major = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 706 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 707 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 714 } }
if = {
limit = { check_variable = { rq_t < 711 } }
if = {
limit = { check_variable = { rq_t < 709 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories > 20 }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 710 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 712 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 713 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 717 } }
if = {
limit = { check_variable = { rq_t < 715 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 716 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = gen_4_light has_tech = gen_4_light } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 718 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 719 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { can_research = gen_5_light has_tech = gen_5_light } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 732 } }
if = {
limit = { check_variable = { rq_t < 726 } }
if = {
limit = { check_variable = { rq_t < 723 } }
if = {
limit = { check_variable = { rq_t < 721 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { can_research = gen_5_medium has_tech = gen_5_medium } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 722 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_gen_5_light }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 724 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 725 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 729 } }
if = {
limit = { check_variable = { rq_t < 727 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 728 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 730 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 731 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 40 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 738 } }
if = {
limit = { check_variable = { rq_t < 735 } }
if = {
limit = { check_variable = { rq_t < 733 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 734 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 736 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 737 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 741 } }
if = {
limit = { check_variable = { rq_t < 739 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 740 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 742 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 743 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { total_unemployed_percentage_display > 0.40 } }
multiply_temp_variable = { rq_ap_w = 0.25 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1116 } }
if = {
limit = { check_variable = { rq_t < 930 } }
if = {
limit = { check_variable = { rq_t < 837 } }
if = {
limit = { check_variable = { rq_t < 790 } }
if = {
limit = { check_variable = { rq_t < 767 } }
if = {
limit = { check_variable = { rq_t < 755 } }
if = {
limit = { check_variable = { rq_t < 749 } }
if = {
limit = { check_variable = { rq_t < 746 } }
if = {
limit = { check_variable = { rq_t < 745 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 747 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 748 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 752 } }
if = {
limit = { check_variable = { rq_t < 750 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2003.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2008.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 751 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 753 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 754 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 761 } }
if = {
limit = { check_variable = { rq_t < 758 } }
if = {
limit = { check_variable = { rq_t < 756 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 757 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 759 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 760 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 764 } }
if = {
limit = { check_variable = { rq_t < 762 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 763 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 765 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 766 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 778 } }
if = {
limit = { check_variable = { rq_t < 772 } }
if = {
limit = { check_variable = { rq_t < 769 } }
if = {
limit = { check_variable = { rq_t < 768 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 770 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 771 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2014.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2017.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 775 } }
if = {
limit = { check_variable = { rq_t < 773 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 774 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 776 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 777 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 784 } }
if = {
limit = { check_variable = { rq_t < 781 } }
if = {
limit = { check_variable = { rq_t < 779 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 780 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 782 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 783 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { tag = GER tag = ITA tag = JAP } has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { original_tag = GER has_war = yes }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil < 50 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 787 } }
if = {
limit = { check_variable = { rq_t < 785 } }
set_temp_variable = { rq_ap_w = 20 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 786 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 788 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 789 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 813 } }
if = {
limit = { check_variable = { rq_t < 801 } }
if = {
limit = { check_variable = { rq_t < 795 } }
if = {
limit = { check_variable = { rq_t < 792 } }
if = {
limit = { check_variable = { rq_t < 791 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_infantry_weapons_5 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 793 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_infantry_weapons_6 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 794 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 798 } }
if = {
limit = { check_variable = { rq_t < 796 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 797 } }
set_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 799 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 800 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 807 } }
if = {
limit = { check_variable = { rq_t < 804 } }
if = {
limit = { check_variable = { rq_t < 802 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 803 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2005.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2072.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2075.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 805 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2082.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2085.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 806 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2002.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2006.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2009.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 810 } }
if = {
limit = { check_variable = { rq_t < 808 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2014.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2017.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 809 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2023.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2027.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2032.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 811 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2042.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2045.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 812 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2052.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2055.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2062.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2065.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 825 } }
if = {
limit = { check_variable = { rq_t < 819 } }
if = {
limit = { check_variable = { rq_t < 816 } }
if = {
limit = { check_variable = { rq_t < 814 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2006.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2009.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 815 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2023.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2027.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2032.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2035.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 817 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2043.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2047.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 818 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2053.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2057.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2063.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2067.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 822 } }
if = {
limit = { check_variable = { rq_t < 820 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2073.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2077.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 821 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2083.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2087.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 823 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 824 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 831 } }
if = {
limit = { check_variable = { rq_t < 828 } }
if = {
limit = { check_variable = { rq_t < 826 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 827 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 829 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 830 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 14.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 834 } }
if = {
limit = { check_variable = { rq_t < 832 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 833 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 835 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 836 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 883 } }
if = {
limit = { check_variable = { rq_t < 860 } }
if = {
limit = { check_variable = { rq_t < 848 } }
if = {
limit = { check_variable = { rq_t < 842 } }
if = {
limit = { check_variable = { rq_t < 839 } }
if = {
limit = { check_variable = { rq_t < 838 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 840 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 841 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2018.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2020.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { OR = { has_tech = wimax is_researching_technology = wimax } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 845 } }
if = {
limit = { check_variable = { rq_t < 843 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 844 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 846 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 847 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_mbt_tech_3 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 854 } }
if = {
limit = { check_variable = { rq_t < 851 } }
if = {
limit = { check_variable = { rq_t < 849 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 850 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 852 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 853 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 857 } }
if = {
limit = { check_variable = { rq_t < 855 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 856 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 858 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 859 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 871 } }
if = {
limit = { check_variable = { rq_t < 865 } }
if = {
limit = { check_variable = { rq_t < 862 } }
if = {
limit = { check_variable = { rq_t < 861 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 863 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 864 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 868 } }
if = {
limit = { check_variable = { rq_t < 866 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 867 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 869 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 870 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 877 } }
if = {
limit = { check_variable = { rq_t < 874 } }
if = {
limit = { check_variable = { rq_t < 872 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 873 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 875 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 876 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 880 } }
if = {
limit = { check_variable = { rq_t < 878 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 879 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 881 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 882 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 906 } }
if = {
limit = { check_variable = { rq_t < 894 } }
if = {
limit = { check_variable = { rq_t < 888 } }
if = {
limit = { check_variable = { rq_t < 885 } }
if = {
limit = { check_variable = { rq_t < 884 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 886 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 887 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 891 } }
if = {
limit = { check_variable = { rq_t < 889 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 890 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 892 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 20 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 893 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 900 } }
if = {
limit = { check_variable = { rq_t < 897 } }
if = {
limit = { check_variable = { rq_t < 895 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 896 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 898 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 899 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 903 } }
if = {
limit = { check_variable = { rq_t < 901 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 902 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 904 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 905 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 918 } }
if = {
limit = { check_variable = { rq_t < 912 } }
if = {
limit = { check_variable = { rq_t < 909 } }
if = {
limit = { check_variable = { rq_t < 907 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 908 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 910 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 911 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 915 } }
if = {
limit = { check_variable = { rq_t < 913 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 914 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 916 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 917 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 924 } }
if = {
limit = { check_variable = { rq_t < 921 } }
if = {
limit = { check_variable = { rq_t < 919 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 920 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 922 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 923 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 927 } }
if = {
limit = { check_variable = { rq_t < 925 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 926 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 928 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 929 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1023 } }
if = {
limit = { check_variable = { rq_t < 976 } }
if = {
limit = { check_variable = { rq_t < 953 } }
if = {
limit = { check_variable = { rq_t < 941 } }
if = {
limit = { check_variable = { rq_t < 935 } }
if = {
limit = { check_variable = { rq_t < 932 } }
if = {
limit = { check_variable = { rq_t < 931 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 933 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 934 } }
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 938 } }
if = {
limit = { check_variable = { rq_t < 936 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 937 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 939 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 940 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 947 } }
if = {
limit = { check_variable = { rq_t < 944 } }
if = {
limit = { check_variable = { rq_t < 942 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 943 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 945 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 946 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 950 } }
if = {
limit = { check_variable = { rq_t < 948 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 949 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 951 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 952 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 964 } }
if = {
limit = { check_variable = { rq_t < 958 } }
if = {
limit = { check_variable = { rq_t < 955 } }
if = {
limit = { check_variable = { rq_t < 954 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 956 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 957 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 961 } }
if = {
limit = { check_variable = { rq_t < 959 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 960 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 962 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 963 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 970 } }
if = {
limit = { check_variable = { rq_t < 967 } }
if = {
limit = { check_variable = { rq_t < 965 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 966 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 968 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 969 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 973 } }
if = {
limit = { check_variable = { rq_t < 971 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 972 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 974 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 975 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 999 } }
if = {
limit = { check_variable = { rq_t < 987 } }
if = {
limit = { check_variable = { rq_t < 981 } }
if = {
limit = { check_variable = { rq_t < 978 } }
if = {
limit = { check_variable = { rq_t < 977 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 979 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 980 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 984 } }
if = {
limit = { check_variable = { rq_t < 982 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 983 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 985 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 986 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 993 } }
if = {
limit = { check_variable = { rq_t < 990 } }
if = {
limit = { check_variable = { rq_t < 988 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 989 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 20 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 991 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 992 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 996 } }
if = {
limit = { check_variable = { rq_t < 994 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 995 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 997 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 998 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1011 } }
if = {
limit = { check_variable = { rq_t < 1005 } }
if = {
limit = { check_variable = { rq_t < 1002 } }
if = {
limit = { check_variable = { rq_t < 1000 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1001 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1003 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1004 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1008 } }
if = {
limit = { check_variable = { rq_t < 1006 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1007 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1009 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1010 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1017 } }
if = {
limit = { check_variable = { rq_t < 1014 } }
if = {
limit = { check_variable = { rq_t < 1012 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1013 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1015 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1016 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1020 } }
if = {
limit = { check_variable = { rq_t < 1018 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1019 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1021 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1022 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1069 } }
if = {
limit = { check_variable = { rq_t < 1046 } }
if = {
limit = { check_variable = { rq_t < 1034 } }
if = {
limit = { check_variable = { rq_t < 1028 } }
if = {
limit = { check_variable = { rq_t < 1025 } }
if = {
limit = { check_variable = { rq_t < 1024 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1026 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1027 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1031 } }
if = {
limit = { check_variable = { rq_t < 1029 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1030 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1032 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1033 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1040 } }
if = {
limit = { check_variable = { rq_t < 1037 } }
if = {
limit = { check_variable = { rq_t < 1035 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1036 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1038 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1039 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1043 } }
if = {
limit = { check_variable = { rq_t < 1041 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1042 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1044 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1045 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1057 } }
if = {
limit = { check_variable = { rq_t < 1051 } }
if = {
limit = { check_variable = { rq_t < 1048 } }
if = {
limit = { check_variable = { rq_t < 1047 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1049 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1050 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1054 } }
if = {
limit = { check_variable = { rq_t < 1052 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1053 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1055 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1056 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1063 } }
if = {
limit = { check_variable = { rq_t < 1060 } }
if = {
limit = { check_variable = { rq_t < 1058 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 29.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1059 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 39.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1061 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1062 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1066 } }
if = {
limit = { check_variable = { rq_t < 1064 } }
set_temp_variable = { rq_ap_w = 0.01 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1065 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { unique_missile_model_names = yes } check_variable = { gdp_per_capita < 20 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1067 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1068 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1092 } }
if = {
limit = { check_variable = { rq_t < 1080 } }
if = {
limit = { check_variable = { rq_t < 1074 } }
if = {
limit = { check_variable = { rq_t < 1071 } }
if = {
limit = { check_variable = { rq_t < 1070 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1072 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1073 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1077 } }
if = {
limit = { check_variable = { rq_t < 1075 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1076 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1078 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1079 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1086 } }
if = {
limit = { check_variable = { rq_t < 1083 } }
if = {
limit = { check_variable = { rq_t < 1081 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1082 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1084 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1085 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1089 } }
if = {
limit = { check_variable = { rq_t < 1087 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1088 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1090 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1091 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1104 } }
if = {
limit = { check_variable = { rq_t < 1098 } }
if = {
limit = { check_variable = { rq_t < 1095 } }
if = {
limit = { check_variable = { rq_t < 1093 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1094 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1096 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { microchip_plant_total > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { resource@microchips < 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1097 } }
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 2.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1101 } }
if = {
limit = { check_variable = { rq_t < 1099 } }
set_temp_variable = { rq_ap_w = 2.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1100 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = SPR has_completed_focus = SPR_economia_espanola }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1102 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = SPR has_completed_focus = SPR_economia_espanola }
add_to_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1103 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1110 } }
if = {
limit = { check_variable = { rq_t < 1107 } }
if = {
limit = { check_variable = { rq_t < 1105 } }
set_temp_variable = { rq_ap_w = 10 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1106 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1108 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1109 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1113 } }
if = {
limit = { check_variable = { rq_t < 1111 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1112 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { original_tag = ENG has_completed_focus = ENG_closing_britains_productivity_gap }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1114 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1115 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1302 } }
if = {
limit = { check_variable = { rq_t < 1209 } }
if = {
limit = { check_variable = { rq_t < 1162 } }
if = {
limit = { check_variable = { rq_t < 1139 } }
if = {
limit = { check_variable = { rq_t < 1127 } }
if = {
limit = { check_variable = { rq_t < 1121 } }
if = {
limit = { check_variable = { rq_t < 1118 } }
if = {
limit = { check_variable = { rq_t < 1117 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1119 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1120 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1124 } }
if = {
limit = { check_variable = { rq_t < 1122 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1123 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1125 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1126 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { nuclear_reactors > 0 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1133 } }
if = {
limit = { check_variable = { rq_t < 1130 } }
if = {
limit = { check_variable = { rq_t < 1128 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1129 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1131 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1132 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { OR = { tag = GER tag = ITA tag = JAP } has_war = yes }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1136 } }
if = {
limit = { check_variable = { rq_t < 1134 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1135 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1137 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { oil > 50 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 150 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { oil > 250 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1138 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1150 } }
if = {
limit = { check_variable = { rq_t < 1144 } }
if = {
limit = { check_variable = { rq_t < 1141 } }
if = {
limit = { check_variable = { rq_t < 1140 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1142 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1143 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1147 } }
if = {
limit = { check_variable = { rq_t < 1145 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1146 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1148 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 90.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 89.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1149 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1156 } }
if = {
limit = { check_variable = { rq_t < 1153 } }
if = {
limit = { check_variable = { rq_t < 1151 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1152 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1154 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1155 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1159 } }
if = {
limit = { check_variable = { rq_t < 1157 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1158 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1160 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1161 } }
set_temp_variable = { rq_ap_w = 0 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1185 } }
if = {
limit = { check_variable = { rq_t < 1173 } }
if = {
limit = { check_variable = { rq_t < 1167 } }
if = {
limit = { check_variable = { rq_t < 1164 } }
if = {
limit = { check_variable = { rq_t < 1163 } }
set_temp_variable = { rq_ap_w = 0 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1165 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1166 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1170 } }
if = {
limit = { check_variable = { rq_t < 1168 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1169 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1171 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1172 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1179 } }
if = {
limit = { check_variable = { rq_t < 1176 } }
if = {
limit = { check_variable = { rq_t < 1174 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1175 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1177 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1178 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1182 } }
if = {
limit = { check_variable = { rq_t < 1180 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1181 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1183 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1184 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1197 } }
if = {
limit = { check_variable = { rq_t < 1191 } }
if = {
limit = { check_variable = { rq_t < 1188 } }
if = {
limit = { check_variable = { rq_t < 1186 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1187 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1189 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1190 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1194 } }
if = {
limit = { check_variable = { rq_t < 1192 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1193 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1195 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1196 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1203 } }
if = {
limit = { check_variable = { rq_t < 1200 } }
if = {
limit = { check_variable = { rq_t < 1198 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1199 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1201 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1202 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1206 } }
if = {
limit = { check_variable = { rq_t < 1204 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1205 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1207 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1208 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { NOT = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1255 } }
if = {
limit = { check_variable = { rq_t < 1232 } }
if = {
limit = { check_variable = { rq_t < 1220 } }
if = {
limit = { check_variable = { rq_t < 1214 } }
if = {
limit = { check_variable = { rq_t < 1211 } }
if = {
limit = { check_variable = { rq_t < 1210 } }
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.1 }
if = {
limit = { OR = { num_of_available_military_factories > 30 tag = USA tag = SOV tag = CHI } }
multiply_temp_variable = { rq_ap_w = 10 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1212 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1213 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1217 } }
if = {
limit = { check_variable = { rq_t < 1215 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { has_war = yes }
multiply_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1216 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1218 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1219 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1226 } }
if = {
limit = { check_variable = { rq_t < 1223 } }
if = {
limit = { check_variable = { rq_t < 1221 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1222 } }
set_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1224 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1225 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1229 } }
if = {
limit = { check_variable = { rq_t < 1227 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1228 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1230 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1231 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1243 } }
if = {
limit = { check_variable = { rq_t < 1237 } }
if = {
limit = { check_variable = { rq_t < 1234 } }
if = {
limit = { check_variable = { rq_t < 1233 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1235 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1236 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1240 } }
if = {
limit = { check_variable = { rq_t < 1238 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1239 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1241 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_tank_components_tech_4 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1242 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1249 } }
if = {
limit = { check_variable = { rq_t < 1246 } }
if = {
limit = { check_variable = { rq_t < 1244 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1245 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1247 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1248 } }
set_temp_variable = { rq_ap_w = 0.01 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1252 } }
if = {
limit = { check_variable = { rq_t < 1250 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1251 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1253 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1254 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1278 } }
if = {
limit = { check_variable = { rq_t < 1266 } }
if = {
limit = { check_variable = { rq_t < 1260 } }
if = {
limit = { check_variable = { rq_t < 1257 } }
if = {
limit = { check_variable = { rq_t < 1256 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1258 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1259 } }
set_temp_variable = { rq_ap_w = 5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1263 } }
if = {
limit = { check_variable = { rq_t < 1261 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1262 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1264 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1265 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1272 } }
if = {
limit = { check_variable = { rq_t < 1269 } }
if = {
limit = { check_variable = { rq_t < 1267 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1268 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1270 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1271 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1275 } }
if = {
limit = { check_variable = { rq_t < 1273 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1274 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1276 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1277 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1290 } }
if = {
limit = { check_variable = { rq_t < 1284 } }
if = {
limit = { check_variable = { rq_t < 1281 } }
if = {
limit = { check_variable = { rq_t < 1279 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1280 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1282 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1283 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1287 } }
if = {
limit = { check_variable = { rq_t < 1285 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1286 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1288 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1289 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1296 } }
if = {
limit = { check_variable = { rq_t < 1293 } }
if = {
limit = { check_variable = { rq_t < 1291 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1292 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1294 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1295 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1299 } }
if = {
limit = { check_variable = { rq_t < 1297 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1298 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1300 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1301 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_military_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_military_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1395 } }
if = {
limit = { check_variable = { rq_t < 1348 } }
if = {
limit = { check_variable = { rq_t < 1325 } }
if = {
limit = { check_variable = { rq_t < 1313 } }
if = {
limit = { check_variable = { rq_t < 1307 } }
if = {
limit = { check_variable = { rq_t < 1304 } }
if = {
limit = { check_variable = { rq_t < 1303 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_military_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1305 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1306 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1310 } }
if = {
limit = { check_variable = { rq_t < 1308 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1309 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1311 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1312 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1319 } }
if = {
limit = { check_variable = { rq_t < 1316 } }
if = {
limit = { check_variable = { rq_t < 1314 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1315 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1317 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1318 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1322 } }
if = {
limit = { check_variable = { rq_t < 1320 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1321 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1323 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1324 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1336 } }
if = {
limit = { check_variable = { rq_t < 1330 } }
if = {
limit = { check_variable = { rq_t < 1327 } }
if = {
limit = { check_variable = { rq_t < 1326 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1328 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1329 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1333 } }
if = {
limit = { check_variable = { rq_t < 1331 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1332 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1334 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1335 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1342 } }
if = {
limit = { check_variable = { rq_t < 1339 } }
if = {
limit = { check_variable = { rq_t < 1337 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1338 } }
set_temp_variable = { rq_ap_w = 0.25 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { has_game_rule = { rule = rule_nuclear_weapons option = allowed } } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1340 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1341 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1345 } }
if = {
limit = { check_variable = { rq_t < 1343 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1344 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1346 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1347 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1371 } }
if = {
limit = { check_variable = { rq_t < 1359 } }
if = {
limit = { check_variable = { rq_t < 1353 } }
if = {
limit = { check_variable = { rq_t < 1350 } }
if = {
limit = { check_variable = { rq_t < 1349 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1351 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1352 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1356 } }
if = {
limit = { check_variable = { rq_t < 1354 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1355 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1357 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1358 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1365 } }
if = {
limit = { check_variable = { rq_t < 1362 } }
if = {
limit = { check_variable = { rq_t < 1360 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1361 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1363 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1364 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1368 } }
if = {
limit = { check_variable = { rq_t < 1366 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1367 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1369 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1370 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1383 } }
if = {
limit = { check_variable = { rq_t < 1377 } }
if = {
limit = { check_variable = { rq_t < 1374 } }
if = {
limit = { check_variable = { rq_t < 1372 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1373 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1375 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1376 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2050.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2048.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1380 } }
if = {
limit = { check_variable = { rq_t < 1378 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1379 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1381 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1382 } }
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 5 }
if = {
limit = { date < 2080.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2078.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1389 } }
if = {
limit = { check_variable = { rq_t < 1386 } }
if = {
limit = { check_variable = { rq_t < 1384 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1385 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1387 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1388 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1392 } }
if = {
limit = { check_variable = { rq_t < 1390 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1391 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1393 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1394 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1441 } }
if = {
limit = { check_variable = { rq_t < 1418 } }
if = {
limit = { check_variable = { rq_t < 1406 } }
if = {
limit = { check_variable = { rq_t < 1400 } }
if = {
limit = { check_variable = { rq_t < 1397 } }
if = {
limit = { check_variable = { rq_t < 1396 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1398 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1399 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1403 } }
if = {
limit = { check_variable = { rq_t < 1401 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1402 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1404 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1405 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1412 } }
if = {
limit = { check_variable = { rq_t < 1409 } }
if = {
limit = { check_variable = { rq_t < 1407 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1408 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1410 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1411 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1415 } }
if = {
limit = { check_variable = { rq_t < 1413 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1414 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1416 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1417 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1429 } }
if = {
limit = { check_variable = { rq_t < 1423 } }
if = {
limit = { check_variable = { rq_t < 1420 } }
if = {
limit = { check_variable = { rq_t < 1419 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1421 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1422 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1426 } }
if = {
limit = { check_variable = { rq_t < 1424 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1425 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2060.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2058.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1427 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_naval_factories < 1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1428 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1435 } }
if = {
limit = { check_variable = { rq_t < 1432 } }
if = {
limit = { check_variable = { rq_t < 1430 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1431 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1433 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2085.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2083.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1434 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 29.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1438 } }
if = {
limit = { check_variable = { rq_t < 1436 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 39.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1437 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1439 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1440 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 59.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { NOT = { ai_research_exempt_from_gdp_gate = yes } check_variable = { gdp_per_capita < 7 } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1464 } }
if = {
limit = { check_variable = { rq_t < 1452 } }
if = {
limit = { check_variable = { rq_t < 1446 } }
if = {
limit = { check_variable = { rq_t < 1443 } }
if = {
limit = { check_variable = { rq_t < 1442 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1444 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1445 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { num_of_available_military_factories > 30 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1449 } }
if = {
limit = { check_variable = { rq_t < 1447 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1448 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1450 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1451 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1458 } }
if = {
limit = { check_variable = { rq_t < 1455 } }
if = {
limit = { check_variable = { rq_t < 1453 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1454 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1456 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1457 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1461 } }
if = {
limit = { check_variable = { rq_t < 1459 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1460 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1462 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1463 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1476 } }
if = {
limit = { check_variable = { rq_t < 1470 } }
if = {
limit = { check_variable = { rq_t < 1467 } }
if = {
limit = { check_variable = { rq_t < 1465 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1466 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { check_variable = { gdp_per_capita > 19.999 } check_variable = { gdp_per_capita < 50.000 } }
multiply_temp_variable = { rq_ap_w = 1.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 49.999 } check_variable = { gdp_per_capita < 100.000 } }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita > 99.999 } }
multiply_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { check_variable = { gdp_per_capita < 2.000 } }
multiply_temp_variable = { rq_ap_w = 0.1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2012.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date > 2015.01.01 }
multiply_temp_variable = { rq_ap_w = 2 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 10 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1468 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1469 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2065.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2063.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2075.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2073.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1473 } }
if = {
limit = { check_variable = { rq_t < 1471 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1472 } }
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1474 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2005.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2003.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_util_vehicle_5 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1475 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_g = rq_apf_util_vehicle_6 }
divide_temp_variable = { rq_ap_g = 100 }
add_to_temp_variable = { rq_ap_g = 1 }
clamp_temp_variable = { var = rq_ap_g min = 0 }
multiply_temp_variable = { rq_ap_w = rq_ap_g }
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2025.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2023.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1482 } }
if = {
limit = { check_variable = { rq_t < 1479 } }
if = {
limit = { check_variable = { rq_t < 1477 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2035.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2033.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1478 } }
set_temp_variable = { rq_ap_w = 1 }
if = {
limit = { date < 2045.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2043.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
set_temp_variable = { rq_ap_h = 0 }
add_to_temp_variable = { rq_ap_h = rq_apn_CAT_infantry }
multiply_temp_variable = { rq_ap_h = 0.01 }
add_to_temp_variable = { rq_ap_h = 1 }
multiply_temp_variable = { rq_ap_w = rq_ap_h }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1480 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2010.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2008.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1481 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2020.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2018.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2030.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2028.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1485 } }
if = {
limit = { check_variable = { rq_t < 1483 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2040.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2038.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1484 } }
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2055.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2053.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 3 }
if = {
limit = { date < 2070.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2068.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
else = {
if = {
limit = { check_variable = { rq_t < 1486 } }
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
if = {
limit = { check_variable = { rq_t < 1487 } }
set_temp_variable = { rq_ap_w = 0.5 }
if = {
limit = { OR = { has_tech = lte is_researching_technology = lte } }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2015.1.1 }
multiply_temp_variable = { rq_ap_w = 0.5 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
if = {
limit = { date < 2013.1.1 }
multiply_temp_variable = { rq_ap_w = 0 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
else = {
set_temp_variable = { rq_ap_w = 1 }
clamp_temp_variable = { var = rq_ap_w min = 0 max = 100000 }
}
}
}
}
}
}
}
}
}
}
}
}
rq_ap_sub_calc = {
set_variable = { rq_ap_sx_0 = 0 } if = { limit = { check_variable = { rq_ap_sx_0 < rq_ap_s_air_CAT_military } } set_variable = { rq_ap_sx_0 = rq_ap_s_air_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_0 < rq_ap_s_air_CAT_aircraft } } set_variable = { rq_ap_sx_0 = rq_ap_s_air_CAT_aircraft } } if = { limit = { check_variable = { rq_ap_sx_0 < rq_ap_s_air_CAT_medium_aircraft } } set_variable = { rq_ap_sx_0 = rq_ap_s_air_CAT_medium_aircraft } }
set_variable = { rq_ap_sx_1 = 0 } if = { limit = { check_variable = { rq_ap_sx_1 < rq_ap_s_air_CAT_military } } set_variable = { rq_ap_sx_1 = rq_ap_s_air_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_1 < rq_ap_s_air_CAT_aircraft } } set_variable = { rq_ap_sx_1 = rq_ap_s_air_CAT_aircraft } }
set_variable = { rq_ap_sx_2 = 0 } if = { limit = { check_variable = { rq_ap_sx_2 < rq_ap_s_space_CAT_military } } set_variable = { rq_ap_sx_2 = rq_ap_s_space_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_2 < rq_ap_s_space_CAT_space } } set_variable = { rq_ap_sx_2 = rq_ap_s_space_CAT_space } } if = { limit = { check_variable = { rq_ap_sx_2 < rq_ap_s_space_CAT_satellites } } set_variable = { rq_ap_sx_2 = rq_ap_s_space_CAT_satellites } } if = { limit = { check_variable = { rq_ap_sx_2 < rq_ap_s_space_CAT_communication_satellites } } set_variable = { rq_ap_sx_2 = rq_ap_s_space_CAT_communication_satellites } }
set_variable = { rq_ap_sx_3 = 0 } if = { limit = { check_variable = { rq_ap_sx_3 < rq_ap_s_air_CAT_military } } set_variable = { rq_ap_sx_3 = rq_ap_s_air_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_3 < rq_ap_s_air_CAT_aircraft } } set_variable = { rq_ap_sx_3 = rq_ap_s_air_CAT_aircraft } } if = { limit = { check_variable = { rq_ap_sx_3 < rq_ap_s_air_CAT_light_aircraft } } set_variable = { rq_ap_sx_3 = rq_ap_s_air_CAT_light_aircraft } }
set_variable = { rq_ap_sx_4 = 0 } if = { limit = { check_variable = { rq_ap_sx_4 < rq_ap_s_space_CAT_military } } set_variable = { rq_ap_sx_4 = rq_ap_s_space_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_4 < rq_ap_s_space_CAT_space } } set_variable = { rq_ap_sx_4 = rq_ap_s_space_CAT_space } } if = { limit = { check_variable = { rq_ap_sx_4 < rq_ap_s_space_CAT_satellites } } set_variable = { rq_ap_sx_4 = rq_ap_s_space_CAT_satellites } } if = { limit = { check_variable = { rq_ap_sx_4 < rq_ap_s_space_CAT_navigation_satellites } } set_variable = { rq_ap_sx_4 = rq_ap_s_space_CAT_navigation_satellites } }
set_variable = { rq_ap_sx_5 = 0 } if = { limit = { check_variable = { rq_ap_sx_5 < rq_ap_s_space_CAT_military } } set_variable = { rq_ap_sx_5 = rq_ap_s_space_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_5 < rq_ap_s_space_CAT_space } } set_variable = { rq_ap_sx_5 = rq_ap_s_space_CAT_space } } if = { limit = { check_variable = { rq_ap_sx_5 < rq_ap_s_space_CAT_satellites } } set_variable = { rq_ap_sx_5 = rq_ap_s_space_CAT_satellites } } if = { limit = { check_variable = { rq_ap_sx_5 < rq_ap_s_space_CAT_anti_satellite_weapons } } set_variable = { rq_ap_sx_5 = rq_ap_s_space_CAT_anti_satellite_weapons } }
set_variable = { rq_ap_sx_6 = 0 } if = { limit = { check_variable = { rq_ap_sx_6 < rq_ap_s_space_CAT_military } } set_variable = { rq_ap_sx_6 = rq_ap_s_space_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_6 < rq_ap_s_space_CAT_space } } set_variable = { rq_ap_sx_6 = rq_ap_s_space_CAT_space } } if = { limit = { check_variable = { rq_ap_sx_6 < rq_ap_s_space_CAT_orbital_launch_vehicles } } set_variable = { rq_ap_sx_6 = rq_ap_s_space_CAT_orbital_launch_vehicles } }
set_variable = { rq_ap_sx_7 = 0 } if = { limit = { check_variable = { rq_ap_sx_7 < rq_ap_s_space_CAT_military } } set_variable = { rq_ap_sx_7 = rq_ap_s_space_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_7 < rq_ap_s_space_CAT_space } } set_variable = { rq_ap_sx_7 = rq_ap_s_space_CAT_space } } if = { limit = { check_variable = { rq_ap_sx_7 < rq_ap_s_space_CAT_satellites } } set_variable = { rq_ap_sx_7 = rq_ap_s_space_CAT_satellites } } if = { limit = { check_variable = { rq_ap_sx_7 < rq_ap_s_space_CAT_reconnaissance_satellites } } set_variable = { rq_ap_sx_7 = rq_ap_s_space_CAT_reconnaissance_satellites } }
set_variable = { rq_ap_sx_8 = 0 } if = { limit = { check_variable = { rq_ap_sx_8 < rq_ap_s_air_CAT_military } } set_variable = { rq_ap_sx_8 = rq_ap_s_air_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_8 < rq_ap_s_air_CAT_aircraft } } set_variable = { rq_ap_sx_8 = rq_ap_s_air_CAT_aircraft } } if = { limit = { check_variable = { rq_ap_sx_8 < rq_ap_s_air_CAT_air_weapons } } set_variable = { rq_ap_sx_8 = rq_ap_s_air_CAT_air_weapons } }
set_variable = { rq_ap_sx_9 = 0 } if = { limit = { check_variable = { rq_ap_sx_9 < rq_ap_s_air_CAT_military } } set_variable = { rq_ap_sx_9 = rq_ap_s_air_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_9 < rq_ap_s_air_CAT_aircraft } } set_variable = { rq_ap_sx_9 = rq_ap_s_air_CAT_aircraft } } if = { limit = { check_variable = { rq_ap_sx_9 < rq_ap_s_air_CAT_air_modules } } set_variable = { rq_ap_sx_9 = rq_ap_s_air_CAT_air_modules } }
set_variable = { rq_ap_sx_10 = 0 } if = { limit = { check_variable = { rq_ap_sx_10 < rq_ap_s_naval_CAT_military } } set_variable = { rq_ap_sx_10 = rq_ap_s_naval_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_10 < rq_ap_s_naval_CAT_naval } } set_variable = { rq_ap_sx_10 = rq_ap_s_naval_CAT_naval } } if = { limit = { check_variable = { rq_ap_sx_10 < rq_ap_s_naval_CAT_surface_ships } } set_variable = { rq_ap_sx_10 = rq_ap_s_naval_CAT_surface_ships } }
set_variable = { rq_ap_sx_11 = 0 } if = { limit = { check_variable = { rq_ap_sx_11 < rq_ap_s_air_CAT_military } } set_variable = { rq_ap_sx_11 = rq_ap_s_air_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_11 < rq_ap_s_air_CAT_helicopters } } set_variable = { rq_ap_sx_11 = rq_ap_s_air_CAT_helicopters } }
set_variable = { rq_ap_sx_12 = 0 } if = { limit = { check_variable = { rq_ap_sx_12 < rq_ap_s_naval_CAT_military } } set_variable = { rq_ap_sx_12 = rq_ap_s_naval_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_12 < rq_ap_s_naval_CAT_naval } } set_variable = { rq_ap_sx_12 = rq_ap_s_naval_CAT_naval } }
set_variable = { rq_ap_sx_13 = 0 } if = { limit = { check_variable = { rq_ap_sx_13 < rq_ap_s_air_CAT_military } } set_variable = { rq_ap_sx_13 = rq_ap_s_air_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_13 < rq_ap_s_air_CAT_helicopters } } set_variable = { rq_ap_sx_13 = rq_ap_s_air_CAT_helicopters } } if = { limit = { check_variable = { rq_ap_sx_13 < rq_ap_s_air_CAT_helicopter_modules } } set_variable = { rq_ap_sx_13 = rq_ap_s_air_CAT_helicopter_modules } }
set_variable = { rq_ap_sx_14 = 0 } if = { limit = { check_variable = { rq_ap_sx_14 < rq_ap_s_naval_CAT_military } } set_variable = { rq_ap_sx_14 = rq_ap_s_naval_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_14 < rq_ap_s_naval_CAT_naval } } set_variable = { rq_ap_sx_14 = rq_ap_s_naval_CAT_naval } } if = { limit = { check_variable = { rq_ap_sx_14 < rq_ap_s_naval_CAT_naval_modules } } set_variable = { rq_ap_sx_14 = rq_ap_s_naval_CAT_naval_modules } } if = { limit = { check_variable = { rq_ap_sx_14 < rq_ap_s_naval_CAT_naval_armament } } set_variable = { rq_ap_sx_14 = rq_ap_s_naval_CAT_naval_armament } }
set_variable = { rq_ap_sx_15 = 0 } if = { limit = { check_variable = { rq_ap_sx_15 < rq_ap_s_naval_CAT_military } } set_variable = { rq_ap_sx_15 = rq_ap_s_naval_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_15 < rq_ap_s_naval_CAT_naval } } set_variable = { rq_ap_sx_15 = rq_ap_s_naval_CAT_naval } } if = { limit = { check_variable = { rq_ap_sx_15 < rq_ap_s_naval_CAT_naval_modules } } set_variable = { rq_ap_sx_15 = rq_ap_s_naval_CAT_naval_modules } } if = { limit = { check_variable = { rq_ap_sx_15 < rq_ap_s_naval_CAT_military_electronics } } set_variable = { rq_ap_sx_15 = rq_ap_s_naval_CAT_military_electronics } } if = { limit = { check_variable = { rq_ap_sx_15 < rq_ap_s_naval_CAT_naval_electronics } } set_variable = { rq_ap_sx_15 = rq_ap_s_naval_CAT_naval_electronics } }
set_variable = { rq_ap_sx_16 = 0 } if = { limit = { check_variable = { rq_ap_sx_16 < rq_ap_s_naval_CAT_military } } set_variable = { rq_ap_sx_16 = rq_ap_s_naval_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_16 < rq_ap_s_naval_CAT_naval } } set_variable = { rq_ap_sx_16 = rq_ap_s_naval_CAT_naval } } if = { limit = { check_variable = { rq_ap_sx_16 < rq_ap_s_naval_CAT_naval_modules } } set_variable = { rq_ap_sx_16 = rq_ap_s_naval_CAT_naval_modules } }
set_variable = { rq_ap_sx_17 = 0 } if = { limit = { check_variable = { rq_ap_sx_17 < rq_ap_s_naval_CAT_military } } set_variable = { rq_ap_sx_17 = rq_ap_s_naval_CAT_military } } if = { limit = { check_variable = { rq_ap_sx_17 < rq_ap_s_naval_CAT_naval } } set_variable = { rq_ap_sx_17 = rq_ap_s_naval_CAT_naval } } if = { limit = { check_variable = { rq_ap_sx_17 < rq_ap_s_naval_CAT_naval_modules } } set_variable = { rq_ap_sx_17 = rq_ap_s_naval_CAT_naval_modules } } if = { limit = { check_variable = { rq_ap_sx_17 < rq_ap_s_naval_CAT_naval_armament } } set_variable = { rq_ap_sx_17 = rq_ap_s_naval_CAT_naval_armament } } if = { limit = { check_variable = { rq_ap_sx_17 < rq_ap_s_naval_CAT_naval_missiles } } set_variable = { rq_ap_sx_17 = rq_ap_s_naval_CAT_naval_missiles } }
}
rq_ap_strat = {
if = { limit = { original_tag = FRA NOT = { has_tech = armor_tech_3 } } set_country_flag = rq_as_0 } else = { clr_country_flag = rq_as_0 }
if = { limit = { original_tag = GER country_exists = GER NOT = { has_tech = mbt_tech_3 } } set_country_flag = rq_as_1 } else = { clr_country_flag = rq_as_1 }
if = { limit = { original_tag = ISR country_exists = ISR } set_country_flag = rq_as_2 } else = { clr_country_flag = rq_as_2 }
if = { limit = { original_tag = SOV country_exists = SOV date > 2012.1.1 NOT = { has_tech = infantry_weapons_6 } } set_country_flag = rq_as_3 } else = { clr_country_flag = rq_as_3 }
if = { limit = { original_tag = USA country_exists = USA NOT = { has_tech = gen_5_light } } set_country_flag = rq_as_4 } else = { clr_country_flag = rq_as_4 }
if = { limit = { original_tag = USA NOT = { has_tech = infantry_weapons_5 } date > 2002.1.1 } set_country_flag = rq_as_5 } else = { clr_country_flag = rq_as_5 }
if = { limit = { original_tag = USA NOT = { has_tech = infantry_weapons_6 } date > 2013.1.1 } set_country_flag = rq_as_6 } else = { clr_country_flag = rq_as_6 }
if = { limit = { original_tag = USA NOT = { has_tech = util_vehicle_5 } date > 2005.1.1 } set_country_flag = rq_as_7 } else = { clr_country_flag = rq_as_7 }
if = { limit = { original_tag = USA NOT = { has_tech = util_vehicle_6 } date > 2013.1.1 } set_country_flag = rq_as_8 } else = { clr_country_flag = rq_as_8 }
if = { limit = { NOT = { has_country_flag = rq_as_9 } original_tag = AFG original_tag = AFG OR = { has_war_with = TAL has_civil_war = yes } } set_country_flag = rq_as_9  }
if = { limit = { has_country_flag = rq_as_9 OR = { OR = { is_subject = yes AND = { NOT = { country_exists = TAL } has_war = no } } NOT = { original_tag = AFG } } } clr_country_flag = rq_as_9 }
if = { limit = { original_tag = AFG original_tag = AFG has_war = no OR = { AFG_ai_historical_path = yes AND = { AFG_ai_historical_path = no AFG_ai_alt_path = no OR = { has_completed_focus = AFG_endorse_the_american_candidate has_completed_focus = AFG_ashraf_ghani AND = { western_autocrats_are_in_power = yes has_global_flag = GLOBAL_afghan_civil_war_over } } } } } set_country_flag = rq_as_10 } else = { clr_country_flag = rq_as_10 }
if = { limit = { original_tag = AFG original_tag = AFG has_war = no has_global_flag = GLOBAL_afghan_civil_war_over OR = { has_global_flag = AFG_JAMIAT_FOCUS_PATH AND = { AFG_ai_historical_path = no AFG_ai_alt_path = no OR = { has_completed_focus = AFG_islamic_democracy has_completed_focus = AFG_naveen AND = { NOT = { has_country_flag = AFG_political_path_chosen } OR = { neutrality_neutral_muslim_brotherhood_are_in_power = yes neutrality_neutral_conservatism_are_in_power = yes } } } } } } set_country_flag = rq_as_11 } else = { clr_country_flag = rq_as_11 }
if = { limit = { original_tag = AFG original_tag = AFG has_war = no has_global_flag = GLOBAL_afghan_civil_war_over OR = { has_global_flag = AFG_HAZARA_FOCUS_PATH AND = { AFG_ai_historical_path = no AFG_ai_alt_path = no OR = { has_completed_focus = AFG_hezb_i_wahdat AND = { has_government = communism communism > 0.5 } } } } } set_country_flag = rq_as_12 } else = { clr_country_flag = rq_as_12 }
if = { limit = { original_tag = AFG original_tag = AFG has_war = no has_global_flag = GLOBAL_afghan_civil_war_over has_global_flag = AFG_MONARCHY_FOCUS_PATH } set_country_flag = rq_as_13 } else = { clr_country_flag = rq_as_13 }
if = { limit = { original_tag = AFG original_tag = AFG has_war = no has_global_flag = GLOBAL_afghan_civil_war_over has_global_flag = AFG_EMIRATE_FOCUS_PATH } set_country_flag = rq_as_14 } else = { clr_country_flag = rq_as_14 }
if = { limit = { original_tag = AFG original_tag = AFG has_war = no has_global_flag = GLOBAL_afghan_civil_war_over has_global_flag = AFG_JUNBISH_FOCUS_PATH } set_country_flag = rq_as_15 } else = { clr_country_flag = rq_as_15 }
if = { limit = { NOT = { has_country_flag = rq_as_16 } original_tag = AST original_tag = AST has_global_flag = AST_HISTORICAL_FOCUS_PATH } set_country_flag = rq_as_16  }
if = { limit = { has_country_flag = rq_as_16 OR = { OR = { is_subject = yes AND = { NOT = { country_exists = AST } has_war = no } } NOT = { original_tag = AST } } } clr_country_flag = rq_as_16 }
if = { limit = { original_tag = BHR original_tag = BHR has_global_flag = BHR_HISTORICAL_FOCUS_PATH } set_country_flag = rq_as_17 } else = { clr_country_flag = rq_as_17 }
if = { limit = { NOT = { has_country_flag = rq_as_18 } original_tag = BHR original_tag = BHR has_global_flag = BHR_DAY_OF_RAGE_FOCUS_PATH } set_country_flag = rq_as_18  }
if = { limit = { has_country_flag = rq_as_18 OR = { has_country_flag = accepted_blockade_demands NOT = { original_tag = BHR } } } clr_country_flag = rq_as_18 }
if = { limit = { original_tag = BHR original_tag = BHR has_global_flag = BHR_CROWNED_DEMOCRACY_FOCUS_PATH } set_country_flag = rq_as_19 } else = { clr_country_flag = rq_as_19 }
if = { limit = { original_tag = BHR original_tag = BHR NOT = { has_global_flag = BHR_HISTORICAL_FOCUS_PATH } NOT = { has_global_flag = BHR_DAY_OF_RAGE_FOCUS_PATH } NOT = { has_global_flag = BHR_CROWNED_DEMOCRACY_FOCUS_PATH } } set_country_flag = rq_as_20 } else = { clr_country_flag = rq_as_20 }
set_variable = { rq_apf_armor_tech_3 = 0 }
if = { limit = { has_country_flag = rq_as_0 } add_to_variable = { rq_apf_armor_tech_3 = 1000 } }
if = { limit = { has_country_flag = rq_as_2 } add_to_variable = { rq_apf_armor_tech_3 = 1000 } }
set_variable = { rq_apf_era_tech_3 = 0 }
if = { limit = { has_country_flag = rq_as_2 } add_to_variable = { rq_apf_era_tech_3 = 1000 } }
set_variable = { rq_apf_gen_5_light = 0 }
if = { limit = { has_country_flag = rq_as_4 } add_to_variable = { rq_apf_gen_5_light = 1000 } }
set_variable = { rq_apf_infantry_weapons_5 = 0 }
if = { limit = { has_country_flag = rq_as_5 } add_to_variable = { rq_apf_infantry_weapons_5 = 1000 } }
set_variable = { rq_apf_infantry_weapons_6 = 0 }
if = { limit = { has_country_flag = rq_as_3 } add_to_variable = { rq_apf_infantry_weapons_6 = 1000 } }
if = { limit = { has_country_flag = rq_as_6 } add_to_variable = { rq_apf_infantry_weapons_6 = 1000 } }
set_variable = { rq_apf_mbt_tech_3 = 0 }
if = { limit = { has_country_flag = rq_as_1 } add_to_variable = { rq_apf_mbt_tech_3 = 1000 } }
set_variable = { rq_apf_tank_components_tech_4 = 0 }
if = { limit = { has_country_flag = rq_as_2 } add_to_variable = { rq_apf_tank_components_tech_4 = 1000 } }
set_variable = { rq_apf_util_vehicle_5 = 0 }
if = { limit = { has_country_flag = rq_as_7 } add_to_variable = { rq_apf_util_vehicle_5 = 1000 } }
set_variable = { rq_apf_util_vehicle_6 = 0 }
if = { limit = { has_country_flag = rq_as_8 } add_to_variable = { rq_apf_util_vehicle_6 = 1000 } }
set_variable = { rq_apn_CAT_excavation = 0 }
if = { limit = { has_country_flag = rq_as_16 } add_to_variable = { rq_apn_CAT_excavation = 10 } }
set_variable = { rq_apn_CAT_infantry = 0 }
if = { limit = { has_country_flag = rq_as_9 } add_to_variable = { rq_apn_CAT_infantry = 10 } }
if = { limit = { has_country_flag = rq_as_10 } add_to_variable = { rq_apn_CAT_infantry = 5 } }
if = { limit = { has_country_flag = rq_as_11 } add_to_variable = { rq_apn_CAT_infantry = 5 } }
if = { limit = { has_country_flag = rq_as_12 } add_to_variable = { rq_apn_CAT_infantry = 5 } }
if = { limit = { has_country_flag = rq_as_13 } add_to_variable = { rq_apn_CAT_infantry = 5 } }
if = { limit = { has_country_flag = rq_as_14 } add_to_variable = { rq_apn_CAT_infantry = 5 } }
if = { limit = { has_country_flag = rq_as_15 } add_to_variable = { rq_apn_CAT_infantry = 5 } }
if = { limit = { has_country_flag = rq_as_17 } add_to_variable = { rq_apn_CAT_infantry = 10 } }
if = { limit = { has_country_flag = rq_as_18 } add_to_variable = { rq_apn_CAT_infantry = 10 } }
if = { limit = { has_country_flag = rq_as_19 } add_to_variable = { rq_apn_CAT_infantry = 10 } }
if = { limit = { has_country_flag = rq_as_20 } add_to_variable = { rq_apn_CAT_infantry = 10 } }
}
