#Economic Policy economy_decisions = { #Drilling for oil around Iceland ICE_drilling_for_oil_off_shore = { icon = oil allowed = { tag = ICE } highlight_states = { highlight_state_targets = { state = 100 } } available = { has_tech = excavation1 has_tech = excavation2 num_of_civilian_factories_available_for_projects > 1 100 = { is_owned_and_controlled_by = ROOT NOT = { has_state_flag = no_more_oil_flag } } has_completed_focus = ICE_off_shore_oil_drilling } visible = { 100 = { is_owned_and_controlled_by = ROOT NOT = { has_state_flag = no_more_oil_flag } } has_completed_focus = ICE_off_shore_oil_drilling } fire_only_once = no cost = ICE_black_gold_cost days_remove = 90 #days_re_enable = 180 modifier = { civilian_factory_use = 2 } ai_will_do = { base = 0.3 modifier = { # Too low PP factor = 0.5 has_political_power < 80 } modifier = { #We have plenty of PP, avanti! factor = 3 has_political_power > 200 } modifier = { #Running out of the stuff, need more! factor = 5 has_resources_in_country = { resource = oil amount < 1 } } modifier = { factor = 0 is_historical_focus_on = yes check_variable = { ICE_black_gold_runs_dry_chance > 20 } #Chill out on historical pls AI } modifier = { add = 500 is_historical_focus_on = no #Because why not } } fixed_random_seed = no remove_effect = { random_list = { ICE_black_gold_success_chance = { 100 = { add_resource = { type = oil amount = 4 } } } ICE_black_gold_success_chance = { 100 = { add_resource = { type = oil amount = 2 } } } ICE_black_gold_runs_dry_chance = { 100 = { add_resource = { type = oil amount = 8 } custom_effect_tooltip = no_more_oil_tt set_state_flag = no_more_oil_flag } country_event = { id = iceland_events.26 hours = 0 } } } add_to_variable = { ICE_black_gold_cost = 30 } if = { limit = { check_variable = { ICE_black_gold_runs_dry_chance < 45 } } add_to_variable = { ICE_black_gold_runs_dry_chance = 5 } subtract_from_variable = { ICE_black_gold_success_chance = 2.5 } } } } } ICE_infiltrate_the_british_isles_category = { ICE_incite_communist_uprising_scotland = { icon = GFX_decision_generic_ignite_civil_war fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = ICE_uprising_scotland_tt 121 = { owner = { communism > ICE.communism_support_needed } } } SCO = { exists = no } ENG = { NOT = { has_government = communism } } } visible = { SCO = { exists = no } ENG = { NOT = { has_government = communism } } } cost = 50 complete_effect = { custom_effect_tooltip = ICE_incite_communist_uprising_scotland_tt hidden_effect = { set_country_flag = achivement_started_uprising_scotland # Set targets for independence wargoal every_other_country = { limit = { any_owned_state = { is_core_of = SCO } } add_to_array = { ICE.scottish_uprising_enemies = THIS } } SCO = { transfer_state = 121 } for_each_scope_loop = { array = ICE.scottish_uprising_enemies SCO = { declare_war_on = { target = PREV type = independence_wargoal } } 121 = { teleport_armies = { # just teleport everyone home } } } SCO = { division_template = { name = "Workers' Militias" is_locked = no regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } } support = { } } 121 = { create_unit = { division = "name = \"Workers' Militia\" division_template = \"Workers' Militias\" start_experience_factor = 0.1 start_equipment_factor = 1 start_manpower_factor = 1" owner = SCO allow_spawning_on_enemy_provs = yes count = 1 } } add_popularity = { ideology = communism popularity = 0.25 } set_politics = { ruling_party = communism elections_allowed = no } } } } ai_will_do = { base = 0 modifier = { add = 100 has_war_support > 0.25 } modifier = { add = 100 has_government = communism } } } ICE_incite_communist_uprising_wales = { icon = GFX_decision_generic_ignite_civil_war fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = ICE_uprising_wales_tt 122 = { owner = { communism > ICE.communism_support_needed } } } WLS = { exists = no } ENG = { NOT = { has_government = communism } } } visible = { WLS = { exists = no } ENG = { NOT = { has_government = communism } } } cost = 50 complete_effect = { custom_effect_tooltip = ICE_incite_communist_uprising_wales_tt hidden_effect = { set_country_flag = achivement_started_uprising_wales # Set targets for independence wargoal every_other_country = { limit = { any_owned_state = { is_core_of = WLS } } add_to_array = { ICE.welsh_uprising_enemies = THIS } } WLS = { transfer_state = 122 } for_each_scope_loop = { array = ICE.welsh_uprising_enemies WLS = { declare_war_on = { target = PREV type = independence_wargoal } } 122 = { teleport_armies = { # just teleport everyone home } } } WLS = { division_template = { name = "Workers' Militias" is_locked = no regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } } support = { } } 122 = { create_unit = { division = "name = \"Workers' Militia\" division_template = \"Workers' Militias\" start_experience_factor = 0.1 start_equipment_factor = 1 start_manpower_factor = 1" owner = WLS allow_spawning_on_enemy_provs = yes count = 1 } } add_popularity = { ideology = communism popularity = 0.25 } set_politics = { ruling_party = communism elections_allowed = no } } } } ai_will_do = { base = 0 modifier = { add = 100 has_war_support > 0.25 } modifier = { add = 100 has_government = communism } } } ICE_incite_communist_uprising_ni = { icon = GFX_decision_generic_ignite_civil_war fire_only_once = yes available = { custom_trigger_tooltip = { tooltip = ICE_uprising_ni_tt 122 = { owner = { communism > ICE.communism_support_needed } } } NIR = { exists = no } ENG = { NOT = { has_government = communism } } } visible = { NIR = { exists = no } ENG = { NOT = { has_government = communism } } } cost = 50 complete_effect = { custom_effect_tooltip = ICE_incite_communist_uprising_ni_tt hidden_effect = { set_country_flag = achivement_started_uprising_northen_ireland # Set targets for independence wargoal every_other_country = { limit = { any_owned_state = { is_core_of = NIR } } add_to_array = { ICE.ni_uprising_enemies = THIS } } NIR = { transfer_state = 119 } for_each_scope_loop = { array = ICE.ni_uprising_enemies NIR = { declare_war_on = { target = PREV type = independence_wargoal } } 119 = { teleport_armies = { # just teleport everyone home } } } NIR = { division_template = { name = "Workers' Militias" is_locked = no regiments = { infantry = { x = 0 y = 0 } infantry = { x = 0 y = 1 } infantry = { x = 0 y = 2 } } support = { } } 119 = { create_unit = { division = "name = \"Workers' Militia\" division_template = \"Workers' Militias\" start_experience_factor = 0.1 start_equipment_factor = 1 start_manpower_factor = 1" owner = NIR allow_spawning_on_enemy_provs = yes count = 1 } } add_popularity = { ideology = communism popularity = 0.25 } set_politics = { ruling_party = communism elections_allowed = no } } } } ai_will_do = { base = 0 modifier = { add = 100 has_war_support > 0.25 } modifier = { add = 100 has_government = communism } } } } ICE_improve_the_viking_spirit = { ICE_the_wisdom_of_odin = { priority = 10 icon = GFX_decision_eng_puppet_usa ai_will_do = { base = 200 } allowed = { original_tag = ICE } available = { has_completed_focus = ICE_the_viking_spirit NOT = { has_country_flag = ICE_already_improving_the_viking_spirit_flag } } visible = { has_completed_focus = ICE_the_viking_spirit } cost = 75 days_remove = 35 fire_only_once = yes complete_effect = { set_country_flag = ICE_already_improving_the_viking_spirit_flag } remove_effect = { clr_country_flag = ICE_already_improving_the_viking_spirit_flag IF = { limit = { has_idea = ICE_viking_spirit } swap_ideas = { remove_idea = ICE_viking_spirit add_idea = ICE_viking_spirit_odin } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_thor } swap_ideas = { remove_idea = ICE_viking_spirit_thor add_idea = ICE_viking_spirit_odin_thor } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir add_idea = ICE_viking_spirit_odin_aegir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_fenrir add_idea = ICE_viking_spirit_odin_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja } swap_ideas = { remove_idea = ICE_viking_spirit_freja add_idea = ICE_viking_spirit_odin_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_thor } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_thor add_idea = ICE_viking_spirit_odin_thor_aegir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_fenrir_thor } swap_ideas = { remove_idea = ICE_viking_spirit_fenrir_thor add_idea = ICE_viking_spirit_odin_thor_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja_thor } swap_ideas = { remove_idea = ICE_viking_spirit_freja_thor add_idea = ICE_viking_spirit_odin_thor_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_fenrir add_idea = ICE_viking_spirit_aegir_odin_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_freja add_idea = ICE_viking_spirit_aegir_odin_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_freja_fenrir add_idea = ICE_viking_spirit_odin_fenrir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_thor_fenrir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_thor_fenrir_freja add_idea = ICE_viking_spirit_odin_thor_freja_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_fenrir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_fenrir_freja add_idea = ICE_viking_spirit_odin_freja_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_thor_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_thor_fenrir add_idea = ICE_viking_spirit_odin_thor_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_thor_freja } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_thor_freja add_idea = ICE_viking_spirit_odin_thor_aegir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja_thor_aegir_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_freja_thor_aegir_fenrir add_idea = ICE_viking_spirit_odin_freja_thor_aegir_fenrir } } } } ICE_the_might_of_thor = { priority = 9 icon = GFX_decision_generic_civil_support ai_will_do = { base = 200 } allowed = { original_tag = ICE } available = { has_completed_focus = ICE_the_viking_spirit NOT = { has_country_flag = ICE_already_improving_the_viking_spirit_flag } } visible = { has_completed_focus = ICE_the_viking_spirit } cost = 75 days_remove = 35 fire_only_once = yes complete_effect = { set_country_flag = ICE_already_improving_the_viking_spirit_flag } remove_effect = { clr_country_flag = ICE_already_improving_the_viking_spirit_flag IF = { limit = { has_idea = ICE_viking_spirit } swap_ideas = { remove_idea = ICE_viking_spirit add_idea = ICE_viking_spirit_thor } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin } swap_ideas = { remove_idea = ICE_viking_spirit_odin add_idea = ICE_viking_spirit_odin_thor } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir add_idea = ICE_viking_spirit_aegir_thor } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_fenrir add_idea = ICE_viking_spirit_fenrir_thor } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja } swap_ideas = { remove_idea = ICE_viking_spirit_freja add_idea = ICE_viking_spirit_freja_thor } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_aegir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_aegir add_idea = ICE_viking_spirit_odin_thor_aegir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_fenrir add_idea = ICE_viking_spirit_odin_thor_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_freja } swap_ideas = { remove_idea = ICE_viking_spirit_odin_freja add_idea = ICE_viking_spirit_odin_thor_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_fenrir add_idea = ICE_viking_spirit_aegir_thor_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_freja add_idea = ICE_viking_spirit_aegir_thor_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_freja_fenrir add_idea = ICE_viking_spirit_thor_fenrir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_odin_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_odin_fenrir add_idea = ICE_viking_spirit_odin_thor_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_odin_freja } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_odin_freja add_idea = ICE_viking_spirit_odin_thor_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_fenrir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_fenrir_freja add_idea = ICE_viking_spirit_freja_thor_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_fenrir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_odin_fenrir_freja add_idea = ICE_viking_spirit_odin_thor_freja_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_freja_aegir_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_freja_aegir_fenrir add_idea = ICE_viking_spirit_odin_freja_thor_aegir_fenrir } } } } ICE_the_guidance_of_aegir_and_ran = { priority = 8 icon = GFX_decision_generic_naval ai_will_do = { base = 200 } allowed = { original_tag = ICE } available = { has_completed_focus = ICE_the_viking_spirit NOT = { has_country_flag = ICE_already_improving_the_viking_spirit_flag } } visible = { has_completed_focus = ICE_the_viking_spirit } cost = 75 days_remove = 35 fire_only_once = yes complete_effect = { set_country_flag = ICE_already_improving_the_viking_spirit_flag } remove_effect = { clr_country_flag = ICE_already_improving_the_viking_spirit_flag IF = { limit = { has_idea = ICE_viking_spirit } swap_ideas = { remove_idea = ICE_viking_spirit add_idea = ICE_viking_spirit_aegir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin } swap_ideas = { remove_idea = ICE_viking_spirit_odin add_idea = ICE_viking_spirit_odin_aegir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_thor } swap_ideas = { remove_idea = ICE_viking_spirit_thor add_idea = ICE_viking_spirit_aegir_thor } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_fenrir add_idea = ICE_viking_spirit_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja } swap_ideas = { remove_idea = ICE_viking_spirit_freja add_idea = ICE_viking_spirit_aegir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor add_idea = ICE_viking_spirit_odin_thor_aegir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_fenrir add_idea = ICE_viking_spirit_aegir_odin_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_freja } swap_ideas = { remove_idea = ICE_viking_spirit_odin_freja add_idea = ICE_viking_spirit_aegir_odin_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_fenrir_thor } swap_ideas = { remove_idea = ICE_viking_spirit_fenrir_thor add_idea = ICE_viking_spirit_aegir_thor_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja_thor } swap_ideas = { remove_idea = ICE_viking_spirit_freja_thor add_idea = ICE_viking_spirit_aegir_thor_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_freja_fenrir add_idea = ICE_viking_spirit_aegir_fenrir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor_fenrir add_idea = ICE_viking_spirit_odin_thor_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor_freja } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor_freja add_idea = ICE_viking_spirit_odin_thor_aegir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_fenrir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_odin_fenrir_freja add_idea = ICE_viking_spirit_odin_freja_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_thor_fenrir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_thor_fenrir_freja add_idea = ICE_viking_spirit_freja_thor_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor_freja_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor_freja_fenrir add_idea = ICE_viking_spirit_odin_freja_thor_aegir_fenrir } } } } ICE_the_ferocity_of_the_fenrir = { priority = 7 icon = GFX_decision_eng_imperial_federation ai_will_do = { base = 200 } allowed = { original_tag = ICE } available = { has_completed_focus = ICE_the_viking_spirit NOT = { has_country_flag = ICE_already_improving_the_viking_spirit_flag } } visible = { has_completed_focus = ICE_the_viking_spirit } cost = 75 days_remove = 35 fire_only_once = yes complete_effect = { set_country_flag = ICE_already_improving_the_viking_spirit_flag } remove_effect = { clr_country_flag = ICE_already_improving_the_viking_spirit_flag IF = { limit = { has_idea = ICE_viking_spirit } swap_ideas = { remove_idea = ICE_viking_spirit add_idea = ICE_viking_spirit_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin } swap_ideas = { remove_idea = ICE_viking_spirit_odin add_idea = ICE_viking_spirit_odin_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_thor } swap_ideas = { remove_idea = ICE_viking_spirit_thor add_idea = ICE_viking_spirit_fenrir_thor } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir add_idea = ICE_viking_spirit_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja } swap_ideas = { remove_idea = ICE_viking_spirit_freja add_idea = ICE_viking_spirit_freja_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor add_idea = ICE_viking_spirit_odin_thor_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_aegir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_aegir add_idea = ICE_viking_spirit_aegir_odin_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_freja } swap_ideas = { remove_idea = ICE_viking_spirit_odin_freja add_idea = ICE_viking_spirit_odin_fenrir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_thor } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_thor add_idea = ICE_viking_spirit_aegir_thor_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_freja_thor } swap_ideas = { remove_idea = ICE_viking_spirit_freja_thor add_idea = ICE_viking_spirit_thor_fenrir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_freja add_idea = ICE_viking_spirit_aegir_fenrir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor_aegir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor_aegir add_idea = ICE_viking_spirit_odin_thor_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor_freja } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor_freja add_idea = ICE_viking_spirit_odin_thor_freja_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_thor_freja } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_thor_freja add_idea = ICE_viking_spirit_freja_thor_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_odin_freja } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_odin_freja add_idea = ICE_viking_spirit_odin_freja_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor_aegir_freja } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor_aegir_freja add_idea = ICE_viking_spirit_odin_freja_thor_aegir_fenrir } } } } ICE_the_fertility_of_freya = { priority = 6 icon = GFX_decision_eng_propaganda_campaigns ai_will_do = { base = 200 } allowed = { original_tag = ICE } available = { has_completed_focus = ICE_the_viking_spirit NOT = { has_country_flag = ICE_already_improving_the_viking_spirit_flag } } visible = { has_completed_focus = ICE_the_viking_spirit } cost = 75 days_remove = 35 fire_only_once = yes complete_effect = { set_country_flag = ICE_already_improving_the_viking_spirit_flag } remove_effect = { clr_country_flag = ICE_already_improving_the_viking_spirit_flag IF = { limit = { has_idea = ICE_viking_spirit } swap_ideas = { remove_idea = ICE_viking_spirit add_idea = ICE_viking_spirit_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin } swap_ideas = { remove_idea = ICE_viking_spirit_odin add_idea = ICE_viking_spirit_odin_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_thor } swap_ideas = { remove_idea = ICE_viking_spirit_thor add_idea = ICE_viking_spirit_freja_thor } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir add_idea = ICE_viking_spirit_aegir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_fenrir add_idea = ICE_viking_spirit_freja_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor add_idea = ICE_viking_spirit_odin_thor_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_aegir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_aegir add_idea = ICE_viking_spirit_aegir_odin_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_fenrir add_idea = ICE_viking_spirit_odin_fenrir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_thor } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_thor add_idea = ICE_viking_spirit_aegir_thor_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_fenrir_thor } swap_ideas = { remove_idea = ICE_viking_spirit_fenrir_thor add_idea = ICE_viking_spirit_thor_fenrir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_fenrir add_idea = ICE_viking_spirit_aegir_fenrir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor_aegir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor_aegir add_idea = ICE_viking_spirit_odin_thor_aegir_freja } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor_fenrir add_idea = ICE_viking_spirit_odin_thor_freja_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_thor_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_thor_fenrir add_idea = ICE_viking_spirit_freja_thor_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_aegir_odin_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_aegir_odin_fenrir add_idea = ICE_viking_spirit_odin_freja_aegir_fenrir } } ELSE_IF = { limit = { has_idea = ICE_viking_spirit_odin_thor_aegir_fenrir } swap_ideas = { remove_idea = ICE_viking_spirit_odin_thor_aegir_fenrir add_idea = ICE_viking_spirit_odin_freja_thor_aegir_fenrir } } } } ICE_a_new_yggdrasill = { priority = 50 icon = GFX_decision_generic_construction ai_will_do = { base = 400 } allowed = { original_tag = ICE } available = { has_completed_focus = ICE_the_viking_spirit NOT = { has_country_flag = ICE_already_improving_the_viking_spirit_flag } custom_trigger_tooltip = { tooltip = ICE_has_best_spirit_idea has_idea = ICE_viking_spirit_odin_freja_thor_aegir_fenrir } 100 = { is_owned_and_controlled_by = ROOT } } visible = { has_completed_focus = ICE_the_viking_spirit } cost = 120 days_remove = 35 fire_only_once = yes complete_effect = { set_country_flag = ICE_already_improving_the_viking_spirit_flag } remove_effect = { clr_country_flag = ICE_already_improving_the_viking_spirit_flag swap_ideas = { remove_idea = ICE_viking_spirit_odin_freja_thor_aegir_fenrir add_idea = ICE_viking_spirit_modern_yggdrasil } 100 = { add_extra_state_shared_building_slots = 4 add_building_construction = { type = industrial_complex level = 1 instant_build = yes } add_building_construction = { type = arms_factory level = 1 instant_build = yes } } } } ICE_a_monument_to_leif = { priority = 40 icon = GFX_decision_generic_nationalism ai_will_do = { base = 300 } allowed = { original_tag = ICE } available = { has_completed_focus = ICE_the_viking_spirit 331 = { is_controlled_by = ROOT } } visible = { has_completed_focus = ICE_the_viking_spirit } cost = 50 days_remove = 35 fire_only_once = yes complete_effect = { } remove_effect = { add_stability = 0.05 add_war_support = 0.05 IF = { limit = { 331 = { NOT = { is_owned_by = ROOT } } } ROOT = { transfer_state = 331 } } IF = { limit = { 331 = { NOT = { is_core_of = ROOT } } } 331 = { add_core_of = ROOT } } IF = { limit = { 730 = { NOT = { is_core_of = ROOT } } } 730 = { add_core_of = ROOT } } 331 = { add_extra_state_shared_building_slots = 3 add_building_construction = { type = infrastructure level = 1 instant_build = yes } add_building_construction = { type = dockyard level = 1 instant_build = yes } } } } }