NSC_decisions_category_ferdinand_II_health = {
	NSC_mission_ferdinand_II_health = {
		activation = {
			always = no
		}

		available = {
			has_completed_focus = NSC_focus_secure_kingdom
		}

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
		}
		custom_cost_text = eoanb_money_cost_text

		icon = medicine
		is_good = no
		days_mission_timeout = 215
		selectable_mission = yes

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_tooltip_effect = yes
			add_stability = 0.05
		}

		timeout_effect = {
			country_event = {
				id = risorgimento.601
			}
		}
	}
}

NSC_decisions_category_military_reforms = {
	NSC_decision_sardinian_advisors = {
		icon = GFX_decision_envelope

		available = {
			NOT = {
				has_country_flag = NSC_military_reform_decision_taken
			}
			has_completed_focus = NSC_focus_soldiers_state
		}

		visible = {
			has_completed_focus = NSC_focus_soldiers_state
		}

		fire_only_once = yes

		days_remove = 30

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		cost = 100

		modifier = {
			command_power_gain = 0.15
			experience_gain_army = 0.2
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
			PIE = {
				set_temp_variable = { money_to_gain = 0.3 }
				add_money_with_tooltip_effect = yes
			}
			set_country_flag = NSC_military_reform_decision_taken
			set_country_flag = NSC_military_reform_decision_1
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = NSC_military_reform_decision_taken
			}
		}
		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_meet_swiss_guard_demands = {
		icon = GFX_decision_SWI_swiss_military_tradition_campaign

		available = {
			NOT = {
				has_country_flag = NSC_military_reform_decision_taken
			}
			has_completed_focus = NSC_focus_soldiers_state
		}

		visible = {
			has_completed_focus = NSC_focus_soldiers_state
		}

		fire_only_once = yes

		days_remove = 30

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_tooltip_effect = yes
			set_country_flag = NSC_military_reform_decision_taken
			set_country_flag = NSC_military_reform_decision_2
			SWI = {
				set_temp_variable = { money_to_gain = 0.25 }
				add_money_with_tooltip_effect = yes
			}
			army_experience = 50
			add_war_support = 0.15
			add_equipment_to_stockpile = {
   				type = infantry_equipment
    			amount = 1750
    			producer = SWI
			}
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = NSC_military_reform_decision_taken
			}
		}
		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_increase_soldier_pay = {
		icon = GFX_decision_GENERIC_Issue_Currency

		available = {
			NOT = {
				has_country_flag = NSC_military_reform_decision_taken
			}
			has_completed_focus = NSC_focus_soldiers_state
		}

		visible = {
			has_completed_focus = NSC_focus_soldiers_state
		}

		fire_only_once = yes

		days_remove = 30

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {
			experience_gain_army = 0.2
			training_time_factor = 0.3
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
			set_country_flag = NSC_military_reform_decision_taken
			set_country_flag = NSC_military_reform_decision_3
			add_war_support = 0.2
			add_manpower = 25000
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = NSC_military_reform_decision_taken
			}
		}
		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_reorganize_the_army = {
		icon = GFX_decision_uniform

		available = {
			NOT = {
				has_country_flag = NSC_military_reform_decision_taken
			}
			has_completed_focus = NSC_focus_soldiers_state
		}

		visible = {
			has_completed_focus = NSC_focus_soldiers_state
		}

		fire_only_once = yes

		days_remove = 30

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {
			experience_gain_army = 0.25
			command_power_gain = 0.3
			army_org_factor = 0.25
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
			set_country_flag = NSC_military_reform_decision_taken
			set_country_flag = NSC_military_reform_decision_4
			add_command_power = 50
			army_experience = 35
			add_political_power = 150
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = NSC_military_reform_decision_taken
			}
		}
		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_devotion_to_king = {
		icon = GFX_decision_generic_monarchy

		available = {
			NOT = {
				has_country_flag = NSC_military_reform_decision_taken
			}
			has_completed_focus = NSC_focus_soldiers_state
		}

		visible = {
			has_completed_focus = NSC_focus_soldiers_state
		}

		fire_only_once = yes

		days_remove = 30

		cost = 150

		modifier = {

		}

		complete_effect = {
			set_country_flag = NSC_military_reform_decision_taken
			set_country_flag = NSC_military_reform_decision_5

			add_stability = 0.1
			add_war_support = 0.15
			increase_legitimacy_by_five = yes
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = NSC_military_reform_decision_taken
			}
		}
		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_sardinia_piedmont_attache = {
		icon = GFX_decision_education

		available = {
			has_completed_focus = NSC_focus_generals_state
		}

		visible = {
			has_completed_focus = NSC_focus_generals_state
		}

		fire_only_once = yes

		cost = 100

		modifier = {

		}

		complete_effect = {
			army_experience = 100
			add_command_power = 75
			add_opinion_modifier = {
				target = PIE
				modifier = NSC_sent_attache
			}
		}
		
		ai_will_do = {
			base = 1000
		}
	}
}

