GEO_cis_eu_influence_decision = { GEO_expand_cis_influence = { icon = GFX_russian_flag_cis_texticon available = { NOT = { has_decision = GEO_expand_eu_influence } } cost = 100 days_remove = 25 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_expand_cis_influence" custom_effect_tooltip = GEO_cis_trade_influence_incr_TT custom_effect_tooltip = GEO_EU_trade_influence_decr_TT hidden_effect = { add_to_variable = { GEO_cis_trade_influence = 5 } add_to_variable = { GEO_eu_trade_influence = -5 } clamp_variable = { var = GEO_cis_trade_influence max = 100 } clamp_variable = { var = GEO_eu_trade_influence min = 0 } } } ai_will_do = { base = 0 modifier = { add = 5 date < 2006.1.1 has_global_flag = GEO_PRO_RUSSIAN_FOCUS_PATH } modifier = { add = 5 date > 2010.1.1 OR = { has_global_flag = GEO_GEORGIAN_PATRIOTS_FOCUS_PATH has_global_flag = GEO_UNITED_GEORGIA_FOCUS_PATH } } } } GEO_expand_eu_influence = { icon = GFX_european_union_texticon available = { NOT = { has_decision = GEO_expand_cis_influence } } cost = 100 days_remove = 25 fire_only_once = no remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_expand_eu_influence" custom_effect_tooltip = GEO_EU_trade_influence_incr_TT custom_effect_tooltip = GEO_cis_trade_influence_decr_TT hidden_effect = { add_to_variable = { GEO_eu_trade_influence = 5 } add_to_variable = { GEO_cis_trade_influence = -5 } clamp_variable = { var = GEO_eu_trade_influence max = 100 } clamp_variable = { var = GEO_cis_trade_influence min = 0 } } } ai_will_do = { base = 0 modifier = { add = 1 check_variable = { GEO_eu_trade_influence < 80 } has_global_flag = GEO_SHEVARDNADZE_WEST_FOCUS_PATH } modifier = { add = 5 has_global_flag = GEO_HISTORICAL_FOCUS_PATH } modifier = { add = 5 date < 2004.1.1 has_global_flag = GEO_HELP_CHE_SUBPATH } modifier = { add = 5 date < 2006.1.1 has_global_flag = GEO_SHEVARDNADZE_WEST_FOCUS_PATH } modifier = { add = 5 date > 2010.1.1 has_global_flag = GEO_UNITED_NATIONAL_MOVEMENT_FOCUS_PATH } } } } GEO_tiblisis_gambit_decision_category = { GEO_the_conflict = { activation = { always = no } available = { GEO = { controls_province = 11696 controls_province = 3734 controls_province = 9753 } if = { limit = { GEO = { has_war_with = SOO } } 705 = { is_controlled_by = GEO } } if = { limit = { GEO = { has_war_with = ABK } } 706 = { is_controlled_by = GEO } } } days_mission_timeout = 90 is_good = no complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_the_conflict" custom_effect_tooltip = USA_russian_defeat_TT hidden_effect = { if = { limit = { 671 = { is_owned_and_controlled_by = SOV } NOT = { country_exists = DAG } } SOV = { release = DAG } } else_if = { limit = { DAG = { is_subject_of = SOV } } SOV = { set_autonomy = { target = DAG autonomous_state = autonomy_free end_wars = no } } } if = { limit = { 672 = { is_owned_and_controlled_by = SOV } NOT = { country_exists = CHE } } SOV = { release = CHE } } else_if = { limit = { CHE = { is_subject_of = SOV } } SOV = { set_autonomy = { target = CHE autonomous_state = autonomy_free end_wars = no } } } if = { limit = { 1126 = { is_owned_and_controlled_by = SOV } NOT = { country_exists = ING } } SOV = { release = ING } } else_if = { limit = { ING = { is_subject_of = SOV } } SOV = { set_autonomy = { target = ING autonomous_state = autonomy_free end_wars = no } } } if = { limit = { 1126 = { is_owned_and_controlled_by = SOV } } 1126 = { transfer_state_to = SOO } } if = { limit = { 674 = { is_owned_and_controlled_by = SOV } NOT = { country_exists = KBK } } SOV = { release = KBK } } else_if = { limit = { KBK = { is_subject_of = SOV } } SOV = { set_autonomy = { target = KBK autonomous_state = autonomy_free end_wars = no } } } if = { limit = { 1125 = { is_owned_and_controlled_by = SOV } NOT = { country_exists = KCC } } SOV = { release = KCC } } else_if = { limit = { KCC = { is_subject_of = SOV } } SOV = { set_autonomy = { target = KCC autonomous_state = autonomy_free end_wars = no } } } } } timeout_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_the_conflict" custom_effect_tooltip = USA_stalemate_TT hidden_effect = { SOV = { white_peace = GEO } # Georgian Victory if = { limit = { GEO = { has_war_with = SOO } 705 = { is_controlled_by = GEO } } 705 = { transfer_state_to = GEO } } if = { limit = { GEO = { has_war_with = ABK } 706 = { is_controlled_by = GEO } } 706 = { transfer_state_to = GEO } } # Russian Victory if = { limit = { GEO = { has_war_with = SOO } NOT = { 705 = { is_controlled_by = GEO } } } 705 = { transfer_state_to = SOO } } if = { limit = { GEO = { has_war_with = ABK } NOT = { 706 = { is_controlled_by = GEO } } } 706 = { transfer_state_to = ABK } } } } } } GEO_hydroelectric_plant_decision_category = { # TODO: Add an event regarding the protestors for this specific power plant GEO_expand_the_khudoni_hydro_power_plant = { icon = GFX_decision_generic_construction available = { owns_state = 707 } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_remove = 730 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 707 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_expand_the_khudoni_hydro_power_plant" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_expand_the_khudoni_hydro_power_plant" 707 = { set_temp_variable = { electric_addition = 0.615 } set_temp_variable = { storage_addition = 0.15 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 15 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } GEO_zhoneti_hydro_power_plant = { icon = GFX_decision_generic_construction available = { owns_state = 707 } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_remove = 730 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 707 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_zhoneti_hydro_power_plant" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_zhoneti_hydro_power_plant" 707 = { set_temp_variable = { electric_addition = 0.110 } set_temp_variable = { storage_addition = 0.10 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 15 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } GEO_vardnili_hydro_power_plant = { icon = GFX_decision_generic_construction available = { owns_state = 706 } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_remove = 730 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 706 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_vardnili_hydro_power_plant" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_vardnili_hydro_power_plant" 706 = { set_temp_variable = { electric_addition = 0.220 } set_temp_variable = { storage_addition = 0.10 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 15 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } GEO_tvishi_hydro_power_plant = { icon = GFX_decision_generic_construction available = { owns_state = 707 } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_remove = 730 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 707 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_tvishi_hydro_power_plant" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_tvishi_hydro_power_plant" 707 = { set_temp_variable = { electric_addition = 0.110 } set_temp_variable = { storage_addition = 0.10 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 15 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } GEO_shuakhevi_hydro_power_plant = { icon = GFX_decision_generic_construction available = { owns_state = 466 } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_remove = 730 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 466 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_shuakhevi_hydro_power_plant" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_shuakhevi_hydro_power_plant" 466 = { set_temp_variable = { electric_addition = 0.185 } set_temp_variable = { storage_addition = 0.10 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 15 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } GEO_samtskhe_javakheti_hydro_power_plant = { icon = GFX_decision_generic_construction available = { owns_state = 1033 } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_remove = 730 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 1033 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_samtskhe_javakheti_hydro_power_plant" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_samtskhe_javakheti_hydro_power_plant" 1033 = { set_temp_variable = { electric_addition = 0.70 } set_temp_variable = { storage_addition = 0.15 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 15 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } GEO_nenskra_hydro_power_plant = { icon = GFX_decision_generic_construction available = { owns_state = 707 } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_remove = 730 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 707 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_nenskra_hydro_power_plant" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_nenskra_hydro_power_plant" 1033 = { set_temp_variable = { electric_addition = 0.280 } set_temp_variable = { storage_addition = 0.10 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 15 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } GEO_namakhvani_hydro_power_plant = { icon = GFX_decision_generic_construction available = { owns_state = 707 } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_remove = 730 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 707 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_namakhvani_hydro_power_plant" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_namakhvani_hydro_power_plant" 1033 = { set_temp_variable = { electric_addition = 0.250 } set_temp_variable = { storage_addition = 0.10 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 15 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } GEO_dariali_hydropower_plant = { icon = GFX_decision_generic_construction available = { owns_state = 708 } custom_cost_trigger = { check_variable = { treasury > 1.49 } } custom_cost_text = cost_1_5 days_remove = 730 fire_only_once = yes highlight_states = { highlight_states_trigger = { state = 708 } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_dariali_hydropower_plant" set_temp_variable = { treasury_change = -1.5 } modify_treasury_effect = yes } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision GEO_dariali_hydropower_plant" 1033 = { set_temp_variable = { electric_addition = 0.280 } set_temp_variable = { storage_addition = 0.10 } add_hydroelectric_energy_production_effect = yes } } ai_will_do = { base = 15 modifier = { factor = 5 has_an_energy_deficit = yes } modifier = { factor = 0 check_variable = { interest_rate > 8 } } } } }