﻿namespace = rk_court
namespace = rk_death_notification
namespace = rk_filler

# The Red Keep Court Events
############################################################################################################################################################
	
rk_court.0001 = { #
	type = character_event
	title = rk_court.0001.t
	desc = rk_court.0001.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = lute_idle	
		camera = camera_body
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {		
	}	
	option = {  #
		name = rk_court.0001.a
		custom_tooltip = rk_court.0001.a_tt	
        flavor = rk_court.0001.a_f 	
		hidden_effect = {
			trigger_event = rk_court.0002
		}		
	}
	option = {  #
		name = rk_court.0001.b
		custom_tooltip = rk_court.0001.b_tt
        flavor = rk_court.0001.b_f 	
		hidden_effect = {
			trigger_event = rk_court.0003
		}		
	}
	option = {  #
		name = rk_court.0001.c
		custom_tooltip = rk_court.0001.c_tt	
        flavor = rk_court.0001.c_f 	
		hidden_effect = {
			trigger_event = rk_court.0004
		}		
	}	
	option = {  #
		name = rk_court.0001.d
		custom_tooltip = rk_court.0001.d_tt	
        flavor = rk_court.0001.d_f 		
		hidden_effect = {
			trigger_event = rk_court.0005
		}		
	}
	option = {  #
		name = rk_court.0001.e
		custom_tooltip = rk_court.0001.e_tt	
        flavor = rk_court.0001.e_f 
		hidden_effect = {
			trigger_event = rk_court.0006
		}		
	}	
	option = {  #
		name = rk_court.0001.f
		custom_tooltip = rk_court.0001.f_tt	
        flavor = rk_court.0001.f_f 	
		hidden_effect = {
			trigger_event = rk_court.0007
		}		
	}	
}

rk_court.0002 = { #Sing of Glory
	type = character_event
	title = rk_court.0002.t
	desc = rk_court.0002.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = lute_active	
		camera = camera_body
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {
		play_music_cue = mx_rk_cue_lute		
	}	
	option = {  #
		name = rk_court.0002.a
		custom_tooltip = rk_court.0002.a_tt	
        flavor = rk_court.0002.a_f 	
		add_prestige = 50		
		add_character_modifier = {
			modifier = rk_sung_of_glory_1
			years = 5
		}
	}
	option = {  #
		name = rk_court.0002.b
		custom_tooltip = rk_court.0002.b_tt
        flavor = rk_court.0002.b_f 		
		add_piety = 50
		add_character_modifier = {
			modifier = rk_sung_of_glory_2
			years = 5
		}		
	}
}

rk_court.0003 = { #
	type = character_event
	title = rk_court.0003.t
	desc = rk_court.0003.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = lute_active	
		camera = camera_body
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {		
	}	
	option = {  #
		name = rk_court.0003.a
		custom_tooltip = rk_court.0003.a_tt	
        flavor = rk_court.0003.a_f 		
		add_character_modifier = {
			modifier = rk_sung_of_love
			years = 5
		}			
	}
	option = {  #
		name = rk_court.0003.b
		custom_tooltip = rk_court.0003.b_tt
        flavor = rk_court.0003.b_f 
		add_prestige = 25	
		add_character_modifier = {
			modifier = rk_sung_of_love_2
			years = 5
		}		
	}
}

rk_court.0004 = { #
	type = character_event
	title = rk_court.0004.t
	desc = rk_court.0004.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = lute_active	
		camera = camera_body
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {		
	}	
	option = {  #
		name = rk_court.0004.a
		custom_tooltip = rk_court.0004.a_tt	
        flavor = rk_court.0004.a_f 	
		add_piety = 25
		add_character_modifier = {
			modifier = rk_sung_of_sorrow_1
			years = 5
		}		
	}
	option = {  #
		name = rk_court.0004.b
		custom_tooltip = rk_court.0004.b_tt
        flavor = rk_court.0004.b_f 	
		add_character_modifier = {
			modifier = rk_sung_of_sorrow_2
			years = 5
		}			
	}
}

