# NCN Decisions - By HappyNTH and Faeelin #

ncn_outcasts_and_misfits = {
	farfield_revolt_mission = {
		activation = {
			always = no # handled by event
		}
		available = {
			hidden_trigger = { always = no }
		}
		cancel_trigger = {
			if = {
				limit = {
					is_ai = yes
				}
				custom_trigger_tooltip = {
					tooltip = ncn_farfield_anger_low
					check_variable = {
						ncn_farfield_actions > 2
					}
				}
			}
			else = {
				custom_trigger_tooltip = {
					tooltip = ncn_farfield_anger_low
					check_variable = {
						ncn_farfield_actions > 3
					}
				}
			}
		}
		fire_only_once = yes
		is_good = no # so it shows up red
		days_mission_timeout = 220
		icon = GFX_decision_revolt
		priority = 4
		timeout_effect = {
			country_event = nf_ncn.39
		}
	}
	farfield_build_dwellings_wtt = {
		allowed = {
			has_dlc = "Waking the Tiger"
		}
		visible = {
			has_active_mission = farfield_revolt_mission
		}
		available = {
			num_of_civilian_factories_available_for_projects > 2
			has_active_mission = farfield_revolt_mission
		}
		icon = GFX_decision_generic_construction
		priority = 3
		fire_only_once = yes
		days_remove = 60
		cost = 10
		ai_will_do = {
			factor = 200
		}
		modifier = {
			civilian_factory_use = 3
		}
		remove_effect = {
			add_to_variable = {
				var = ncn_farfield_actions
				value = 1
				tooltip = ncn_add_farfield_action
			}
			457 = {
			add_extra_state_shared_building_slots = 1 
			add_manpower = 323
			}
		}
	}
	farfield_build_dwellings_no_wtt = {
		allowed = {
			NOT = { has_dlc = "Waking the Tiger" }
		}
		visible = {
			has_active_mission = farfield_revolt_mission
		}
		available = {
			has_active_mission = farfield_revolt_mission
		}
		icon = GFX_decision_generic_construction
		priority = 3
		fire_only_once = yes
		days_remove = 60
		cost = 10
		ai_will_do = {
			factor = 200
		}
		modifier = {
			consumer_goods_factor = 0.1
		}
		remove_effect = {
			add_to_variable = {
				var = ncn_farfield_actions
				value = 1
				tooltip = ncn_add_farfield_action
			}
			
		}
	}
	farfield_meet_local_leaders = {
		visible = {
			has_active_mission = farfield_revolt_mission
		}
		available = {
			has_active_mission = farfield_revolt_mission
		}
		icon = GFX_decision_generic_political_discourse
		priority = 3
		fire_only_once = yes
		cost = 40
		ai_will_do = {
			factor = 200
		}
		days_remove = 20
		modifier = {
			political_power_factor = -0.2
		}
		remove_effect = {
			add_to_variable = {
				var = ncn_farfield_actions
				value = 1
				tooltip = ncn_add_farfield_action
			}
			add_political_power = 120
		}
	}
	farfield_encourage_enlistment = {
		visible = {
			has_active_mission = farfield_revolt_mission
		}
		available = {
			has_active_mission = farfield_revolt_mission
		}
		priority = 3
		fire_only_once = yes
		cost = 20
		days_remove = 80
		ai_will_do = {
			factor = 200
		}
		modifier = {
			mobilization_speed = -0.2
		}
		complete_effect = {
			army_experience = -10
		}
		remove_effect = {
			add_manpower = 200
			add_to_variable = {
				var = ncn_farfield_actions
				value = 1
				tooltip = ncn_add_farfield_action
			}
		}
	}
	farfield_build_up_consumer_industry = {
		visible = {
			has_active_mission = farfield_revolt_mission
		}
		available = {
			has_active_mission = farfield_revolt_mission
			any_owned_state = {
				has_resources_amount = {
					resource = metal
					amount > 3
				}
			}
		}
		icon = GFX_decision_generic_industry
		priority = 3
		fire_only_once = yes
		cost = 10
		days_remove = 80
		ai_will_do = {
			factor = 200
		}
		modifier = {
			mobilization_speed = -0.2
		}
		complete_effect = {
			random_owned_state = {
				limit = {
					has_resources_amount = {
						resource = metal
						amount > 3
					}
				}
				add_resource = {
					type = metal
					amount = -2
				}
			}
		}
		remove_effect = {
			457 = {
				if = {
					limit = {
						is_valid_state_for_civilian_factory = yes
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_resource = {
					type = metal
					amount = 2
					}
				}
			}
			add_to_variable = {
				var = ncn_farfield_actions
				value = 1
				tooltip = ncn_add_farfield_action
			}
		}
	}
	farfield_supply_local_markets = {
		visible = {
			has_active_mission = farfield_revolt_mission
		}
		available = {
			has_active_mission = farfield_revolt_mission

		}
		icon = GFX_decision_water_pump
		priority = 3
		fire_only_once = yes
		cost = 10
		days_remove = 100
		ai_will_do = {
			factor = 200
		}
		modifier = {
			local_resources_factor = -0.15
		}
		remove_effect = {
			add_to_variable = {
				var = ncn_farfield_actions
				value = 1
				tooltip = ncn_add_farfield_action
			}
			random_owned_state = {
			add_resource = {
					type = metal
					amount = 3
					}
				}
				random_owned_state = {
			add_resource = {
					type = advanced
					amount = 2
					}
				}
		}
	}
	brigham_revolt_mission = {
		activation = {
			always = no # handled by event
		}
		available = {
			hidden_trigger = { always = no }
		}
		cancel_trigger = {
			custom_trigger_tooltip = {
				tooltip = ncn_brigham_anger_low
				check_variable = {
					ncn_brigham_actions > 2
				}
			}
		}
		fire_only_once = yes
		is_good = no # so it shows up red
		days_mission_timeout = 160
		icon = GFX_decision_revolt
		priority = 10
		timeout_effect = {
			country_event = nf_ncn.40
		}
	}
	brigham_provoke_war_scare = {
		visible = {
			has_active_mission = brigham_revolt_mission
		}
		available = {
			has_active_mission = brigham_revolt_mission

		}
		icon = GFX_decision_generic_operation
		fire_only_once = yes
		cost = 20
		days_remove = 40
		ai_will_do = {
			factor = 200
		}
		modifier = {
			max_planning = -0.15
		}
		remove_effect = {
			custom_effect_tooltip = ncn_gain_4_threat
			add_to_variable = {
				var = ncn_threat
				value = 4
			}
			update_ncn_threat = yes
			add_to_variable = {
				var = ncn_brigham_actions
				value = 1
				tooltip = ncn_add_brigham_action
			}
		}
	}
	brigham_expand_garrisons = {
		visible = {
			has_active_mission = brigham_revolt_mission
		}
		available = {
			has_active_mission = brigham_revolt_mission
			has_manpower > 80
		}
		icon = GFX_decision_oppression
		fire_only_once = yes
		cost = 10
		days_remove = 20
		ai_will_do = {
			factor = 200
		}
		complete_effect = {
			add_manpower = -80
		}
		remove_effect = {
			add_to_variable = {
				var = ncn_brigham_actions
				value = 1
				tooltip = ncn_add_brigham_action
			}
			add_war_support = 0.05
			add_stability = 0.05
			add_to_variable = { NCN_conscription_factor = 0.025 }
			force_update_dynamic_modifier = yes
		}
	}
	brigham_build_up_industry = {
		visible = {
			has_active_mission = brigham_revolt_mission
		}
		available = {
			has_active_mission = brigham_revolt_mission
			any_owned_state = {
				has_resources_amount = {
					resource = metal
					amount > 5
				}
			}
		}
		icon = GFX_decision_generic_industry
		fire_only_once = yes
		cost = 20
		days_remove = 120
		ai_will_do = {
			factor = 200
		}
		complete_effect = {
			random_owned_state = {
				limit = {
					has_resources_amount = {
						resource = metal
						amount > 5
					}
				}
				add_resource = {
					type = metal
					amount = -2
				}
			}
		}
		remove_effect = {
			352 = {
				if = {
					limit = {
						is_valid_state_for_arms_factory = yes
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
			add_to_variable = {
				var = ncn_brigham_actions
				value = 1
				tooltip = ncn_add_brigham_action
			}
		}
	}
	brigham_conduct_training_exercises = {
		visible = {
			has_active_mission = brigham_revolt_mission
		}
		available = {
			has_active_mission = brigham_revolt_mission

		}
		icon = GFX_decision_generic_army_support
		fire_only_once = yes
		cost = 15
		days_remove = 65
		ai_will_do = {
			factor = 200
		}
		modifier = {
			army_org_factor = -0.05
			dig_in_speed_factor = -0.05
		}
		remove_effect = {
			army_experience = 15
			add_to_variable = {
				var = ncn_brigham_actions
				value = 1
				tooltip = ncn_add_brigham_action
			}
		}
	}
}
ncn_conversion_daniel = {
	convert_tribes_daniel = {
		visible = {
			NCN = { exists = yes }
			FROM = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
				}
			}
		}
		target_trigger = {
			FROM = {
				OR = {
					tag = LON
					tag = ANO
					tag = UIN
				}
			}
		}
		targets = { LON ANO UIN }
		available = {
			has_completed_focus = NCN_send_missionaries_north
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 150
		complete_effect = {
		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel remove entered"
			}
			puppet = FROM
			hidden_effect = {
				FROM = {
					if = {
						limit = {
							NCN = { is_in_faction_with = NCR }
							NCR = { is_faction_leader = yes }
						}
						set_country_flag = ncn_mormon_alliance_old
						create_or_join_new_california = yes
						add_new_california_ally_strategies = yes

					}
					else_if = {
						limit = {
							NCN = { is_faction_leader = yes }
						}
						create_or_join_mormon_alliance = yes
						add_mormon_alliance_ally_strategies = yes
					}
				}
			}
			log = "[GetDateText]: [Root.GetName] convert_tribes_daniel remove exited"
		}
	}
	convert_tribes_daniel_south = {
		visible = {
			NCN = { exists = yes }
			FROM = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
				}
			}
		}
		target_trigger = {
			FROM = {
				OR = {
					tag = CLK
					tag = SLE
				}
			}
		}
		targets = { CLK CLI }
		available = {
			has_completed_focus = NCN_send_missionaries_south
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 150
		complete_effect = {
		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_south remove entered"
			}
			puppet = FROM
			hidden_effect = {
				FROM = {
					if = {
						limit = {
							NCN = { is_in_faction_with = NCR }
							NCR = { is_faction_leader = yes }
						}
						set_country_flag = ncn_mormon_alliance_old
						create_or_join_new_california = yes
						add_new_california_ally_strategies = yes

					}
					else_if = {
						limit = {
							NCN = { is_faction_leader = yes }
						}
						create_or_join_mormon_alliance = yes
						add_mormon_alliance_ally_strategies = yes
					}
				}
			}
			log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_south remove exited"
		}
	}
}
ncn_conversion_daniel_sack_of_new_canaan = {
	convert_tribes_daniel_sack_1 = {
		target_root_trigger = {
			OR = {
				has_completed_focus = NCN_the_arms_of_god
				has_completed_focus = NCN_centralize_religious_leadership
			}
		}
		visible = {
			NOT = { FROM = { is_subject_of = NCN } }
			FROM = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
				}
			}
		}
		target_trigger = {
			FROM = {
				OR = {
					tag = SOR
					tag = DEA
					tag = TAR
					tag = CRZ
				}
			}
		}
		targets = { SOR DEA TAR CRZ }
		available = {
			NOT = { has_war_with = FROM }
		}
		cost = 75
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = {
		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_sack_1 remove entered"
			}
			puppet = FROM
			hidden_effect = {
				FROM = {
					if = {
						limit = {
							NCN = { is_in_faction_with = NCR }
							NCR = { is_faction_leader = yes }
						}
						set_country_flag = ncn_mormon_alliance_old
						create_or_join_new_california = yes
						add_new_california_ally_strategies = yes

					}
					else_if = {
						limit = {
							NCN = { is_faction_leader = yes }
						}
						create_or_join_mormon_alliance = yes
						add_mormon_alliance_ally_strategies = yes
					}
				}
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_sack_1 remove exited"
			}
		}
	}
	convert_tribes_daniel_sack_ally = {
		target_root_trigger = {
			has_completed_focus = NCN_send_missionaries_south
		}
		visible = {
			NOT = { is_in_faction_with = FROM }
			FROM = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
				}
			}
		}
		target_trigger = {
			FROM = {
				OR = {
					tag = SOR
					tag = DEA
					tag = TAR
					tag = CRZ
				}
			}
		}
		targets = { SOR DEA TAR CRZ }
		available = {
			NOT = { has_war_with = FROM }
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 150
		complete_effect = {
		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_south remove entered"
			}
			FROM = {
				if = {
					limit = {
						NCN = { is_in_faction_with = NCR }
						NCR = { is_faction_leader = yes }
					}
					set_country_flag = ncn_mormon_alliance_old
					create_or_join_new_california = yes
					add_new_california_ally_strategies = yes

				}
				else_if = {
					limit = {
						NCN = { is_faction_leader = yes }
					}
					create_or_join_mormon_alliance = yes
					add_mormon_alliance_ally_strategies = yes
				}
			}
			add_offsite_building = { type = industrial_complex level = 2 }
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_south remove exited"
			}
		}
	}
}
ncn_conversion = {
	convert_CLK = {
		icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_word_of_god_south
		}
		available = {
			any_owned_state = {
				is_core_of = CLK
				NOT = { is_core_of = ROOT }
			}
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_CLK (decision) remove entered"
			}
			every_state = {
				limit = {
					is_core_of = CLK
				}
				add_core_of = NCN
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_CLK (decision) remove exited"
			}
		}
	}
	convert_TAR = {
		icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_word_of_god_south
		}
		available = {
			any_owned_state = {
				is_core_of = TAR
				NOT = { is_core_of = ROOT }
			}
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_TAR (decision) remove entered"
			}
			every_state = {
				limit = {
					is_core_of = TAR
				}
				add_core_of = NCN
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_TAR (decision) remove exited"
			}
		}
	}
	convert_CRZ = {
		icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_word_of_god_south
		}
		available = {
			any_owned_state = {
				is_core_of = CRZ
				NOT = { is_core_of = ROOT }
			}
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_CRZ (decision) remove entered"
			}
			every_state = {
				limit = {
					is_core_of = CRZ
				}
				add_core_of = NCN
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_CRZ (decision) remove exited"
			}
		}
	}
	convert_ANO = {
		icon = GFX_decision_cross
		visible = {
		has_completed_focus = NCN_word_of_god_north
		is_in_faction_with = ANO
		}
		available = {
			has_completed_focus = NCN_word_of_god_north
			is_in_faction_with = ANO 
			any_owned_state = {
				is_core_of = ANO
				NOT = { is_core_of = ROOT }
			}
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = {  

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_ANO (decision) remove entered"
			}
			every_state = {
				limit = {
					is_core_of = ANO
				}
				add_core_of = NCN
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_ANO (decision) remove exited"
			}
		}
	}
	convert_LON = {
		icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_word_of_god_north 
			is_in_faction_with = LON
		}
		available = {
			any_owned_state = {
				is_core_of = LON
				NOT = { is_core_of = ROOT }
			}
			is_in_faction_with = LON
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = {
		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_LON (decision) remove entered"
			}
			every_state = {
				limit = {
					is_core_of = LON
				}
				add_core_of = NCN
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_LON (decision) remove exited"
			}
		}
	}
	convert_UIN = {
		icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_word_of_god_north
			is_in_faction_with = UIN
		}
		available = {
			any_owned_state = {
				is_core_of = ANO
				NOT = { is_core_of = ROOT }
			}
			is_in_faction_with = UIN
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = { 

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_UIN (decision) remove entered"
			}
			every_owned_state = {
				limit = {
					is_core_of = UIN
				}
				add_core_of = NCN
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_UIN (decision) remove exited"
			}
			
		}
	}
	convert_EAG = {
		icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_word_of_god_north
			is_in_faction_with = EAG
		}
		available = {
			any_owned_state = {
				is_core_of = UIN
				NOT = { is_core_of = ROOT }
			}
			is_in_faction_with = EAG
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = {
		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_UIN (decision) remove entered"
			}
			every_owned_state = {
				limit = {
					is_core_of = EAG
				}
				add_core_of = NCN
			}
		
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_UIN (decision) remove exited"
			}
		}
	}
	
	convert_northern_tribas = {
		target_root_trigger = {
			OR = {
				has_completed_focus = NCN_word_of_god_north
			}
		}
		visible = {
			
			NOT = { FROM = { is_subject_of = NCN } }
			FROM = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
				}
			}
		}
		target_trigger = {
			FROM = {
				OR = {
					tag = ANO
					tag = UIN
					tag = LON
					tag = EAG
				}
			}
		}
		targets = { ANO UIN LON EAG }
		available = {
		NOT = { has_war_with = FROM }
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 150
		complete_effect = {
		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_sack_1 remove entered"
			}
			puppet = FROM
			hidden_effect = {
				FROM = {
					if = {
						limit = {
							NCN = { is_in_faction_with = NCR }
							NCR = { is_faction_leader = yes }
						}
						set_country_flag = ncn_mormon_alliance_old
						create_or_join_new_california = yes
						add_new_california_ally_strategies = yes

					}
					else_if = {
						limit = {
							NCN = { is_faction_leader = yes }
						}
						create_or_join_mormon_alliance = yes
						add_mormon_alliance_ally_strategies = yes
					}
				}
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_sack_1 remove exited"
			}
		}
	}
	}
