#########################################################
#
# EVENTS FOR LOSING VIET'S CLUTTER ARTIFACTS
#
# VIETmisc.7000-VIETmisc.7999 reserved
#
#########################################################

namespace = VIETmisc


# Generic loss - misplaced artifact
character_event = {
	id = VIETmisc.7000
	desc = VIETmisc.7000.desc
	picture = GFX_evt_tuscan_country #GFX_evt_bad_news
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		viet_artifact_loss_command_flag = yes
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes
		}
	}
	
	option = { #whelp
		name = VIETmisc.7000.a
		destroy_random_flagged_viet_artifact = yes
	}
}


# Generic loss - you broke something
character_event = {
	id = VIETmisc.7001
	desc = VIETmisc.7001.desc
	picture = GFX_evt_hyouka #GFX_evt_bad_news
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		viet_artifact_loss_command_flag = yes
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #whelp
		name = VIETmisc.7001.a
		destroy_random_flagged_viet_artifact = yes
	}
}



# Generic loss - thief stole
character_event = {
	id = VIETmisc.7002
	desc = VIETmisc.7002.desc
	picture = GFX_evt_bad_news
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		viet_artifact_loss_command_flag = yes
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #whelp
		name = VIETmisc.7002.a
		destroy_random_flagged_viet_artifact = yes
	}
}


# Wolf pelt - stained
character_event = {
	id = VIETmisc.7003
	desc = VIETmisc.7003.desc
	picture = GFX_evt_castle_construction
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_wolf_pelt
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #whelp
		name = VIETmisc.7003.a
		destroy_artifact = VIET_wolf_pelt
	}
}


# Hourglass - dropped the hourglass
character_event = {
	id = VIETmisc.7004
	desc = VIETmisc.7004.desc
	picture = GFX_evt_castle_construction
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_hourglass
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #Help servants
		name = VIETmisc.7004.a
		trigger = {
			NOR = {
				trait = proud
				trait = ambitious
				trait = paranoid
				trait = cruel
				trait = envious
			}
		}
		random_list = {
			30 = { add_trait = humble }
			15 = { add_trait = kind }
			15 = { add_trait = diligent }
			40 = { }
		}
		destroy_artifact = VIET_hourglass
	}	
	option = { #watch
		name = VIETmisc.7004.b
		destroy_artifact = VIET_hourglass
	}	
	option = { #be angry to the servants
		name = VIETmisc.7004.c
		trigger = {
			NOR = {
				trait = patient
				trait = kind
				trait = content
			}
		}
		random_list = {
			30 = { add_trait = wroth }
			15 = { add_trait = arbitrary }
			15 = { add_trait = cruel }
			40 = { }
		}
		destroy_artifact = VIET_hourglass
	}
}


# Ancient artifact - found shattered on the ground
character_event = {
	id = VIETmisc.7005
	desc = VIETmisc.7005.desc
	picture = GFX_evt_castle_construction
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		any_artifact = {
			has_artifact_flag = VIET_ancient_artifact
		}
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			NOT = {
				any_artifact = {
					count = 3
					has_artifact_flag = VIET_ancient_artifact
				}			
			}
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { # Oh no
		name = VIETmisc.7005.a
		destroy_random_flagged_ancient_viet_artifact = yes
	}	
	option = { # Accept it
		name = VIETmisc.7005.b
		trigger = {
			NOT = {
				trait = ambitious
			}
		}
		random_list = {
			30 = { add_trait = content }
			20 = { add_trait = patient }
			10 = { add_trait = humble }
			40 = { }
		}
		if = {
			limit = {
				trait = wroth
			}
			random = {
				remove_trait = wroth
				chance = 55
			}
		}
		destroy_random_flagged_ancient_viet_artifact = yes
	}
	option = { # Punish servants!
		name = VIETmisc.7005.c
		trigger = {
			NOR = {
				trait = kind
				trait = content
				trait = patient
				trait = just
			}
		}
		random_list = {
			20 = { add_trait = wroth }
			20 = { add_trait = arbitrary }
			20 = { add_trait = cruel }
			40 = { }
		}
		destroy_random_flagged_ancient_viet_artifact = yes
	}
}