rk_court.0005 = { #
	type = character_event
	title = rk_court.0005.t
	desc = rk_court.0005.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = lute_active	
		camera = camera_body
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {		
	}	
	option = {  #
		name = rk_court.0005.a
		custom_tooltip = rk_court.0005.a_tt	
        flavor = rk_court.0005.a_f 	
		add_piety = 50
		add_character_modifier = {
			modifier = rk_sung_hymn_1
			years = 5
		}			
	}
	option = {  #
		name = rk_court.0005.b
		custom_tooltip = rk_court.0005.b_tt
        flavor = rk_court.0005.b_f 	
		add_piety = 100
		add_character_modifier = {
			modifier = rk_sung_hymn_2
			years = 5
		}			
	}
}

rk_court.0006 = { #
	type = character_event
	title = rk_court.0006.t
	desc = rk_court.0006.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = lute_active	
		camera = camera_body
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {		
	}	
	option = {  #
		name = rk_court.0006.a
		custom_tooltip = rk_court.0006.a_tt	
        flavor = rk_court.0006.a_f 
		add_character_modifier = {
			modifier = rk_sung_satire_1
			years = 5
		}		
	} 
	option = {  #
		name = rk_court.0006.b
		custom_tooltip = rk_court.0006.b_tt
        flavor = rk_court.0006.b_f 			
		add_character_modifier = {
			modifier = rk_sung_satire_2
			years = 5
		}		
	}
}

rk_court.0007 = { #
	type = character_event
	title = rk_court.0007.t
	desc = rk_court.0007.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = lute_active	
		camera = camera_body
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {		
	}	
	option = {  #
		name = rk_court.0007.a
		custom_tooltip = rk_court.0007.a_tt	
        flavor = rk_court.0007.a_f 		
		add_prestige = 100		
		add_character_modifier = {
			modifier = rk_sung_of_legacy_1
			years = 5
		}		
	}
	option = {  #
		name = rk_court.0007.b
		custom_tooltip = rk_court.0007.b_tt
        flavor = rk_court.0007.b_f 	
		add_prestige = 100
		add_character_modifier = {
			modifier = rk_sung_of_legacy_2
			years = 5
		}		
	}
}



#### Courtier Events ####

rk_court.0008 = { #
	type = character_event
	title = rk_court.0008.t
	desc = rk_court.0008.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = idle	
	}
	left_portrait = {
		character = scope:rk_thomas_moore
		animation = idle			
	}
	immediate = {	
		create_character = {
				location = root.capital_province
				template = rk_thomas_moore
				save_scope_as = rk_thomas_moore
		}	
		scope:rk_thomas_moore = {
			add_character_flag = rk_rich_merchant_2
			give_nickname = nick_the_justicar
		}
	}	
	option = {  #
		name = rk_court.0008.a
		#custom_tooltip = rk_court.0008.a_tt	
        flavor = rk_court.0008.a_f 	
		add_courtier = scope:rk_thomas_moore
		remove_short_term_gold = 25
		add_prestige = 25
	}
	option = {  #
		name = rk_court.0008.b
		#custom_tooltip = rk_court.0008.b_tt
        flavor = rk_court.0008.b_f 
		hidden_effect = {
			scope:rk_thomas_moore = {
				death = {
					death_reason = death_disappearance
				}
			}			
		}
	}
}


rk_court.0009 = { #
	type = character_event
	title = rk_court.0009.t
	desc = rk_court.0009.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = thinking	
	}
	left_portrait = {
		character = scope:rk_kl_architect
		animation = reading
		camera = camera_body
	}
	immediate = {	
		create_character = {
				location = root.capital_province
				template = rk_kl_architect
				save_scope_as = rk_kl_architect
		}	
		scope:rk_kl_architect = {
			add_character_flag = rk_rich_merchant_2
			give_nickname = nick_the_architect
		}
	}	
	option = {  #
		name = rk_court.0009.a
		#custom_tooltip = rk_court.0009.a_tt	
        flavor = rk_court.0009.a_f 	
		add_courtier = scope:rk_kl_architect
		remove_short_term_gold = 25
	}
	option = {  #
		name = rk_court.0009.b
		#custom_tooltip = rk_court.0009.b_tt
        flavor = rk_court.0009.b_f 
		add_prestige = 25		
		hidden_effect = {
			scope:rk_kl_architect = {
				death = {
					death_reason = death_disappearance
				}
			}			
		}
	}
}