NSC_decisions_category_monarch_bop = {
	NSC_mission_francis_makes_a_move = {
		activation = {
			always = no
		}

		available = {
			always = no
		}

		icon = GFX_decision_eng_ally_imperialist_coup
		is_good = no
		days_mission_timeout = 50

		timeout_effect = {
			random_list = {
				10 = {
					add_power_balance_value = {
						id = NSC_Balance_of_Power_New_Monarch
						value = -0.1
					}
				}
				10 = {
					add_power_balance_value = {
						id = NSC_Balance_of_Power_New_Monarch
						value = -0.15
					}
				}
				10 = {
					add_power_balance_value = {
						id = NSC_Balance_of_Power_New_Monarch
						value = -0.2
					}
				}
			}
		}
	}

	NSC_mission_marie_makes_a_move = {
		activation = {
			always = no
		}

		available = {
			always = no
		}

		icon = GFX_decision_generic_monarchy
		is_good = no
		days_mission_timeout = 50

		timeout_effect = {
			random_list = {
				10 = {
					add_power_balance_value = {
						id = NSC_Balance_of_Power_New_Monarch
						value = 0.1
					}
				}
				10 = {
					add_power_balance_value = {
						id = NSC_Balance_of_Power_New_Monarch
						value = 0.15
					}
				}
				10 = {
					add_power_balance_value = {
						id = NSC_Balance_of_Power_New_Monarch
						value = 0.2
					}
				}
			}
		}
	}

	NSC_decision_win_over_advisors = {
		icon = GFX_decision_eng_trade_unions_support

		available = {
			NOT = {
				has_country_flag = NSC_bop_decision_taken
			}
		}

		visible = {
		}

		fire_only_once = yes

		days_remove = 30

		cost = 50

		modifier = {

		}

		complete_effect = {
			set_country_flag = NSC_bop_decision_taken

			if = {
				limit = {
					OR = {
						has_country_flag = NSC_bop_maria_side
						has_country_flag = NSC_democratic_path
					}
				}
				add_power_balance_value = {
					id = NSC_Balance_of_Power_New_Monarch
					value = 0.1
				}
			}
			else_if = {
				limit = {
					has_country_flag = NSC_bop_francis_side
				}
				add_power_balance_value = {
					id = NSC_Balance_of_Power_New_Monarch
					value = -0.1
				}
			}
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = NSC_bop_decision_taken
			}
		}
		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_critisise_francis = {
		icon = GFX_decision_eng_trade_unions_demand

		available = {
			NOT = {
				has_country_flag = NSC_bop_decision_taken
			}
		}

		visible = {
			OR = {
				has_country_flag = NSC_bop_maria_side
				has_country_flag = NSC_democratic_path
			}
		}

		fire_only_once = no

		days_remove = 30

		cost = 50

		modifier = {
			power_balance_weekly = 0.01
		}

		complete_effect = {
			set_country_flag = NSC_bop_decision_taken
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = NSC_bop_decision_taken
			}
		}
		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_critisise_maria = {
		icon = GFX_decision_generic_political_rally

		available = {
			NOT = {
				has_country_flag = NSC_bop_decision_taken
			}
		}

		visible = {
			OR = {
				has_country_flag = NSC_bop_francis_side
				has_country_flag = NSC_democratic_path
			}
		}

		fire_only_once = no

		days_remove = 30

		cost = 50

		modifier = {
			power_balance_weekly = -0.01
		}

		complete_effect = {
			set_country_flag = NSC_bop_decision_taken
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = NSC_bop_decision_taken
			}
		}
		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_hire_conspirators = {
		icon = GFX_decision_generic_welfare

		available = {
			NOT = {
				has_country_flag = NSC_bop_decision_taken
			}
		}

		visible = {
		}

		fire_only_once = yes

		days_remove = 30

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.05
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {
		}

		complete_effect = {
			set_country_flag = NSC_bop_decision_taken

			set_temp_variable = { money_to_gain = -0.05 }
			add_money_with_tooltip_effect = yes

			if = {
				limit = {
					has_country_flag = NSC_bop_maria_side
				}
				add_power_balance_value = {
					id = NSC_Balance_of_Power_New_Monarch
					value = 0.1
				}
			}
			else_if = {
				limit = {
					has_country_flag = NSC_bop_francis_side
				}
				add_power_balance_value = {
					id = NSC_Balance_of_Power_New_Monarch
					value = -0.1
				}
			}
		}

		remove_effect = {
			hidden_effect = {
				clr_country_flag = NSC_bop_decision_taken
			}
		}
		ai_will_do = {
			base = 1000
		}
	}
}