ncn_corrupt_our_neighbors = {
	corrupt_south = {
		target_trigger = {
			FROM = {
				OR = {
					tag = CLK
					tag = SOR
					tag = DEA
					tag = CRZ
					tag = TAR
				}
			}
		}
		targets = { CLK SOR DEA CRZ TAR }
		target_root_trigger = {
			has_completed_focus = NCN_corrupt_the_south
		}
		visible = {
			FROM = {
				exists = yes
				NOT = { has_country_flag = NCN_corrupted }
			}
		}
		available = {
			NOT = { has_war_with = FROM }
		}
		cost = 35
		ai_will_do = {
			factor = 10000
		}
		days_remove = 50
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] corrupt_south (decision) remove entered"
			}
			FROM = {
				set_country_flag = NCN_corrupted
				add_opinion_modifier = { target = NCN modifier = ncn_trade }
			}
			custom_effect_tooltip = corrupt_south_tt
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] corrupt_south (decision) remove exited"
			}
		}
	}
	coup_south = {
		target_root_trigger = {
			has_completed_focus = NCN_pay_debts
		}
		visible = {
			FROM = {
				exists = yes
				has_country_flag = NCN_corrupted
			}
		}
		target_trigger = {
			FROM = {
				OR = {
					tag = CLK
					tag = SOR
					tag = DEA
					tag = CRZ
					tag = TAR
				}
			}
		}
		targets = { CLK SOR DEA CRZ TAR }
		available = {
			NOT = { has_war_with = FROM }
		}
		cost = 35
		ai_will_do = {
			factor = 10000
		}
		days_remove = 30
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] coup_north (decision) remove entered"
			}
			FROM = {
				country_event = nf_ncn.50
			}
			custom_effect_tooltip = coup_north_tt
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] coup_north (decision) remove exited"
			}
		}
	}
	corrupt_north = {
		target_trigger = {
			FROM = {
				OR = {
					tag = LON
					tag = ANO
					tag = UIN
				}
			}
		}
		targets = { LON ANO UIN }
		target_root_trigger = {
			has_completed_focus = NCN_corrupt_the_north
		}
		visible = {
			FROM = {
				exists = yes
				NOT = { has_country_flag = NCN_corrupted }
			}
		}
		available = {
			NOT = { has_war_with = FROM }
		}
		cost = 35
		ai_will_do = {
			factor = 10000
		}
		days_remove = 50
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] corrupt_north (decision) remove entered"
			}
			FROM = {
				set_country_flag = NCN_corrupted
				add_opinion_modifier = { target = NCN modifier = ncn_trade }
			}
			custom_effect_tooltip = corrupt_south_tt
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] corrupt_north (decision) remove exited"
			}
		}
	}
	coup_north = {
		target_root_trigger = {
			has_completed_focus = NCN_taxes_come_due
		}
		visible = {
			FROM = {
				exists = yes
				has_country_flag = NCN_corrupted
			}
		}
		target_trigger = {
			FROM = {
				OR = {
					tag = LON
					tag = ANO
					tag = UIN
				}
			}
		}
		targets = { LON ANO UIN }
		available = {
			NOT = { has_war_with = FROM }
		}
		cost = 35
		ai_will_do = {
			factor = 10000
		}
		days_remove = 30
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] coup_north (decision) remove entered"
			}
			FROM = {
				country_event = nf_ncn.50
			}
			custom_effect_tooltip = coup_north_tt
				log = "[GetDateText]: [Root.GetName] coup_north (decision) remove exited"
		}
	}
}
NCN_joshua_graham_threatens_all = {
	conquer_neighbors = {
		allowed = {
			original_tag = NCN
		}
		target_root_trigger = {
			has_completed_focus = NCN_peace_through_arms
		}
		visible = {
			FROM = { exists = yes }
		}
		target_trigger = {
			FROM = {
				OR = {
					tag = TAR
					tag = CRZ
					tag = SOR
					tag = DEA
				}
			}
		}
		targets = { TAR CRZ SOR DEA }
		available = {
			NOT = { has_war_with = FROM }
		}
		cost = 35
		ai_will_do = {
			factor = 10000
		}
		days_remove = 30
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] conquer_neighbors (decision) remove entered"
			}
			FROM = {
				country_event = nf_ncn.51
			}
			custom_effect_tooltip = coup_north_tt
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] conquer_neighbors (decision) remove exited"
			}
		}
	}
}
ncn_dec_cat_NCN_banking_investments = {
	cultivate_land = {
		icon = generic_construction
		days_remove = 90
		days_re_enable = 210
		ai_will_do = { 
		base = 80 
		}
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 80 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		modifier = {
			political_power_gain = -0.1
			caps_income_modifier = -0.05
		}
		complete_effect = {
			set_temp_variable = { caps_to_add = -80 }
			add_caps = yes }
		remove_effect = {
    		random_owned_state = {
					limit = {          			
					}
					add_extra_state_shared_building_slots = 1
				}
				}
			}
		build_shelter = {
		icon = generic_construction
		days_remove = 90
		ai_will_do = { 
		base = 80 
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 15 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			modifier = {
			political_power_gain = -0.1
			caps_income_modifier = -0.05
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -15 }
			add_caps = yes }
		remove_effect = { 
		random_owned_state = {
    		set_temp_variable = {
					pop_add = 250
				}
				add_state_population = yes
				}
			}
		}
		
		ncn_build_more_wells = {
		icon = water
		days_re_enable = 90
		days_remove = 45
		ai_will_do = { 
		base = 80 
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 40 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -40 }
			add_caps = yes }
				modifier = {
			political_power_gain = -0.1
			caps_income_modifier = -0.05
		}
		remove_effect = {
    		random_owned_state = {
					limit = {
						is_fully_controlled_by = ROOT            			
					}
					add_resource = {
    					type = water
    					amount = 2
						state = THIS
					}
				}
			}
		}
		ncn_getting_circuits = {
		icon = water
		days_remove = 45
		ai_will_do = { 
		base = 80 
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 40 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -40 }
			add_caps = yes }
		remove_effect = {
    		random_owned_state = {
					limit = {
						is_fully_controlled_by = ROOT            			
					}
					add_resource = {
    					type = circuitry
    					amount = 2
						state = THIS
					}
				}
			}
		}
		
		invest_in_allies = {
		icon = gun
		days_remove = 45
		ai_will_do = { 
		base = 80 
		}
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 100 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -100 }
			add_caps = yes }
			remove_effect = {
			random_other_country = { 
    		limit = {
			  has_idea = ncn_idea_mormon_mission 
						}
				random_owned_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = arms_factory
							level = 1
							instant_build = yes			
						}
					}
				}
				random_other_country = { 
    		limit = {
			  has_idea = ncn_idea_mormon_mission 
						}
				random_owned_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = arms_factory
							level = 1
							instant_build = yes			
						}
					}
				}
			}
		}
		ncn_make_metal = {
		icon = water
		days_re_enable = 90
		days_remove = 60
		ai_will_do = { 
		base = 80 
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 80 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -80 }
			add_caps = yes }
		remove_effect = {
    		random_owned_state = {
					limit = {
						is_fully_controlled_by = ROOT            			
					}
					add_resource = {
    					type = metal
    					amount = 2
						state = THIS
					}
				}
			}
		}
		ncn_scavenged_advanced_metals = {
		icon = water
		days_remove = 45
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 80 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -80 }
			add_caps = yes }
		remove_effect = {
    		random_owned_state = {
					limit = {
						is_fully_controlled_by = ROOT            			
					}
					add_resource = {
    					type = advanced
    					amount = 1
						state = THIS
					}
				}
			}
		}
		ncn_tribal_industry = {
		icon = industry
		days_remove = 45
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 110 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -110 }
			add_caps = yes }
			remove_effect = {
			random_other_country = { 
    		limit = {
			  has_idea = ncn_idea_mormon_mission 
						}
						random_owned_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
							}
						}
					}
					random_other_country = { 
    		limit = {
			  has_idea = ncn_idea_mormon_mission 
						}
						random_owned_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
							}
						}
					}
				}
			}
			NCN_clean = {
		icon = industry
		days_remove = 45
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 120 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -120 }
			add_caps = yes }
			remove_effect = {
			random_other_country = { 
    		limit = {
			  has_idea = ncn_idea_mormon_mission 
						}
						random_owned_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = water_generator
							level = 1
							instant_build = yes
							}
						}
					}
				}
			}
			
			NCN_tribal_steel = {
		icon = industry
		days_remove = 45
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 120 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -120 }
			add_caps = yes }
			remove_effect = {
			random_other_country = { 
    		limit = {
			  has_idea = ncn_idea_mormon_mission 
						}
						random_owned_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = metal_generator
							level = 1
							instant_build = yes
							}
						}
					}
				}
			}
			
			NCN_Fund_Traveling_Arms = {
		icon = industry
		days_remove = 45
		days_re_enable = 120
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 250 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -250 }
			add_caps = yes }
			modifier = {
			political_power_gain = -0.25
			caps_income_modifier = -0.15
		}
			remove_effect = {
				add_offsite_building = {
			type = arms_factory
				level = 1
							}
						}
					}
		NCN_Fund_Roaming_Trade_Companies = {
		icon = industry
		days_remove = 45
		days_re_enable = 120 
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 300 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -300 }
			add_caps = yes }
			modifier = {
			political_power_gain = -0.25
			caps_income_modifier = -0.15
		}
			remove_effect = {
				add_offsite_building = {
			type = industrial_complex
				level = 1
							}
						}
					}
					
					Gunrunners_affairs = {
		icon = generic_construction
		days_remove = 90
		fire_only_once = yes
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 300 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -300 }
			add_caps = yes }
		remove_effect = {
    		add_to_variable = {  NCN_organization_floor_modifier_1 = 15}
			custom_effect_tooltip = Gunrunners_affairs_TT
			force_update_dynamic_modifier = yes
				}
			}
			
					Vancovuver_affairs = {
		icon = generic_construction
		days_remove = 90
		fire_only_once = yes
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 400 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -400 }
			add_caps = yes }
		remove_effect = {
    		add_to_variable = {  NCN_organization_floor_modifier_5 = 15}
			custom_effect_tooltip = Vncovuver_affairs_TT
			force_update_dynamic_modifier = yes
				}
			}
			
			ncn_medical_breakthrough = {
			icon = GFX_decision_stimpak
			fire_only_once = yes
			available = {
			has_tech = med_company_tech_5
		}
			custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 120 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -120 }
			add_caps = yes }
			remove_effect = { 
			set_technology =  { med_company_tech_6 = 1}
			}
		}
			ncn_farm_breakthrough = {
			icon = GFX_decision_brahmin
			fire_only_once = yes
			available = {
			has_tech = agriculture_industry_tech_6
		}
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 120 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -120 }
			add_caps = yes }
			remove_effect = { 
			set_technology =  { agriculture_industry_tech_7 = 1}
			}
		}
		
		NCN_browning_arms_shipment = {
		icon = industry
		days_remove = 30
		available = { has_completed_focus = NCN_John_Browning }
		ai_will_do = {
		base = 80
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 60 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -60 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			add_equipment_to_stockpile = {
			type = ballistic_equipment_2
			amount = 25
			producer = UTH
			}
			add_equipment_to_stockpile = {
			type = ballistic_equipment_1
			amount = 150
			producer = NCN
			}
			add_equipment_to_stockpile = {
			type = ballistic_equipment_1
			amount = 150
			producer = CRZ
			}
			add_equipment_to_stockpile = {
			type = ballistic_fireteam_equipment_2
			amount = 25
			producer = UTH
			}
			add_equipment_to_stockpile = {
			type = ballistic_fireteam_equipment_3
			amount = 15
			producer = UTH
			}
				
				
				}
			}
			
			NCN_tribal_arms = {
		icon = industry
		days_remove = 30
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 45 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -45 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			every_other_country = { 
    		limit = {
					OR = {
						tag = TAR
						tag = CRZ
						tag = UIN
						tag = DEA
						tag = EAG
						tag = SOR
						tag = LON
						
					}
				}
				add_equipment_to_stockpile = {
				type = melee_equipment_1 
				amount = 100
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = ballistic_equipment_1 
				amount = 50
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 50
				producer = USA
				}
		}
	}
}
NCN_mormon_weapons_package = {
		icon = industry
		days_remove = 30
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 350 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -450 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			every_other_country = { 
    		limit = {
					OR = {
						tag = TAR
						tag = CRZ
						tag = UIN
						tag = DEA
						tag = EAG
						tag = SOR
						}
						}
					random_owned_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = arms_factory
							level = 1
							instant_build = yes
							}
						}
					}	
				}
		}
		ncn_embezzle_funds = {
			icon = GFX_decision_caf_trade_profits
			cost = 100
			days_remove = 30
			ai_will_do = {
			modifier = {
				factor = -0.5
				NCN_has_ai_behavior_daniel = yes
			}
		}
		ai_will_do = {
			modifier = {
				factor = -0.5
				NCN_has_ai_behavior_joshua = yes 
			}
		}
		complete_effect = {
			set_temp_variable = { caps_to_add = 120 }
			add_caps = yes
			custom_effect_tooltip =	ncn_increase_decadence_2
				add_to_variable = {
				var = ncn_decadence
				value = 2
			}
			update_ncn_decadence = yes
			
			
			}
		}
		Mormonspy_intelligence_budget = {
		icon = GFX_decision_single_cap
		allowed = {
			has_dlc = "La Resistance"
		}
		fire_only_once = yes
		visible = {
			agency_upgrade_number > 3
		}
		available = {
			OR = {
				agency_upgrade_number > 4
				AND = {
					agency_upgrade_number > 3
					custom_trigger_tooltip = {
						tooltip = has_3_encryption_upgrades_tt
						hidden_trigger = {
							count_triggers = {
								amount = 2
								has_tech = encryption
								has_tech = encryption_1
								has_tech = encryption_2
								has_tech = encryption_3
								has_tech = encryption_4
							}
						}
					}
					custom_trigger_tooltip = {
						tooltip = has_3_decryption_upgrades_tt
						hidden_trigger = {
							count_triggers = {
								amount = 3
								has_tech = decryption
								has_tech = decryption_1
								has_tech = decryption_2
								has_tech = decryption_3
								has_tech = decryption_4
							}
						}
					}
				}
			}
		}
		ai_will_do = {
			base = 0
			modifier = {
				check_variable = { caps_number_display > 900 }
				add = 1
			}
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 150 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			custom_effect_tooltip = caps_raise_wasteland_intelligence_budget_tt

			set_temp_variable = { caps_to_add = -150 }
			add_caps = yes
		}
		modifier = {
			caps_income_modifier = -0.1
			agency_upgrade_time = -0.33
		}
		remove_effect = {
			custom_effect_tooltip = caps_add_operative_slot_tt
			hidden_effect = {
				add_ideas = Mormon_spy_bonus # Hidden idea
			}
		}
		days_remove = 180
	}
	}

			ncn_dec_cat_the_war_for_heaven = {
			Warriors_of_God = {
			icon = GFX_decision_bullet_45
			days_remove = 90
			cost = 100
			custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 30 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
			
			remove_effect = {
    		add_manpower = 300
			}
			}
			
			build_weapons_ammo = {
			days_remove = 90
			cost = 25
			days_re_enable = 100
			custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 50 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
			modifier = {
			industrial_capacity_factory = 0.075
			}
				}
		
		ncn_weapon_perfectionism = {
			icon = GFX_decision_pistol
			fire_only_once = yes
			available = {
			has_tech = ballistic_weaponry_tech_2
		}
			custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 120 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -120 }
			add_caps = yes }
			remove_effect = { 
			set_technology =  { military_heritage_tech_3 = 1}
			}
		}
		ncn_tank_breakthrough = {
			icon = GFX_decision_jeep
			fire_only_once = yes
			available = {
			has_tech = turret_vehicle_tech
		}
			custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 120 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -120 }
			add_caps = yes }
			remove_effect = { 
			set_technology =  { tank_equipment_vehicle_tech_3 = 1}
			}
		}
		
		Gather_Zealots = {
		icon = generic_construction
		days_remove = 90
		days_re_enable =120
		cost = 75
		ai_will_do = {
		base = 80
		}
		remove_effect = {
    		add_manpower = 120
			}
    	}
		
		Talk_to_Followers = {
		icon = generic_construction
		days_remove = 90
		cost = 100
		available = { has_completed_focus = NCN_follower_2l }
		ai_will_do = {
		base = 80
		}
		fire_only_once = yes
		remove_effect = {
		decrease_followers_influence_5 = yes
			}
    	}
		
		
		NCN_refubrish_shotguns = {
		icon = industry
		days_remove = 30
		ai_will_do = {
		base = 80
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 50 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -50 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
				add_equipment_to_stockpile = {
				type = ballistic_equipment_2
				amount = 125
				producer = UTH
				}
			}
		}
		NCN_Browning_carbines = {
		icon = industry
		days_remove = 30
		ai_will_do = {
		base = 80
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 75 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -75 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
				add_equipment_to_stockpile = {
				type = ballistic_equipment_3
				amount = 125
				producer = UTH
				}
			}
		}
		
		NCN_Desert_rannger = {
		icon = industry
		days_remove = 30
		days_re_enable = 60
		ai_will_do = {
		base = 80
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 75 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -75 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
				add_equipment_to_stockpile = {
				type = spec_ops_equipment_4
				amount = 50
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = spec_ops_equipment_5
				amount = 25
				producer = UTH
				}
			}
		}
		 			ncn_M2_modularity = {
			icon = GFX_decision_stimpak
			fire_only_once = yes
			available = {
			has_tech = ballistic_fireteam_weaponry_tech_3
		}
			custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 120 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -120 }
			add_caps = yes }
			remove_effect = { 
			set_technology =  { ncn_M2_Vechicle_tech = 1}
			}
		}
		
		NCN_Evacuate_Jerusalem = {
		icon = industry
		days_remove = 90
		ai_will_do = {
		base = 40000
		}
		fire_only_once = yes
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 450 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -450 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
		add_offsite_building = {
					type = arms_factory
					level = 266.building_level@arms_factory
				}
				add_offsite_building = {
					type = industrial_complex
					level = 266.building_level@industrial_complex
				}
				266 = {
					remove_building = {
						type = arms_factory
						level = 266.building_level@arms_factory
					}
					remove_building = {
						type = industrial_complex
						level = 266.building_level@industrial_complex
					}
				}
			}
		}
		
			NCN_Evacuate_Provo = {
		icon = industry
		days_remove = 90
		ai_will_do = {
		base = 40000
		}
		fire_only_once = yes
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 250 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -250 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
		add_offsite_building = {
					type = arms_factory
					level = 240.building_level@arms_factory
				}
				add_offsite_building = {
					type = industrial_complex
					level = 240.building_level@industrial_complex
				}
				240 = {
					remove_building = {
						type = arms_factory
						level = 240.building_level@arms_factory
					}
					remove_building = {
						type = industrial_complex
						level = 240.building_level@industrial_complex
					}
				}
			}
		}
			NCN_Evacuate_Brigham = {
		icon = industry
		days_remove = 90
		ai_will_do = {
		base = 40000
		}
		fire_only_once = yes
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 250 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -250 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
		add_offsite_building = {
					type = arms_factory
					level = 352.building_level@arms_factory
				}
				add_offsite_building = {
					type = industrial_complex
					level = 352.building_level@industrial_complex
				}
				352 = {
					remove_building = {
						type = arms_factory
						level = 352.building_level@arms_factory
					}
					remove_building = {
						type = industrial_complex
						level = 352.building_level@industrial_complex
					}
				}
			}
		}
					enhanced_army_training = {
		icon = generic_construction
		days_remove = 90
		fire_only_once = yes
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 500 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -500 }
			add_caps = yes }
		remove_effect = {
    		add_to_variable = { NCN_army_org = 5 }
			add_to_variable = { NCN_modifier_army_sub_unit_category_front_line_max_org_factor = 0.075 }
			custom_effect_tooltip = army_training_TT
			force_update_dynamic_modifier = yes
				}
			}
			ncn_survivalist_rifle_upgrade = {
			icon = GFX_decision_stimpak
			fire_only_once = yes
			available = {
			has_tech = ballistic_weaponry_tech_3
		}
			custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 650 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = 650 }
			add_caps = yes }
			remove_effect = { 
			set_technology =  { ballistic_weaponry_tech_4 = 1}
			}
		}
			NCN_refubrish_radios = {
		icon = industry
		days_remove = 40
		available = {
			has_tech = grunt_level_radio_unlock_tech
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 50 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -50 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
				add_equipment_to_stockpile = {
				type = radio_equipment_1
				amount = 150
				producer = USA
				}
			}
		}
		NCN_build_runway_with = {
		icon = industry
		fire_only_once = yes
		days_remove = 40
		ai_will_do = {
		base = 320
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 50 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -50 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			224 = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
							type = air_base
							level = 3
							instant_build = yes
							}
						}
					}
				}
		NCN_advanced_arms_shipments = {
		icon = industry
		days_remove = 30
		available = { OR = {
					TAR = {exists = yes }
					SOR = {exists = yes }
					DEA = {exists = yes }
					UIN = { exists = yes }
					CRZ = { exists = yes }
					LON =  {exists = yes }
				}
			}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 200 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -200 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			every_other_country = { 
    		limit = {
					OR = {
						tag = TAR
						tag = CRZ
						tag = UIN
						tag = DEA
						tag = EAG
						tag = SOR
						tag = LON
						
					}
				}
				add_equipment_to_stockpile = {
				type = melee_equipment_3 
				amount = 50
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = ballistic_equipment_2
				amount = 100
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = energy_equipment_1
				amount = 100
				producer = UTH
				}
				add_equipment_to_stockpile = {
				type = ballistic_equipment_2
				amount = 100
				producer = USA
				}
				add_equipment_to_stockpile = {
				type = energy_equipment_3
				amount =  50
				producer = USA
				}
		}
	}
				}
				NCN_Reinforced_body_armor = {
		icon = industry
		fire_only_once = yes
		days_remove = 40
		ai_will_do = {
		base = 320
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 300 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -300 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_technology = { oldworldarmour = 1 }
			}
		}
	}
			
			ncn_faith = {
			
			Convert = {
		icon = generic_construction
		days_remove = 90
		cost = 50
		ai_will_do = { 
		base = 80 
		}
			modifier = {
			political_power_gain = -0.15
			}
		remove_effect = {
    		random_owned_state = {
					limit = { is_fully_controlled_by = ROOT }
					set_temp_variable = {
					pop_add = 250
				}
				add_state_population = yes
				}
				}
    	}
	
	
		calm_folks = {
		days_re_enable = 120
			icon = generic_form_nation
    	cost = 50
		days_remove = 91
		days_re_enable = 120
    	modifier = {
            stability_weekly = 0.03
			war_support_weekly = -0.01
			political_power_gain = -0.15
		}   
			remove_effect = {
			add_stability = 0.05
			}
    }
	
		family_events = {	
		icon = generic_form_nation
		days_re_enable = 120
    	cost = 50
		days_remove = 91
		ai_will_do = {
		base = 40 
		}
    	modifier = {
            monthly_population = 0.1275
			weekly_manpower = 2
			
		}
		
		}
		
		defensive_preaching = {
			icon = generic_form_nation
    	cost = 50
		days_remove = 91
    	modifier = {
          war_support_weekly = 0.02
		  stability_weekly = -0.02
		  political_power_gain = -0.15
		}   
		remove_effect = {
			add_war_support = 0.05
			}
    }
			fight_corruption = {
		icon = generic_form_nation
    	cost = 200
		days_remove = 61
		ai_will_do = {
		base = 40 }
    	remove_effect = {
		custom_effect_tooltip =	ncn_increase_decadence_-1
		add_to_variable = {
				var = ncn_decadence
				value = -1
			}
			update_ncn_decadence = yes
		}
		}

		invest_into_our_needy = {
			icon = generic_form_nation
			custom_cost_trigger = {
				set_temp_variable = { temp_cap_cost = 250 }
				check_variable = {
					caps_number_display > temp_cap_cost
				}
			}
			days_remove = 91
			ai_will_do = {
			base = 40 }
			complete_effect = {
				set_temp_variable = { caps_to_add = -250 }
				add_caps = yes }
				custom_cost_text = "caps_decisions_cost_text"
				modifier = {
					stability_weekly = 0.01
					monthly_population = 0.01
					people_drift = 0.01
					organization_floor_modifier_6 = 5
				}
			remove_effect = {

			custom_effect_tooltip =	ncn_increase_decadence_-2
			add_to_variable = {
					var = ncn_decadence
					value = -2
				}
				update_ncn_decadence = yes
			}
			}
		
		NCN_mormon_industrial_aid = {
		days_re_enable = 90
		icon = industry
		days_remove = 30
		ai_will_do = { 
		base = 40
		}
		available = { 
			OR = {
					TAR = {exists = yes }
					SOR = {exists = yes }
					DEA = {exists = yes }
					UIN = { exists = yes }
					CRZ = { exists = yes }
					LON =  {exists = yes }
			}
				
			}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 250 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -250 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			remove_effect = {
			every_other_country = { 
    		limit = {
					OR = {
						tag = TAR
						tag = CRZ
						tag = UIN
						tag = DEA
						tag = LON
						tag = SOR
						}
						}
					random_owned_state = {
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
							}
						}
				add_timed_idea = { idea = UTH_Morman_bill days = 49 }
					}	
				}
			}
		
		
		NCN_treat_the_soot = {
		icon = industry
		days_remove = 49
		ai_will_do = { 
		base = 40
		}
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 75 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		visible = {
			AND = {
			TAR = {
					has_idea = sickness_of_soot
				}
				CRZ = {
				has_idea = sickness_of_soot }
				UIN = { has_idea = sickness_of_soot }
			}
		} 
		available = {
			AND = {
			TAR = {
					has_idea = sickness_of_soot
				}
				CRZ = {
				has_idea = sickness_of_soot }
				UIN = { has_idea = sickness_of_soot }
			}
		} 
		
		custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
		TAR = {
			 add_to_variable = { 
			 var =  weight
				value = -10
				}
			
			boost_sickness_of_soot_recovery_rate_25 = yes
				}
			CRZ = {
			 add_to_variable = { 
			 var =  weight 
				value = -10
				}
			
				boost_sickness_of_soot_recovery_rate_25 = yes
				}
				UIN = {
			 add_to_variable = {
			 var = weight
				value = -10
				}
				
				boost_sickness_of_soot_recovery_rate_25 = yes
				}
			}
		}
		

		NCN_Medical_aid = {
		days_re_enable = 120
		days_remove = 90
		ai_will_do = { 
		base = 40
		}
		available = { 
				OR = {
					TAR = {exists = yes }
					SOR = {exists = yes }
					DEA = {exists = yes }
					UIN = { exists = yes }
					CRZ = { exists = yes }
					LON =  {exists = yes }
				}
			}
			
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 40 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = { 
		set_temp_variable = { caps_to_add = -40 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
	 			TAR = { add_timed_idea = { idea = mormon_medical_help days = 93 }
				boost_sickness_of_soot_recovery_rate_10  = yes
								}
					SOR = { add_timed_idea = { idea = mormon_medical_help days = 93 }
								}
			DEA = { add_timed_idea = { idea = mormon_medical_help days = 93 }
								}
			UIN = { add_timed_idea = { idea = mormon_medical_help days = 93 }
							boost_sickness_of_soot_recovery_rate_10 = yes	}	
			CRZ = { add_timed_idea = { idea = mormon_medical_help days = 93 }
					boost_sickness_of_soot_recovery_rate_10 = yes }
			LON = { add_timed_idea = { idea = mormon_medical_help days = 93 }
								}								
			}
		}
	
	
	
				NCN_Preach_hard = {
		icon = generic_construction
		days_re_enable = 240
		days_remove = 93
		 custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 35 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		custom_cost_text = "caps_decisions_cost_text"
		complete_effect = {
			set_temp_variable = { caps_to_add = -35 }
			add_caps = yes }
			modifier = {
			political_power_factor = -0.1
			caps_income_modifier = -0.075
		}
		remove_effect = {
    		add_political_power = 70
			}
		}
		NCN_aid_equipment = {
		icon = industry
		days_remove = 30
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 25 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -25 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			remove_effect = {
			every_other_country = { 
    		limit = {
					OR = {
						tag = TAR
						tag = CRZ
						tag = UIN
						tag = DEA
						tag = EAG
						tag = SOR
						}
						}
				add_equipment_to_stockpile = {
				type = Support_equipment
				amount = 100
				producer = NCN
				}
				add_equipment_to_stockpile = {
				type = supply_equipment_1
				amount = 2
				producer = NCN
			}
		}
	}
}
	
	NCN_pulpit_recruitment = {
	icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_preach_holy_war }
		available = {
			has_completed_focus = NCN_preach_holy_war
			}
			cost = 100
			days_remove = 70
			days_re_enable = 110
		ai_will_do = { 
		base = 80 
		}
		modifier = {
			weekly_manpower = 5
			political_power_gain = -0.05
		}
	}
	
			NCN_aid_refugees = {
		icon = industry
		days_remove = 30
		days_re_enable = 50
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 25 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
					modifier = {
			political_power_factor = -0.05
			caps_income_modifier = -0.1
		}
			custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -25 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			modifier = {
			exodus_assimilation_proportion = 0.125
			monthly_population = 0.025
			exodus_national_appeal  = 0.075
			}
			remove_effect = {
			add_stability = 0.01
			random_owned_state = {
			add_manpower = 30
			}
			
			}
		}
		
		NCN_volunteer_weapons = {
	icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_weapon_shipments }
		available = {
			has_completed_focus = NCN_weapon_shipments
			}
			cost = 150
			days_remove = 75
			days_re_enable = 150
		ai_will_do = { 
		base = 80 
		}
			complete_effect = {
					random_list = {
					25 = {
					add_equipment_to_stockpile = {
					type = melee_equipment_1
					amount = 50
					producer = NCN
					}
					add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 50
					producer = NCN
					}
				}
				25 = {
				add_equipment_to_stockpile = {
					type = ballistic_equipment_1
					amount = 50
					producer = NCN
					}
					add_equipment_to_stockpile = {
					type = radio_equipment_1
					amount = 25
					producer = USA
					}
					add_equipment_to_stockpile = {
					type = melee_equipment_2
					amount = 25
					producer = NCN
					}
				}
				25 = {
				add_equipment_to_stockpile = {
					type = ballistic_equipment_2
					amount = 50
					producer = UTH
					}
					add_equipment_to_stockpile = {
					type = ballistic_equipment_2
					amount = 50
					producer = NEV
					}
					add_equipment_to_stockpile = {
						type = ballistic_equipment_2
						amount = 50
						producer = QAR
						}
					add_equipment_to_stockpile = {
					type = energy_equipment_2
					amount = 25
					producer = NEV
					}
					add_equipment_to_stockpile = {
					type = radio_equipment_1
					amount = 15
					producer = USA
					}
				}
				25 = {
				add_equipment_to_stockpile = {
					type = ballistic_equipment_3
					amount = 50
					producer = UTH
					}
					add_equipment_to_stockpile = {
					type = ballistic_fireteam_equipment_2
					amount = 25
					producer = UTH
					}
					add_equipment_to_stockpile = {
					type = plasma_equipment_1
					amount = 25
					producer = USA
					}
					add_equipment_to_stockpile = {
					type = radio_equipment_1
					amount = 33
					producer = USA
					}
			}
		}
	}
}