# Ancient artifact - clumsy maid accidentally screws up
character_event = {
	id = VIETmisc.7006
	desc = VIETmisc.7006.desc
	picture = GFX_evt_maiden
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		any_artifact = {
			has_artifact_flag = VIET_ancient_artifact
		}
		NOT = { has_character_flag = VIET_clumy_maid_dropped }
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			NOT = {
				any_artifact = {
					count = 3
					has_artifact_flag = VIET_ancient_artifact
				}			
			}
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { # Oh no
		name = VIETmisc.7006.a
		set_character_flag = VIET_clumy_maid_dropped
		destroy_random_flagged_ancient_viet_artifact = yes
		hidden_tooltip = {
			character_event = { id = VIETmisc.7007 }
		}		
	}	
}


# Ancient artifact - maid accidentally screws up
character_event = {
	id = VIETmisc.7007
	desc = VIETmisc.7007.desc
	picture = GFX_evt_maiden
	
	is_triggered_only = yes
	
	option = { # Be nice about it
		name = VIETmisc.7007.a
		if = {
			limit = {
				trait = cruel
			}
			random = {
				remove_trait = cruel
				chance = 55
			}
		}
		if = {
			limit = {
				trait = wroth
			}
			random = {
				remove_trait = wroth
				chance = 55
			}
		}
		random_list = {
			20 = { add_trait = kind }
			20 = { add_trait = content }
			20 = { add_trait = patient }
			20 = { add_trait = humble }
			20 = { }
		}
		piety = 5
		custom_tooltip = { text = VIET_maid_artifact_be_nice }
	}
	
	option = { # Beat her, then fire her
		name = VIETmisc.7007.b
		trigger = {
			NOR = {
				trait = kind
				trait = content
				trait = patient
				trait = humble
				trait = just
			}
		}
		random_list = {
			25 = { add_trait = cruel }
			25 = { add_trait = wroth }
			25 = { add_trait = arbitrary }
			25 = { }
		}
		prestige = 5
		custom_tooltip = { text = VIET_maid_artifact_be_asshole }
	}	
	
	option = { # Bring her on as a lady in waiting
		name = VIETmisc.7007.c
		trigger = {
			NOR = {
				trait = cruel
				trait = wroth
			}
		}
		custom_tooltip = { text = VIET_maid_artifact_promote }
		hidden_tooltip = {
			create_character = {
				age = 19
				dynasty = none
				religion = ROOT
				culture = ROOT
				female = yes
				random_traits = no
				historical = yes
			}
			new_character = {
				#Education & other basic stuff
				save_event_target_as = VIET_clumsy_maid
				add_character_modifier = {
					name = VIET_clumsy_maid_special
					duration = -1
				}
				#set_character_flag = ai_flag_refuse_concubinage
				#set_character_flag = ai_flag_refuse_marriage
				set_character_flag = no_court_invites
				add_random_education_trait = yes	
				#Guaranteed Traits
				add_trait = fair
				add_trait = shrewd
				add_trait = kind
				add_trait = humble				
				random = {
					VIET_give_clutter_artifact_effect = yes
					chance = 10
				}	
				#Flavor
				random_list = {
					80 = { } #Nothing
					19 = { add_scarred_tiered_effect = yes }
					1 = { 
						trigger = { has_dlc = Reapers }
						add_trait = one_eyed
					}
				}
				opinion = {
					who = ROOT
					modifier = VIET_opinion_spared_me_punishment
					years = 100
				}
				#Personality Archetypes
				random_list = {
					20 = { # Sweetheart
						set_character_flag = VIET_clumsy_maid_sweetheart
						add_trait = chaste
						add_trait = patient
						add_trait = charitable
					}
					20 = { # Shy
						set_character_flag = VIET_clumsy_maid_shy
						add_trait = shy
						add_trait = chaste
						add_trait = slothful
					}
					20 = { # Nerd
						set_character_flag = VIET_clumsy_maid_nerd
						add_trait = erudite
						add_trait = just
						add_trait = cynical
					}
					20 = { # sad backstory
						set_character_flag = VIET_clumsy_maid_tragic
						add_trait = paranoid
						add_trait = shy
						add_trait = craven
						add_scarred_tiered_effect = yes
					}
					20 = { # Manic pixie dream girl
						set_character_flag = VIET_clumsy_maid_pixie
						add_trait = gregarious
						add_trait = stubborn
						add_trait = arbitrary
					}
					20 = { # Relateable sassy girl
						set_character_flag = VIET_clumsy_maid_sassy
						add_trait = cynical
						add_trait = honest
						add_trait = slothful
					}
				}
			}
			random = {
				add_friend = event_target:VIET_clumsy_maid
				chance = 25
			}
		}
	}
	
	option = { # Make her your lover
		name = VIETmisc.7007.d
		trigger = {
			is_female = no
			NOT = { trait = homosexual }
			NOT = { trait = eunuch }
			NOT = { trait = celibate }
			NOT = { trait = chaste }
			NOT = { trait = kind }
		}
		custom_tooltip = { text = VIET_maid_artifact_bang }
		hidden_tooltip = {
			create_character = {
				age = 19
				dynasty = none
				religion = ROOT
				culture = ROOT
				female = yes
				random_traits = no
				historical = yes
			}
			new_character = {
				#Education & other basic stuff
				save_event_target_as = VIET_clumsy_maid
				add_character_modifier = {
					name = VIET_clumsy_maid_special
					duration = -1
				}
				set_character_flag = ai_flag_refuse_concubinage
				set_character_flag = ai_flag_refuse_marriage
				set_character_flag = no_court_invites
				add_random_education_trait = yes	
				#Guaranteed Traits
				add_trait = fair
				add_trait = shrewd
				add_trait = kind
				add_trait = humble				
				random = {
					VIET_give_clutter_artifact_effect = yes
					chance = 10
				}	
				#Flavor
				random_list = {
					80 = { } #Nothing
					19 = { add_scarred_tiered_effect = yes }
					1 = { 
						trigger = { has_dlc = Reapers }
						add_trait = one_eyed
					}
				}
				opinion = {
					who = ROOT
					modifier = VIET_opinion_lustful_punishment
					years = 100
				}
				#Personality Archetypes
				random_list = {
					20 = { # Sweetheart
						set_character_flag = VIET_clumsy_maid_sweetheart
						add_trait = chaste
						add_trait = patient
						add_trait = charitable
					}
					20 = { # Shy
						set_character_flag = VIET_clumsy_maid_shy
						add_trait = shy
						add_trait = chaste
						add_trait = slothful
					}
					20 = { # Nerd
						set_character_flag = VIET_clumsy_maid_nerd
						add_trait = erudite
						add_trait = just
						add_trait = cynical
					}
					20 = { # sad backstory
						set_character_flag = VIET_clumsy_maid_tragic
						add_trait = paranoid
						add_trait = shy
						add_trait = craven
						add_scarred_tiered_effect = yes
					}
					20 = { # Manic pixie dream girl
						set_character_flag = VIET_clumsy_maid_pixie
						add_trait = gregarious
						add_trait = stubborn
						add_trait = arbitrary
					}
					20 = { # Relateable sassy girl
						set_character_flag = VIET_clumsy_maid_sassy
						add_trait = cynical
						add_trait = honest
						add_trait = slothful
					}
				}
			}
			add_lover = event_target:VIET_clumsy_maid
		}
	}	
}