rk_court.0010 = { #
	type = character_event
	title = rk_court.0010.t
	desc = rk_court.0010.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = thinking	
	}
	left_portrait = {
		character = scope:rk_blind_singer
		animation = lute_idle	
		camera = camera_body
	}
	immediate = {	
		create_character = {
				location = root.capital_province
				template = rk_blind_singer
				save_scope_as = rk_blind_singer
		}	
		scope:rk_blind_singer = {
			add_character_flag = rk_rich_merchant_2
			give_nickname = nick_the_blind
		}
	}	
	option = {  #
		name = rk_court.0010.a
		#custom_tooltip = rk_court.0010.a_tt	
        flavor = rk_court.0010.a_f 	
		add_courtier = scope:rk_blind_singer
		remove_short_term_gold = 25
	}
	option = {  #
		name = rk_court.0010.b
		#custom_tooltip = rk_court.0010.b_tt
        flavor = rk_court.0010.b_f 
		add_prestige = 25		
		hidden_effect = {
			scope:rk_blind_singer = {
				death = {
					death_reason = death_disappearance
				}
			}			
		}
	}
}

#### Event to Notify Death of Vassals


rk_death_notification.0001 = { #Death of a Lord Paramount
	type = letter_event
	desc = rk_death_notification.0001.desc
	opening = {
		desc = rk_death_notification.0001.opening
	}	
	sender = {
		character = scope:rk_sender
	}	
	immediate = {
		if = {
			limit = { 
				exists = cp:councillor_castellan
			}
			cp:councillor_castellan = {
				save_scope_as = rk_sender
			}		
		}	
		else_if = {
			limit = { 
				exists = cp:councillor_chancellor
			}
			cp:councillor_chancellor = {
				save_scope_as = rk_sender
			}
		}
		else = {
			title:k_the_most_devout.holder = {
				save_scope_as = rk_sender
			}
		}
	}
	trigger = {
		is_imprisoned = no
	}	
	option = {  #
		name = rk_death_notification.0001.a
		custom_tooltip = rk_death_notification.0001.a_tt	
        flavor = rk_death_notification.0001.a_f 
		trigger = {
			NOT = {
				scope:rk_heir = {
					has_title = title:c_kings_landing
				}			
			}
		}
		stress_impact = {
			forgiving = minor_stress_impact_loss
			compassionate = minor_stress_impact_loss
			callous = minor_stress_impact_gain
			sadistic = minor_stress_impact_gain
			arrogant = minor_stress_impact_gain	
			humble = minor_stress_impact_loss
		}		
		add_prestige = -50
		add_piety = 25
		scope:rk_heir = {
			add_opinion = {
				modifier = respect_opinion
				opinion = 5				
				target = root
			}	
			add_legitimacy = 5
		}
	}		
	option = {  #
		name = rk_death_notification.0001.b
		custom_tooltip = rk_death_notification.0001.b_tt	
        flavor = rk_death_notification.0001.b_f 
		stress_impact = {
			forgiving = minor_stress_impact_gain
			compassionate = minor_stress_impact_gain
			callous = minor_stress_impact_loss
			sadistic = minor_stress_impact_loss
		}
		trigger = {
			NOT = {
				scope:rk_heir = {
					has_title = title:c_kings_landing
				}			
			}
		}		
		scope:rk_heir = {
			add_opinion = {
				modifier = disrespect_opinion
				opinion = -5				
				target = root
			}			
			add_legitimacy = -5			
		}		
	}
	option = {  #
		name = rk_death_notification.0001.c
		trigger = {
			scope:rk_heir = {
				has_title = title:c_kings_landing
			}			
		}
		
	}	
}


#### GROWING UP IN THE RED KEEP



#### FILLER EVENTS #####

