﻿# Catelyn - Tully_4
agot_canon_children_catelyn_tully_birth_effect = {
	scope:child = {
		agot_canon_children_after_birth_effect = {
			NAME_MALE = "Caster"
			NAME_FEMALE = "Catelyn"
			TRAIT = is_tully_4
			DNA = Dummy_Tully_4
		}

		set_culture_same_as = scope:father
		set_sexuality = heterosexual
		make_trait_inactive = auburn_hair
		make_trait_inactive = blue_eyes

		agot_canon_children_schedule_trait_effect = { TRAIT = flag:charming AGE = childhood_personality_age }
		agot_canon_children_schedule_trait_effect = { TRAIT = flag:brave AGE = agot_canon_children_trait_1_year }
		agot_canon_children_schedule_trait_effect = { TRAIT = flag:impatient AGE = agot_canon_children_trait_2_year }
		agot_canon_children_schedule_trait_effect = { TRAIT = flag:gregarious AGE = agot_canon_children_trait_3_year }
		agot_canon_children_schedule_trait_effect = { TRAIT = flag:wrathful AGE = agot_canon_children_trait_4_year }

		# Setup mother (for Eddard Stark)
		agot_canon_children_get_canon_child_scope_effect = { TRAIT = is_stark_3 SCOPE = eddard }
		if = {
			limit = { scope:eddard ?= { is_alive = yes } }

			scope:eddard = {
				agot_canon_children_setup_mother_effect = {
					FATHER = scope:eddard
					MOTHER = scope:child
					MOTHER_TRAIT = is_tully_4
					PREVENT_PREGNANCY = yes
				}

				#AGOTCCH Added
				agotcch_setup_spouse_effect = {
					SPOUSE_1 = scope:eddard
					SPOUSE_2 = character:Tully_4
					SPOUSE_2_TRAIT = is_tully_4
				}
			}
		}
	}
}