# Generic loss - fire
character_event = {
	id = VIETmisc.7008
	desc = VIETmisc.7008.desc
	picture = GFX_evt_burning_house
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		viet_artifact_loss_command_flag = yes
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #whelp
		name = VIETmisc.7008.a
		destroy_random_flagged_viet_artifact = yes
	}
}





# Silverware set - eroding from overuse
character_event = {
	id = VIETmisc.7009
	desc = VIETmisc.7009.desc
	picture = GFX_evt_feast
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_silverware_set
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #Oh well
		name = VIETmisc.7009.a
		destroy_artifact = VIET_silverware_set
	}	
	
	option = { #Pawn it off
		name = VIETmisc.7009.b
		trigger = {
			OR = {
				stewardship = 9
				is_smart_trigger = yes
				trait = greedy
			}
		}
		wealth = 3
		destroy_artifact = VIET_silverware_set
	}	
	
	option = { #Gift it to someone
		name = VIETmisc.7009.c

		if = {
			limit = {
				trait = greedy
			}
			random = {
				remove_trait = greedy
				chance = 15
			}
		}
		else = {
			random = {
				add_trait = charitable
				chance = 60
			}
		}
		piety = 5
		prestige = -5
		destroy_artifact = VIET_silverware_set
	}	
}



# Goblet - becoming disgusting
character_event = {
	id = VIETmisc.7010
	desc = VIETmisc.7010.desc
	picture = GFX_evt_feast_hf
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_goblet
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #Oh well
		name = VIETmisc.7010.a
		destroy_artifact = VIET_goblet
	}	
	
	option = { #No!
		name = VIETmisc.7010.b
		trigger = {
			OR = {
				stewardship = 9
				is_smart_trigger = yes
				trait = greedy
			}
		}
		random_list = {
			15 = { add_trait = stubborn }
			15 = { add_trait = slothful }
			15 = { add_trait = proud }
			15 = { add_trait = paranoid }
			40 = { }
		}
		hidden_tooltip = {
			character_event = { id = VIETmisc.7011 days = 5 random = 15 }
		}	
	}	
	
	option = { #Peasants have it worse than us!
		name = VIETmisc.7010.c
		trigger = {
			NOR = {
				trait = proud
				trait = cruel
			}
		}
		random_list = {
			15 = { add_trait = humble }
			15 = { add_trait = charitable }
			15 = { add_trait = just }
			55 = { }
		}
		hidden_tooltip = {
			character_event = { id = VIETmisc.7011 days = 5 random = 15 }
		}	
	}	
}