rk_filler.0001 = { #
	type = character_event
	title = rk_filler.0001.t
	desc = rk_filler.0001.desc
	theme = rk_red_keep
	override_background = {
		reference = rk_red_keep_alley
	}
	right_portrait = {
		character = scope:rk_hand
		animation = writing
	}	
	left_portrait = {
		character = root
		animation = idle	
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
		exists = cp:councillor_castellan	
		cp:councillor_castellan = {
			NOT = {
				has_trait = lazy
			}
		}
	}
	immediate = {		
		cp:councillor_castellan = {
			save_scope_as = rk_hand
		}	
	}	
	option = {  #
		name = rk_filler.0001.a
		custom_tooltip = rk_filler.0001.a_tt	
        flavor = rk_filler.0001.a_f 		
		scope:rk_hand = {
			add_opinion = {
				modifier = thankful_opinion
				opinion = 10				
				target = root
			}			
		}
	}

	option = {  #
		name = rk_filler.0001.b
		custom_tooltip = rk_filler.0001.b_tt	
        flavor = rk_filler.0001.b_f 
		add_intrigue_lifestyle_xp = 75		
	}
}

rk_filler.0002 = { #
	type = character_event
	title = rk_filler.0002.t
	desc = rk_filler.0002.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = idle	
	}
	left_portrait = {
		character = scope:rk_master_coin
		animation = writing
	}	
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
		exists = cp:councillor_steward	
		cp:councillor_steward = {
			OR = {
				has_trait = humble
				has_trait = diligent
				has_trait = honest
			}
		}
	}
	immediate = {
		cp:councillor_steward = {
			save_scope_as = rk_master_coin
		}	
	}	
	option = {  #
		name = rk_filler.0002.a
		custom_tooltip = rk_filler.0002.a_tt	
        flavor = rk_filler.0002.a_f 
		scope:rk_master_coin = {
			add_opinion = {
				modifier = thankful_opinion
				opinion = 10				
				target = root
			}			
		}		
	}

	option = {  #
		name = rk_filler.0002.b
		custom_tooltip = rk_filler.0002.b_tt	
        flavor = rk_filler.0002.b_f 
		scope:rk_master_coin = {
			add_opinion = {
				modifier = disrespect_opinion
				opinion = -10				
				target = root
			}			
		}			
	}
	option = {  #
		name = rk_filler.0002.c
		custom_tooltip = rk_filler.0002.c_tt	
        flavor = rk_filler.0002.c_f 
		trigger = {
			stewardship >= 20
		}
		add_stewardship_lifestyle_xp = 100
		scope:rk_master_coin = {
			add_opinion = {
				modifier = respect_opinion
				opinion = 10				
				target = root
			}			
		}			
	}	
}

rk_filler.0003 = { #
	type = character_event
	title = rk_filler.0003.t
	desc = rk_filler.0003.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = idle	
	}
	left_portrait = {
		character = scope:rk_chancellor
		animation = chancellor
	}	
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
		exists = cp:councillor_chancellor	
	}
	immediate = {
		cp:councillor_chancellor = {
			save_scope_as = rk_chancellor
		}	
	}	
	option = {  #
		name = rk_filler.0003.a
		custom_tooltip = rk_filler.0003.a_tt	
        flavor = rk_filler.0003.a_f 
		add_short_term_gold = 50
		add_prestige = -25
	}

	option = {  #
		name = rk_filler.0003.b
		custom_tooltip = rk_filler.0003.b_tt	
        flavor = rk_filler.0003.b_f 	
		add_stress = -10
		add_prestige = 50
	}
	option = {  #
		name = rk_filler.0003.c
		custom_tooltip = rk_filler.0003.c_tt	
        flavor = rk_filler.0003.c_f 	
		trigger = {
			diplomacy >= 20
		}
		add_diplomacy_lifestyle_xp = 150
	}	
}

rk_filler.0004 = { #
	type = character_event
	title = rk_filler.0004.t
	desc = rk_filler.0004.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = scope:rk_spymaster
		animation = spymaster
		camera = camera_shoulders
	}	
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
		exists = cp:councillor_spymaster
		has_any_secrets = yes
	}
	immediate = {
		cp:councillor_spymaster = {
			save_scope_as = rk_spymaster
		}	
	}	
	option = {  #
		name = rk_filler.0004.a
		custom_tooltip = rk_filler.0004.a_tt	
        flavor = rk_filler.0004.a_f
		scope:rk_spymaster = {
			add_opinion = {
				modifier = respect_opinion
				opinion = 10				
				target = root
			}			
		} 		
	}

	option = {  #
		name = rk_filler.0004.b
		custom_tooltip = rk_filler.0004.b_tt	
        flavor = rk_filler.0004.b_f 
		remove_short_term_gold = 50
	}
	option = {  #
		name = rk_filler.0004.c
		custom_tooltip = rk_filler.0004.c_tt	
        flavor = rk_filler.0004.c_f 
		trigger = {
			intrigue >= 20
		}
		add_intrigue_lifestyle_xp = 150		
	}	
}

