﻿###| Harthgate History Maintenance Events, [ Jute Dynasty | VANILLA ], for Lords of Wessex |###

###| Credits |###

#: Developed by Edgar Harthgate

###| End of Credits |###

###| Table of Contents |###									###| Status |###    ###| Quick Link |###

#: History Maintenance = Jute Dynasty						#: Complete			history_maintenance_jute_dynasty
#: End of Table of Contents

###| History Maintenance | Jute Dynasty |###				###| Status |###	###| history_maintenance_jute_dynasty |###

#: history_maintenance_jute_dynasty_low.0001				#: Complete

###| End of Table of Contents |###

###| History Maintenance | Jute Dynasty |###    ###| history_maintenance_jute_dynasty |###

namespace = history_maintenance_jute_dynasty_low

history_maintenance_jute_dynasty_low.0001 = {

	scope = none
	hidden = yes

	immediate = {
		if = {
			limit = { current_date = 867.1.1 }
			character:163113 = {
				if = {
					limit = { character:163113 = { is_alive = yes } }
					death = { death_reason = death_battle }
				}
			}
			character:6867 = {
				if = {
					limit = { character:6867 = { is_alive = yes } }
					divorce = character:40607
					add_trait = ill
					death = { death_reason = death_ill }
				}
			}
			character:6865 = {
				if = {
					limit = { character:6865 = { is_alive = yes } }
					death = { death_reason = death_drowned }
				}
			}
			character:6864 = {
				if = {
					limit = { character:6864 = { is_alive = yes } }
					create_betrothal = character:058_jute_bjarni_jute
				}
			}
			character:163111 = {
				if = {
					limit = { character:163111 = { is_alive = yes } }
					create_alliance = {
						target = character:053_jute_frirek_jute
						allied_through_owner = character:058_jute_bjarni_jute
						allied_through_target = character:6864
					}
				}
			}
		}
	}

}