NCN_improve_relations = {
	icon = industry
	days_remove = 100
	fire_only_once = yes
	custom_cost_trigger = {
		set_temp_variable = { temp_cap_cost = 300 }
		check_variable = {
			caps_number_display > temp_cap_cost
		}
	}
	custom_cost_text = "caps_decisions_cost_text"
			complete_effect = {
			set_temp_variable = { caps_to_add = -300 }
			add_caps = yes }
			custom_cost_text = "caps_decisions_cost_text"
			remove_effect = {
			every_other_country = { 
    		limit = {
					OR = {
						tag = TAR
						tag = CRZ
						tag = UIN
						tag = DEA
						tag = EAG
						tag = SOR
						has_idea = ncn_idea_mormon_mission
						}
						
			}
						add_opinion_modifier = {
							target = NCN
							modifier = ncn_good_freinds
						}
			
				}
				set_country_flag  = NCN_freinds
	}
}

	NCN_improve_relations_2 = {
		icon = industry
		days_remove = 100
		fire_only_once = yes
		custom_cost_trigger = {
			set_temp_variable = { temp_cap_cost = 500 }
			check_variable = {
				caps_number_display > temp_cap_cost
			}
		}
		available = {
			has_country_flag = NCN_freinds
		}
		custom_cost_text = "caps_decisions_cost_text"
				complete_effect = {
				set_temp_variable = { caps_to_add = -500 }
				add_caps = yes }
				custom_cost_text = "caps_decisions_cost_text"
				remove_effect = {
				every_other_country = { 
				limit = {
						OR = {
							tag = TAR
							tag = CRZ
							tag = UIN
							tag = DEA
							tag = EAG
							tag = SOR
							has_idea = ncn_idea_mormon_mission
							}
				}

							add_opinion_modifier = {
								target = NCN
								modifier = worshippers_of_same_God
							}
					}
		}

}
###
}

	
	ncn_dec_cat_brothers_christ = {
	convert_MUR = {
		icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_brothers_of_God
		}
		available = {
			any_owned_state = {
				is_core_of = MUR
				NOT = { is_core_of = ROOT }
			}
			is_in_faction_with = MUR
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_CLK (decision) remove entered"
			}
			every_state = {
				limit = {
					is_core_of = MUR
				}
				add_core_of = NCN
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_CLK (decision) remove exited"
			}
		}
	}
	convert_HGH = {
		icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_brothers_of_God
			is_in_faction_with = HGH
		}
		available = {
			any_owned_state = {
				is_core_of = HGH
				NOT = { is_core_of = ROOT }
			}
			is_in_faction_with = HGH
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = {

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_TAR (decision) remove entered"
			}
			every_state = {
				limit = {
					is_core_of = HGH
				}
				add_core_of = NCN
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_TAR (decision) remove exited"
			}
		}
	}
	convert_HEA = {
		icon = GFX_decision_cross
		visible = {
			has_completed_focus = NCN_brothers_of_God
			is_in_faction_with = HEA
		}
		available = {
			any_owned_state = {
				is_core_of = HEA
				NOT = { is_core_of = ROOT }
			}
			is_in_faction_with = HEA
		}
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 100
		complete_effect = { 

		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_CRZ (decision) remove entered"
			}
			every_state = {
				limit = {
					is_core_of = HEA
				}
				add_core_of = NCN
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_CRZ (decision) remove exited"
			}
		
		}
	}
	Northern_uniting_efforts = {
		target_root_trigger = {
				has_completed_focus = NCN_brothers_of_God
		}
		visible = {
			NOT = { FROM = { is_subject_of = NCN } }
			FROM = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
				}
			}
		}
		target_trigger = {
			FROM = {
				OR = {
					tag = MUR
					tag = HGH
					tag = HEA
				}
			}
		}
		targets = { MUR HGH HEA }
		available = {
			NOT = { has_war_with = FROM }
		}
		available = { 
										 }
		cost = 100
		ai_will_do = {
			factor = 10000
		}
		days_remove = 150
		complete_effect = {
		}
		remove_effect = {
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_sack_1 remove entered"
			}
			puppet = FROM
			hidden_effect = {
				FROM = {
					if = {
						limit = {
							NCN = { is_in_faction_with = NCR }
							NCR = { is_faction_leader = yes }
						}
						set_country_flag = ncn_mormon_alliance_old
						create_or_join_new_california = yes
						add_new_california_ally_strategies = yes

					}
					else_if = {
						limit = {
							NCN = { is_faction_leader = yes }
						}
						create_or_join_mormon_alliance = yes
						add_mormon_alliance_ally_strategies = yes
					}
				}
			}
			if = {
				limit = { has_global_flag = debug_logs }
				log = "[GetDateText]: [Root.GetName] convert_tribes_daniel_sack_1 remove exited"
			}
		}
	}
	
}
	

	
			
	
	
				