rk_filler.0005 = { #
	type = character_event
	title = rk_filler.0005.t
	desc = rk_filler.0005.desc
	theme = rk_red_keep
	override_background = {
		reference = courtyard
	}
	left_portrait = {
		character = scope:rk_lord_commander
		animation = marshal	
	}	
	right_portrait = {
		character = root
		animation = idle	
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {	
		cp:kingsguard_lord_commander = {
			save_scope_as = rk_lord_commander
		}	
	}	
	option = {  #
		name = rk_filler.0005.a
		custom_tooltip = rk_filler.0005.a_tt	
        flavor = rk_filler.0005.a_f 
		trigger = {
			prowess >= 20
		}
		add_martial_lifestyle_xp = 100
		scope:rk_lord_commander = {
			add_opinion = {
				modifier = respect_opinion
				opinion = 10				
				target = root
			}			
		} 			
	}

	option = {  #
		name = rk_filler.0005.b
		custom_tooltip = rk_filler.0005.b_tt	
        flavor = rk_filler.0005.b_f 
		scope:rk_lord_commander = {
			add_opinion = {
				modifier = respect_opinion
				opinion = 10				
				target = root
			}			
		} 		
	}
	option = {  #
		name = rk_filler.0005.c
		custom_tooltip = rk_filler.0005.c_tt	
        flavor = rk_filler.0005.c_f
		remove_short_term_gold = 25
		scope:rk_lord_commander = {
			add_opinion = {
				modifier = respect_opinion
				opinion = 25				
				target = root
			}			
		} 			
	}	
}

rk_filler.0006 = { #
	type = character_event
	title = rk_filler.0006.t
	desc = rk_filler.0006.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = idle	
	}
	left_portrait = {
		character = scope:rk_keep_boy
		animation = stress	
	}	
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {	
		create_character = {
				location = root.capital_province
				template = rk_keep_boy
				gender_female_chance = 0
				save_scope_as = rk_keep_boy
		}	
		hidden_effect = {
			add_courtier = scope:rk_keep_boy
		}
	}	
	option = {  #
		name = rk_filler.0006.a
		custom_tooltip = rk_filler.0006.a_tt	
        flavor = rk_filler.0006.a_f 
		remove_short_term_gold = 1
		add_prestige = 25
	}

	option = {  #
		name = rk_filler.0006.b
		custom_tooltip = rk_filler.0006.b_tt	
        flavor = rk_filler.0006.b_f 
		add_dread = 3
	}
	option = {  #
		name = rk_filler.0006.c
		custom_tooltip = rk_filler.0006.c_tt	
        flavor = rk_filler.0006.c_f 	
		trigger = {
			intrigue >= 15
		}
		add_intrigue_lifestyle_xp = 100
	}	
}

rk_filler.0007 = { #
	type = character_event
	title = rk_filler.0007.t
	desc = rk_filler.0007.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = root
		animation = idle
		camera = camera_shoulders
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {
	}	
	option = {  #
		name = rk_filler.0007.a
		custom_tooltip = rk_filler.0007.a_tt	
        flavor = rk_filler.0007.a_f 	
		add_stress = -10		
	}

	option = {  #
		name = rk_filler.0007.b
		custom_tooltip = rk_filler.0007.b_tt	
        flavor = rk_filler.0007.b_f 
		
	}
	option = {  #
		name = rk_filler.0007.c
		custom_tooltip = rk_filler.0007.c_tt	
        flavor = rk_filler.0007.c_f 
		trigger = {
			learning >= 20
		}
		add_learning_lifestyle_xp = 100
	}	
}

