decisions = {

	form_winterstar = {
		is_high_prio = yes
		potential = {
			ai = no
			not = { higher_tier_than = duke }
			has_landed_title = d_karhold
			has_landed_title = d_lasthearth
			has_landed_title = d_northclans
			k_winterstar = { has_holder = no }
			independent = yes
		}
		allow = {
			age = 16
			prisoner = no
		}
		effect = {
			hidden_tooltip = { activate_title = { status = yes title = k_winterstar } }
			k_winterstar = { gain_title = ROOT }
			d_karhold = { de_jure_liege = k_winterstar }
			d_lasthearth = { de_jure_liege = k_winterstar }
			d_northclans = { de_jure_liege = k_winterstar }
			k_north = {
				holder_scope = {
					IF = {
						limit = {
							NOT = {
								character = ROOT
							}
						}
						opinion = { modifier = opinion_furious who = ROOT years = 20 }
					}
				}
				any_claimant = {
					IF = {
						limit = {
							NOT = {
								character = ROOT
							}
						}
						opinion = { modifier = opinion_furious who = ROOT years = 20 }
					}
				}
			}
		}
		ai_will_do = {
			factor = 0
		}
	}

	form_winterstar_vassal = {
		is_high_prio = yes
		potential = {
			ai = no
			not = { higher_tier_than = duke }
			has_landed_title = d_karhold
			has_landed_title = d_lasthearth
			has_landed_title = d_northclans
			k_winterstar = { has_holder = no }
			any_liege = { has_landed_title = e_iron_throne }
			independent = no
		}
		allow = {
			age = 16
			prisoner = no
		}
		effect = {
			hidden_tooltip = { activate_title = { status = yes title = k_winterstar } }
			k_winterstar = {
				gain_title = ROOT
				de_jure_liege = e_iron_throne
				set_title_flag = lord_paramount
				succession = primogeniture
			}
			e_iron_throne = {
				holder_scope = {
					ROOT = { set_defacto_liege = PREV }
				}
			}
			set_government_type = feudal_government_LP
			d_karhold = { de_jure_liege = k_winterstar }
			d_lasthearth = { de_jure_liege = k_winterstar }
			d_northclans = { de_jure_liege = k_winterstar }
			k_north = {
				holder_scope = {
					IF = {
						limit = {
							NOT = {
								character = ROOT
							}
						}
						opinion = { modifier = opinion_furious who = ROOT years = 20 }
					}
				}
				any_claimant = {
					IF = {
						limit = {
							NOT = {
								character = ROOT
							}
						}
						opinion = { modifier = opinion_furious who = ROOT years = 20 }
					}
				}
			}
		}
		ai_will_do = {
			factor = 0
		}
	}

	destroy_winterstar = {
		is_high_prio = yes
		potential = {
			OR = {
				has_landed_title = e_north
				has_landed_title = k_north
			}
			has_landed_title = k_winterstar
		}
		allow = {
			age = 16
			prisoner = no
		}
		effect = {
			k_winterstar = { destroy_landed_title = ROOT }
			hidden_tooltip = { activate_title = { status = no title = k_winterstar } }
			d_karhold = { de_jure_liege = k_north }
			d_lasthearth = { de_jure_liege = k_north }
			d_northclans = { de_jure_liege = k_north }
		}
		ai_will_do = {
			factor = 100
		}
	}

}