NSC_decisions_category_foreign_policy = {
	NSC_decision_tuscany_non_agression_pact = {
		icon = GFX_decision_hol_war_on_pacifism

		available = {
			
		}

		visible = {
			has_country_flag = NSC_tuscany_non_aggression_pact
		}

		fire_only_once = yes

		cost = 100

		modifier = {

		}

		complete_effect = {
			TUS = {
				diplomatic_relation = {
					country = NSC
					relation = non_aggression_pact
					active = yes
				}
				add_opinion_modifier = {
					target = NSC
					modifier = NSC_non_agression_pact
				}
			}
			diplomatic_relation = {
				country = TUS
				relation = non_aggression_pact
				active = yes
			}
			add_opinion_modifier = {
				target = TUS
				modifier = NSC_non_agression_pact
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_venetia_lombardy_non_agression_pact = {
		icon = GFX_decision_hol_exchange_intelligence_data

		available = {
			
		}

		visible = {
			has_country_flag = NSC_venetia_lombardy_non_aggression_pact
		}

		fire_only_once = yes

		cost = 100

		modifier = {

		}

		complete_effect = {
			LVN = {
				diplomatic_relation = {
					country = NSC
					relation = non_aggression_pact
					active = yes
				}
				add_opinion_modifier = {
					target = NSC
					modifier = NSC_non_agression_pact
				}
			}
			diplomatic_relation = {
				country = LVN
				relation = non_aggression_pact
				active = yes
			}
			add_opinion_modifier = {
				target = LVN
				modifier = NSC_non_agression_pact
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_modena_non_agression_pact = {
		icon = GFX_decision_hol_attract_foreign_investors

		available = {
			
		}

		visible = {
			has_country_flag = NSC_modena_non_aggression_pact
		}

		fire_only_once = yes

		cost = 100

		modifier = {

		}

		complete_effect = {
			MOD = {
				diplomatic_relation = {
					country = NSC
					relation = non_aggression_pact
					active = yes
				}
				add_opinion_modifier = {
					target = NSC
					modifier = NSC_non_agression_pact
				}
			}
			diplomatic_relation = {
				country = MOD
				relation = non_aggression_pact
				active = yes
			}
			add_opinion_modifier = {
				target = MOD
				modifier = NSC_non_agression_pact
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_parma_non_agression_pact = {
		icon = GFX_decision_eng_trade_unions_support

		available = {
			
		}

		visible = {
			has_country_flag = NSC_parma_non_aggression_pact
		}

		fire_only_once = yes

		cost = 100

		modifier = {

		}

		complete_effect = {
			PRM = {
				diplomatic_relation = {
					country = NSC
					relation = non_aggression_pact
					active = yes
				}
				add_opinion_modifier = {
					target = NSC
					modifier = NSC_non_agression_pact
				}
			}
			diplomatic_relation = {
				country = PRM
				relation = non_aggression_pact
				active = yes
			}
			add_opinion_modifier = {
				target = PRM
				modifier = NSC_non_agression_pact
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_french_negotiations = {
		icon = GFX_decision_FRA

		available = {
			
		}

		visible = {
			has_completed_focus = NSC_focus_french_protection
		}

		fire_only_once = yes

		cost = 75

		modifier = {

		}

		complete_effect = {
			FRA = {
				country_event = {
					id = risorgimento.694
				}
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_sardinian_negotiations = {
		icon = GFX_decision_constitution

		available = {
			has_global_flag = PIE_2IW_Victory
		}

		visible = {
			has_completed_focus = NSC_focus_constitutional_compromise
		}

		fire_only_once = yes

		cost = 150

		complete_effect = {
			country_event = {
				id = risorgimento.658
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_recruit_antonio_winspare = {
		icon = GFX_decision_onmap_recruit_operative

		allowed = {
			has_dlc = "La Resistance"
		}

		visible = {
			has_completed_focus = NSC_focus_foreign_policiy
		}

		fire_only_once = yes
		cost = 50
		days_remove = 35

		remove_effect = {
			create_operative_leader = {
				name = "Antonio Winspare"
				GFX = GFX_portrait_jacques_duclos
				traits = { operative_linguist }
				bypass_recruitment = yes
				available_to_spy_master = no
				nationalities = { NSC }
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_conduct_intelligence_operation_in_sublime_porte = {
		icon = GFX_decision_onmap_recruit_operative

		allowed = {
			NOT = { has_dlc = "La Resistance" }
		}

		visible = {
			has_completed_focus = NSC_focus_foreign_policiy
		}

		fire_only_once = yes
		cost = 50
		days_remove = 35

		remove_effect = {
			army_experience = 20
			add_political_power = 15
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_hunt_down_the_murattiani = {
		icon = GFX_decision_onmap_recruit_operative

		visible = {
			has_completed_focus = NSC_focus_secure_kingdom
		}

		fire_only_once = yes

		custom_cost_trigger = {
			command_power > 29.99
		}
		custom_cost_text = eoanb_command_power_30

		days_remove = 25

		complete_effect = {
			add_command_power = -30
		}

		remove_effect = {
			swap_ideas = {
				remove_idea = NSC_vic_idea_Murattiani
				add_idea = NSC_vic_idea_Murattiani_2
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}

NSC_decisions_category_sicily_unrest = {
	NSC_mission_sicilian_bandits_attack = {

		activation = {
			always = no
		}

		available = {
			has_completed_focus = NSC_focus_prince_castelcicala_report
			has_country_flag = NSC_sicilian_bandits
			divisions_in_state = {
				size > 5
				state = 115
			}
			divisions_in_state = {
				size > 0
				state = 1380
			}
		}

		highlight_states = {
			highlight_state_targets = {
				state = 115
			}
			highlight_state_targets = {
				state = 1380
			}
		}

		visible = {
			NOT = { has_active_mission = NSC_mission_hunt_down_bandits }
			has_country_flag = NSC_sicilian_bandits
		}

		ai_will_do = {
			factor = 0
			modifier = {
				add = 200
				divisions_in_state = {
					size > 6
					state = 115
				}
				divisions_in_state = {
					size > 1
					state = 1380
				}
			}
		}

		icon = GFX_decision_generic_disband_irregulars
		is_good = no
		days_mission_timeout = 175
		fire_only_once = no

		complete_effect = {
			activate_mission = NSC_mission_hunt_down_bandits
		}

		timeout_effect = {
			add_stability = -0.05
			damage_building = {
				type = infrastructure
				state = 115
				damage = 1
			}
		}
	}
	NSC_mission_hunt_down_bandits = {
		activation = {
			always = no
		}

		available = {
			always = no
		}

		highlight_states = {
			highlight_state_targets = {
				state = 115
			}
			highlight_state_targets = {
				state = 1380
			}
		}

		visible = {
			has_country_flag = NSC_sicilian_bandits
		}

		ai_will_do = {
			factor = 0
			modifier = {
				add = 200
				divisions_in_state = {
					size < 5
					state = 115
				}
				divisions_in_state = {
					size < 0
					state = 1380
				}
			}
		}


		cancel_trigger = {
			divisions_in_state = {
				size > 6
				state = 115
			}
			divisions_in_state = {
				size > 1
				state = 1380
			}
		}

		icon = GFX_decision_generic_prepare_civil_war
		is_good = yes
		days_mission_timeout = 175

		complete_effect = {
			add_manpower = 10250
			add_stability = 0.1
			army_experience = 15
			clr_country_flag = NSC_sicilian_bandits
		}

		timeout_effect = {
			add_stability = -0.05
			add_war_support = -0.03
			add_political_power = -30
		}
	}

	NSC_decision_promote_unity_in_sicily = {
		icon = GFX_decision_hol_exchange_intelligence_data

		available = {
			
		}

		visible = {
			has_country_flag = NSC_sicilian_decisions
		}

		fire_only_once = yes

		cost = 50

		modifier = {

		}

		complete_effect = {
			add_stability = 0.05
			115 = {
				add_compliance = 5
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_promote_loyalists_in_marsala = {
		icon = GFX_decision_politics

		available = {
			
		}

		visible = {
			has_country_flag = NSC_sicilian_decisions
		}

		fire_only_once = yes

		cost = 50

		modifier = {

		}

		complete_effect = {
			add_stability = 0.05
			1380 = {
				add_compliance = 5
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_win_over_loyalists = {
		icon = GFX_decision_generic_civil_support

		available = {
			
		}

		visible = {
			has_country_flag = NSC_sicilian_decisions
		}

		fire_only_once = yes

		cost = 50

		modifier = {

		}

		complete_effect = {
			add_stability = 0.03
			increase_legitimacy_by_five = yes
			increase_ps_by_one = yes
		}

		ai_will_do = {
			base = 1000
		}
	}
}

NSC_decisions_category_expedition_of_the_thousand = {
	NSC_mission_take_back_sicily = {
		activation = {
			always = no
		}

		available = {
			has_full_control_of_state = 115
			has_full_control_of_state = 1380
		}

		icon = GFX_decision_infiltrate_state
		is_good = no
		days_mission_timeout = 215

		complete_effect = {
			add_political_power = 100
			white_peace = CBI
			annex_country = {
				target = CBI
			}
		}

		timeout_effect = {
			add_war_support = -0.03
			add_political_power = -25
			activate_mission = NSC_mission_take_back_sicily
		}
	}

	NSC_decision_defensive_measures = {
		icon = GFX_decision_generic_protection

		available = {
			NOT = {
				has_country_flag = NSC_defensive_cooldown
			}
		}

		visible = {
			has_country_flag = NSC_expedition_of_thousand_decisions_activaed
			has_completed_focus = NSC_focus_defend_mainland
			has_war = yes
		}

		fire_only_once = no

		cost = 50

		days_remove = 50

		modifier = {
			defence = 0.1
			offence = -0.05
			dig_in_speed_factor = 0.1
			breakthrough_factor = -0.1
		}

		complete_effect = {
			set_country_flag = {
				flag = NSC_defensive_cooldown
				days = 150
				value = 1
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_counter_offensive = {
		icon = GFX_decision_generic_prepare_civil_war

		available = {
			NOT = {
				has_country_flag = NSC_offensive_cooldown
			}
		}

		visible = {
			has_country_flag = NSC_expedition_of_thousand_decisions_activaed
			has_war = yes
		}

		fire_only_once = no

		cost = 50

		days_remove = 50

		modifier = {
			defence = -0.05
			offence = 0.1
			breakthrough_factor = 0.1
			dig_in_speed_factor = -0.1
		}

		complete_effect = {
			set_country_flag = {
				flag = NSC_offensive_cooldown
				days = 150
				value = 1
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_buy_small_austrian_guns = {
		icon = GFX_decision_generic_welfare

		available = {
			NOT = {
				has_country_flag = NSC_austrian_gun_purchase
			}
		}

		visible = {
			has_country_flag = NSC_austrian_assistance
			has_war = yes
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.1
			}
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 50

		modifier = {
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.1 }
			add_money_with_tooltip_effect = yes
			set_country_flag = NSC_austrian_gun_purchase
		}

		remove_effect = {
			clr_country_flag = NSC_austrian_gun_purchase
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 1000
				producer = AUS
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_buy_medium_austrian_guns = {
		icon = GFX_decision_generic_fundraising

		available = {
			NOT = {
				has_country_flag = NSC_austrian_gun_purchase
			}
		}

		visible = {
			has_country_flag = NSC_austrian_assistance
			has_war = yes
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 50

		modifier = {
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
			set_country_flag = NSC_austrian_gun_purchase
		}

		remove_effect = {
			clr_country_flag = NSC_austrian_gun_purchase
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2000
				producer = AUS
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_buy_large_austrian_guns = {
		icon = GFX_decision_generic_industry

		available = {
			NOT = {
				has_country_flag = NSC_austrian_gun_purchase
			}
		}

		visible = {
			has_country_flag = NSC_austrian_assistance
			has_war = yes
		}

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		days_remove = 50

		modifier = {
		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
			set_country_flag = NSC_austrian_gun_purchase
		}

		remove_effect = {
			clr_country_flag = NSC_austrian_gun_purchase
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 3000
				producer = AUS
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_send_french_deligation = {
		icon = GFX_decision_administration

		available = {

		}

		visible = {
			has_country_flag = NSC_french_deligation
		}

		fire_only_once = yes

		cost = 100

		remove_effect = {
			FRA = { country_event = { id = risorgimento.679 days = 1 random_days = 2 } }	
		}

		ai_will_do = {
			base = 1000
		}
	}
}

NSC_decisions_category_navy = {
	NSC_decision_naval_production = {
		icon = GFX_decision_generic_merge_plant_ship

		available = {
			NOT = {
				has_country_flag = NSC_navy_decision_taken
			}
		}

		visible = {
			has_country_flag = NSC_navy_decisions
		}

		fire_only_once = no

		cost = 50

		days_remove = 50

		modifier = {
			industrial_capacity_dockyard = 0.15
			naval_damage_factor = -0.1
			naval_defense_factor = -0.1
		}

		complete_effect = {
			set_country_flag = {
				flag = NSC_navy_decision_taken
				days = 150
				value = 1
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_naval_attack = {
		icon = GFX_decision_ger_military_buildup

		available = {
			NOT = {
				has_country_flag = NSC_navy_decision_taken
			}
		}

		visible = {
			has_country_flag = NSC_navy_decisions
		}

		fire_only_once = no

		cost = 50

		days_remove = 50

		modifier = {
			naval_damage_factor = 0.1
			naval_defense_factor = -0.1
		}

		complete_effect = {
			set_country_flag = {
				flag = NSC_navy_decision_taken
				days = 150
				value = 1
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_naval_defence = {
		icon = GFX_decision_SWE_set_navy_budget

		available = {
			NOT = {
				has_country_flag = NSC_navy_decision_taken
			}
		}

		visible = {
			has_country_flag = NSC_navy_decisions
		}

		fire_only_once = no

		cost = 50

		days_remove = 50

		modifier = {
			naval_damage_factor = -0.1
			naval_defense_factor = 0.1
		}

		complete_effect = {
			set_country_flag = {
				flag = NSC_navy_decision_taken
				days = 150
				value = 1
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_castellammare = {
		icon = GFX_decision_SWE_set_navy_budget

		visible = {
			has_idea = NSC_vic_royal_docks_castellammare
		}

		fire_only_once = yes
		days_remove = 120

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -1.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		remove_effect = {
			custom_effect_tooltip = NSC_expanded_castellammare_tt
			set_country_flag = NSC_expanded_castellammare
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_improve_our_steamboats = {
		icon = GFX_decision_generic_merge_plant_ship

		visible = {
			has_completed_focus = NSC_focus_develop_steam_ship
		}

		fire_only_once = yes
		days_remove = 40

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		remove_effect = {
			EOANBSYS_institutions_innovative_add_one = yes
			navy_experience = 20
			add_tech_bonus = {
				bonus = 0.10
				uses = 1
				category = naval_equipment
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}

NSC_decisions_category_economy = {
	#Philip Watch
	NSC_decision_philip_watch = {

		icon = money
		
		#allowed = { tag = NSC }

		available = {
			has_completed_focus = NSC_focus_naples_public_work
		}

		visible = {
			
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_inflation_included_with_tooltip_effect = yes
		}

		remove_effect = {
			set_temp_variable = { eoanb_prestige_change = 3 }
			eoanb_change_prestige_score = yes
			add_tech_bonus = { bonus = 0.25 uses = 1 category = humanities_tech }
		}
		
		ai_will_do = {
			base = 1000
		}
	}

	#Galleria dell'Orco
	NSC_decision_construct_galleria_dell_orco = {

		icon = railway
		
		#allowed = { tag = NSC }

		available = {
			has_completed_focus = NSC_focus_rail_investments
		}

		visible = {
			
		}

		fire_only_once = yes
		
		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.25
			}
			has_specific_amount_of_money_with_inflation_included = yes
		}
		custom_cost_text = eoanb_money_cost_text
		
		days_remove = 180
		
		complete_effect = {
			set_temp_variable = { money_to_gain = -0.25 }
			add_money_with_inflation_included_with_tooltip_effect = yes
			set_temp_variable = {
				unemployment_value = -0.0001
			}
			add_unemployment_effect = yes
		}
		
		remove_effect = {
			117 = { add_extra_state_shared_building_slots = 1 }
			add_tech_bonus = { bonus = 0.5 uses = 1 category = transport_tech }
			EOANBSYS_institutions_innovative_add_one = yes
			set_temp_variable = {
				unemployment_value = -0.0001
			}
			add_unemployment_effect = yes
		}
		
		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_root_out_british_interests  = {
		icon = GFX_decision_ENG

		available = {
			has_completed_focus = NSC_focus_root_out_british_interest
		}

		visible = {
			
		}

		fire_only_once = yes

		cost = 50

		modifier = {

		}

		complete_effect = {
			ENG = {
				add_opinion_modifier = {
					target = PIE
					modifier = NSC_root_out_british_interests
				}
			}
			add_opinion_modifier = {
				target = ENG
				modifier = NSC_root_out_british_interests
			}
			swap_ideas = {
				remove_idea = NSC_vic_idea_Sulphur
				add_idea = NSC_vic_idea_Sulphur_2
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_arrest_pro_british_leaders  = {
		icon = GFX_decision_generic_arrest

		available = {
			has_completed_focus = NSC_focus_root_out_british_interest
		}

		visible = {
			
		}

		fire_only_once = yes

		cost = 50

		modifier = {

		}

		complete_effect = {
			add_stability = -0.05
			increase_legitimacy_by_five = yes
			ENG = {
				add_opinion_modifier = {
					target = PIE
					modifier = NSC_arrested_pro_british
				}
			}
			add_opinion_modifier = {
				target = ENG
				modifier = NSC_arrested_pro_british
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_campania  = {
		icon = GFX_decision_hol_draw_up_staff_plans

		available = {
			has_completed_focus = NSC_focus_naples_public_work
		}

		visible = {
			
		}

		days_remove = 180
		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_sicily = {
		icon = GFX_decision_generic_wreckers

		available = {
			has_completed_focus = NSC_focus_sicilies_public_work
		}

		visible = {
			
		}

		days_remove = 180
		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			115 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_calabria_basilicata  = {
		icon = GFX_decision_hol_attract_foreign_investors

		available = {
			has_completed_focus = NSC_focus_agrarian_development
		}

		visible = {
			
		}

		days_remove = 180
		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			156 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_country_flag = NSC_build_farm_calabria_basilicata		
			unlock_decision_tooltip = NSC_decision_build_farm_calabria_basilicata
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_apulla = {
		icon = GFX_decision_gre_paying_ifc_debt

		available = {
			has_completed_focus = NSC_focus_agrarian_development
		}

		visible = {
			
		}

		days_remove = 180
		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			812 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_country_flag = NSC_build_farm_apulla
			unlock_decision_tooltip = NSC_decision_build_farm_apulla
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_build_farm_calabria_basilicata  = {
		icon = cow

		available = {

		}

		visible = {
			has_country_flag = NSC_build_farm_calabria_basilicata
		}

		days_remove = 180

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			156 = {
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				category = farming_tech
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_build_farm_apulla = {
		icon = cow

		available = {

		}

		visible = {
			has_country_flag = NSC_build_farm_apulla
		}

		days_remove = 180

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			812 = {
				add_building_construction = {
					type = farm
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				bonus = 0.5
				uses = 1
				category = farming_tech
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_calabria_basilicata_2  = {
		icon = GFX_decision_generic_cavalry

		available = {
			has_completed_focus = NSC_focus_textile_industry
		}

		visible = {
			
		}

		days_remove = 180
		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			156 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_country_flag = NSC_build_textile_mill_calabria_basilicata
			unlock_decision_tooltip = NSC_decision_build_textile_mill_calabria_basilicata
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_sicily_2 = {
		icon = GFX_decision_railway

		available = {
			has_completed_focus = NSC_focus_textile_industry
		}

		visible = {
			
		}

		days_remove = 180
		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			115 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_country_flag = NSC_build_textile_mill_sicily
			unlock_decision_tooltip = NSC_decision_build_textile_mill_sicily
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_build_textile_mill_calabria_basilicata  = {
		icon = fabric

		available = {

		}

		visible = {
			has_country_flag = NSC_build_textile_mill_calabria_basilicata
		}

		days_remove = 365

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.75
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.75 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			156 = {
				add_building_construction = {
					type = fabric_weavery
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_two = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_build_textile_mill_sicily = {
		icon = GFX_decision_generic_factory

		available = {

		}

		visible = {
			has_country_flag = NSC_build_textile_mill_sicily
		}

		days_remove = 365

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.75
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.75 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			115 = {
				add_building_construction = {
					type = fabric_weavery
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_two = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_campania_2 = {
		icon = GFX_decision_generic_forestry

		available = {
			has_completed_focus = NSC_focus_minor_industrialisation
		}

		visible = {
			
		}

		days_remove = 180
		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_country_flag = NSC_build_factory_campania
			unlock_decision_tooltip = NSC_decision_build_factory_campania
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_build_factory_campania  = {
		icon = GFX_decision_generic_factory

		available = {

		}

		visible = {
			has_country_flag = NSC_build_factory_campania
		}

		days_remove = 365

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_manpower = 5000
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_two = yes
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_campania_3 = {
		icon = GFX_decision_generic_fundraising

		available = {
			has_completed_focus = NSC_focus_metallurgical_industry
		}

		visible = {
			
		}

		days_remove = 180
		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_country_flag = NSC_build_steel_mill_campania
			unlock_decision_tooltip = NSC_decision_build_steel_mill_campania
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_build_steel_mill_campania  = {
		icon = GFX_decision_silver

		available = {

		}

		visible = {
			has_country_flag = NSC_build_steel_mill_campania
		}

		days_remove = 365

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.75
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.75 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_building_construction = {
					type = steel_mill
					level = 1
					instant_build = yes
				}
			}
			add_victory_points = {
				province = 819
				value = 2
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_two = yes
			
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_campania_4 = {
		icon = GFX_decision_gre_paying_ifc_debt

		available = {
			has_completed_focus = NSC_focus_develop_steam_ship
		}

		visible = {
			
		}

		days_remove = 180
		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.3
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.3 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_country_flag = NSC_build_dockyard_campania
			unlock_decision_tooltip = NSC_decision_build_dockyard_campania
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_build_dockyard_campania  = {
		icon = GFX_decision_generic_merge_plant_ship

		available = {
			
		}

		visible = {
			has_country_flag = NSC_build_dockyard_campania
		}

		days_remove = 180

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.9
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.9 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
			add_equipment_to_stockpile = {
				type = convoy
				amount = 5
			}
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
			EOANBSYS_institutions_innovative_add_two = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_campania_5 = {
		icon = GFX_decision_hol_draw_up_staff_plans

		available = {
			has_completed_focus = NSC_focus_expand_castellammare
		}

		visible = {
			
		}

		days_remove = 180

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_country_flag = NSC_build_dockyard_campania_2
			unlock_decision_tooltip = NSC_decision_build_dockyard_campania_2
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_build_dockyard_campania_2  = {
		icon = GFX_decision_generic_merge_plant_ship

		available = {

		}

		visible = {
			has_country_flag = NSC_build_dockyard_campania_2
		}

		days_remove = 180

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 1
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -1 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
			add_equipment_to_stockpile = {
				type = convoy
				amount = 5
			}
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
			EOANBSYS_institutions_innovative_add_two = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_expand_pietrarsa = {
		icon = GFX_decision_machine_gear_cogwheel

		available = {

		}

		visible = {
			has_completed_focus = NSC_focus_boilers_from_pietrarsa
		}

		fire_only_once = yes

		days_remove = 180

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_extra_state_shared_building_slots = 1
			}
			set_temp_variable = {
				unemployment_value = -0.0002
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_one = yes
			set_country_flag = NSC_build_factory_campania_2
			unlock_decision_tooltip = NSC_decision_build_factory_campania_2
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_build_factory_campania_2  = {
		icon = hol_draw_up_staff_plans

		available = {

		}

		visible = {
			has_country_flag = NSC_build_factory_campania_2
		}

		days_remove = 180

		fire_only_once = yes

		custom_cost_trigger = {
			set_temp_variable = {
				amount_of_money_to_check = 0.5
			}
		}
		custom_cost_text = eoanb_money_cost_text

		modifier = {

		}

		complete_effect = {
			set_temp_variable = { money_to_gain = -0.5 }
			add_money_with_tooltip_effect = yes
		}

		remove_effect = {
			117 = {
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_manpower = 5000
			}
			set_temp_variable = {
				unemployment_value = -0.0004
			}
			add_unemployment_effect = yes
			EOANBSYS_institutions_innovative_add_two = yes
			set_temp_variable = {
				eoanb_prestige_change = 1
			}
			eoanb_change_prestige_score = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_enact_the_postal_reform = {
		icon = GFX_decision_envelope

		visible = {
			OR = {
				has_completed_focus = NSC_focus_ferdinand_ii_reign
				has_completed_focus = NSC_focus_milano_incident_legacy
			}
		}

		days_remove = 65
		fire_only_once = yes
		cost = 80

		remove_effect = {
			country_event = { id = risorgimento.951 }
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_make_a_deal_with_the_bank_of_napoli = {
		icon = GFX_decision_envelope

		visible = {
			has_completed_focus = NSC_focus_combatting_debt
		}

		days_remove = 30
		fire_only_once = yes
		cost = 50

		remove_effect = {
			add_tech_bonus = {
				bonus = 0.15
				uses = 1
				category = economics_tech
			}
			set_temp_variable = {
				inflation_to_gain = -0.05
			}
			add_inflation_with_tooltip_effect = yes
			add_ideas = {
				NSC_vic_idea_banco_di_napoli
			}
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_improve_the_situation_in_the_academy_of_fine_arts = {
		icon = GFX_decision_envelope

		visible = {
			has_completed_focus = NSC_focus_confidence_in_people
		}

		days_remove = 81
		fire_only_once = yes
		cost = 50

		remove_effect = {
			add_stability = 0.03
			set_temp_variable = { eoanb_prestige_change = 5 }
			eoanb_change_prestige_score = yes
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_help_expand_the_borsa_di_napoli = {
		icon = GFX_decision_envelope

		visible = {
			has_completed_focus = NSC_focus_finish_city_expansion
		}

		days_remove = 30
		fire_only_once = yes
		cost = 50

		remove_effect = {
			add_tech_bonus = {
				bonus = 0.25
				uses = 3
				category = economics_tech
			}
			set_temp_variable = {
				inflation_to_gain = -0.05
			}
			add_inflation_with_tooltip_effect = yes
		}

		ai_will_do = {
			base = 1000
		}
	}
}

NSC_decisions_fight_for_a_republic = {
	NSC_decision_print_illegal_leaflets = {
		icon = GFX_decision_hol_attract_foreign_investors

		visible = {
			has_completed_focus = NSC_focus_confidence_in_people
			NOT = {
				OR = {
					has_completed_focus = NSC_focus_continue_ferdinands_work
					has_completed_focus = NSC_focus_prepare_coup
				}
			}
		}

		fire_only_once = yes
		cost = 30
		days_remove = 10

		remove_effect = {
			add_stability = -0.05
			set_country_flag = NSC_printed_leaflets
			clr_country_flag = NSC_coup_decision_ongoing
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_gain_support_of_inteligenstia = {
		icon = GFX_decision_hol_war_on_pacifism

		visible = {
			has_completed_focus = NSC_focus_confidence_in_people
			NOT = {
				OR = {
					has_completed_focus = NSC_focus_continue_ferdinands_work
					has_completed_focus = NSC_focus_prepare_coup
				}
			}
		}

		fire_only_once = yes
		cost = 50
		days_remove = 15

		remove_effect = {
			add_stability = -0.02
			set_country_flag = NSC_gained_support_of_inteligentsia
			clr_country_flag = NSC_coup_decision_ongoing
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_reconnect_with_the_exiles = {
		icon = GFX_decision_generic_political_discourse

		visible = {
			has_completed_focus = NSC_focus_confidence_in_people
			NOT = {
				OR = {
					has_completed_focus = NSC_focus_continue_ferdinands_work
					has_completed_focus = NSC_focus_prepare_coup
				}
			}
		}

		fire_only_once = yes
		cost = 80
		days_remove = 30

		remove_effect = {
			add_war_support = -0.10
			set_country_flag = NSC_reconnected_with_exiles
			clr_country_flag = NSC_coup_decision_ongoing
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_make_connections_in_the_army = {
		icon = GFX_decision_generic_protection

		visible = {
			has_completed_focus = NSC_focus_confidence_in_people
			NOT = {
				OR = {
					has_completed_focus = NSC_focus_continue_ferdinands_work
					has_completed_focus = NSC_focus_prepare_coup
					has_completed_focus = NSC_focus_recruit_filangieri
				}
			}
		}

		fire_only_once = yes
		custom_cost_trigger = {
			command_power > 29.99
		}
		custom_cost_text = eoanb_command_power_30
		days_remove = 20

		complete_effect = {
			add_command_power = -30
		}

		remove_effect = {
			add_war_support = -0.10
			set_country_flag = NSC_made_connections_in_the_army
			clr_country_flag = NSC_coup_decision_ongoing
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_spread_our_struggle_to_the_population = {
		icon = GFX_decision_generic_political_rally

		visible = {
			has_completed_focus = NSC_focus_confidence_in_people
			NOT = {
				OR = {
					has_completed_focus = NSC_focus_continue_ferdinands_work
					has_completed_focus = NSC_focus_prepare_coup
				}
			}
		}

		fire_only_once = yes
		cost = 80
		days_remove = 25

		remove_effect = {
			add_stability = -0.10
			set_country_flag = NSC_spreaded_the_cause
			clr_country_flag = NSC_coup_decision_ongoing
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_infiltrate_the_court = {
		icon = GFX_decision_generic_monarchy

		visible = {
			has_completed_focus = NSC_focus_confidence_in_people
			NOT = {
				OR = {
					has_completed_focus = NSC_focus_continue_ferdinands_work
					has_completed_focus = NSC_focus_prepare_coup
					has_completed_focus = NSC_focus_aquilas_count
				}
			}
		}

		fire_only_once = yes
		cost = 60
		days_remove = 25

		remove_effect = {
			add_stability = -0.03
		}

		ai_will_do = {
			base = 1000
		}
	}

	NSC_decision_execute_the_coup = {
		icon = GFX_decision_generic_civil_support

		visible = {
			has_completed_focus = NSC_focus_confidence_in_people
			NOT = {
				OR = {
					has_completed_focus = NSC_focus_continue_ferdinands_work
					has_completed_focus = NSC_focus_prepare_coup
				}
			}
		}

		available = {
			custom_trigger_tooltip = {
				tooltip = NSC_execute_coup_trigger_tt
				AND = {
					if = {
						limit = { NOT = { has_completed_focus = NSC_focus_aquilas_count } }
						has_country_flag = NSC_infiltrated_the_court
					}
					if = {
						limit = { NOT = { has_completed_focus = NSC_focus_recruit_filangieri } }
						has_country_flag = NSC_made_connections_in_the_army
					}
					has_country_flag = NSC_printed_leaflets
					has_country_flag = NSC_gained_support_of_inteligentsia
					has_country_flag = NSC_reconnected_with_exiles
					has_country_flag = NSC_spreaded_the_cause
				}
			}
		}

		fire_only_once = yes
		cost = 40
		days_remove = 15

		remove_effect = {
			custom_effect_tooltip = NSC_executed_the_coup_tt
			hidden_effect = {
				set_country_flag = NSC_executed_the_coup
				clr_country_flag = NSC_infiltrated_the_court
				clr_country_flag = NSC_printed_leaflets
				clr_country_flag = NSC_made_connections_in_the_army
				clr_country_flag = NSC_gained_support_of_inteligentsia
				clr_country_flag = NSC_reconnected_with_exiles
				clr_country_flag = NSC_spreaded_the_cause
			}
		}

		ai_will_do = {
			base = 1000
		}
	}
}