﻿add_namespace = Norway
country_event = {
	id = Norway.1
	title = Norway.1.t
	desc = Norway.1.d
	picture = GFX_train_collision
	
	is_triggered_only = yes

	option = {

		name = Norway.1.o1

		log = "[GetDateText]: [This.GetName]: Norway.1.o1 executed"
		add_political_power = -30
	}


	option = {
		name = Norway.1.o2

		log = "[GetDateText]: [This.GetName]: Norway.1.o2 executed"
		add_stability = -0.03
	}

}

country_event = {
	id = Norway.2
	title = Norway.2.t
	desc = Norway.2.d
	picture = GFX_norwegian_flag


	is_triggered_only = yes


	option = {
		name = Norway.2.o1
		set_country_flag = haakons_marriage_announced

		log = "[GetDateText]: [This.GetName]: Norway.2.o1 executed"
		hidden_effect = {
			country_event = { id = Norway.5 days = 267 }
			country_event = { id = Norway.3 days = 267 }
		}
	}
}

country_event = {
	id = Norway.3
	title = Norway.3.t
	desc = Norway.3.d
	picture = GFX_norwegian_flag

	is_triggered_only = yes

	trigger = {
		NOT = { has_completed_focus = NOR_oppose_haakons_marriage }
	}

	option = {
		name = Norway.3.o1
		set_country_flag = haakon_married
		log = "[GetDateText]: [This.GetName]: Norway.3.o1 executed"
		if = {
			limit = { NOT = { has_completed_focus = NOR_support_haakons_marriage } }
			complete_national_focus = NOR_support_haakons_marriage
		}
	}
}

#Joint Oil Drills
country_event = {
	id = Norway.4
	title = Norway.4.t
	desc = Norway.4.d
	picture = GFX_norwegian_flag


	is_triggered_only = yes


	option = {
		name = Norway.4.o1
		log = "[GetDateText]: [This.GetName]: Norway.4.o1 executed"
		if = {
			limit = { original_tag = NOR }
			32 = {
				add_resource = {
					type = oil
					amount = 25
				}
			}
		}
		if = {
			limit = { original_tag = ENG }

			14 = {
				add_resource = {
					type = oil
					amount = 15
				}
			}

		}
	}
}


#Royal Wedding between [Root] and Norway
news_event = {
	id = Norway.5
	title = Norway.5.t
	desc = Norway.5.d
	picture = GFX_norwegian_flag

	is_triggered_only = yes
	major = yes

	option = {
		name = Norway.5.o1
		log = "[GetDateText]: [This.GetName]: Norway.5.o1 executed"
		trigger = {
			NOT = { tag = ROOT }
			NOT = { tag = NOR }
		}
	}

	option = {
		name = Norway.5.o2
		log = "[GetDateText]: [This.GetName]: Norway.5.o2 executed"
		trigger = {
			OR = {
				tag = ROOT
				tag = NOR
			}
		}
		name = Norway.3.a
		log = "[GetDateText]: [This.GetName]: Norway.1.a executed"
	}
}