# Goblet - becoming disgusting
character_event = {
	id = VIETmisc.7011
	desc = VIETmisc.7011.desc
	picture = GFX_evt_feast_hf
	
	is_triggered_only = yes
	
	
	option = { #Ok ok!
		name = VIETmisc.7011.a

		if = {
			limit = {
				is_ill = no
				NOT = {
					has_dlc = "Reapers"
				}
			}
			random_list = {
				60 = { }
				40 = { add_trait = ill }
			}
		}
		if = {
			limit = {
				is_ill = no
				has_dlc = "Reapers"
			}
			
			random_list = {
				40 = { }
				60 = { 
					set_character_flag = disease_not_serious
					add_trait = vomiting
				}
			}
			hidden_tooltip = { character_event = { id = RIP.11005 days = 15 random = 10 } }
		}
		destroy_artifact = VIET_goblet
	}		
}

# Exotic quill pen - worn from overuse
character_event = {
	id = VIETmisc.7012
	desc = VIETmisc.7012.desc
	picture = GFX_evt_stressed_ruler
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_exotic_quill_pen
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #Oh well
		name = VIETmisc.7012.a
		destroy_artifact = VIET_exotic_quill_pen
	}
}

# Beautiful pitcher - knock it out of servant's hand
character_event = {
	id = VIETmisc.7013
	desc = VIETmisc.7013.desc
	picture = GFX_evt_feast
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_beautiful_pitcher
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #It's the servant's fault!
		name = VIETmisc.7013.a
		trigger = {
			NOR = {
				trait = kind
				trait = content
				trait = patient
				trait = humble
			}
		}
		if = {
			limit = {
				trait = just
			}
			random = {
				remove_trait = just
				chance = 50
			}
		}
		random_list = {
			10 = { add_trait = cruel }
			10 = { add_trait = arbitrary }
			10 = { add_trait = wroth }
			10 = { add_trait = proud }
			10 = { add_trait = stubborn }
			50 = { }
		}
		destroy_artifact = VIET_beautiful_pitcher
	}
	option = { # Okay
		name = VIETmisc.7013.b
		destroy_artifact = VIET_beautiful_pitcher
	}
}


# Secure chest - lost the keys
character_event = {
	id = VIETmisc.7014
	desc = VIETmisc.7014.desc
	picture = GFX_evt_moorish_decor
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_secure_chest
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { # Crap
		name = VIETmisc.7014.a
		destroy_artifact = VIET_secure_chest
	}
}




# Star chart - gets ripped up
character_event = {
	id = VIETmisc.7015
	desc = VIETmisc.7015.desc
	picture = GFX_evt_scientist
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_star_chart
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { # Crap
		name = VIETmisc.7015.a
		destroy_artifact = VIET_star_chart
	}	
	option = { # Crap
		name = VIETmisc.7015.b
		add_character_modifier = {
			name = VIET_practical_ruler
			duration = 730
		}
		prestige = -5
		destroy_artifact = VIET_star_chart
	}
}