rk_filler.0008 = { #Dispute Chancellor vs Master of Coin
	type = character_event
	title = rk_filler.0008.t
	desc = rk_filler.0008.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = scope:rk_chancellor
		animation = rage
	}
	left_portrait = {
		character = scope:rk_steward
		animation = disapproval
	}		
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
		exists = cp:councillor_steward
		exists = cp:councillor_chancellor		
		has_any_secrets = yes
	}
	immediate = {
		cp:councillor_steward = {
			save_scope_as = rk_steward
		}	
		cp:councillor_chancellor = {
			save_scope_as = rk_chancellor
		}		
	}
	option = {  #
		name = rk_filler.0008.a
		custom_tooltip = rk_filler.0008.a_tt	
        flavor = rk_filler.0008.a_f 
		scope:rk_steward = {
			add_opinion = {
				modifier = respect_opinion
				opinion = 20				
				target = root
			}			
		} 
		scope:rk_chancellor = {
			add_opinion = {
				modifier = disrespect_opinion
				opinion = -20				
				target = root
			}			
		}
		add_stewardship_lifestyle_xp = 100		
	}

	option = {  #
		name = rk_filler.0008.b
		custom_tooltip = rk_filler.0008.b_tt	
        flavor = rk_filler.0008.b_f 
		scope:rk_steward = {
			add_opinion = {
				modifier = disrespect_opinion
				opinion = -20				
				target = root
			}			
		} 
		scope:rk_chancellor = {
			add_opinion = {
				modifier = respect_opinion
				opinion = 20				
				target = root
			}			
		} 
		add_diplomacy_lifestyle_xp = 100
	}
}

rk_filler.0009 = { #
	type = character_event
	title = rk_filler.0009.t
	desc = rk_filler.0009.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	left_portrait = {
		character = scope:rk_kingsguard
		animation = boredom	
		camera = camera_torso
	}
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
	}
	immediate = {
		random_courtier = {
			limit = {
				has_trait = kingsguard
			}
			save_scope_as = rk_kingsguard	
		}
	}	
	option = {  #
		name = rk_filler.0009.a
		custom_tooltip = rk_filler.0009.a_tt	
        flavor = rk_filler.0009.a_f 
		scope:rk_kingsguard = {
			add_opinion = {
				modifier = respect_opinion
				opinion = 10				
				target = root
			}			
		} 		
	}

	option = {  #
		name = rk_filler.0009.b
		custom_tooltip = rk_filler.0009.b_tt	
        flavor = rk_filler.0009.b_f 
		scope:rk_kingsguard = {
			add_opinion = {
				modifier = disrespect_opinion
				opinion = -10				
				target = root
			}			
		}
		add_prestige = 25
	}
}

rk_filler.0010 = { #
	type = character_event
	title = rk_filler.0010.t
	desc = rk_filler.0010.desc
	theme = rk_red_keep
	override_background = {
		reference = agot_iron_throne
	}
	right_portrait = {
		character = scope:rk_hand
		animation = disgust
		camera = camera_shoulders
	}		
	trigger = {
		is_imprisoned = no
		is_incapable = no
		is_ai = no
		has_title = title:c_kings_landing
		is_available = yes
		exists = cp:councillor_castellan
		cp:councillor_castellan = {
			has_trait = drunkard
		}
	}
	immediate = {
		cp:councillor_castellan = {
			save_scope_as = rk_hand
		}			
	}	
	option = {  #
		name = rk_filler.0010.a
		custom_tooltip = rk_filler.0010.a_tt	
        flavor = rk_filler.0010.a_f 
		scope:rk_kingsguard = {
			add_opinion = {
				modifier = thankful_opinion
				opinion = 15				
				target = root
			}			
		} 
	}

	option = {  #
		name = rk_filler.0010.b
		custom_tooltip = rk_filler.0010.b_tt	
        flavor = rk_filler.0010.b_f
		scope:rk_kingsguard = {
			add_opinion = {
				modifier = thankful_opinion
				opinion = -15				
				target = root
			}			
		} 	
		add_prestige = 50
	}
	option = {  #
		name = rk_filler.0010.c
		custom_tooltip = rk_filler.0010.c_tt	
        flavor = rk_filler.0010.c_f 	
		add_diplomacy_lifestyle_xp = 100	
		trigger = {
			diplomacy >= 15
		}
	}	
}
