BOT_ai_path_category = { BOT_build_the_digkosi = { icon = GFX_decision_generic_political_discourse cost = 25 days_re_enable = 30 visible = { has_global_flag = BOT_KGOSIKGOLO_FOCUS_PATH } available = { nationalist_monarchists_are_in_power = no check_variable = { party_pop_array^23 < 0.30 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BOT_build_the_digkosi" set_temp_variable = { party_index = 23 } set_temp_variable = { party_popularity_increase = 0.04 } set_temp_variable = { temp_outlook_increase = 0.04 } change_relative_party_popularity = yes } ai_will_do = { base = 100 } } } BOT_anti_poaching_decisions = { BOT_bi_yearly_poaching_report = { icon = GFX_decision_shoot_bird available = { always = no } activation = { OR = { has_idea = BOT_kalahari_expansion_1 has_idea = BOT_kalahari_expansion_2 has_idea = BOT_kalahari_expansion_3 has_idea = BOT_kalahari_expansion_4 has_idea = BOT_kalahari_expansion_5 has_idea = BOT_kalahari_expansion_6 has_idea = BOT_kalahari_expansion_7 has_idea = BOT_kalahari_expansion_8 has_idea = BOT_kalahari_expansion_9 has_idea = BOT_kalahari_expansion_10 } } days_mission_timeout = 360 days_re_enable = 1 timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision BOT_bi_yearly_poaching_report" if = { limit = { check_variable = { no_of_poachers < 50 } } BOT_decrease_desertification_rate = yes } else_if = { limit = { check_variable = { no_of_poachers > 149 } } BOT_increase_desertification_rate = yes } else = { # Nothing } } } BOT_hire_extra_security = { icon = generic_police_action available = { command_power > 20 } cost = 25 visible = { NOT = { has_idea = BOT_extra_security_program } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision complete BOT_hire_extra_security" add_command_power = -20 add_ideas = BOT_extra_security_program } #Only do when at least medium threat ai_will_do = { base = 100 modifier = { factor = 0 check_variable = { no_of_poachers < 50 } } modifier = { factor = 2 check_variable = { no_of_poachers > 150 } } } } BOT_disband_extra_security = { icon = generic_police_action cost = 0 visible = { has_idea = BOT_extra_security_program } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision complete BOT_disband_extra_security" remove_ideas = BOT_extra_security_program } ai_will_do = { base = 0 } } BOT_provide_heavy_weapons = { icon = generic_assassination available = { command_power > 20 } cost = 25 visible = { NOT = { has_idea = BOT_heavy_weapons_program } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision complete BOT_provide_heavy_weapons" add_command_power = -20 add_ideas = BOT_heavy_weapons_program } #Only do when at least medium threat ai_will_do = { base = 100 modifier = { factor = 0 check_variable = { no_of_poachers < 50 } } modifier = { factor = 2 check_variable = { no_of_poachers > 150 } } } } BOT_withdraw_heavy_weapons = { icon = generic_assassination cost = 0 visible = { has_idea = BOT_heavy_weapons_program } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision complete BOT_withdraw_heavy_weapons" remove_ideas = BOT_heavy_weapons_program } ai_will_do = { base = 0 } } BOT_anti_poaching_dehorn_rhinos = { available = { always = yes } cost = 100 days_remove = 30 days_re_enable = 360 fixed_random_seed = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision BOT_anti_poaching_dehorn_rhinos" BOT_increase_desertification_rate = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision BOT_anti_poaching_dehorn_rhinos" random_list = { 75 = { country_event = Botswana_events.5 custom_effect_tooltip = BOT_anti_poaching_dehorn_rhinos_tt } 25 = { country_event = Botswana_events.6 } } } #Only do when at least medium threat ai_will_do = { base = 100 modifier = { factor = 0 check_variable = { no_of_poachers < 50 } } modifier = { factor = 2 check_variable = { no_of_poachers > 150 } } } } }