# Chess set - lent it to someone who lost the pieces
character_event = {
	id = VIETmisc.7016
	desc = VIETmisc.7016.desc
	picture = GFX_evt_war_planning
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_chess_set
		any_courtier = {
			is_adult = yes
			NOT = { trait = incapable }
			is_abroad = no
			in_command = no
		}
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	immediate = {
		random_courtier = {
			limit = {
				is_adult = yes
				NOT = { trait = incapable }
				is_abroad = no
				in_command = no
			}
			save_event_target_as = target_VIET_chess_pieces_lost			
		}
	}
	
	option = { # Disappointed
		name = VIETmisc.7016.a
		event_target:target_VIET_chess_pieces_lost = {
			opinion = {
				modifier = VIET_opinion_failed_liege
				who = ROOT
				years = 2
			}	
			reverse_opinion = {
				modifier = VIET_opinion_very_disappointed
				who = ROOT
				years = 2
			}		
		}
		destroy_artifact = VIET_chess_set
	}
	
	option = { # Angry
		name = VIETmisc.7016.b
		event_target:target_VIET_chess_pieces_lost = {
			opinion = {
				modifier = opinion_disgruntled
				who = ROOT
				years = 2
			}	
			reverse_opinion = {
				modifier = opinion_angry
				who = ROOT
				years = 2
			}		
		}
		if = {
			limit = {
				trait = patient
			}
			random = {
				remove_trait = patient
				chance = 60
			}
		}
		else = {
			random = {
				add_trait = wroth
				chance = 40
			}
		}
		destroy_artifact = VIET_chess_set
	}
	
	option = { # Whatever
		name = VIETmisc.7016.c
		event_target:target_VIET_chess_pieces_lost = {
			opinion = {
				modifier = opinion_relieved
				who = ROOT
				years = 2
			}		
		}
		if = {
			limit = {
				trait = wroth
			}
			random = {
				remove_trait = wroth
				chance = 60
			}
		}
		else = {
			random = {
				add_trait = patient
				chance = 40
			}
		}
		random = {
			add_trait = content
			chance = 30
		}
		destroy_artifact = VIET_chess_set
	}
}


# Porcelain chopsticks - snapped in half
character_event = {
	id = VIETmisc.7017
	desc = VIETmisc.7017.desc
	picture = GFX_evt_feast
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_porcelain_chopsticks
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # How?
		name = VIETmisc.7017.a
		destroy_artifact = VIET_porcelain_chopsticks
	}
}



# Generic loss - "merchant" turns out to be a thief
character_event = {
	id = VIETmisc.7018
	desc = VIETmisc.7018.desc
	picture = GFX_evt_tuscan_country
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		viet_artifact_loss_command_flag = yes
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #whelp
		name = VIETmisc.7018.a
		prestige = -5
		destroy_random_flagged_viet_artifact = yes
	}
}




# Generic loss - sell an artifact?
character_event = {
	id = VIETmisc.7019
	desc = VIETmisc.7019.desc
	picture = GFX_evt_courtiers_talking
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		viet_artifact_loss_command_flag = yes
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}
	
	option = { #sure
		name = VIETmisc.7019.a
		wealth = 25
		destroy_random_flagged_viet_artifact = yes
	}	
	option = { #no
		name = VIETmisc.7019.b
	}
}



# Silk slippers - worn from overuse
character_event = {
	id = VIETmisc.7020
	desc = VIETmisc.7020.desc
	picture = GFX_evt_artemis_moon
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_silk_slippers
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # How?
		name = VIETmisc.7020.a
		destroy_artifact = VIET_silk_slippers
	}
}

# Dice set - worn out too
character_event = {
	id = VIETmisc.7021
	desc = VIETmisc.7021.desc
	picture = GFX_evt_brothel
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_dice
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # How?
		name = VIETmisc.7021.a
		destroy_artifact = VIET_dice
	}
}

# Hand mirror - drop and shatter it before meeting someone important
character_event = {
	id = VIETmisc.7022
	desc = VIETmisc.7022.desc
	picture = GFX_evt_emissary
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_hand_mirror
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # help servants clean up
		name = VIETmisc.7022.a
		trigger = {
			OR = {
				trait = kind
				trait = humble
				trait = charitable
			}
			NOR = {
				trait = cruel
				trait = proud
				trait = ambitious
				trait = wroth
			}
		}
		piety = 3
		prestige = -5
		random = {
			add_trait = humble
			chance = 45
		}
		destroy_artifact = VIET_hand_mirror
	}
	
	option = { # meet guest
		name = VIETmisc.7022.b
		destroy_artifact = VIET_hand_mirror
	}
}

