on_actions = {
	on_declare_war = {
		effect = {
			if = {
				limit = { original_tag = WHT }
				if = {
					limit = {
						FROM = {
							has_idea = ncn_idea_mormon_mission
							at_peace_with_mormon_alliance = yes
						}
					}
					NCN = {
						add_to_variable = {
							ncn_threat = 10
						}
						custom_effect_tooltip = ncn_gain_10_threat
						update_ncn_threat = yes
					}
				}
				else_if = {
					limit = {
						FROM = {
							is_raider_nation = no
							at_peace_with_mormon_alliance = yes
							borders_mormon_alliance = yes
						}
					}
					NCN = {
						add_to_variable = {
							ncn_threat = 8
						}
						custom_effect_tooltip = ncn_gain_8_threat
						update_ncn_threat = yes
					}
				}
				else_if = {
					limit = {
						FROM = {
							is_raider_nation = no
							at_peace_with_mormon_alliance = yes
						}
					}
					NCN = {
						add_to_variable = {
							ncn_threat = 4
						}
						custom_effect_tooltip = ncn_gain_4_threat
						update_ncn_threat = yes
					}
				}
				else_if = {
					limit = {
						FROM = {
							at_peace_with_mormon_alliance = yes
						}
					}
					NCN = {
						add_to_variable = {
							ncn_threat = 2
						}
						custom_effect_tooltip = ncn_gain_2_threat
						update_ncn_threat = yes
					}
				}
			}
		}
	}
	on_peaceconference_ended = {
		effect = {
			if = {
				limit = {
					FROM = {
						tag = TAR
					}
					ROOT = {
						tag = WHT
						is_ai = yes
					}
				}
				PREV = {
					annex_country = {
						target = TAR
						transfer_troops = no
					}
				}
			}
		}
	}
}
