﻿RandomPrivateObject = {
	type = character

	random_valid = yes

	text = {
		localization_key = private_object_finest_leather_shoes
	}

	text = {
		localization_key = private_object_favorite_embroidered_cloak
	}

	text = {
		localization_key = private_object_ceremonial_sword
	}

	text = {
		localization_key = private_object_chamberpot
	}

	text = {
		trigger = {
			NOT = { government_has_flag = government_is_tribal }
		}
		localization_key = private_object_royal_scepter
	}

	text = {
		trigger = {
			NOT = { government_has_flag = government_is_tribal }
		}
		localization_key = private_object_coronation_crown
	}

	text = {
		trigger = {
			NOT = { government_has_flag = government_is_tribal }
		}
		localization_key = private_object_official_signet
	}

	text = {
		trigger = {
			NOR = {
				has_trait = humble
				has_trait = generous
				has_trait = zealous
			}
		}
		localization_key = private_object_gilded_religious_text
	}

	text = {
		trigger = {
			NOT = {
				has_trait = cynical
			}
		}
		localization_key = private_object_precious_silver_religioussymbol
	}

	text = {
		trigger = {
			exists = father
			father = {
				any_parent = {
					is_male = yes
					even_if_dead = yes
				}
			}
		}
		localization_key = private_object_grandfathers_paternal_portrait
	}

	text = {
		trigger = {
			exists = mother
			mother = {
				any_parent = {
					is_male = yes
					even_if_dead = yes
				}
			}
		}
		localization_key = private_object_grandfathers_maternal_portrait
	}

	text = {
		trigger = {
			exists = father
			father = {
				any_parent = {
					is_female = yes
					even_if_dead = yes
				}
			}
		}
		localization_key = private_object_grandmother_paternal_portrait
	}

	text = {
		trigger = {
			exists = mother
			mother = {
				any_parent = {
					is_female = yes
					even_if_dead = yes
				}
			}
		}
		localization_key = private_object_grandmother_maternal_portrait
	}

	text = {
		trigger = {
			is_female = yes
		}
		localization_key = private_object_precious_jewelry
	}

	text = {
		trigger = {
			is_female = yes
		}
		localization_key = private_object_hairbrush
	}

	text = {
		trigger = {
			is_female = yes
		}
		localization_key = private_object_formal_gown
	}

	text = {
		trigger = {
			government_allows = administrative
		}
		localization_key = private_object_wooden_staff
	}

	text = {
		trigger = {
			government_allows = administrative
		}
		localization_key = private_object_golden_staff
	}

	text = {
		trigger = {
			government_allows = administrative
		}
		localization_key = private_object_gilded_staff
	}
}

ChildhoodTraitActivity = {
	type = character
	random_valid = yes
	#train a new minion
	text = {
		trigger = {
			has_trait = charming
		}
		localization_key = childhood_trait_activity_bossy
	}
	#make a new friend
	text = {
		trigger = {
			has_trait = charming
		}
		localization_key = childhood_trait_activity_charming
		fallback = yes
	}
	#learn something new
	text = {
		trigger = {
			has_trait = curious
		}
		localization_key = childhood_trait_activity_curious
	}
	#get some time alone
	text = {
		trigger = {
			has_trait = pensive
		}
		localization_key = childhood_trait_activity_pensive
	}
	#be the life of the party
	text = {
		trigger = {
			has_trait = rowdy
		}
		localization_key = childhood_trait_activity_rowdy
	}
}