# Decorative lute - guest accidentally drops it
character_event = {
	id = VIETmisc.7023
	desc = VIETmisc.7023.desc
	picture = GFX_evt_courtiers_talking
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_decorative_lute
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # how dare you
		name = VIETmisc.7023.a
		random = {
			add_trait = wroth
			chance = 33
		}
		destroy_artifact = VIET_decorative_lute
	}
	
	option = { # oh well
		name = VIETmisc.7023.b
		destroy_artifact = VIET_decorative_lute
	}
}

# Calipers - laborer mistakes it for a real tool
character_event = {
	id = VIETmisc.7024
	desc = VIETmisc.7024.desc
	picture = GFX_evt_castle_construction
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_calipers
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7024.a
		destroy_artifact = VIET_calipers
	}
}

# Magnifying glass - cracked
character_event = {
	id = VIETmisc.7025
	desc = VIETmisc.7025.desc
	picture = GFX_evt_open_book_hf
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_magnifying_glass
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7025.a
		destroy_artifact = VIET_magnifying_glass
	}
}

# Abacus - gift it to some merchants
character_event = {
	id = VIETmisc.7026
	desc = VIETmisc.7026.desc
	picture = GFX_evt_emissary
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_abacus
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7026.a
		add_character_modifier = {
			name = VIET_recent_important_business_deal
			duration = 888
		}
		destroy_artifact = VIET_abacus
		hidden_tooltip = {
			random = {
				character_event = { id = VIETmisc.7027 }
				chance = 33
			}
		}
	}
}

# Abacus - gift it to some merchants and one wishes to join your court
character_event = {
	id = VIETmisc.7027
	desc = VIETmisc.7027.desc
	picture = GFX_evt_emissary
	
	is_triggered_only = yes
	
	option = { # ok
		name = VIETmisc.7027.a
		create_random_steward = {
			dynasty = random
			religion = ROOT
			culture = ROOT
			female = no
			random_traits = no
			attributes = {
				stewardship = 10
			}
		}
		new_character = {
			set_character_flag = no_court_invites	
			#Guaranteed Traits
			add_trait = administrator
			#Flavor
			random_list = {
				80 = { } #Nothing
				19 = { add_scarred_tiered_effect = yes }
				1 = { 
					trigger = { has_dlc = Reapers }
					add_trait = one_eyed
				}
			}
			opinion = {
				who = ROOT
				modifier = VIET_opinion_patron
				years = 100
			}
			random_list = {
				30 = { add_trait = shrewd }
				15 = { add_trait = quick }
				5 = { add_trait = genius }
				50 = { }
			}				
			random = {
				VIET_give_clutter_artifact_effect = yes
				chance = 10
			}	
			#Personality Archetypes
			random_list = {
				20 = { # Hot brooding jerk
					set_character_flag = VIET_abacus_merchant_hot_brooding_jerk
					add_trait = fair
					add_trait = cynical
					add_trait = proud
					add_trait = honest
					add_trait = diligent
					add_trait = stressed
				}
				20 = { # Nice friendly guy
					set_character_flag = VIET_abacus_merchant_nice_friendly_guy
					add_trait = kind
					add_trait = humble
					add_trait = patient
					add_trait = chaste
				}
				20 = { # Shady merchant
					set_character_flag = VIET_abacus_merchant_shady
					add_trait = deceitful
					add_trait = cruel
					add_trait = gregarious
					add_trait = greedy
				}
				20 = { # Social climber
					set_character_flag = VIET_abacus_merchant_ambitious
					add_trait = ambitious
					add_trait = envious
					add_trait = diligent
					add_trait = greedy
				}
				20 = { # Fun lover
					set_character_flag = VIET_abacus_merchant_funlover
					add_trait = gregarious
					add_trait = lustful
					add_trait = gluttonous
					add_trait = charitable
				}
				20 = { # Intellectual
					set_character_flag = VIET_abacus_merchant_intellectual
					add_trait = erudite
					add_trait = just
					add_trait = content
					add_trait = diligent
				}
			}
		}		
	}	
	option = { # no
		name = VIETmisc.7027.b
	}
}

# Nutcracker - gets burnt in fire
character_event = {
	id = VIETmisc.7028
	desc = VIETmisc.7028.desc
	picture = GFX_evt_feast
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_nutcracker
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7028.a
		destroy_artifact = VIET_nutcracker
	}
}

