subparty_policies_category = { #For communists (Communist-State pos. 4 & Neutral_Communism pos. 19) generic_initiate_primary_sector_5_year_plan = { icon = refinery_dec visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } cost = 100 available = { currently_has_a_5_year_plan_selected = no } days_remove = 1825 modifier = { political_power_factor = -0.10 country_productivity_growth_modifier = -0.15 production_speed_buildings_factor = -0.15 production_speed_infrastructure_factor = 0.30 production_speed_fuel_silo_factor = 0.30 production_speed_agriculture_district_factor = 0.45 production_speed_naval_base_factor = 0.30 production_speed_rail_way_factor = 0.30 production_speed_synthetic_refinery_factor = 0.30 local_resources_oil_factor = 0.15 local_resources_aluminium_factor = 0.15 local_resources_rubber_factor = 0.15 local_resources_tungsten_factor = 0.15 local_resources_steel_factor = 0.15 local_resources_chromium_factor = 0.15 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_initiate_primary_sector_5_year_plan" set_temp_variable = { temp_opinion = 10 } change_communist_cadres_opinion = yes set_temp_variable = { temp_opinion = 10 } change_fossil_fuel_industry_opinion = yes set_temp_variable = { temp_opinion = 10 } change_farmers_opinion = yes } ai_will_do = { base = 1 modifier = { factor = 5 OR = { check_variable = { resource_produced@oil > 15 } check_variable = { resource_produced@steel > 15 } check_variable = { resource_produced@tungsten > 15 } check_variable = { resource_produced@chromium > 15 } check_variable = { resource_produced@aluminium > 15 } } } } } generic_initiate_secondary_sector_5_year_plan = { icon = generic_factory visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } cost = 100 available = { currently_has_a_5_year_plan_selected = no } days_remove = 1825 modifier = { political_power_factor = -0.10 country_productivity_growth_modifier = -0.15 production_speed_buildings_factor = -0.15 production_speed_infrastructure_factor = 0.30 production_speed_nuclear_reactor_factor = 0.30 production_speed_renewable_energy_infra_factor = 0.30 production_speed_fossil_powerplant_factor = 0.30 production_speed_industrial_complex_factor = 0.45 production_speed_naval_base_factor = 0.30 production_speed_rail_way_factor = 0.30 local_resources_oil_factor = -0.075 local_resources_aluminium_factor = -0.075 local_resources_rubber_factor = -0.075 local_resources_tungsten_factor = -0.075 local_resources_steel_factor = -0.075 local_resources_chromium_factor = -0.075 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_initiate_secondary_sector_5_year_plan" set_temp_variable = { temp_opinion = 10 } change_communist_cadres_opinion = yes set_temp_variable = { temp_opinion = 10 } change_labour_unions_opinion = yes set_temp_variable = { temp_opinion = 10 } change_industrial_conglomerates_opinion = yes } ai_will_do = { base = 0 modifier = { add = 25 original_tag = CHI num_of_civilian_factories < 150 } } } generic_initiate_tertiary_sector_5_year_plan = { icon = attract_foreign_investor visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } cost = 100 available = { currently_has_a_5_year_plan_selected = no } days_remove = 1825 modifier = { political_power_factor = -0.10 country_productivity_growth_modifier = -0.15 production_speed_buildings_factor = -0.15 production_speed_internet_station_factor = 0.30 production_speed_air_base_factor = 0.30 production_speed_offices_factor = 0.45 production_speed_naval_base_factor = 0.30 local_resources_oil_factor = -0.075 local_resources_aluminium_factor = -0.075 local_resources_rubber_factor = -0.075 local_resources_tungsten_factor = -0.075 local_resources_steel_factor = -0.075 local_resources_chromium_factor = -0.075 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_initiate_tertiary_sector_5_year_plan" set_temp_variable = { temp_opinion = 10 } change_communist_cadres_opinion = yes set_temp_variable = { temp_opinion = 10 } change_landowners_opinion = yes set_temp_variable = { temp_opinion = 10 } change_small_medium_business_owners_opinion = yes set_temp_variable = { temp_opinion = 10 } change_international_bankers_opinion = yes } ai_will_do = { base = 0 } } generic_initiate_infrastructure_5_year_plan = { icon = highway_dec visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } cost = 100 available = { currently_has_a_5_year_plan_selected = no } days_remove = 1825 modifier = { political_power_factor = -0.10 country_productivity_growth_modifier = -0.15 production_speed_buildings_factor = -0.15 production_speed_infrastructure_factor = 0.45 production_speed_internet_station_factor = 0.45 production_speed_air_base_factor = 0.45 production_speed_naval_base_factor = 0.45 production_speed_supply_node_factor = 0.45 production_speed_rail_way_factor = 0.45 production_speed_energy_infrastructure_factor = 0.45 production_speed_industrial_infrastructure_factor = 0.45 local_resources_oil_factor = -0.075 local_resources_aluminium_factor = -0.075 local_resources_rubber_factor = -0.075 local_resources_tungsten_factor = -0.075 local_resources_steel_factor = -0.075 local_resources_chromium_factor = -0.075 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_initiate_infrastructure_5_year_plan" set_temp_variable = { temp_opinion = 10 } change_communist_cadres_opinion = yes set_temp_variable = { temp_opinion = 10 } change_industrial_conglomerates_opinion = yes } ai_will_do = { base = 0 modifier = { add = 15 any_owned_state = { check_variable = { building_level@internet_station < 3 } } } } } generic_initiate_military_5_year_plan = { icon = arms_industry visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } cost = 100 available = { currently_has_a_5_year_plan_selected = no } days_remove = 1825 modifier = { political_power_factor = -0.10 country_productivity_growth_modifier = -0.15 production_speed_buildings_factor = -0.15 production_speed_infrastructure_factor = 0.30 production_speed_air_base_factor = 0.45 production_speed_radar_station_factor = 0.45 production_speed_anti_air_building_factor = 0.45 production_speed_fuel_silo_factor = 0.30 production_speed_rocket_site_factor = 0.45 production_speed_arms_factory_factor = 0.45 production_speed_bunker_factor = 0.45 production_speed_stronghold_network_factor = 0.45 production_speed_supply_node_factor = 0.30 production_speed_rail_way_factor = 0.30 local_resources_oil_factor = -0.075 local_resources_aluminium_factor = -0.075 local_resources_rubber_factor = -0.075 local_resources_tungsten_factor = -0.075 local_resources_steel_factor = -0.075 local_resources_chromium_factor = -0.075 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_initiate_military_5_year_plan" set_temp_variable = { temp_opinion = 10 } change_communist_cadres_opinion = yes set_temp_variable = { temp_opinion = 10 } change_the_military_opinion = yes set_temp_variable = { temp_opinion = 10 } change_defense_industry_opinion = yes } ai_will_do = { base = 0 modifier = { add = 10 threat > 0.49 } modifier = { add = 10 threat > 0.59 } modifier = { add = 10 threat > 0.74 } } } generic_initiate_naval_5_year_plan = { icon = GFX_decision_generic_merge_plant_ship visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } cost = 100 available = { currently_has_a_5_year_plan_selected = no } days_remove = 1825 modifier = { political_power_factor = -0.10 country_productivity_growth_modifier = -0.15 production_speed_buildings_factor = -0.15 production_speed_dockyard_factor = 0.45 production_speed_naval_base_factor = 0.45 production_speed_coastal_bunker_factor = 0.45 local_resources_oil_factor = -0.075 local_resources_aluminium_factor = -0.075 local_resources_rubber_factor = -0.075 local_resources_tungsten_factor = -0.075 local_resources_steel_factor = -0.075 local_resources_chromium_factor = -0.075 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_initiate_naval_5_year_plan" set_temp_variable = { temp_opinion = 10 } change_communist_cadres_opinion = yes set_temp_variable = { temp_opinion = 10 } change_maritime_industry_opinion = yes } ai_will_do = { base = 0 modifier = { add = 5 has_war = yes any_owned_state = { is_coastal = yes } } } } generic_initiate_technology_5_year_plan = { icon = generic_research visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } cost = 100 available = { currently_has_a_5_year_plan_selected = no } days_remove = 1825 modifier = { political_power_factor = -0.10 country_productivity_growth_modifier = -0.15 production_speed_buildings_factor = -0.15 production_speed_naval_facility_factor = 0.45 production_speed_land_facility_factor = 0.45 production_speed_air_facility_factor = 0.45 production_speed_nuclear_facility_factor = 0.45 local_resources_oil_factor = -0.075 local_resources_aluminium_factor = -0.075 local_resources_rubber_factor = -0.075 local_resources_tungsten_factor = -0.075 local_resources_steel_factor = -0.075 local_resources_chromium_factor = -0.075 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_initiate_technology_5_year_plan" set_temp_variable = { temp_opinion = 10 } change_communist_cadres_opinion = yes } ai_will_do = { base = 0 } } generic_initiate_energy_5_year_plan = { icon = reactor_dec visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } } cost = 100 available = { currently_has_a_5_year_plan_selected = no } days_remove = 1825 modifier = { political_power_factor = -0.10 country_productivity_growth_modifier = -0.15 production_speed_buildings_factor = -0.15 production_speed_nuclear_reactor_factor = 0.45 production_speed_fossil_powerplant_factor = 0.45 production_speed_fuel_silo_factor = 0.45 production_speed_renewable_energy_infra_factor = 0.45 production_speed_energy_infrastructure_factor = 0.45 production_speed_industrial_infrastructure_factor = 0.45 local_resources_oil_factor = -0.075 local_resources_aluminium_factor = -0.075 local_resources_rubber_factor = -0.075 local_resources_tungsten_factor = -0.075 local_resources_steel_factor = -0.075 local_resources_chromium_factor = -0.075 } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_initiate_energy_5_year_plan" set_temp_variable = { temp_opinion = 10 } change_communist_cadres_opinion = yes } ai_will_do = { base = 0 } } generic_admit_5_year_plan_failure = { icon = political_discourse visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } currently_has_a_5_year_plan_selected = yes } cost = 100 complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_admit_5_year_plan_failure" custom_effect_tooltip = TT_ABANDON_5_YEAR_PLAN hidden_effect = { set_leader = yes } if = { limit = { has_decision = generic_initiate_primary_sector_5_year_plan } remove_decision = generic_initiate_primary_sector_5_year_plan } if = { limit = { has_decision = generic_initiate_secondary_sector_5_year_plan } remove_decision = generic_initiate_secondary_sector_5_year_plan } if = { limit = { has_decision = generic_initiate_tertiary_sector_5_year_plan } remove_decision = generic_initiate_tertiary_sector_5_year_plan } if = { limit = { has_decision = generic_initiate_infrastructure_5_year_plan } remove_decision = generic_initiate_infrastructure_5_year_plan } if = { limit = { has_decision = generic_initiate_military_5_year_plan } remove_decision = generic_initiate_military_5_year_plan } if = { limit = { has_decision = generic_initiate_naval_5_year_plan } remove_decision = generic_initiate_naval_5_year_plan } if = { limit = { has_decision = generic_initiate_technology_5_year_plan } remove_decision = generic_initiate_technology_5_year_plan } if = { limit = { has_decision = generic_initiate_energy_5_year_plan } remove_decision = generic_initiate_energy_5_year_plan } add_stability = -0.10 set_temp_variable = { party_popularity_increase = -0.10 } set_temp_variable = { temp_outlook_increase = -0.10 } change_relative_party_popularity = yes set_temp_variable = { temp_opinion = -10 } change_communist_cadres_opinion = yes } ai_will_do = { base = 0 } } generic_nationalise_biggest_influencer_industries = { icon = generic_independence cost = 100 days_remove = 60 days_re_enable = 60 fixed_random_seed = no visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } check_variable = { influence_array^0 > 0 } } available = { custom_trigger_tooltip = { tooltip = TT_HAS_20_INFLUENCE check_variable = { influence_array_val^0 > 20 } } custom_trigger_tooltip = { tooltip = TT_HAS_INVESTMENTS var:influence_array^0 = { check_variable = { int_investments > 0 } } } NOT = { has_decision = generic_nationalise_second_biggest_influencer_industries } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_nationalise_biggest_influencer_industries" set_temp_variable = { percent_change = -5 } set_temp_variable = { influencer_index = 0 } change_current_influencer_index_percentage = yes set_temp_variable = { temp_opinion = 5 } change_communist_cadres_opinion = yes if = { limit = { num_of_factories > 3 any_owned_state = { is_coastal = yes } } random_list = { 40 = { country_event = subparty_policies.0 #Gain money } 10 = { country_event = subparty_policies.1 #Gain 1 CIC } 5 = { country_event = subparty_policies.6 #Gain 1 office } 5 = { country_event = subparty_policies.2 #Gain 1 MIC } 5 = { country_event = subparty_policies.3 #Gain 1 NIC } 15 = { country_event = subparty_policies.4 #Lose stability } 20 = { country_event = subparty_policies.5 #Lose 1 CIC } } } if = { limit = { num_of_factories > 3 NOT = { any_owned_state = { is_coastal = yes } } } random_list = { 40 = { country_event = subparty_policies.0 #Gain money } 10 = { country_event = subparty_policies.1 #Gain 1 CIC } 10 = { country_event = subparty_policies.6 #Gain 1 Office } 5 = { country_event = subparty_policies.2 #Gain 1 MIC } 15 = { country_event = subparty_policies.4 #Lose stability } 20 = { country_event = subparty_policies.5 #Lose 1 CIC } } } if = { limit = { num_of_factories < 4 } random_list = { 65 = { country_event = subparty_policies.0 #Gain money } 35 = { country_event = subparty_policies.4 #Lose stability } } } var:influence_array^0 = { add_opinion_modifier = { target = ROOT modifier = reduced_our_influence } reverse_add_opinion_modifier = { target = ROOT modifier = reduced_our_influence } } } ai_will_do = { base = 0 } } generic_nationalise_second_biggest_influencer_industries = { icon = generic_independence cost = 100 days_remove = 60 days_re_enable = 60 fixed_random_seed = no visible = { OR = { emerging_communist_state_are_in_power = yes neutrality_neutral_communism_are_in_power = yes } check_variable = { influence_array^1 > 0 } } available = { custom_trigger_tooltip = { tooltip = TT_HAS_20_INFLUENCE check_variable = { influence_array_val^1 > 20 } } custom_trigger_tooltip = { tooltip = TT_HAS_INVESTMENTS var:influence_array^1 = { check_variable = { int_investments > 0 } } } NOT = { has_decision = generic_nationalise_biggest_influencer_industries } } remove_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_nationalise_second_biggest_influencer_industries" set_temp_variable = { percent_change = -5 } set_temp_variable = { influencer_index = 1 } change_current_influencer_index_percentage = yes set_temp_variable = { temp_opinion = 3 } change_communist_cadres_opinion = yes if = { limit = { num_of_factories > 3 any_owned_state = { is_coastal = yes } } random_list = { 40 = { country_event = subparty_policies.0 #Gain money } 10 = { country_event = subparty_policies.1 #Gain 1 CIC } 5 = { country_event = subparty_policies.6 #Gain 1 office } 5 = { country_event = subparty_policies.2 #Gain 1 MIC } 5 = { country_event = subparty_policies.3 #Gain 1 NIC } 15 = { country_event = subparty_policies.4 #Lose stability } 20 = { country_event = subparty_policies.5 #Lose 1 CIC } } } if = { limit = { num_of_factories > 3 NOT = { any_owned_state = { is_coastal = yes } } } random_list = { 40 = { country_event = subparty_policies.0 #Gain money } 10 = { country_event = subparty_policies.1 #Gain 1 CIC } 10 = { country_event = subparty_policies.6 #Gain 1 Office } 5 = { country_event = subparty_policies.2 #Gain 1 MIC } 15 = { country_event = subparty_policies.4 #Lose stability } 20 = { country_event = subparty_policies.5 #Lose 1 CIC } } } if = { limit = { num_of_factories < 4 } random_list = { 65 = { country_event = subparty_policies.0 #Gain money } 35 = { country_event = subparty_policies.4 #Lose stability } } } var:influence_array^1 = { add_opinion_modifier = { target = ROOT modifier = reduced_our_influence } reverse_add_opinion_modifier = { target = ROOT modifier = reduced_our_influence } } } ai_will_do = { base = 0 } } #For autocrats (Western autocrats pos. 0, Emerging autocrats pos. 7, Neutral autocrats pos. 13, oligarchs pos. 15, fascists pos. 21 military junta pos. 22) generic_form_paramilitary_units = { icon = generic_military cost = 200 visible = { nationalist_fascist_are_in_power = yes #fascists } available = { NOT = { has_idea = IP_paramilitary_units_formed } } complete_effect = { log = "[GetDateText]: [Root.GetName]: Decision generic_form_paramilitary_units" add_ideas = IP_paramilitary_units_formed set_temp_variable = { temp_opinion = 5 } change_the_military_opinion = yes } ai_will_do = { base = 5 } } }