# Wooden bowl - cracks
character_event = {
	id = VIETmisc.7029
	desc = VIETmisc.7029.desc
	picture = GFX_evt_feast
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_wooden_bowl
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7029.a
		destroy_artifact = VIET_wooden_bowl
	}
}

# Pewter spoon - snaps in half
character_event = {
	id = VIETmisc.7030
	desc = VIETmisc.7030.desc
	picture = GFX_evt_feast
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_pewter_spoon
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7030.a
		destroy_artifact = VIET_pewter_spoon
	}
}

# Measuring rod - breaks in half
character_event = {
	id = VIETmisc.7031
	desc = VIETmisc.7031.desc
	picture = GFX_evt_stressed_ruler
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_measuring_rod
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7031.a
		destroy_artifact = VIET_measuring_rod
	}
}

# Flower vase - breaks
character_event = {
	id = VIETmisc.7032
	desc = VIETmisc.7032.desc
	picture = GFX_evt_castle_construction
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_flower_vase
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7032.a
		destroy_artifact = VIET_flower_vase
	}
}


# Leather knapsack - gets torn
character_event = {
	id = VIETmisc.7033
	desc = VIETmisc.7033.desc
	picture = GFX_evt_castle_construction
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_leather_knapsack
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7033.a
		destroy_artifact = VIET_leather_knapsack
	}
}

# Weighing scales - break
character_event = {
	id = VIETmisc.7034
	desc = VIETmisc.7034.desc
	picture = GFX_evt_stressed_ruler
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_weighing_scales
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7034.a
		destroy_artifact = VIET_weighing_scales
	}
}

# Hammer - break
character_event = {
	id = VIETmisc.7035
	desc = VIETmisc.7035.desc
	picture = GFX_evt_bad_news
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_hammer
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7035.a
		destroy_artifact = VIET_hammer
	}
}

# Trusty shovel - breaks
character_event = {
	id = VIETmisc.7036
	desc = VIETmisc.7036.desc
	picture = GFX_evt_bad_news
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_trusty_shovel
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7036.a
		destroy_artifact = VIET_trusty_shovel
	}
}

# Painting of lake - dropped on candle
character_event = {
	id = VIETmisc.7037
	desc = VIETmisc.7037.desc
	picture = GFX_evt_bad_news
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_landscape_painting_lake
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7037.a
		destroy_artifact = VIET_landscape_painting_lake
	}	
	option = { # fix it
		name = VIETmisc.7037.b
		wealth = -25
	}
}

# Painting of ruin - fell while being adjusted
character_event = {
	id = VIETmisc.7038
	desc = VIETmisc.7038.desc
	picture = GFX_evt_castle_construction
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_landscape_painting_ruin
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7038.a
		destroy_artifact = VIET_landscape_painting_ruin
	}	
	option = { # fix it
		name = VIETmisc.7038.b
		wealth = -25
	}
}

# Painting of forest - knocked it over
character_event = {
	id = VIETmisc.7039
	desc = VIETmisc.7039.desc
	picture = GFX_evt_courtiers_talking
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_landscape_painting_forest
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7039.a
		destroy_artifact = VIET_landscape_painting_forest
	}	
	option = { # fix it
		name = VIETmisc.7039.b
		wealth = -25
	}
}

# Reliable lockpick - lost while taking a walk
character_event = {
	id = VIETmisc.7040
	desc = VIETmisc.7040.desc
	picture = GFX_evt_skyrim_forest
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_reliable_lockpick
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7040.a
		destroy_artifact = VIET_reliable_lockpick
	}
}

# Ceramic tankard - fingers slip and tankard smashes into pieces on the floor
character_event = {
	id = VIETmisc.7041
	desc = VIETmisc.7041.desc
	picture = GFX_evt_VIET_food
	
	is_triggered_only = yes
	
	min_age = 16
	only_rulers = yes
	capable_only = yes
	prisoner = no
	#war = no
		
	trigger = {
		in_command = no
		has_artifact = VIET_ceramic_tankard
	}
	
	weight_multiplier = {
		days = 1
		modifier = {
			factor = 0.5
			ai = no
		}
		modifier = {
			factor = 0.5
			viet_artifact_loss_three_flags = no
		}
		modifier = {
			factor = 2
			viet_artifact_loss_three_flags = yes		
		}
	}

	
	option = { # ok
		name = VIETmisc.7041.a
		destroy_artifact = VIET_ceramic_tankard
	}
}