﻿
#Hostility
@percent_general_1 = 0.10
@percent_general_2 = 0.20
@percent_general_3 = 0.30
@percent_general_4 = 0.20 #Courtiers hostility lv2
@percent_vassal_1 = 0.10
@percent_vassal_2 = 0.20
@percent_vassal_3 = 0.30

#stress_gain
@stress_p1 = 10
@stress_p2 = 12
@stress_p3 = 14
@stress_p4 = 18

#stress_loss
@stress_n1 = -6
@stress_n2 = -8
@stress_n3 = -10
@stress_n4 = -12
@stress_n5 = -16
@stress_n6 = -18
@stress_n7 = -24
@stress_n8 = -26
@stress_n9 = -34
@stress_ai = -8

@positive_legitimacy = 60
@positive_legitimacy_ai = 30

#legitimacy
@legit_neg_1 = -20
@legit_neg_1_ai = -10
@legit_neg_2 = -40
@legit_neg_2_ai = -20
@legit_neg_3 = -60
@legit_neg_3_ai = -30

#BuyInfluence
@paying = 18
@buying = 36
@buying_dread = 24
@buying_renown = 8

#Absent
@absent_skill = 2
@absent_xp = 500
@absent_prl = -20
@absent_stress_loss = -12
@absent_stress_gain = 12

@expedition_cost = 12

@event_chance_0 = 10 #domain
@event_chance_1 = 15 #councillors events
@event_chance_2 = 30 #dread events
@event_chance_3 = 50 #hostility events
@event_chance_4 = 50 #regency events
@event_chance_5 = 50 #Annual Reports
@event_chance_6 = 100 #War Reports
@event_chance_7 = 20 #connections
@ai_neg_chance = -10 #AI Hostility Defense

########################## ADVENTURERS

@adv_event_chance_1 = 15 #Powerful Officers
@adv_event_chance_2 = 15 #Camp Turmoil
@adv_event_chance_3 = 15 #Spouse/Lover/Friend/Heir
@adv_event_chance_4 = 40 #Persecution/Second
@adv_event_chance_5 = 100 #Diary/Stress/Infight

yearly_playable_pulse = {
	on_actions = {
		adv_provisions_upkeep
	    gpt_adv_diary_events
		gpt_camp_infighting
    }
	on_actions = {
		delay = { days = { 90 270 } }
		gpt_adv_persecution
    }
	on_actions = {
		delay = { days = { 90 270 } }
		gpt_adv_paymaster
    }
	on_actions = {
		delay = { days = { 90 270 } }
    	gpt_adv_recruiter
    }
	on_actions = {
		delay = { days = { 90 270 } }
		gpt_adv_mistress
    }
	on_actions = {
	   	delay = { days = { 90 270 } }
	   	gpt_adv_clerk
    }
	on_actions = {
	   	delay = { days = { 90 270 } }
	  	 gpt_adv_veteran
    }
	on_actions = {
	  	 delay = { days = { 90 270 } }
	  	 gpt_adv_spouse
    }
	on_actions = {
	  	delay = { days = { 90 270 } }
	  	gpt_disloyal_second
    }
	on_actions = {
	   	delay = { days = { 90 270 } }
       	gpt_disloyal_followers
    }
	on_actions = {
	   	delay = { days = { 90 270 } }
	   	gpt_disloyal_officers
    }
	on_actions = {
	   	delay = { days = { 90 270 } }
	   	gpt_adv_annoying_spouse
       	gpt_adv_unrelated_heir
	   	gpt_adv_good_lover
	   	gpt_adv_good_friend
		adv_gpt_minor_stress
		adv_gpt_major_stress
    }
}

###############################################

   ## testground ##
 #  quarterly_playable_pulse = { on_actions = { gpt_relations_five_auto } }

yearly_global_pulse = {
	on_actions = {
        gpt_corruption
		gpt_dreadfulness
		gpt_events
    }
}

five_year_playable_pulse = {
 	on_actions = {
		delay = { days = { 200 600 } }
     #  gpt_spaws_five
		gpt_spaws_five_auto
		gpt_relations_five_auto
    }
}

yearly_playable_pulse = {
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_ai_balance
       gpt_spaws_yearly
	   gpt_diary_events
	   gpt_2_herald
	   gpt_2_herald_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_3_stw
	   gpt_3_stw_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_3_dip
	   gpt_3_dip_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_3_mar
	   gpt_3_mar_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_3_ler
	   gpt_3_ler_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_3_int
	   gpt_3_int_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_3_spouse
	   gpt_3_spouse_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_minor_stress
	   gpt_high_stress
	   gpt_minor_stress_tribal
	   gpt_high_stress_tribal
	   gpt_breakdown_stress
	   gpt_breakdown_stress_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_rival_hostility
	   gpt_rival_hostility_tribal
	   gpt_vassal_antagonism
	   gpt_vassal_antagonism_tribal
	   gpt_vassal_antagonism_admin
	   gpt_clergy_aversion
	   gpt_clergy_aversion_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_disloyal_knights
	   gpt_peasant_strife
	   gpt_house_head_positive
	   gpt_house_head_negative
	   gpt_courtier_disdain
	   gpt_disloyal_knights_tribal
	   gpt_peasant_strife_tribal
	   gpt_house_head_positive_tribal
	   gpt_house_head_negative_tribal
	   gpt_courtier_disdain_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_buy_prestige
	   gpt_buy_piety
	   gpt_buy_renown
	   gpt_buy_dread
	   gpt_buy_prestige_tribal
	   gpt_tyranny_gold
	   gpt_tyranny_prestige
	   gpt_tyranny_dread
	   gpt_tyranny_army
	   gpt_tyranny_gold_tribal
	   gpt_tyranny_prestige_tribal
	   gpt_tyranny_dread_tribal
	   gpt_tyranny_army_tribal
	   gpt_buy_legitimacy_gold
	   gpt_buy_legitimacy_prestige
	   gpt_buy_legitimacy_piety
	   gpt_buy_legitimacy_gold_tribal
	   gpt_buy_legitimacy_prestige_tribal
	   gpt_buy_legitimacy_piety_tribal
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_absent
	   gpt_sponsoring
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_3_stw_regent
	   gpt_3_dip_regent
	   gpt_3_mar_regent
	   gpt_3_int_regent
	   gpt_3_ler_regent
	   gpt_3_stw_regent_tribal
	   gpt_3_dip_regent_tribal
	   gpt_3_mar_regent_tribal
	   gpt_3_int_regent_tribal
	   gpt_3_ler_regent_tribal
    }
	on_actions = {
	   gpt_trade_power
	   gpt_power_projection
    }
 	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_piracy
	   gpt_rival_covert_operations
	   gpt_ruler_favoritism
	   gpt_ruler_connections
	   gpt_ruler_connections_admin
    }
	on_actions = {
	   delay = { days = { 90 270 } }
	   gpt_annoying_spouse
	   gpt_unrelated_heir
	   gpt_good_lover
	   gpt_good_friend
    }
	on_actions = {
	   gpt_admin_gov_palace
    }
}

quarterly_playable_pulse = {
	on_actions = {
	 #  gpt_emoji
		gpt_emoji_remove
	 # 	gpt_vassal_stances
	   	gpt_vassal_stances_remove
		gpt_war_tax
		gpt_terrain
		gpt_terrain_remove
		gpt_landlock
		gpt_landlock_remove
		gpt_liege_opinion
		gpt_absent_remove
		gpt_dynasty_balance
    }
}

gpt_admin_gov_palace = {
	effect = {
		if = {
			limit = {
				is_ai = yes
				is_independent_ruler = yes
				government_has_flag = government_is_administrative
				highest_held_title_tier = 4
				capital_province.county = { development_level >= 25 }
				capital_province = {
					is_county_capital = yes
					has_special_building = yes 
				}
				OR = {
					has_realm_law = realm_administration_law_0
					has_realm_law = realm_administration_law_1
				}
			}
			add_realm_law_skip_effects = realm_administration_law_2
		}
		if = {
			limit = {
				is_ai = yes
				is_independent_ruler = yes
				government_has_flag = government_is_administrative
				highest_held_title_tier >= 5
				capital_province.county = { development_level >= 25 }
				capital_province = {
					is_county_capital = yes
					has_special_building = yes 
				}
				OR = {
					has_realm_law = realm_administration_law_0
					has_realm_law = realm_administration_law_1
					has_realm_law = realm_administration_law_2
				}
			}
			add_realm_law_skip_effects = realm_administration_law_3
		}
	}
}

gpt_ai_balance = {
	effect = {
		if = {
			limit = {
				is_ai = yes
				is_landed = yes
				highest_held_title_tier >= 2
				OR = {
					has_game_rule = GPT_all_events
				 	has_game_rule = GPT_few_events
				}
			}
			add_stress = @stress_ai
			if = {
				limit = {
					OR = {
						has_trait = diligent
						has_trait = paranoid
					}
				}
				add_stress = @stress_ai
			}
			if = {
				limit = {
					tyranny >= 5
				}
				add_tyranny = -1
			}
			if = {
				limit = {
					tyranny >= 10
				}
				add_tyranny = -1
			}
			if = {
				limit = {
					tyranny >= 15
				}
				add_tyranny = -1
			}
			if = {
				limit = {
					gold >= 2500
					prestige <= 300
				}
				add_prestige = 300
				remove_short_term_gold = 150
			}
			if = {
				limit = {
					gold >= 2500
					piety <= 300
				}
				add_piety = 300
				remove_short_term_gold = 150
			}
			if = {
				limit = {
					gold <= 600
					prestige >= 6000
				}
				add_prestige = -1000
				add_gold = 300
			}
			if = {
				limit = {
					gold <= 600
					piety >= 6000
				}
				add_piety = -1000
				add_gold = 300
			}
			if = {
				limit = {
					legitimacy_level <= 1
					prestige >= 3000
				}
				add_prestige = -600
				add_legitimacy = 90
			}
			if = {
				limit = {
					legitimacy_level <= 1
					piety >= 3000
				}
				add_piety = -600
				add_legitimacy = 90
			}
			if = {
				limit = {
				 	has_game_rule = GPT_trade_enabled
					highest_held_title_tier = 2
				}
				gpt_effect_power_projection_lv1 = yes
				gpt_effect_trade_power_lv1 = yes
			}
			if = {
				limit = {
				 	has_game_rule = GPT_trade_enabled
					highest_held_title_tier = 3
				}
				gpt_effect_power_projection_lv2 = yes
				gpt_effect_trade_power_lv2 = yes
			}
			if = {
				limit = {
				 	has_game_rule = GPT_trade_enabled
					highest_held_title_tier = 4
				}
				gpt_effect_power_projection_lv3 = yes
				gpt_effect_trade_power_lv3 = yes
			}
			if = {
				limit = {
				 	has_game_rule = GPT_trade_enabled
					highest_held_title_tier >= 5
				}
				gpt_effect_power_projection_lv4 = yes
				gpt_effect_trade_power_lv4 = yes
			}
		}
	}
}

gpt_spaws_five = {
	effect = {
		if = {
			limit = {
				has_game_rule = GPT_spawn_enabled
				is_landless_adventurer = no
			}
			random = {
				chance = 100
				trigger_event = {
					id = create_relationship.0001
					days = { 30 180 }
				}
			}
		}
	}
}

gpt_relations_five_auto = {
	effect = {
		if = {
			limit = {
			 	has_game_rule = GPT_all_events
				has_active_diarchy = no
				OR = {
					is_ai = no
					highest_held_title_tier >= 2
				}
				age >= 21
			 #	is_landed = yes
				is_imprisoned = no
			}
			random_list = {
				30 = {
					if = {
					limit = {
							any_courtier = {
								is_lowborn = no
								is_adult = yes
								trait_compatibility = {
									target = root
									value >= 28
								}
								NOR = { has_relation_friend = root has_relation_best_friend = root has_relation_lover = root has_relation_soulmate = root has_relation_rival = root has_relation_nemesis = root }
							}
						}
						random_courtier = {
							limit = {
								is_adult = yes
								is_lowborn = no
								trait_compatibility = {
									target = root
									value >= 28
								}
								NOR = { has_relation_friend = root has_relation_best_friend = root has_relation_lover = root has_relation_soulmate = root has_relation_rival = root has_relation_nemesis = root }
							}
							save_scope_as = gpt_potential_friend
							scope:gpt_potential_friend = { set_relation_friend = { reason = gpt_trait_compat_positive target = root } }
							root = {
								add_stress = -20
								send_interface_message = {
									type = event_generic_good_with_text_gpt
									title = gpt_trait_compat_positive_title
									desc = gpt_trait_compat_positive_desc
									left_icon = scope:gpt_potential_friend
									show_as_tooltip = { add_stress = -20 scope:gpt_potential_friend = { set_relation_friend = { reason = gpt_trait_compat_positive target = root } } }
								}
							}
						}
					}
					else = {  }
				}
				40 = {
					if = {
						limit = {
							OR = {
								AND = {
									is_adult = yes
									is_male = yes
									has_sexuality = heterosexual
									NOT = { has_trait = chaste }
									OR = {
										is_married = no
										has_trait = lustful
										ai_sociability >= 50
										ai_honor <= 0 
									}
									any_courtier = {
										is_female = yes
										is_adult = yes
										age < root.age
										has_sexuality = heterosexual
										NOT = { has_trait = chaste }
										NOT = { is_consort_of = root }
										NOT = { is_close_family_of = root }
										OR = {
											is_married = no
											has_trait = lustful
											ai_honor <= 0
										}
										is_married = no
									 #	is_lowborn = yes
										trait_compatibility = {
											target = root
											value >= 16
										}
										NOR = { has_relation_friend = root has_relation_best_friend = root has_relation_lover = root has_relation_soulmate = root has_relation_rival = root has_relation_nemesis = root }
									}
								}
								AND = {
									is_adult = yes
									is_female = yes
									OR = {
										has_trait = lustful
										has_trait = cynical
										has_trait = eccentric
									}
									NOT = { has_trait = chaste }
									OR = {
										is_married = no
										has_trait = lustful
										ai_sociability >= 50
										ai_honor <= 0 
									}
									has_sexuality = heterosexual
									any_courtier = {
										is_male = yes
										is_adult = yes
										has_sexuality = heterosexual
										age < root.age
										NOT = { has_trait = chaste }
										NOT = { is_consort_of = root }
										NOT = { is_close_family_of = root }
										OR = {
											is_married = no
											has_trait = lustful
											ai_honor <= 0
										}
										is_married = no
									 #	is_lowborn = yes
										trait_compatibility = {
											target = root
											value >= 16
										}
										NOR = { has_relation_friend = root has_relation_best_friend = root has_relation_lover = root has_relation_soulmate = root has_relation_rival = root has_relation_nemesis = root }
									}
								}
							}
						}
						if = {
							limit = {
								is_male = yes
							}
							random_courtier = {
								limit = {
									is_female = yes
									is_adult = yes
									has_sexuality = heterosexual
									age < root.age
									NOT = { has_trait = chaste }
									NOT = { is_consort_of = root }
									NOT = { is_close_family_of = root }
									OR = {
										is_married = no
										has_trait = lustful
										ai_honor <= 0
									}
									is_married = no
								  #	is_lowborn = yes
									trait_compatibility = {
										target = root
										value >= 16
									}
									NOR = { has_relation_friend = root has_relation_best_friend = root has_relation_lover = root has_relation_soulmate = root has_relation_rival = root has_relation_nemesis = root }
								}
								save_scope_as = gpt_potential_lover
								scope:gpt_potential_lover = { set_relation_lover = { reason = gpt_trait_compat_lover target = root } }
								root = {
									add_stress = -20
									send_interface_message = {
										type = event_generic_good_with_text_gpt
										title = gpt_trait_compat_lover_title
										desc = gpt_trait_compat_lover_desc
										left_icon = scope:gpt_potential_lover
										show_as_tooltip = { add_stress = -20 scope:gpt_potential_lover = { set_relation_lover = { reason = gpt_trait_compat_lover target = root } } }
									}
								}
							}
						}
						if = {
							limit = {
								is_female = yes
							}
							random_courtier = {
								limit = {
									is_male = yes
									is_adult = yes
									has_sexuality = heterosexual
									age < root.age
									NOT = { has_trait = chaste }
									NOT = { is_consort_of = root }
									NOT = { is_close_family_of = root }
									OR = {
										is_married = no
										has_trait = lustful
										ai_honor <= 0
									}
									is_married = no
								  #	is_lowborn = yes
									trait_compatibility = {
										target = root
										value >= 16
									}
									NOR = { has_relation_friend = root has_relation_best_friend = root has_relation_lover = root has_relation_soulmate = root has_relation_rival = root has_relation_nemesis = root }
								}
								save_scope_as = gpt_potential_lover
								scope:gpt_potential_lover = { set_relation_lover = { reason = gpt_trait_compat_lover target = root } }
								root = {
									add_stress = -20
									send_interface_message = {
										type = event_generic_good_with_text_gpt
										title = gpt_trait_compat_lover_title
										desc = gpt_trait_compat_lover_desc
										left_icon = scope:gpt_potential_lover
										show_as_tooltip = { add_stress = -20 scope:gpt_potential_lover = { set_relation_lover = { reason = gpt_trait_compat_lover target = root } } }
									}
								}
							}
						}
					}
					else = {  }
				}
				30 = {
					if = {
						limit = {
							any_courtier = {
								is_lowborn = no
								is_adult = yes
								trait_compatibility = {
									target = root
									value <= -32
								}
								NOR = { has_relation_rival = root has_relation_nemesis = root has_relation_friend = root has_relation_best_friend = root has_relation_lover = root has_relation_soulmate = root }
							}
						}
						random_courtier = {
							limit = {
								is_lowborn = no
								is_adult = yes
								trait_compatibility = {
									target = root
									value <= -32
								}
								NOR = { has_relation_rival = root has_relation_nemesis = root has_relation_friend = root has_relation_best_friend = root has_relation_lover = root has_relation_soulmate = root }
							}
							save_scope_as = gpt_potential_rival
							scope:gpt_potential_rival = { set_relation_rival = { reason = gpt_trait_compat_negative target = root } }
							root = {
								add_stress = 20
								send_interface_message = {
									type = event_generic_bad_with_text_gpt
									title = gpt_trait_compat_negative_title
									desc = gpt_trait_compat_negative_desc
									left_icon = scope:gpt_potential_rival
									show_as_tooltip = { add_stress = 20 scope:gpt_potential_rival = { set_relation_rival = { reason = gpt_trait_compat_negative target = root } } }
								}
							}
						}
					}
					else = {  }
				}
			}
		}
	}
}

gpt_spaws_five_auto = {
	effect = {
		if = {
			limit = {
				has_game_rule = GPT_spawn_enabled
				is_landless_adventurer = no
				has_active_diarchy = no
				OR = {
					is_ai = no
					highest_held_title_tier >= 2
				}
				age >= 30
				is_landed = yes
				is_imprisoned = no
				NOR = {
					any_relation = {
						type = friend
						count >= 2
					}
					any_relation = {
						type = rival
						count >= 1
					}
				}
			}
			random_list = {
				0 = { modifier = { add = 35 has_trait = brave } brave_character_create = true }
				0 = { modifier = { add = 35 has_trait = craven } craven_character_create = true }
				0 = { modifier = { add = 35 has_trait = calm } calm_character_create = true }
				0 = { modifier = { add = 35 has_trait = wrathful } wrathful_character_create = true }
				0 = { modifier = { add = 35 has_trait = chaste } chaste_character_create = true }
				0 = { modifier = { add = 35 has_trait = lustful } lustful_character_create = true }
				0 = { modifier = { add = 35 has_trait = content } content_character_create = true }
				0 = { modifier = { add = 35 has_trait = ambitious } ambitious_character_create = true }
				0 = { modifier = { add = 35 has_trait = diligent } diligent_character_create = true }
				0 = { modifier = { add = 35 has_trait = lazy } lazy_character_create = true }
				0 = { modifier = { add = 35 has_trait = forgiving } forgiving_character_create = true }
				0 = { modifier = { add = 35 has_trait = generous } generous_character_create = true }
				0 = { modifier = { add = 35 has_trait = vengeful } vengeful_character_create = true }
				0 = { modifier = { add = 35 has_trait = greedy } greedy_character_create = true }
				0 = { modifier = { add = 35 has_trait = gregarious } gregarious_character_create = true }
				0 = { modifier = { add = 35 has_trait = shy } shy_character_create = true }
				0 = { modifier = { add = 35 has_trait = deceitful } deceitful_character_create = true }
				0 = { modifier = { add = 35 has_trait = honest } honest_character_create = true }
				0 = { modifier = { add = 35 has_trait = humble } humble_character_create = true }
				0 = { modifier = { add = 35 has_trait = arrogant } arrogant_character_create = true }
				0 = { modifier = { add = 35 has_trait = just } just_character_create = true }
				0 = { modifier = { add = 35 has_trait = arbitrary } arbitrary_character_create = true }
				0 = { modifier = { add = 35 has_trait = patient } patient_character_create = true }
				0 = { modifier = { add = 35 has_trait = impatient } impatient_character_create = true }
				0 = { modifier = { add = 35 has_trait = temperate } temperate_character_create = true }
				0 = { modifier = { add = 35 has_trait = gluttonous } gluttonous_character_create = true }
				0 = { modifier = { add = 35 has_trait = trusting } trusting_character_create = true }
				0 = { modifier = { add = 35 has_trait = paranoid } paranoid_character_create = true }
				0 = { modifier = { add = 35 has_trait = zealous } zealous_character_create = true }
				0 = { modifier = { add = 35 has_trait = cynical } cynical_character_create = true }
				0 = { modifier = { add = 35 has_trait = compassionate } compassionate_character_create = true }
				0 = { modifier = { add = 35 has_trait = callous } callous_character_create = true }
				0 = { modifier = { add = 35 has_trait = sadistic } sadistic_character_create = true }
				0 = { modifier = { add = 35 has_trait = stubborn } stubborn_character_create = true }
				0 = { modifier = { add = 35 has_trait = fickle } fickle_character_create = true }
			}
		}
	}
}

gpt_spaws_yearly = {
	effect = {
		if = {
			limit = {
				OR = {
					has_game_rule = GPT_spawn_enabled
					has_game_rule = GPT_friendsfoes_disabled
				}
				is_landless_adventurer = no
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
				is_landed = yes
				is_imprisoned = no
				age >= 12
			}
			random = {
				chance = 0
				modifier = { add = 20 is_ai = no }
				modifier = { add = 5 highest_held_title_tier >= 3 }
				modifier = { add = 10 highest_held_title_tier >= 4 }
				modifier = { add = 15 highest_held_title_tier >= 5 }
				trigger_event = {
					id = qss_decisions.0010
					days = { 30 180 }
				}
			}
		}
		if = {
			limit = {
				OR = {
					has_game_rule = GPT_spawn_enabled
					has_game_rule = GPT_friendsfoes_disabled
				}
				OR = {
					government_has_flag = government_is_tribal
					government_has_flag = government_is_nomadic
				}
				is_landed = yes
				is_imprisoned = no
				age >= 12
			}
			random = {
				chance = 0
				modifier = { add = 10 is_ai = no }
				modifier = { add = 5 highest_held_title_tier >= 3 }
				modifier = { add = 10 highest_held_title_tier >= 4 }
				modifier = { add = 15 highest_held_title_tier >= 5 }
				trigger_event = {
				 	id = qss_decisions.0009
					days = { 30 180 }
				}
			}
		}
	}
}


gpt_corruption = {
	trigger = {
		has_game_rule = GPT_balance_enabled
	}
	effect = {
		every_ruler = { #Corruption
			if = {
				limit = {
					highest_held_title_tier >= 2
					NOR = {
						highest_held_title_tier = 6
					 #	government_has_flag = government_has_treasury
					}
				}
				if = {
					limit = {
						gold >= 5000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_gold_lv5 }
						}
						send_interface_message = {
							type = event_corruption_bad_with_text
							title = corruption_gold_title
							desc = corruption_gold_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_gold_lv5 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_gold_lv5
						days = 370
					}
				}
				else_if = {
					limit = {
						gold >= 4000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_gold_lv4 }
						}
						send_interface_message = {
							type = event_corruption_bad_with_text
							title = corruption_gold_title
							desc = corruption_gold_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_gold_lv4 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_gold_lv4
						days = 370
					}
				}
				else_if = {
					limit = {
						gold >= 3000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_gold_lv3 }
						}
						send_interface_message = {
							type = event_corruption_bad_with_text
							title = corruption_gold_title
							desc = corruption_gold_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_gold_lv3 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_gold_lv3
						days = 370
					}
				}
				else_if = {
					limit = {
						gold >= 2000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_gold_lv2 }
						}
						send_interface_message = {
							type = event_corruption_bad_with_text
							title = corruption_gold_title
							desc = corruption_gold_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_gold_lv2 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_gold_lv2
						days = 370
					}
				}
				else_if = {
					limit = {
						gold >= 1000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_gold_lv1 }
						}
						send_interface_message = {
							type = event_corruption_bad_with_text
							title = corruption_gold_title
							desc = corruption_gold_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_gold_lv1 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_gold_lv1
						days = 370
					}
				}
				else = {  }



				if = {
					limit = {
						piety >= 5000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_piety_lv5 }
						}
						send_interface_message = {
							type = event_ingratitude_bad_with_text
							title = corruption_piety_title
							desc = corruption_piety_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_piety_lv5 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_piety_lv5
						days = 370
					}
				}
				else_if = {
					limit = {
						piety >= 4000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_piety_lv4 }
						}
						send_interface_message = {
							type = event_ingratitude_bad_with_text
							title = corruption_piety_title
							desc = corruption_piety_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_piety_lv4 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_piety_lv4
						days = 370
					}
				}
				else_if = {
					limit = {
						piety >= 3000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_piety_lv3 }
						}
						send_interface_message = {
							type = event_ingratitude_bad_with_text
							title = corruption_piety_title
							desc = corruption_piety_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_piety_lv3 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_piety_lv3
						days = 370
					}
				}
				else_if = {
					limit = {
						piety >= 2000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_piety_lv2 }
						}
						send_interface_message = {
							type = event_ingratitude_bad_with_text
							title = corruption_piety_title
							desc = corruption_piety_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_piety_lv2 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_piety_lv2
						days = 370
					}
				}
				else_if = {
					limit = {
						piety >= 1000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_piety_lv1 }
						}
						send_interface_message = {
							type = event_ingratitude_bad_with_text
							title = corruption_piety_title
							desc = corruption_piety_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_piety_lv1 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_piety_lv1
						days = 370
					}
				}
				else = {  }





				if = {
					limit = {
						prestige >= 5000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_prestige_lv5 }
						}
						send_interface_message = {
							type = event_sabotage_bad_with_text
							title = corruption_prestige_title
							desc = corruption_prestige_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_prestige_lv5 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_prestige_lv5
						days = 370
					}
				}
				else_if = {
					limit = {
						prestige >= 4000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_prestige_lv4 }
						}
						send_interface_message = {
							type = event_sabotage_bad_with_text
							title = corruption_prestige_title
							desc = corruption_prestige_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_prestige_lv4 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_prestige_lv4
						days = 370
					}
				}
				else_if = {
					limit = {
						prestige >= 3000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_prestige_lv3 }
						}
						send_interface_message = {
							type = event_sabotage_bad_with_text
							title = corruption_prestige_title
							desc = corruption_prestige_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_prestige_lv3 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_prestige_lv3
						days = 370
					}
				}
				else_if = {
					limit = {
						prestige >= 2000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_prestige_lv2 }
						}
						send_interface_message = {
							type = event_sabotage_bad_with_text
							title = corruption_prestige_title
							desc = corruption_prestige_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_prestige_lv2 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_prestige_lv2
						days = 370
					}
				}
				else_if = {
					limit = {
						prestige >= 1000
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_prestige_lv1 }
						}
						send_interface_message = {
							type = event_sabotage_bad_with_text
							title = corruption_prestige_title
							desc = corruption_prestige_lv5_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_prestige_lv1 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_prestige_lv1
						days = 370
					}
				}
				else = {  }
			}

			if = {
				limit = {
					highest_held_title_tier >= 4
					NOT = { government_has_flag = government_has_treasury }
				}
				if = {
					limit = {
						sub_realm_size >= 300
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv10 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv10 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv10
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 275
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv9 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv9 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv9
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 250
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv8 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv8 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv8
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 225
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv7 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv7 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv7
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 200
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv6 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv6 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv6
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 175
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv5 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv5 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv5
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 150
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv4 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv4 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv4
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 125
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv3 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv3 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv3
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 100
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv2 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv2 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv2
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 75
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv1 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv1 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv1
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 50
					}
					if = {
						limit = {
							NOT = { has_character_modifier = corruption_realm_lv0 }
						}
						send_interface_message = {
							type = event_realmsize_bad_with_text
							title = corruption_realm_title
							desc = corruption_realm_lv10_desc
							show_as_tooltip = { add_character_modifier = { modifier = corruption_realm_lv0 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = corruption_realm_lv0
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 40
					}
					if = {
						limit = {
							NOT = { has_character_modifier = small_realm_lv1 }
						}
						send_interface_message = {
							type = event_realmsize_good_with_text
							title = corruption_realm_title
							desc = small_realm_lv1_desc
							show_as_tooltip = { add_character_modifier = { modifier = small_realm_lv1 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = small_realm_lv1
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 30
					}
					if = {
						limit = {
							NOT = { has_character_modifier = small_realm_lv2 }
						}
						send_interface_message = {
							type = event_realmsize_good_with_text
							title = corruption_realm_title
							desc = small_realm_lv1_desc
							show_as_tooltip = { add_character_modifier = { modifier = small_realm_lv2 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = small_realm_lv2
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 20
					}
					if = {
						limit = {
							NOT = { has_character_modifier = small_realm_lv3 }
						}
						send_interface_message = {
							type = event_realmsize_good_with_text
							title = corruption_realm_title
							desc = small_realm_lv1_desc
							show_as_tooltip = { add_character_modifier = { modifier = small_realm_lv3 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = small_realm_lv3
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 10
					}
					if = {
						limit = {
							NOT = { has_character_modifier = small_realm_lv4 }
						}
						send_interface_message = {
							type = event_realmsize_good_with_text
							title = corruption_realm_title
							desc = small_realm_lv1_desc
							show_as_tooltip = { add_character_modifier = { modifier = small_realm_lv4 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = small_realm_lv4
						days = 370
					}
				}
				else_if = {
					limit = {
						sub_realm_size >= 0
					}
					if = {
						limit = {
							NOT = { has_character_modifier = small_realm_lv5 }
						}
						send_interface_message = {
							type = event_realmsize_good_with_text
							title = corruption_realm_title
							desc = small_realm_lv1_desc
							show_as_tooltip = { add_character_modifier = { modifier = small_realm_lv5 years = 1 } }
						}
					}
					add_character_modifier = {
						modifier = small_realm_lv5
						days = 370
					}
				}
				else = {  }
			}		
		}
	}
}

gpt_dreadfulness = {
	trigger = {
		OR = {
			has_game_rule = GPT_micro_enabled
			has_game_rule = GPT_micro_land_disabled
		}
	}
	effect = {
		every_ruler = { #Dreadfulness
			if = {
				limit = {
				is_landless_adventurer = no
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					days_as_ruler >= 1000
					dread >= 80
				}
				if = {
					limit = {
						NOT = { has_character_modifier = corruption_dread_lv8 }
					}
					send_interface_message = {
						type = event_dreadfull_bad_with_text
						title = corruption_dread_title
						desc = corruption_dread_dreadful_desc
						show_as_tooltip = { add_character_modifier = { modifier = corruption_dread_lv8 years = 1 } }
					}
				}
				add_character_modifier = {
					modifier = corruption_dread_lv8
					days = 370
				}
			}
			else_if = {
				limit = {
					days_as_ruler >= 1000
					dread >= 60
				}
				if = {
					limit = {
						NOT = { has_character_modifier = corruption_dread_lv7 }
					}
					send_interface_message = {
						type = event_dreadfull_bad_with_text
						title = corruption_dread_title
						desc = corruption_dread_dreadful_desc
						show_as_tooltip = { add_character_modifier = { modifier = corruption_dread_lv7 years = 1 } }
					}
				}
				add_character_modifier = {
					modifier = corruption_dread_lv7
					days = 370
				}
			}
			else_if = {
				limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					days_as_ruler >= 1000
					dread >= 50
				}
				if = {
					limit = {
						NOT = { has_character_modifier = corruption_dread_lv6 }
					}
					send_interface_message = {
						type = event_dreadfull_bad_with_text
						title = corruption_dread_title
						desc = corruption_dread_moderate_desc
						show_as_tooltip = { add_character_modifier = { modifier = corruption_dread_lv6 years = 1 } }
					}
				}
				add_character_modifier = {
					modifier = corruption_dread_lv6
					days = 370
				}
			}
			else_if = {
				limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					days_as_ruler >= 1000
					dread >= 40
				}
				if = {
					limit = {
						NOT = { has_character_modifier = corruption_dread_lv5 }
					}
					send_interface_message = {
						type = event_dreadfull_bad_with_text
						title = corruption_dread_title
						desc = corruption_dread_moderate_desc
						show_as_tooltip = { add_character_modifier = { modifier = corruption_dread_lv5 years = 1 } }
					}
				}
				add_character_modifier = {
					modifier = corruption_dread_lv5
					days = 370
				}
			}
			else_if = {
				limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					days_as_ruler >= 1000
					dread >= 30
				}
				if = {
					limit = {
						NOT = { has_character_modifier = corruption_dread_lv4 }
					}
					send_interface_message = {
						type = event_dreadfull_good_with_text
						title = corruption_peace_title
						desc = corruption_dread_fair_desc
						show_as_tooltip = { add_character_modifier = { modifier = corruption_dread_lv4 years = 1 } }
					}
				}
				add_character_modifier = {
					modifier = corruption_dread_lv4
					days = 370
				}
			}
			else_if = {
				limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					days_as_ruler >= 1000
					dread >= 20
				}
				if = {
					limit = {
						NOT = { has_character_modifier = corruption_dread_lv3 }
					}
					send_interface_message = {
						type = event_dreadfull_good_with_text
						title = corruption_peace_title
						desc = corruption_dread_fair_desc
						show_as_tooltip = { add_character_modifier = { modifier = corruption_dread_lv3 years = 1 } }
					}
				}
				add_character_modifier = {
					modifier = corruption_dread_lv3
					days = 370
				}
			}
			else_if = {
				limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					days_as_ruler >= 1000
					dread >= 10
				}
				if = {
					limit = {
						NOT = { has_character_modifier = corruption_dread_lv2 }
					}
					send_interface_message = {
						type = event_dreadfull_good_with_text
						title = corruption_peace_title
						desc = corruption_dread_inoffensive_desc
						show_as_tooltip = { add_character_modifier = { modifier = corruption_dread_lv2 years = 1 } }
					}
				}
				add_character_modifier = {
					modifier = corruption_dread_lv2
					days = 370
				}
			}
			else_if = {
				limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					days_as_ruler >= 1000
					dread < 10
				}
				if = {
					limit = {
						NOT = { has_character_modifier = corruption_dread_lv1 }
					}
					send_interface_message = {
						type = event_dreadfull_good_with_text
						title = corruption_peace_title
						desc = corruption_dread_inoffensive_desc
						show_as_tooltip = { add_character_modifier = { modifier = corruption_dread_lv1 years = 1 } }
					}
				}
				add_character_modifier = {
					modifier = corruption_dread_lv1
					days = 370
				}
			}
			else = {}
		}
	}
}

gpt_events = {
	trigger = {
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
			has_game_rule = GPT_even_few_events
		}
	}
	effect = {

		every_ruler = { #Anual Reports
			if = {
				limit = {
				is_landless_adventurer = no
			 #	is_at_war = no
			 #	age >= 14
			 #	is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					NOR = {
						# faith = { has_doctrine_parameter = unreformed }
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
						}
						# culture = { has_cultural_tradition = tradition_horse_lords }
					}
				}
				random = {
					chance = @event_chance_5
					random_list = {
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_1_t
								desc = random_domain_malus_1_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_1 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_1
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_2_t
								desc = random_domain_malus_2_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_2 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_2
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_3_t
								desc = random_domain_malus_3_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_3 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_3
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_4_t
								desc = random_domain_malus_4_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_4 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_4
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_5_t
								desc = random_domain_malus_5_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_5 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_5
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_6_t
								desc = random_domain_malus_6_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_6 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_6
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_7_t
								desc = random_domain_malus_7_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_7 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_7
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_8_t
								desc = random_domain_malus_8_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_8 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_8
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_9_t
								desc = random_domain_malus_9_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_9 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_9
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_10_t
								desc = random_domain_malus_10_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_10 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_10
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_11_t
								desc = random_domain_malus_11_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_11 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_11
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_12_t
								desc = random_domain_malus_12_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_12 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_12
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_13_t
								desc = random_domain_malus_13_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_13 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_13
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_14_t
								desc = random_domain_malus_14_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_14 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_14
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_15_t
								desc = random_domain_malus_15_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_15 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_15
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_16_t
								desc = random_domain_malus_16_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_16 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_16
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_17_t
								desc = random_domain_malus_17_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_17 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_17
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_18_t
								desc = random_domain_malus_18_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_18 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_18
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_19_t
								desc = random_domain_malus_19_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_19 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_19
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_20_t
								desc = random_domain_malus_20_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_20 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_20
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_21_t
								desc = random_domain_malus_21_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_21 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_21
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_22_t
								desc = random_domain_malus_22_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_22 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_22
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_23_t
								desc = random_domain_malus_23_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_23 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_23
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_24_t
								desc = random_domain_malus_24_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_24 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_24
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_25_t
								desc = random_domain_malus_25_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_25 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_25
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_26_t
								desc = random_domain_malus_26_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_26 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_26
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_27_t
								desc = random_domain_malus_27_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_27 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_27
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_domain_malus_28_t
								desc = random_domain_malus_28_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_domain_malus_28 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_domain_malus_28
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_1_t
								desc = random_domain_bonus_1_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_1 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_1
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_2_t
								desc = random_domain_bonus_2_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_2 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_2
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_3_t
								desc = random_domain_bonus_3_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_3 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_3
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_4_t
								desc = random_domain_bonus_4_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_4 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_4
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_5_t
								desc = random_domain_bonus_5_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_5 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_5
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_6_t
								desc = random_domain_bonus_6_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_6 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_6
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_7_t
								desc = random_domain_bonus_7_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_7 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_7
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_8_t
								desc = random_domain_bonus_8_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_8 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_8
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_9_t
								desc = random_domain_bonus_9_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_9 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_9
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_10_t
								desc = random_domain_bonus_10_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_10 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_10
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_11_t
								desc = random_domain_bonus_11_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_11 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_11
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_12_t
								desc = random_domain_bonus_12_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_12 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_12
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_13_t
								desc = random_domain_bonus_13_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_13 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_13
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_14_t
								desc = random_domain_bonus_14_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_14 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_14
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_15_t
								desc = random_domain_bonus_15_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_15 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_15
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_16_t
								desc = random_domain_bonus_16_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_16 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_16
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_17_t
								desc = random_domain_bonus_17_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_17 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_17
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_18_t
								desc = random_domain_bonus_18_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_18 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_18
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_19_t
								desc = random_domain_bonus_19_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_19 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_19
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_20_t
								desc = random_domain_bonus_20_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_20 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_20
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_21_t
								desc = random_domain_bonus_21_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_21 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_21
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_22_t
								desc = random_domain_bonus_22_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_22 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_22
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_23_t
								desc = random_domain_bonus_23_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_23 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_23
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_24_t
								desc = random_domain_bonus_24_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_24 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_24
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_25_t
								desc = random_domain_bonus_25_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_25 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_25
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_26_t
								desc = random_domain_bonus_26_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_26 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_26
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_27_t
								desc = random_domain_bonus_27_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_27 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_27
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_domain_bonus_28_t
								desc = random_domain_bonus_28_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_domain_bonus_28 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_domain_bonus_28
								days = 370
							}
						}
					}
				}
			}
		}

		every_ruler = { #War Reports
			if = {
				limit = {
				 #	always = no
				 	is_at_war = yes
					has_raised_armies = yes
					is_landless_adventurer = no
				 #	days_of_continuous_war >= 270
				 #	age >= 14
			 	 #	is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					NOR = {
						# faith = { has_doctrine_parameter = unreformed }
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
						}
						# culture = { has_cultural_tradition = tradition_horse_lords }
					}
				}
				random = {
					chance = @event_chance_6
					random_list = {
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_1_t
								desc = random_war_malus_1_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_1 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_1
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_2_t
								desc = random_war_malus_2_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_2 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_2
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_3_t
								desc = random_war_malus_3_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_3 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_3
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_4_t
								desc = random_war_malus_4_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_4 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_4
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_5_t
								desc = random_war_malus_5_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_5 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_5
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_6_t
								desc = random_war_malus_6_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_6 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_6
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_7_t
								desc = random_war_malus_7_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_7 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_7
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_8_t
								desc = random_war_malus_8_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_8 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_8
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_9_t
								desc = random_war_malus_9_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_9 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_9
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_10_t
								desc = random_war_malus_10_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_10 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_10
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_11_t
								desc = random_war_malus_11_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_11 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_11
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_12_t
								desc = random_war_malus_12_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_12 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_12
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_13_t
								desc = random_war_malus_13_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_13 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_13
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_14_t
								desc = random_war_malus_14_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_14 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_14
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_15_t
								desc = random_war_malus_15_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_15 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_15
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_16_t
								desc = random_war_malus_16_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_16 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_16
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_17_t
								desc = random_war_malus_17_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_17 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_17
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_war_malus_18_t
								desc = random_war_malus_18_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_war_malus_18 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_war_malus_18
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_1_t
								desc = random_war_bonus_1_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_1 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_1
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_2_t
								desc = random_war_bonus_2_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_2 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_2
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_3_t
								desc = random_war_bonus_3_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_3 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_3
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_4_t
								desc = random_war_bonus_4_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_4 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_4
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_5_t
								desc = random_war_bonus_5_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_5 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_5
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_6_t
								desc = random_war_bonus_6_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_6 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_6
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_7_t
								desc = random_war_bonus_7_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_7 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_7
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_8_t
								desc = random_war_bonus_8_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_8 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_8
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_9_t
								desc = random_war_bonus_9_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_9 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_9
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_10_t
								desc = random_war_bonus_10_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_10 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_10
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_11_t
								desc = random_war_bonus_11_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_11 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_11
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_12_t
								desc = random_war_bonus_12_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_12 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_12
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_13_t
								desc = random_war_bonus_13_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_13 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_13
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_14_t
								desc = random_war_bonus_14_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_14 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_14
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_15_t
								desc = random_war_bonus_15_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_15 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_15
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_16_t
								desc = random_war_bonus_16_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_16 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_16
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_17_t
								desc = random_war_bonus_17_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_17 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_17
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_war_bonus_18_t
								desc = random_war_bonus_18_d
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_war_bonus_18 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_war_bonus_18
								days = 370
							}
						}
					}
				}
			}
		}

		every_ruler = { #Tribal/Nomads Anual Reports
			if = {
				limit = {
			 #	is_at_war = no
			 #	age >= 14
			 #	is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					OR = {
						# faith = { has_doctrine_parameter = unreformed }
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
						}
						# culture = { has_cultural_tradition = tradition_horse_lords }
					}
				}
				random = {
					chance = @event_chance_5
					random_list = {
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_1_t
								desc = random_tribal_malus_1_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_1 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_1
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_2_t
								desc = random_tribal_malus_2_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_2 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_2
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_3_t
								desc = random_tribal_malus_3_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_3 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_3
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_4_t
								desc = random_tribal_malus_4_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_4 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_4
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_5_t
								desc = random_tribal_malus_5_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_5 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_5
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_6_t
								desc = random_tribal_malus_6_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_6 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_6
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_7_t
								desc = random_tribal_malus_7_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_7 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_7
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_8_t
								desc = random_tribal_malus_8_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_8 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_8
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_9_t
								desc = random_tribal_malus_9_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_9 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_9
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_10_t
								desc = random_tribal_malus_10_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_10 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_10
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_11_t
								desc = random_tribal_malus_11_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_11 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_11
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_12_t
								desc = random_tribal_malus_12_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_12 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_12
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_bad_with_text
								title = random_tribal_malus_13_t
								desc = random_tribal_malus_13_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_malus_13 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_malus_13
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_1_t
								desc = random_tribal_bonus_1_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_1 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_1
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_2_t
								desc = random_tribal_bonus_2_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_2 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_2
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_3_t
								desc = random_tribal_bonus_3_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_3 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_3
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_4_t
								desc = random_tribal_bonus_4_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_4 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_4
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_5_t
								desc = random_tribal_bonus_5_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_5 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_5
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_6_t
								desc = random_tribal_bonus_6_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_6 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_6
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_7_t
								desc = random_tribal_bonus_7_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_7 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_7
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_8_t
								desc = random_tribal_bonus_8_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_8 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_8
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_9_t
								desc = random_tribal_bonus_9_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_9 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_9
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_10_t
								desc = random_tribal_bonus_10_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_10 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_10
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_11_t
								desc = random_tribal_bonus_11_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_11 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_11
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_12_t
								desc = random_tribal_bonus_12_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_12 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_12
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_report_good_with_text
								title = random_tribal_bonus_13_t
								desc = random_tribal_bonus_13_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_bonus_13 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_bonus_13
								days = 370
							}
						}
					}
				}
			}
		}

		every_ruler = { #Tribal/Nomads War Reports
			if = {
				limit = {
				#	always = no
					is_at_war = yes
					has_raised_armies = yes
				 #	days_of_continuous_war >= 270
				 #	age >= 14
				 #	is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					OR = {
						# faith = { has_doctrine_parameter = unreformed }
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
						}
						# culture = { has_cultural_tradition = tradition_horse_lords }
					}
				}
				random = {
					chance = @event_chance_6
					random_list = {
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_1_t
								desc = random_tribal_war_malus_1_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_1 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_1
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_2_t
								desc = random_tribal_war_malus_2_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_2 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_2
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_3_t
								desc = random_tribal_war_malus_3_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_3 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_3
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_4_t
								desc = random_tribal_war_malus_4_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_4 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_4
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_5_t
								desc = random_tribal_war_malus_5_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_5 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_5
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_6_t
								desc = random_tribal_war_malus_6_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_6 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_6
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_7_t
								desc = random_tribal_war_malus_7_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_7 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_7
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_8_t
								desc = random_tribal_war_malus_8_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_8 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_8
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_9_t
								desc = random_tribal_war_malus_9_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_9 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_9
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_10_t
								desc = random_tribal_war_malus_10_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_10 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_10
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_11_t
								desc = random_tribal_war_malus_11_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_11 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_11
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_12_t
								desc = random_tribal_war_malus_12_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_12 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_12
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_13_t
								desc = random_tribal_war_malus_13_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_13 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_13
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_14_t
								desc = random_tribal_war_malus_14_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_14 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_14
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_15_t
								desc = random_tribal_war_malus_15_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_15 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_15
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_16_t
								desc = random_tribal_war_malus_16_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_16 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_16
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_17_t
								desc = random_tribal_war_malus_17_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_17 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_17
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_bad_with_text
								title = random_tribal_war_malus_18_t
								desc = random_tribal_war_malus_18_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = random_tribal_war_malus_18 years = 1 } }
							}
							add_stress = @stress_p1
							add_character_modifier = {
								modifier = random_tribal_war_malus_18
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_1_t
								desc = random_tribal_war_bonus_1_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_1 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_1
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_2_t
								desc = random_tribal_war_bonus_2_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_2 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_2
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_3_t
								desc = random_tribal_war_bonus_3_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_3 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_3
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_4_t
								desc = random_tribal_war_bonus_4_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_4 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_4
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_5_t
								desc = random_tribal_war_bonus_5_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_5 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_5
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_6_t
								desc = random_tribal_war_bonus_6_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_6 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_6
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_7_t
								desc = random_tribal_war_bonus_7_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_7 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_7
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_8_t
								desc = random_tribal_war_bonus_8_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_8 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_8
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_9_t
								desc = random_tribal_war_bonus_9_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_9 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_9
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_10_t
								desc = random_tribal_war_bonus_10_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_10 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_10
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_11_t
								desc = random_tribal_war_bonus_11_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_11 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_11
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_12_t
								desc = random_tribal_war_bonus_12_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_12 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_12
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_13_t
								desc = random_tribal_war_bonus_13_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_13 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_13
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_14_t
								desc = random_tribal_war_bonus_14_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_14 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_14
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_15_t
								desc = random_tribal_war_bonus_15_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_15 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_15
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_16_t
								desc = random_tribal_war_bonus_16_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_16 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_16
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_17_t
								desc = random_tribal_war_bonus_17_d
							#	left_icon = root
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_17 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_17
								days = 370
							}
						}
						1 = {
							send_interface_message = {
								type = event_waralert_good_with_text
								title = random_tribal_war_bonus_18_t
								desc = random_tribal_war_bonus_18_d
								show_as_tooltip = { add_stress = @stress_n1 add_character_modifier = { modifier = random_tribal_war_bonus_18 years = 1 } }
							}
							add_stress = @stress_n1
							add_character_modifier = {
								modifier = random_tribal_war_bonus_18
								days = 370
							}
						}
					}
				}	
			}
		}
	}
}

gpt_diary_events = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
			has_game_rule = GPT_even_few_events
		}
	}
	effect = {

	#	every_ruler = { #Ruler's Diary
			if = {
				limit = {
					has_active_diarchy = no
					age >= 14
					OR = {
						is_landed = yes
						government_has_flag = government_is_administrative
					}
					highest_held_title_tier >= 2 is_imprisoned = no
					is_imprisoned = no
					is_at_war = no
					has_dynasty = yes
					NOR = {
						# faith = { has_doctrine_parameter = unreformed }
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
						}
						# culture = { has_cultural_tradition = tradition_horse_lords }
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_2
							has_dynasty = yes
						}
					}
					random = {
						chance = {
							value = martial
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = diary_event_1_t
							desc = diary_event_1_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } add_character_modifier = { modifier = diary_event_1 years = 1 } }
						}
						add_stress = @stress_n2
						if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes }
						add_character_modifier = {
							modifier = diary_event_1
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_1
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_martial_bad_with_text_gpt
							title = diary_event_2_t
							desc = diary_event_2_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } add_character_modifier = { modifier = diary_event_2 years = 1 } }
						}
						add_stress = @stress_p2
						if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes }
						add_character_modifier = {
							modifier = diary_event_2
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_4
						}
					}
					random = {
						chance = {
							value = learning
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = diary_event_3_t
							desc = diary_event_3_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } add_character_modifier = { modifier = diary_event_3 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes }
						add_character_modifier = {
							modifier = diary_event_3
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_3
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_learning_bad_with_text_gpt
							title = diary_event_4_t
							desc = diary_event_4_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } add_character_modifier = { modifier = diary_event_4 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes }
						add_character_modifier = {
							modifier = diary_event_4
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_6
						}
					}
					random = {
						chance = {
							value = intrigue
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = diary_event_5_t
							desc = diary_event_5_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes  add_character_modifier = { modifier = diary_event_5 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_5
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_5
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_intrigue_bad_with_text_gpt
							title = diary_event_6_t
							desc = diary_event_6_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = diary_event_6 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_6
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_8
						}
					}
					random = {
						chance = {
							value = stewardship
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = diary_event_7_t
							desc = diary_event_7_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } add_character_modifier = { modifier = diary_event_7 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes }
						add_character_modifier = {
							modifier = diary_event_7
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_7
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_stewardship_bad_with_text_gpt
							title = diary_event_8_t
							desc = diary_event_8_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } add_character_modifier = { modifier = diary_event_8 years = 1 } }
						}	
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
						add_character_modifier = {
							modifier = diary_event_8
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_10
						}
					}
					random = {
						chance = {
							value = diplomacy
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = diary_event_9_t
							desc = diary_event_9_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } add_character_modifier = { modifier = diary_event_9 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes }
						add_character_modifier = {
							modifier = diary_event_9
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_9
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_diplomacy_bad_with_text_gpt
							title = diary_event_10_t
							desc = diary_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } add_character_modifier = { modifier = diary_event_10 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes }
						add_character_modifier = {
							modifier = diary_event_10
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_12
						}
					}
					random = {
						chance = {
							value = learning
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = diary_event_11_t
							desc = diary_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } add_character_modifier = { modifier = diary_event_11 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes }
						add_character_modifier = {
							modifier = diary_event_11
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_11
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_learning_bad_with_text_gpt
							title = diary_event_12_t
							desc = diary_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } add_character_modifier = { modifier = diary_event_12 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes }
						add_character_modifier = {
							modifier = diary_event_12
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_14
						}
					}
					random = {
						chance = {
							value = stewardship
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = diary_event_13_t
							desc = diary_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } add_character_modifier = { modifier = diary_event_13 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes }
						add_character_modifier = {
							modifier = diary_event_13
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_13
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_stewardship_bad_with_text_gpt
							title = diary_event_14_t
							desc = diary_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } add_character_modifier = { modifier = diary_event_14 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
						add_character_modifier = {
							modifier = diary_event_14
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_16
						}
					}
					random = {
						chance = {
							value = martial
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = diary_event_15_t
							desc = diary_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes }  add_character_modifier = { modifier = diary_event_15 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } 
						add_character_modifier = {
							modifier = diary_event_15
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_15
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_martial_bad_with_text_gpt
							title = diary_event_16_t
							desc = diary_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } add_character_modifier = { modifier = diary_event_16 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } 
						add_character_modifier = {
							modifier = diary_event_16
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_18
						}
					}
					random = {
						chance = {
							value = intrigue
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = diary_event_17_t
							desc = diary_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = diary_event_17 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_17
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_17
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_intrigue_bad_with_text_gpt
							title = diary_event_18_t
							desc = diary_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = diary_event_18 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_18
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_20
						}
					}
					random = {
						chance = {
							value = diplomacy
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = diary_event_19_t
							desc = diary_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } add_character_modifier = { modifier = diary_event_19 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes }
						add_character_modifier = {
							modifier = diary_event_19
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_19
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_diplomacy_bad_with_text_gpt
							title = diary_event_20_t
							desc = diary_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } add_character_modifier = { modifier = diary_event_20 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes }
						add_character_modifier = {
							modifier = diary_event_20
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_22
						}
					}
					random = {
						chance = {
							value = dread
							divide = 20
							max = 2
						}
						send_interface_message = {
							type = event_dread_good_with_text_gpt
							title = diary_event_21_t
							desc = diary_event_21_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = diary_event_21 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_21
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_21
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_dread_bad_with_text_gpt
							title = diary_event_22_t
							desc = diary_event_22_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = diary_event_22 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_22
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_24
						}
					}
					random = {
						chance = {
							value = dread
							divide = 20
							max = 2
						}
						send_interface_message = {
							type = event_dread_good_with_text_gpt
							title = diary_event_23_t
							desc = diary_event_23_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = diary_event_23 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_23
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_23
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_dread_bad_with_text_gpt
							title = diary_event_24_t
							desc = diary_event_24_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = diary_event_24 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_24
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_26
						}
					}
					random = {
						chance = {
							value = prowess
							divide = 12
							max = 2
						}
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = diary_event_25_t
							desc = diary_event_25_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = diary_event_25 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_25
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_25
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_prowess_bad_with_text_gpt
							title = diary_event_26_t
							desc = diary_event_26_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = diary_event_26 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_26
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_28
						}
					}
					random = {
						chance = {
							value = prowess
							divide = 12
							max = 2
						}
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = diary_event_27_t
							desc = diary_event_27_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = diary_event_27 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_27
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = diary_event_27
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_prowess_bad_with_text_gpt
							title = diary_event_28_t
							desc = diary_event_28_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = diary_event_28 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = diary_event_28
							days = 370
						}
					}
				}
			}
	#	}

	#	every_ruler = { #Tribal/Nomads Events
			if = {
				limit = {
					has_dynasty = yes
			 	age >= 14
				has_active_diarchy = no
			 	is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
					is_imprisoned = no
					OR = {
						# faith = { has_doctrine_parameter = unreformed }
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
						}
						# culture = { has_cultural_tradition = tradition_horse_lords }
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_2
						}
					}
					random = {
						chance = {
							value = martial
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = tribal_diary_event_1_t
							desc = tribal_diary_event_1_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes }  add_character_modifier = { modifier = tribal_diary_event_1 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } 
						add_character_modifier = {
							modifier = tribal_diary_event_1
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_1
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_martial_bad_with_text_gpt
							title = tribal_diary_event_2_t
							desc = tribal_diary_event_2_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes }  add_character_modifier = { modifier = tribal_diary_event_2 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } 
						add_character_modifier = {
							modifier = tribal_diary_event_2
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_4
						}
					}
					random = {
						chance = {
							value = learning
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = tribal_diary_event_3_t
							desc = tribal_diary_event_3_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } add_character_modifier = { modifier = tribal_diary_event_3 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_3
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_3
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_learning_bad_with_text_gpt
							title = tribal_diary_event_4_t
							desc = tribal_diary_event_4_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } add_character_modifier = { modifier = tribal_diary_event_4 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_4
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_6
						}
					}
					random = {
						chance = {
							value = intrigue
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = tribal_diary_event_5_t
							desc = tribal_diary_event_5_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_5 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_5
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_5
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_intrigue_bad_with_text_gpt
							title = tribal_diary_event_6_t
							desc = tribal_diary_event_6_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_6 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_6
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_8
						}
					}
					random = {
						chance = {
							value = stewardship
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = tribal_diary_event_7_t
							desc = tribal_diary_event_7_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } add_character_modifier = { modifier = tribal_diary_event_7 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_7
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_7
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_stewardship_bad_with_text_gpt
							title = tribal_diary_event_8_t
							desc = tribal_diary_event_8_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } add_character_modifier = { modifier = tribal_diary_event_8 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_8
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_10
						}
					}
					random = {
						chance = {
							value = diplomacy
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = tribal_diary_event_9_t
							desc = tribal_diary_event_9_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } add_character_modifier = { modifier = tribal_diary_event_9 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_9
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_9
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_diplomacy_bad_with_text_gpt
							title = tribal_diary_event_10_t
							desc = tribal_diary_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_diary_prestige = yes add_character_modifier = { modifier = tribal_diary_event_10 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_diary_prestige = yes
						add_character_modifier = {
							modifier = tribal_diary_event_10
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_12
						}
					}
					random = {
						chance = {
							value = learning
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = tribal_diary_event_11_t
							desc = tribal_diary_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } add_character_modifier = { modifier = tribal_diary_event_11 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_11
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_11
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_learning_bad_with_text_gpt
							title = tribal_diary_event_12_t
							desc = tribal_diary_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } add_character_modifier = { modifier = tribal_diary_event_12 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_12
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_14
						}
					}
					random = {
						chance = {
							value = stewardship
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = tribal_diary_event_13_t
							desc = tribal_diary_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } add_character_modifier = { modifier = tribal_diary_event_13 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_13
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_13
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_stewardship_bad_with_text_gpt
							title = tribal_diary_event_14_t
							desc = tribal_diary_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } add_character_modifier = { modifier = tribal_diary_event_14 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_14
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_16
						}
					}
					random = {
						chance = {
							value = martial
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = tribal_diary_event_15_t
							desc = tribal_diary_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes }  add_character_modifier = { modifier = tribal_diary_event_15 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } 
						add_character_modifier = {
							modifier = tribal_diary_event_15
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_15
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_martial_bad_with_text_gpt
							title = tribal_diary_event_16_t
							desc = tribal_diary_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } add_character_modifier = { modifier = tribal_diary_event_16 years = 1 } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } 
						add_character_modifier = {
							modifier = tribal_diary_event_16
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_18
						}
					}
					random = {
						chance = {
							value = intrigue
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = tribal_diary_event_17_t
							desc = tribal_diary_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_17 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_17
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_17
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_intrigue_bad_with_text_gpt
							title = tribal_diary_event_18_t
							desc = tribal_diary_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_18 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_18
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_20
						}
					}
					random = {
						chance = {
							value = diplomacy
							divide = 8
							max = 2
						}
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = tribal_diary_event_19_t
							desc = tribal_diary_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } add_character_modifier = { modifier = tribal_diary_event_19 years = 1 } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes }
						add_character_modifier = {
							modifier = tribal_diary_event_19
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_19
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_diplomacy_bad_with_text_gpt
							title = tribal_diary_event_20_t
							desc = tribal_diary_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_diary_prestige = yes add_character_modifier = { modifier = tribal_diary_event_20 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_diary_prestige = yes
						add_character_modifier = {
							modifier = tribal_diary_event_20
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_22
						}
					}
					random = {
						chance = {
							value = dread
							divide = 20
							max = 2
						}
						send_interface_message = {
							type = event_dread_good_with_text_gpt
							title = tribal_diary_event_21_t
							desc = tribal_diary_event_21_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_21 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_21
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_21
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_dread_bad_with_text_gpt
							title = tribal_diary_event_22_t
							desc = tribal_diary_event_22_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_22 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_22
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_24
						}
					}
					random = {
						chance = {
							value = dread
							divide = 20
							max = 2
						}
						send_interface_message = {
							type = event_dread_good_with_text_gpt
							title = tribal_diary_event_23_t
							desc = tribal_diary_event_23_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_23 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_23
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_23
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_dread_bad_with_text_gpt
							title = tribal_diary_event_24_t
							desc = tribal_diary_event_24_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_24 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_24
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_26
						}
					}
					random = {
						chance = {
							value = prowess
							divide = 12
							max = 2
						}
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = tribal_diary_event_25_t
							desc = tribal_diary_event_25_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_25 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_25
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_25
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_prowess_bad_with_text_gpt
							title = tribal_diary_event_26_t
							desc = tribal_diary_event_26_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_26 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_26
							days = 370
						}
					}
				}
				##########################
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_28
						}
					}
					random = {
						chance = {
							value = prowess
							divide = 12
							max = 2
						}
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = tribal_diary_event_27_t
							desc = tribal_diary_event_27_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 gpt_effect_add_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_27 years = 1 } }
						}
						add_stress = @stress_n2 gpt_effect_add_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_27
							days = 370
						}
					}
				}
				if = {
					limit = {
						NOR = {
							has_character_modifier = tribal_diary_event_27
						}
					}
					random = {
						chance = 1
						send_interface_message = {
							type = event_prowess_bad_with_text_gpt
							title = tribal_diary_event_28_t
							desc = tribal_diary_event_28_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes add_character_modifier = { modifier = tribal_diary_event_28 years = 1 } }
						}
						add_stress = @stress_p2 gpt_effect_remove_dread_15 = yes
						add_character_modifier = {
							modifier = tribal_diary_event_28
							days = 370
						}
					}
				}
			}
	#	}
	}
}


gpt_2_herald = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
			 #	NOT = { has_trait = gpt_absent }
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = domain_size
					multiply = @event_chance_0
					if = { limit = { domain_size = 1 } add = 10 }
					if = { limit = { domain_size = 2 } add = 5 }
					if = { limit = { domain_size = 5 } add = -10 }
					if = { limit = { domain_size = 6 } add = -20 }
					if = { limit = { domain_size = 7 } add = -30 }
					if = { limit = { domain_size = 8 } add = -40 }
					if = { limit = { domain_size >= 9 } add = -50 }
				}
				random_held_county = { save_scope_as = rnd_county }
				random_list = {
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_01_t
							desc = random_herald_malus_01_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_01 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_01 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = stewardship }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_01_t
							desc = random_herald_bonus_01_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_01 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_01 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_03_t
							desc = random_herald_malus_03_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_01 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_01 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = stewardship }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_03_t
							desc = random_herald_bonus_03_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_01 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_01 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_10_t
							desc = random_herald_malus_10_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_01 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_01 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = stewardship }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_10_t
							desc = random_herald_bonus_10_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_01 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_01 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_29_t
							desc = random_herald_malus_29_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_01 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_01 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = stewardship }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_29_t
							desc = random_herald_bonus_29_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_01 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_01 years = 5	} } add_stress = @stress_n1 
					}
					######



					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_02_t
							desc = random_herald_malus_02_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_02 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_02 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = diplomacy }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_02_t
							desc = random_herald_bonus_02_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_02 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_02 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_07_t
							desc = random_herald_malus_07_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_02 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_02 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = diplomacy }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_07_t
							desc = random_herald_bonus_07_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_02 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_02 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_23_t
							desc = random_herald_malus_23_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_02 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_02 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = diplomacy }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_23_t
							desc = random_herald_bonus_23_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_02 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_02 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_32_t
							desc = random_herald_malus_32_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_02 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_02 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = diplomacy }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_32_t
							desc = random_herald_bonus_32_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_02 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_02 years = 5	} } add_stress = @stress_n1 
					}
					######
					


					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_04_t
							desc = random_herald_malus_04_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_04 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_04 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = intrigue }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_04_t
							desc = random_herald_bonus_04_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_04 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_04 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_15_t
							desc = random_herald_malus_15_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_04 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_04 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = intrigue }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_15_t
							desc = random_herald_bonus_15_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_04 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_04 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_27_t
							desc = random_herald_malus_27_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_04 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_04 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = intrigue }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_27_t
							desc = random_herald_bonus_27_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_04 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_04 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_30_t
							desc = random_herald_malus_30_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_04 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_04 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = intrigue }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_30_t
							desc = random_herald_bonus_30_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_04 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_04 years = 5	} } add_stress = @stress_n1 
					}
					######



					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_05_t
							desc = random_herald_malus_05_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_05 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_05 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = martial }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_05_t
							desc = random_herald_bonus_05_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_05 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_05 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_08_t
							desc = random_herald_malus_08_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_05 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_05 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = martial }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_08_t
							desc = random_herald_bonus_08_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_05 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_05 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_18_t
							desc = random_herald_malus_18_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_05 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_05 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = martial }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_18_t
							desc = random_herald_bonus_18_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_05 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_05 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_28_t
							desc = random_herald_malus_28_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_05 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_05 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = martial }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_28_t
							desc = random_herald_bonus_28_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_05 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_05 years = 5	} } add_stress = @stress_n1 
					}
					######


					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_06_t
							desc = random_herald_malus_06_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_03 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_03 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = learning }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_06_t
							desc = random_herald_bonus_06_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_03 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_03 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_12_t
							desc = random_herald_malus_12_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_03 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_03 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = learning }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_12_t
							desc = random_herald_bonus_12_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_03 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_03 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_14_t
							desc = random_herald_malus_14_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_03 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_03 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = learning }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_14_t
							desc = random_herald_bonus_14_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_03 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_03 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = random_herald_malus_31_t
							desc = random_herald_malus_31_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_03 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_malus_03 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = learning }
						send_interface_message = {
							type = event_herald_good_with_text
							title = random_herald_bonus_31_t
							desc = random_herald_bonus_31_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_03 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = random_herald_bonus_03 years = 5	} } add_stress = @stress_n1 
					}
					######
				}
			}
		}
	}
}

gpt_2_herald_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
			 #	NOT = { has_trait = gpt_absent }
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = domain_size
					multiply = @event_chance_0
					if = { limit = { domain_size = 1 } add = 10 }
					if = { limit = { domain_size = 2 } add = 5 }
					if = { limit = { domain_size = 5 } add = -10 }
					if = { limit = { domain_size = 6 } add = -20 }
					if = { limit = { domain_size = 7 } add = -30 }
					if = { limit = { domain_size = 8 } add = -40 }
					if = { limit = { domain_size >= 9 } add = -50 }
				}
				random_held_county = { save_scope_as = rnd_county }
				random_list = {
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_01_t
							desc = tribal_random_herald_malus_01_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_01 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_01 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = stewardship }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_01_t
							desc = tribal_random_herald_bonus_01_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_01 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_01 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_06_t
							desc = tribal_random_herald_malus_06_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_01 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_01 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = stewardship }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_06_t
							desc = tribal_random_herald_bonus_06_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_01 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_01 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_11_t
							desc = tribal_random_herald_malus_11_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_01 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_01 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = stewardship }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_11_t
							desc = tribal_random_herald_bonus_11_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_01 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_01 years = 5	} } add_stress = @stress_n1 
					}
					######





					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_03_t
							desc = tribal_random_herald_malus_02_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_02 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_02 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = diplomacy }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_03_t
							desc = tribal_random_herald_bonus_03_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_02 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_02 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_07_t
							desc = tribal_random_herald_malus_07_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_02 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_02 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = diplomacy }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_07_t
							desc = tribal_random_herald_bonus_07_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_02 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_02 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_15_t
							desc = tribal_random_herald_malus_15_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_02 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_02 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = diplomacy }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_15_t
							desc = tribal_random_herald_bonus_15_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_02 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_02 years = 5	} } add_stress = @stress_n1 
					}
					######

					


					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_04_t
							desc = tribal_random_herald_malus_04_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_04 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_04 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = intrigue }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_04_t
							desc = tribal_random_herald_bonus_04_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_04 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_04 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_09_t
							desc = tribal_random_herald_malus_09_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_04 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_04 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = intrigue }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_09_t
							desc = tribal_random_herald_bonus_09_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_04 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_04 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_14_t
							desc = tribal_random_herald_malus_14_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_04 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_04 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = intrigue }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_14_t
							desc = tribal_random_herald_bonus_14_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_04 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_04 years = 5	} } add_stress = @stress_n1 
					}
					######





					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_05_t
							desc = tribal_random_herald_malus_05_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_05 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_05 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = martial }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_05_t
							desc = tribal_random_herald_bonus_05_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_05 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_05 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_10_t
							desc = tribal_random_herald_malus_10_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_05 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_05 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = martial }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_10_t
							desc = tribal_random_herald_bonus_10_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_05 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_05 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_13_t
							desc = tribal_random_herald_malus_13_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_05 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_05 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = martial }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_13_t
							desc = tribal_random_herald_bonus_13_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_05 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_05 years = 5	} } add_stress = @stress_n1 
					}
					######


					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_02_t
							desc = tribal_random_herald_malus_02_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_03 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_03 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = learning }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_02_t
							desc = tribal_random_herald_bonus_02_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_03 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_03 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_08_t
							desc = tribal_random_herald_malus_08_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_03 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_03 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = learning }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_08_t
							desc = tribal_random_herald_bonus_08_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_03 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_03 years = 5	} } add_stress = @stress_n1 
					}
					######
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_herald_bad_with_text
							title = tribal_random_herald_malus_14_t
							desc = tribal_random_herald_malus_14_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_03 years = 5 } } add_stress = @stress_p1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_malus_03 years = 5	} } add_stress = @stress_p1 
					}
					0 = { # POSITIVE
						modifier = { add = learning }
						send_interface_message = {
							type = event_herald_good_with_text
							title = tribal_random_herald_bonus_14_t
							desc = tribal_random_herald_bonus_14_d
							left_icon = root
							show_as_tooltip = { scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_03 years = 5 } } add_stress = @stress_n1 }
						}
						scope:rnd_county = { add_county_modifier = { modifier = tribal_random_herald_bonus_03 years = 5	} } add_stress = @stress_n1 
					}
					######
				}
			}
		}
	}
}



gpt_minor_stress = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				stress_level = 1
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_01_t
							desc = diary_stress_event_01_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_02_t
							desc = diary_stress_event_02_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_03_t
							desc = diary_stress_event_03_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_04_t
							desc = diary_stress_event_04_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_05_t
							desc = diary_stress_event_05_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_06_t
							desc = diary_stress_event_06_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_07_t
							desc = diary_stress_event_07_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_08_t
							desc = diary_stress_event_08_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_09_t
							desc = diary_stress_event_09_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_10_t
							desc = diary_stress_event_10_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_11_t
							desc = diary_stress_event_11_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_12_t
							desc = diary_stress_event_12_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_13_t
							desc = diary_stress_event_13_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_14_t
							desc = diary_stress_event_14_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_15_t
							desc = diary_stress_event_15_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_16_t
							desc = diary_stress_event_16_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_17_t
							desc = diary_stress_event_17_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_18_t
							desc = diary_stress_event_18_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_19_t
							desc = diary_stress_event_19_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_20_t
							desc = diary_stress_event_20_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_21_t
							desc = diary_stress_event_21_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_22_t
							desc = diary_stress_event_22_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_23_t
							desc = diary_stress_event_23_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_24_t
							desc = diary_stress_event_24_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_25_t
							desc = diary_stress_event_25_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_26_t
							desc = diary_stress_event_26_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_27_t
							desc = diary_stress_event_27_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_28_t
							desc = diary_stress_event_28_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_29_t
							desc = diary_stress_event_29_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_stress_event_30_t
							desc = diary_stress_event_30_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
				}
			}
		}
	}
}

gpt_high_stress = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				stress_level = 2
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_01_t
							desc = diary_high_stress_event_01_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}

						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_02_t
							desc = diary_high_stress_event_02_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_03_t
							desc = diary_high_stress_event_03_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_04_t
							desc = diary_high_stress_event_04_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_05_t
							desc = diary_high_stress_event_05_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_06_t
							desc = diary_high_stress_event_06_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_07_t
							desc = diary_high_stress_event_07_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_08_t
							desc = diary_high_stress_event_08_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_09_t
							desc = diary_high_stress_event_09_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_10_t
							desc = diary_high_stress_event_10_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_11_t
							desc = diary_high_stress_event_11_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_12_t
							desc = diary_high_stress_event_12_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_13_t
							desc = diary_high_stress_event_13_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_14_t
							desc = diary_high_stress_event_14_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_15_t
							desc = diary_high_stress_event_15_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_16_t
							desc = diary_high_stress_event_16_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_17_t
							desc = diary_high_stress_event_17_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_18_t
							desc = diary_high_stress_event_18_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_19_t
							desc = diary_high_stress_event_19_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_20_t
							desc = diary_high_stress_event_20_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_21_t
							desc = diary_high_stress_event_21_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_22_t
							desc = diary_high_stress_event_22_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_23_t
							desc = diary_high_stress_event_23_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_24_t
							desc = diary_high_stress_event_24_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_25_t
							desc = diary_high_stress_event_25_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_26_t
							desc = diary_high_stress_event_26_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_27_t
							desc = diary_high_stress_event_27_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_28_t
							desc = diary_high_stress_event_28_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_29_t
							desc = diary_high_stress_event_29_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_event_30_t
							desc = diary_high_stress_event_30_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
				}
			}
		}
	}
}

gpt_breakdown_stress = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				stress_level = 3
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_breakdown_01_t
							desc = diary_high_stress_breakdown_01_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_breakdown_02_t
							desc = diary_high_stress_breakdown_02_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_breakdown_03_t
							desc = diary_high_stress_breakdown_03_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_breakdown_04_t
							desc = diary_high_stress_breakdown_04_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_breakdown_05_t
							desc = diary_high_stress_breakdown_05_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_breakdown_06_t
							desc = diary_high_stress_breakdown_06_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_breakdown_07_t
							desc = diary_high_stress_breakdown_07_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = diary_high_stress_breakdown_08_t
							desc = diary_high_stress_breakdown_08_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
				}
			}
		}
	}
}

gpt_rival_hostility = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				OR = {
					num_of_relation_rival >= 1
					num_of_relation_nemesis >= 1
				}
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = intrigue multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_spymaster
						}
						add = { value = cp:councillor_spymaster.intrigue multiply = -2 }
					}
				}
				random_list = {
					0 = { # CASUAL
						modifier = { add = 15 num_of_relation_rival >= 1 }
						modifier = { add = 15 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_casual_01_t
							desc = random_rival_hostility_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }				
					}
					0 = { # WORRING
						modifier = { add = 30 num_of_relation_rival >= 2 }
						modifier = { add = 30 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_worrying_01_t
							desc = random_rival_hostility_worrying_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_mortal_01_t
							desc = random_rival_hostility_mortal_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 num_of_relation_rival >= 1 }
						modifier = { add = 15 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_casual_02_t
							desc = random_rival_hostility_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 num_of_relation_rival >= 2 }
						modifier = { add = 30 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_worrying_02_t
							desc = random_rival_hostility_worrying_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_mortal_02_t
							desc = random_rival_hostility_mortal_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 num_of_relation_rival >= 1 }
						modifier = { add = 15 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_casual_03_t
							desc = random_rival_hostility_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 num_of_relation_rival >= 2 }
						modifier = { add = 30 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_worrying_03_t
							desc = random_rival_hostility_worrying_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_mortal_03_t
							desc = random_rival_hostility_mortal_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 num_of_relation_rival >= 1 }
						modifier = { add = 15 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_casual_04_t
							desc = random_rival_hostility_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 num_of_relation_rival >= 2 }
						modifier = { add = 30 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_worrying_04_t
							desc = random_rival_hostility_worrying_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_mortal_04_t
							desc = random_rival_hostility_mortal_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 num_of_relation_rival >= 1 }
						modifier = { add = 15 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_casual_05_t
							desc = random_rival_hostility_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 num_of_relation_rival >= 2 }
						modifier = { add = 30 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_worrying_05_t
							desc = random_rival_hostility_worrying_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_mortal_05_t
							desc = random_rival_hostility_mortal_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 num_of_relation_rival >= 1 }
						modifier = { add = 15 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_casual_06_t
							desc = random_rival_hostility_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 num_of_relation_rival >= 2 }
						modifier = { add = 30 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_worrying_06_t
							desc = random_rival_hostility_worrying_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_mortal_06_t
							desc = random_rival_hostility_mortal_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 num_of_relation_rival >= 1 }
						modifier = { add = 15 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_casual_07_t
							desc = random_rival_hostility_casual_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 num_of_relation_rival >= 2 }
						modifier = { add = 30 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_worrying_07_t
							desc = random_rival_hostility_worrying_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_mortal_07_t
							desc = random_rival_hostility_mortal_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 num_of_relation_rival >= 1 }
						modifier = { add = 15 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_casual_08_t
							desc = random_rival_hostility_casual_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 num_of_relation_rival >= 2 }
						modifier = { add = 30 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_worrying_08_t
							desc = random_rival_hostility_worrying_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_mortal_08_t
							desc = random_rival_hostility_mortal_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 num_of_relation_rival >= 1 }
						modifier = { add = 15 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_casual_09_t
							desc = random_rival_hostility_casual_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 num_of_relation_rival >= 2 }
						modifier = { add = 30 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_worrying_09_t
							desc = random_rival_hostility_worrying_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_rival_hostility_mortal_09_t
							desc = random_rival_hostility_mortal_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
				}
			}
		}
	}
}

gpt_vassal_antagonism = {
	trigger = {
		is_landless_adventurer = no
		NOT = { government_has_flag = government_is_administrative }
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					any_vassal = {
						percent >= @percent_vassal_1
						opinion = {
							target = root
							value <= -50
						}
					}
					any_powerful_vassal = {
						count >= 1
						opinion = {
							target = root
							value <= -50
						}
					}
				}
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = diplomacy multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_chancellor
						}
						add = { value = cp:councillor_chancellor.diplomacy multiply = -2 }
					}
				}
				random_list = {
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_01_t
							desc = random_vassal_antagonism_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_01_t
							desc = random_vassal_antagonism_worrying_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_01_t
							desc = random_vassal_antagonism_dangerous_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_02_t
							desc = random_vassal_antagonism_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_02_t
							desc = random_vassal_antagonism_worrying_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_02_t
							desc = random_vassal_antagonism_dangerous_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_03_t
							desc = random_vassal_antagonism_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_03_t
							desc = random_vassal_antagonism_worrying_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_03_t
							desc = random_vassal_antagonism_dangerous_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_04_t
							desc = random_vassal_antagonism_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_04_t
							desc = random_vassal_antagonism_worrying_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_04_t
							desc = random_vassal_antagonism_dangerous_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_05_t
							desc = random_vassal_antagonism_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_05_t
							desc = random_vassal_antagonism_worrying_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_05_t
							desc = random_vassal_antagonism_dangerous_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_06_t
							desc = random_vassal_antagonism_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_06_t
							desc = random_vassal_antagonism_worrying_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_06_t
							desc = random_vassal_antagonism_dangerous_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_07_t
							desc = random_vassal_antagonism_casual_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_07_t
							desc = random_vassal_antagonism_worrying_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_07_t
							desc = random_vassal_antagonism_dangerous_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_08_t
							desc = random_vassal_antagonism_casual_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_08_t
							desc = random_vassal_antagonism_worrying_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_08_t
							desc = random_vassal_antagonism_dangerous_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_09_t
							desc = random_vassal_antagonism_casual_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_09_t
							desc = random_vassal_antagonism_worrying_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_09_t
							desc = random_vassal_antagonism_dangerous_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
				}
			}
		}
	}
}

gpt_disloyal_knights = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				any_knight = {
					percent >= @percent_general_1
					opinion = {
						target = root
						value <= -50
					}
				}
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = martial multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_marshal
						}
						add = { value = cp:councillor_marshal.martial multiply = -2 }
					}
				}
				random_list = {
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_casual_01_t
							desc = random_disloyal_knights_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_worrying_01_t
							desc = random_disloyal_knights_worrying_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_dangerous_01_t
							desc = random_disloyal_knights_dangerous_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_casual_02_t
							desc = random_disloyal_knights_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_worrying_02_t
							desc = random_disloyal_knights_worrying_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_dangerous_02_t
							desc = random_disloyal_knights_dangerous_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_casual_03_t
							desc = random_disloyal_knights_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_worrying_03_t
							desc = random_disloyal_knights_worrying_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_dangerous_03_t
							desc = random_disloyal_knights_dangerous_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_casual_04_t
							desc = random_disloyal_knights_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_worrying_04_t
							desc = random_disloyal_knights_worrying_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_dangerous_04_t
							desc = random_disloyal_knights_dangerous_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_casual_05_t
							desc = random_disloyal_knights_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_worrying_05_t
							desc = random_disloyal_knights_worrying_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_dangerous_05_t
							desc = random_disloyal_knights_dangerous_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_casual_06_t
							desc = random_disloyal_knights_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_worrying_06_t
							desc = random_disloyal_knights_worrying_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_dangerous_06_t
							desc = random_disloyal_knights_dangerous_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_casual_07_t
							desc = random_disloyal_knights_casual_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_worrying_07_t
							desc = random_disloyal_knights_worrying_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_dangerous_07_t
							desc = random_disloyal_knights_dangerous_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_casual_08_t
							desc = random_disloyal_knights_casual_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_worrying_08_t
							desc = random_disloyal_knights_worrying_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_dangerous_08_t
							desc = random_disloyal_knights_dangerous_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_casual_09_t
							desc = random_disloyal_knights_casual_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_worrying_09_t
							desc = random_disloyal_knights_worrying_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_disloyal_knights_dangerous_09_t
							desc = random_disloyal_knights_dangerous_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
				}
			}
		}
	}
}

gpt_peasant_strife = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				any_held_county = {
					percent >= @percent_general_1
					county_opinion_target = {
						target = root
						value <= -50
					}
				}
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = stewardship multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_steward
						}
						add = { value = cp:councillor_steward.stewardship multiply = -2 }
					}
				}
				random_list = {
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_01_t
							desc = random_peasant_strife_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_02_t
							desc = random_peasant_strife_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_03_t
							desc = random_peasant_strife_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_04_t
							desc = random_peasant_strife_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_05_t
							desc = random_peasant_strife_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_06_t
							desc = random_peasant_strife_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_07_t
							desc = random_peasant_strife_casual_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_08_t
							desc = random_peasant_strife_casual_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_09_t
							desc = random_peasant_strife_casual_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_10_t
							desc = random_peasant_strife_casual_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_11_t
							desc = random_peasant_strife_casual_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_12_t
							desc = random_peasant_strife_casual_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_peasant_strife_casual_13_t
							desc = random_peasant_strife_casual_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
				}
			}
		}
	}
}

gpt_clergy_aversion = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				OR = {
					num_sinful_traits >= 1
					piety_level = 0
				}
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					if = { limit = { num_virtuous_traits >= 1 } add = -20 }
					if = { limit = { piety_level >= 2 } add = -10 }
					#add = { value = learning multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_court_chaplain
						}
						add = { value = cp:councillor_court_chaplain.learning multiply = -2 }
					}
				}
				random_list = {
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_casual_01_t
							desc = random_clergy_aversion_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_worrying_01_t
							desc = random_clergy_aversion_worrying_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_mortal_01_t
							desc = random_clergy_aversion_mortal_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_casual_02_t
							desc = random_clergy_aversion_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_worrying_02_t
							desc = random_clergy_aversion_worrying_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_mortal_02_t
							desc = random_clergy_aversion_mortal_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_casual_03_t
							desc = random_clergy_aversion_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_worrying_03_t
							desc = random_clergy_aversion_worrying_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_mortal_03_t
							desc = random_clergy_aversion_mortal_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_casual_04_t
							desc = random_clergy_aversion_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_worrying_04_t
							desc = random_clergy_aversion_worrying_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_mortal_04_t
							desc = random_clergy_aversion_mortal_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_casual_05_t
							desc = random_clergy_aversion_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_worrying_05_t
							desc = random_clergy_aversion_worrying_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_mortal_05_t
							desc = random_clergy_aversion_mortal_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_casual_06_t
							desc = random_clergy_aversion_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_worrying_06_t
							desc = random_clergy_aversion_worrying_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_mortal_06_t
							desc = random_clergy_aversion_mortal_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_casual_07_t
							desc = random_clergy_aversion_casual_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_worrying_07_t
							desc = random_clergy_aversion_worrying_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_mortal_07_t
							desc = random_clergy_aversion_mortal_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_casual_08_t
							desc = random_clergy_aversion_casual_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_worrying_08_t
							desc = random_clergy_aversion_worrying_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_mortal_08_t
							desc = random_clergy_aversion_mortal_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_casual_09_t
							desc = random_clergy_aversion_casual_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_casual_player = yes } else = { gpt_effect_clergy_aversion_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_worrying_09_t
							desc = random_clergy_aversion_worrying_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_clergy_aversion_mortal_09_t
							desc = random_clergy_aversion_mortal_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
				}
			}
		}
	}
}

gpt_house_head_positive = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				has_dynasty = yes
				exists = house
				is_house_head = yes
				house = {
					any_house_member = {
						percent >= 0.5
						opinion = {
							target = root
							value >= 50
						}
					}
				}
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 25
				random_list = {					
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_01_t
							desc = random_house_bonus_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_02_t
							desc = random_house_bonus_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_03_t
							desc = random_house_bonus_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_04_t
							desc = random_house_bonus_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_05_t
							desc = random_house_bonus_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_06_t
							desc = random_house_bonus_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_07_t
							desc = random_house_bonus_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_08_t
							desc = random_house_bonus_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_09_t
							desc = random_house_bonus_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = random_house_bonus_10_t
							desc = random_house_bonus_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
				}
			}
		}
	}
}

gpt_house_head_negative = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				has_dynasty = yes
				exists = house
				is_house_head = yes
				house = {
					any_house_member = {
						percent >= @percent_general_1
						opinion = {
							target = root
							value <= -50
						}
					}
				}
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_2
					add = { value = dread multiply = -0.5 }
				}
				random_list = {
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_01_t
							desc = random_house_malus_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_02_t
							desc = random_house_malus_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_03_t
							desc = random_house_malus_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_04_t
							desc = random_house_malus_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_05_t
							desc = random_house_malus_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_06_t
							desc = random_house_malus_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_07_t
							desc = random_house_malus_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_08_t
							desc = random_house_malus_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_09_t
							desc = random_house_malus_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = random_house_malus_10_t
							desc = random_house_malus_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
				}
			}
		}
	}
}

gpt_courtier_disdain = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				any_courtier = {
					percent >= @percent_general_1
					opinion = {
						target = root
						value <= -50
					}
				}
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = 40
					add = { value = dread multiply = -0.5 }
					add = { value = primary_spouse.dread multiply = -0.5 }
				}
				random_list = {
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_casual_disrespect_01_t
							desc = random_casual_disrespect_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 25 any_courtier = { percent >= @percent_general_4 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_worrying_disrespect_01_t
							desc = random_worrying_disrespect_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_casual_disrespect_02_t
							desc = random_casual_disrespect_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 25 any_courtier = { percent >= @percent_general_4 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_worrying_disrespect_02_t
							desc = random_worrying_disrespect_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_casual_disrespect_03_t
							desc = random_casual_disrespect_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 25 any_courtier = { percent >= @percent_general_4 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_worrying_disrespect_03_t
							desc = random_worrying_disrespect_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_casual_disrespect_04_t
							desc = random_casual_disrespect_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 25 any_courtier = { percent >= @percent_general_4 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_worrying_disrespect_04_t
							desc = random_worrying_disrespect_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_casual_disrespect_05_t
							desc = random_casual_disrespect_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_casual_disrespect_06_t
							desc = random_casual_disrespect_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_casual_disrespect_07_t
							desc = random_casual_disrespect_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_casual_disrespect_08_t
							desc = random_casual_disrespect_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_casual_disrespect_09_t
							desc = random_casual_disrespect_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
				}
			}
		}
	}
}




gpt_minor_stress_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				stress_level = 1
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_01_t
							desc = tribal_diary_stress_event_01_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_02_t
							desc = tribal_diary_stress_event_02_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_03_t
							desc = tribal_diary_stress_event_03_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_04_t
							desc = tribal_diary_stress_event_04_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_05_t
							desc = tribal_diary_stress_event_05_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_06_t
							desc = tribal_diary_stress_event_06_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_07_t
							desc = tribal_diary_stress_event_07_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_08_t
							desc = tribal_diary_stress_event_08_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_09_t
							desc = tribal_diary_stress_event_09_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = tribal_diary_stress_event_10_t
							desc = tribal_diary_stress_event_10_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n5 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes }
						}
						else = { add_stress = @stress_n4 if = { limit = { is_ai = no } gpt_effect_stress_minor_penalty_player = yes } else = { gpt_effect_stress_minor_penalty_ai = yes } } 
					}
				}
			}
		}
	}
}

gpt_high_stress_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				stress_level >= 2
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_01_t
							desc = tribal_diary_high_stress_event_01_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_02_t
							desc = tribal_diary_high_stress_event_02_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_03_t
							desc = tribal_diary_high_stress_event_03_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_04_t
							desc = tribal_diary_high_stress_event_04_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_05_t
							desc = tribal_diary_high_stress_event_05_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_06_t
							desc = tribal_diary_high_stress_event_06_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_07_t
							desc = tribal_diary_high_stress_event_07_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_08_t
							desc = tribal_diary_high_stress_event_08_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_09_t
							desc = tribal_diary_high_stress_event_09_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_event_10_t
							desc = tribal_diary_high_stress_event_10_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n8 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
						}
						else = { add_stress = @stress_n6 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } } 
					}
				}
			}
		}
	}
}

gpt_breakdown_stress_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				stress_level = 3
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_breakdown_01_t
							desc = tribal_diary_high_stress_breakdown_01_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_breakdown_02_t
							desc = tribal_diary_high_stress_breakdown_02_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_breakdown_03_t
							desc = tribal_diary_high_stress_breakdown_03_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_breakdown_04_t
							desc = tribal_diary_high_stress_breakdown_04_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_breakdown_05_t
							desc = tribal_diary_high_stress_breakdown_05_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_breakdown_06_t
							desc = tribal_diary_high_stress_breakdown_06_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_breakdown_07_t
							desc = tribal_diary_high_stress_breakdown_07_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
					1 = {
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = tribal_diary_high_stress_breakdown_08_t
							desc = tribal_diary_high_stress_breakdown_08_d
							left_icon = root
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } }
						}
						if = { limit = { has_trait = diligent }
							add_stress = @stress_n9 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes }
						}
						else = { add_stress = @stress_n7 if = { limit = { is_ai = no } gpt_effect_stress_breakdown_penalty_player = yes } else = { gpt_effect_stress_breakdown_penalty_ai = yes } } 
					}
				}
			}
		}
	}
}

gpt_rival_hostility_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					num_of_relation_rival >= 1
					num_of_relation_nemesis >= 1
				}
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = intrigue multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_spymaster
						}
						add = { value = cp:councillor_spymaster.intrigue multiply = -2 }
					}
				}
				random_list = {
					0 = { # CASUAL
						modifier = { add = 8 num_of_relation_rival >= 1 }
						modifier = { add = 8 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_casual_01_t
							desc = tribal_random_rival_hostility_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 23 num_of_relation_rival >= 2 }
						modifier = { add = 23 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_worrying_01_t
							desc = tribal_random_rival_hostility_worrying_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_mortal_01_t
							desc = tribal_random_rival_hostility_mortal_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 8 num_of_relation_rival >= 1 }
						modifier = { add = 8 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_casual_02_t
							desc = tribal_random_rival_hostility_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 23 num_of_relation_rival >= 2 }
						modifier = { add = 23 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_worrying_02_t
							desc = tribal_random_rival_hostility_worrying_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_mortal_02_t
							desc = tribal_random_rival_hostility_mortal_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 8 num_of_relation_rival >= 1 }
						modifier = { add = 8 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_casual_03_t
							desc = tribal_random_rival_hostility_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 23 num_of_relation_rival >= 2 }
						modifier = { add = 23 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_worrying_03_t
							desc = tribal_random_rival_hostility_worrying_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 num_of_relation_rival >= 3 }
						modifier = { add = 60 num_of_relation_nemesis >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_mortal_03_t
							desc = tribal_random_rival_hostility_mortal_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 8 num_of_relation_rival >= 1 }
						modifier = { add = 8 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_casual_04_t
							desc = tribal_random_rival_hostility_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 8 num_of_relation_rival >= 1 }
						modifier = { add = 8 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_casual_05_t
							desc = tribal_random_rival_hostility_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 8 num_of_relation_rival >= 1 }
						modifier = { add = 8 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_casual_06_t
							desc = tribal_random_rival_hostility_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 23 num_of_relation_rival >= 2 }
						modifier = { add = 23 num_of_relation_nemesis >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_rival_hostility_worrying_04_t
							desc = tribal_random_rival_hostility_worrying_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = rivalry_low_intrigue_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
				}
			}
		}
	}
}

gpt_vassal_antagonism_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					any_vassal = {
						percent >= @percent_vassal_1
						opinion = {
							target = root
							value <= -50
						}
					}
					any_powerful_vassal = {
						count >= 1
						opinion = {
							target = root
							value <= -50
						}
					}
				}
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = diplomacy multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_chancellor
						}
						add = { value = cp:councillor_chancellor.diplomacy multiply = -2 }
					}
				}
				random_list = {
					0 = { # CASUAL
						modifier = { add = 8 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_casual_01_t
							desc = tribal_random_vassal_antagonism_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 23 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_worrying_01_t
							desc = tribal_random_vassal_antagonism_worrying_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_dangerous_01_t
							desc = tribal_random_vassal_antagonism_dangerous_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 8 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_casual_02_t
							desc = tribal_random_vassal_antagonism_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 23 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_worrying_02_t
							desc = tribal_random_vassal_antagonism_worrying_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_dangerous_02_t
							desc = tribal_random_vassal_antagonism_dangerous_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 8 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_casual_03_t
							desc = tribal_random_vassal_antagonism_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 23 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_worrying_03_t
							desc = tribal_random_vassal_antagonism_worrying_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_dangerous_03_t
							desc = tribal_random_vassal_antagonism_dangerous_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_3 } else = { add_legitimacy = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 8 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_casual_04_t
							desc = tribal_random_vassal_antagonism_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # CASUAL
						modifier = { add = 8 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_casual_05_t
							desc = tribal_random_vassal_antagonism_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # CASUAL
						modifier = { add = 8 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_casual_06_t
							desc = tribal_random_vassal_antagonism_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_1 } else = { add_legitimacy = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 23 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_vassal_antagonism_worrying_04_t
							desc = tribal_random_vassal_antagonism_worrying_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } add_legitimacy = @legit_neg_2 } else = { add_legitimacy = @legit_neg_2_ai }
					}
				}
			}
		}
	}
}

gpt_clergy_aversion_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					num_sinful_traits >= 1
					piety_level = 0
				}
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					if = { limit = { num_virtuous_traits >= 1 } add = -20 }
					if = { limit = { piety_level >= 2 } add = -10 }
					#add = { value = learning multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_court_chaplain
						}
						add = { value = cp:councillor_court_chaplain.learning multiply = -2 }
					}
				}
				random_list = {
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_casual_01_t
							desc = tribal_random_clergy_aversion_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 23 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_worrying_01_t
							desc = tribal_random_clergy_aversion_worrying_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_mortal_01_t
							desc = tribal_random_clergy_aversion_mortal_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 piety_level = 0 }
						modifier = { add = 15 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_casual_02_t
							desc = tribal_random_clergy_aversion_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 23 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_worrying_02_t
							desc = tribal_random_clergy_aversion_worrying_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_mortal_02_t
							desc = tribal_random_clergy_aversion_mortal_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 8 piety_level = 0 }
						modifier = { add = 8 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_casual_03_t
							desc = tribal_random_clergy_aversion_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 23 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_worrying_03_t
							desc = tribal_random_clergy_aversion_worrying_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 piety_level = 0 num_sinful_traits >= 1 }
						modifier = { add = 60 num_sinful_traits >= 3 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_mortal_03_t
							desc = tribal_random_clergy_aversion_mortal_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_mortal_player = yes } else = { gpt_effect_clergy_aversion_mortal_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 8 piety_level = 0 }
						modifier = { add = 8 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_casual_04_t
							desc = tribal_random_clergy_aversion_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 8 piety_level = 0 }
						modifier = { add = 8 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_casual_05_t
							desc = tribal_random_clergy_aversion_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 8 piety_level = 0 }
						modifier = { add = 8 num_sinful_traits >= 1 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_casual_06_t
							desc = tribal_random_clergy_aversion_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 23 piety_level = 0 }
						modifier = { add = 30 num_sinful_traits >= 2 }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_clergy_aversion_worrying_04_t
							desc = tribal_random_clergy_aversion_worrying_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes } custom_tooltip = { text = clergy_aversion_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_clergy_aversion_worrying_player = yes } else = { gpt_effect_clergy_aversion_worrying_ai = yes }
					}
				}
			}
		}
	}
}

gpt_peasant_strife_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				any_held_county = {
					percent >= @percent_general_1
					county_opinion_target = {
						target = root
						value <= -50
					}
				}
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = stewardship multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_steward
						}
						add = { value = cp:councillor_steward.stewardship multiply = -2 }
					}
				}
				random_list = {
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_01_t
							desc = tribal_random_peasant_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_02_t
							desc = tribal_random_peasant_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_03_t
							desc = tribal_random_peasant_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_04_t
							desc = tribal_random_peasant_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_05_t
							desc = tribal_random_peasant_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_06_t
							desc = tribal_random_peasant_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_07_t
							desc = tribal_random_peasant_casual_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_08_t
							desc = tribal_random_peasant_casual_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_09_t
							desc = tribal_random_peasant_casual_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_10_t
							desc = tribal_random_peasant_casual_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_11_t
							desc = tribal_random_peasant_casual_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_12_t
							desc = tribal_random_peasant_casual_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_peasant_casual_13_t
							desc = tribal_random_peasant_casual_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes } custom_tooltip = { text = peasant_strife_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_peasant_strife_player = yes } else = { gpt_effect_peasant_strife_ai = yes }
					}
				}
			}
		}
	}
}

gpt_house_head_positive_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_dynasty = yes
				exists = house
				is_house_head = yes
				house = {
					any_house_member = {
						percent >= 0.5
						opinion = {
							target = root
							value >= 50
						}
					}
				}
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 25
				random_list = {					
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_01_t
							desc = tribal_random_house_bonus_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_02_t
							desc = tribal_random_house_bonus_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_03_t
							desc = tribal_random_house_bonus_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_04_t
							desc = tribal_random_house_bonus_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_05_t
							desc = tribal_random_house_bonus_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_06_t
							desc = tribal_random_house_bonus_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_07_t
							desc = tribal_random_house_bonus_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_08_t
							desc = tribal_random_house_bonus_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_09_t
							desc = tribal_random_house_bonus_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
					10 = { # RELIABLE
						send_interface_message = {
							type = event_house_head_good_with_text
							title = tribal_random_house_bonus_10_t
							desc = tribal_random_house_bonus_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } } custom_tooltip = { text = reliable_house_head_tip } }
						}
						add_stress = @stress_n3 house = { add_house_modifier = { modifier = gpt_reliable_house_modifier years = 3 } }
					}
				}
			}
		}
	}
}

gpt_house_head_negative_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_dynasty = yes
				exists = house
				is_house_head = yes
				house = {
					any_house_member = {
						percent >= @percent_general_1
						opinion = {
							target = root
							value <= -50
						}
					}
				}
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_2
					add = { value = dread multiply = -0.5 }
				}
				random_list = {
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_01_t
							desc = tribal_random_house_malus_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_02_t
							desc = tribal_random_house_malus_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_03_t
							desc = tribal_random_house_malus_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_04_t
							desc = tribal_random_house_malus_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_05_t
							desc = tribal_random_house_malus_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_06_t
							desc = tribal_random_house_malus_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_07_t
							desc = tribal_random_house_malus_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_08_t
							desc = tribal_random_house_malus_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_09_t
							desc = tribal_random_house_malus_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
					10 = { # TROUBLED
						send_interface_message = {
							type = event_house_head_bad_with_text
							title = tribal_random_house_malus_10_t
							desc = tribal_random_house_malus_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } } custom_tooltip = { text = troubled_house_head_tip } }
						}
						add_stress = @stress_p2 house = { add_house_modifier = { modifier = troubled_house_modifier years = 3 } }
					}
				}
			}
		}
	}
}

gpt_disloyal_knights_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				any_knight = {
					percent >= @percent_general_1
					opinion = {
						target = root
						value <= -50
					}
				}
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = martial multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_marshal
						}
						add = { value = cp:councillor_marshal.martial multiply = -2 }
					}
				}
				random_list = {
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_casual_01_t
							desc = tribal_random_disloyal_knights_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_worrying_01_t
							desc = tribal_random_disloyal_knights_worrying_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_dangerous_01_t
							desc = tribal_random_disloyal_knights_dangerous_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_casual_02_t
							desc = tribal_random_disloyal_knights_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_worrying_02_t
							desc = tribal_random_disloyal_knights_worrying_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_dangerous_02_t
							desc = tribal_random_disloyal_knights_dangerous_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_casual_03_t
							desc = tribal_random_disloyal_knights_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_worrying_03_t
							desc = tribal_random_disloyal_knights_worrying_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # MORTAL
						modifier = { add = 60 any_knight = { percent >= @percent_general_3 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_dangerous_03_t
							desc = tribal_random_disloyal_knights_dangerous_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } gpt_effect_stress_high_penalty_player = yes } else = { gpt_effect_stress_high_penalty_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_casual_04_t
							desc = tribal_random_disloyal_knights_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = { add = 30 any_knight = { percent >= @percent_general_2 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_worrying_04_t
							desc = tribal_random_disloyal_knights_worrying_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_casual_05_t
							desc = tribal_random_disloyal_knights_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = { # CASUAL
						modifier = { add = 15 any_knight = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_disloyal_knights_casual_06_t
							desc = tribal_random_disloyal_knights_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disloyal_knights_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
				}
			}
		}
	}
}

gpt_courtier_disdain_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				any_courtier = {
					percent >= @percent_general_1
					opinion = {
						target = root
						value <= -50
					}
				}
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = 40
					add = { value = dread multiply = -0.5 }
					add = { value = primary_spouse.dread multiply = -0.5 }
				}
				random_list = {
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_casual_disrespect_01_t
							desc = tribal_random_casual_disrespect_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 25 any_courtier = { percent >= @percent_general_4 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_worrying_disrespect_01_t
							desc = tribal_random_worrying_disrespect_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_casual_disrespect_02_t
							desc = tribal_random_casual_disrespect_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 25 any_courtier = { percent >= @percent_general_4 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_worrying_disrespect_02_t
							desc = tribal_random_worrying_disrespect_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_casual_disrespect_03_t
							desc = tribal_random_casual_disrespect_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 25 any_courtier = { percent >= @percent_general_4 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_worrying_disrespect_03_t
							desc = tribal_random_worrying_disrespect_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_casual_disrespect_04_t
							desc = tribal_random_casual_disrespect_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 25 any_courtier = { percent >= @percent_general_4 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_worrying_disrespect_04_t
							desc = tribal_random_worrying_disrespect_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } gpt_effect_rival_worrying_player = yes } else = { gpt_effect_rival_worrying_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_casual_disrespect_05_t
							desc = tribal_random_casual_disrespect_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_casual_disrespect_06_t
							desc = tribal_random_casual_disrespect_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_casual_disrespect_07_t
							desc = tribal_random_casual_disrespect_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_casual_disrespect_08_t
							desc = tribal_random_casual_disrespect_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
					0 = {
						modifier = { add = 15 any_courtier = { percent >= @percent_general_1 opinion = { target = root value <= -50 } } }
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = tribal_random_casual_disrespect_09_t
							desc = tribal_random_casual_disrespect_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes } custom_tooltip = { text = disrespectful_courtier_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_rival_casual_player = yes } else = { gpt_effect_rival_casual_ai = yes }
					}
				}
			}
		}
	}
}




gpt_3_stw = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_steward
				cp:councillor_steward = { is_imprisoned = no }
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_01_t
							desc = random_council_penalty_stw_01_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_01_t
							desc = random_council_bonus_stw_01_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_02_t
							desc = random_council_penalty_stw_02_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_02_t
							desc = random_council_bonus_stw_02_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_03_t
							desc = random_council_penalty_stw_03_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_03_t
							desc = random_council_bonus_stw_03_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_04_t
							desc = random_council_penalty_stw_04_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_04_t
							desc = random_council_bonus_stw_04_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_05_t
							desc = random_council_penalty_stw_05_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_05_t
							desc = random_council_bonus_stw_05_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_06_t
							desc = random_council_penalty_stw_06_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_06_t
							desc = random_council_bonus_stw_06_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_07_t
							desc = random_council_penalty_stw_07_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_07_t
							desc = random_council_bonus_stw_07_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_08_t
							desc = random_council_penalty_stw_08_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_08_t
							desc = random_council_bonus_stw_08_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_09_t
							desc = random_council_penalty_stw_09_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_09_t
							desc = random_council_bonus_stw_09_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_council_penalty_stw_10_t
							desc = random_council_penalty_stw_10_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_council_bonus_stw_10_t
							desc = random_council_bonus_stw_10_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_dip = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_chancellor
				cp:councillor_chancellor = { is_imprisoned = no }
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_01_t
							desc = random_council_penalty_dip_01_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_01_t
							desc = random_council_bonus_dip_01_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_02_t
							desc = random_council_penalty_dip_02_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_02_t
							desc = random_council_bonus_dip_02_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_03_t
							desc = random_council_penalty_dip_03_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_03_t
							desc = random_council_bonus_dip_03_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_04_t
							desc = random_council_penalty_dip_04_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_04_t
							desc = random_council_bonus_dip_04_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_05_t
							desc = random_council_penalty_dip_05_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_05_t
							desc = random_council_bonus_dip_05_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_06_t
							desc = random_council_penalty_dip_06_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_06_t
							desc = random_council_bonus_dip_06_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_07_t
							desc = random_council_penalty_dip_07_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_07_t
							desc = random_council_bonus_dip_07_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_08_t
							desc = random_council_penalty_dip_08_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_08_t
							desc = random_council_bonus_dip_08_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_09_t
							desc = random_council_penalty_dip_09_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_09_t
							desc = random_council_bonus_dip_09_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_council_penalty_dip_10_t
							desc = random_council_penalty_dip_10_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_council_bonus_dip_10_t
							desc = random_council_bonus_dip_10_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_mar = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_marshal
				cp:councillor_marshal = { is_imprisoned = no }
				has_dynasty = yes
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_01_t
							desc = random_council_penalty_mar_01_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_01_t
							desc = random_council_bonus_mar_01_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_02_t
							desc = random_council_penalty_mar_02_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_02_t
							desc = random_council_bonus_mar_02_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_03_t
							desc = random_council_penalty_mar_03_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_03_t
							desc = random_council_bonus_mar_03_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_04_t
							desc = random_council_penalty_mar_04_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_04_t
							desc = random_council_bonus_mar_04_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_05_t
							desc = random_council_penalty_mar_05_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_05_t
							desc = random_council_bonus_mar_05_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_06_t
							desc = random_council_penalty_mar_06_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_06_t
							desc = random_council_bonus_mar_06_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_07_t
							desc = random_council_penalty_mar_07_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_07_t
							desc = random_council_bonus_mar_07_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_08_t
							desc = random_council_penalty_mar_08_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_08_t
							desc = random_council_bonus_mar_08_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_09_t
							desc = random_council_penalty_mar_09_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_09_t
							desc = random_council_bonus_mar_09_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_council_penalty_mar_10_t
							desc = random_council_penalty_mar_10_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_council_bonus_mar_10_t
							desc = random_council_bonus_mar_10_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_ler = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_court_chaplain
				cp:councillor_court_chaplain = { is_imprisoned = no }
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_01_t
							desc = random_council_penalty_ler_01_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_01_t
							desc = random_council_bonus_ler_01_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_02_t
							desc = random_council_penalty_ler_02_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_02_t
							desc = random_council_bonus_ler_02_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_03_t
							desc = random_council_penalty_ler_03_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_03_t
							desc = random_council_bonus_ler_03_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_04_t
							desc = random_council_penalty_ler_04_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_04_t
							desc = random_council_bonus_ler_04_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_05_t
							desc = random_council_penalty_ler_05_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_05_t
							desc = random_council_bonus_ler_05_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_06_t
							desc = random_council_penalty_ler_06_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_06_t
							desc = random_council_bonus_ler_06_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_07_t
							desc = random_council_penalty_ler_07_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_07_t
							desc = random_council_bonus_ler_07_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_08_t
							desc = random_council_penalty_ler_08_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_08_t
							desc = random_council_bonus_ler_08_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_09_t
							desc = random_council_penalty_ler_09_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_09_t
							desc = random_council_bonus_ler_09_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_council_penalty_ler_10_t
							desc = random_council_penalty_ler_10_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_council_bonus_ler_10_t
							desc = random_council_bonus_ler_10_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_int = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_spymaster
				cp:councillor_spymaster = { is_imprisoned = no }
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_01_t
							desc = random_council_penalty_int_01_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_01_t
							desc = random_council_bonus_int_01_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_02_t
							desc = random_council_penalty_int_02_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_02_t
							desc = random_council_bonus_int_02_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_03_t
							desc = random_council_penalty_int_03_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_03_t
							desc = random_council_bonus_int_03_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_04_t
							desc = random_council_penalty_int_04_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_04_t
							desc = random_council_bonus_int_04_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_05_t
							desc = random_council_penalty_int_05_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_05_t
							desc = random_council_bonus_int_05_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_06_t
							desc = random_council_penalty_int_06_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_06_t
							desc = random_council_bonus_int_06_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_07_t
							desc = random_council_penalty_int_07_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_07_t
							desc = random_council_bonus_int_07_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_08_t
							desc = random_council_penalty_int_08_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_08_t
							desc = random_council_bonus_int_08_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_09_t
							desc = random_council_penalty_int_09_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_09_t
							desc = random_council_bonus_int_09_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_council_penalty_int_10_t
							desc = random_council_penalty_int_10_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_council_bonus_int_10_t
							desc = random_council_bonus_int_10_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_spouse = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = primary_spouse
				has_dynasty = yes
				primary_spouse = {
					is_landed = no
					is_courtier_of = root
					is_imprisoned = no
				}
				has_active_diarchy = no
				age >= 14
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_spouse_penalty_stw_01_t
							desc = random_spouse_penalty_stw_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_spouse_bonus_stw_01_t
							desc = random_spouse_bonus_stw_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes }  }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_spouse_penalty_dip_01_t
							desc = random_spouse_penalty_dip_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_spouse_bonus_dip_01_t
							desc = random_spouse_bonus_dip_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_spouse_penalty_mar_01_t
							desc = random_spouse_penalty_mar_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_spouse_bonus_mar_01_t
							desc = random_spouse_bonus_mar_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_spouse_penalty_ler_01_t
							desc = random_spouse_penalty_ler_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes }  }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_spouse_bonus_ler_01_t
							desc = random_spouse_bonus_ler_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes }  }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_spouse_penalty_int_01_t
							desc = random_spouse_penalty_int_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_spouse_bonus_int_01_t
							desc = random_spouse_bonus_int_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes
					}
										8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_spouse_penalty_stw_02_t
							desc = random_spouse_penalty_stw_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_spouse_bonus_stw_02_t
							desc = random_spouse_bonus_stw_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes }  }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_spouse_penalty_dip_02_t
							desc = random_spouse_penalty_dip_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_spouse_bonus_dip_02_t
							desc = random_spouse_bonus_dip_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_spouse_penalty_mar_02_t
							desc = random_spouse_penalty_mar_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_spouse_bonus_mar_02_t
							desc = random_spouse_bonus_mar_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_spouse_penalty_ler_02_t
							desc = random_spouse_penalty_ler_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes }  }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_spouse_bonus_ler_02_t
							desc = random_spouse_bonus_ler_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes }  }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_spouse_penalty_int_02_t
							desc = random_spouse_penalty_int_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_spouse_bonus_int_02_t
							desc = random_spouse_bonus_int_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_spouse_penalty_dip_03_t
							desc = random_spouse_penalty_dip_03_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_spouse_bonus_dip_03_t
							desc = random_spouse_bonus_dip_03_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } 
					}
				}
			}
		}
	}
}


gpt_3_stw_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_steward
				cp:councillor_steward = { is_imprisoned = no }
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_council_penalty_stw_01_t
							desc = tribal_random_council_penalty_stw_01_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_council_bonus_stw_01_t
							desc = tribal_random_council_bonus_stw_01_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_council_penalty_stw_02_t
							desc = tribal_random_council_penalty_stw_02_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_council_bonus_stw_02_t
							desc = tribal_random_council_bonus_stw_02_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_council_penalty_stw_03_t
							desc = tribal_random_council_penalty_stw_03_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_council_bonus_stw_03_t
							desc = tribal_random_council_bonus_stw_03_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_council_penalty_stw_04_t
							desc = tribal_random_council_penalty_stw_04_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_council_bonus_stw_04_t
							desc = tribal_random_council_bonus_stw_04_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_council_penalty_stw_05_t
							desc = tribal_random_council_penalty_stw_05_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  cp:councillor_steward = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_steward.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_council_bonus_stw_05_t
							desc = tribal_random_council_bonus_stw_05_d
							left_icon = cp:councillor_steward
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } cp:councillor_steward = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_steward = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_dip_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_chancellor
				cp:councillor_chancellor = { is_imprisoned = no }
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_council_penalty_dip_01_t
							desc = tribal_random_council_penalty_dip_01_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_council_bonus_dip_01_t
							desc = tribal_random_council_bonus_dip_01_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_council_penalty_dip_02_t
							desc = tribal_random_council_penalty_dip_02_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_council_bonus_dip_02_t
							desc = tribal_random_council_bonus_dip_02_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_council_penalty_dip_03_t
							desc = tribal_random_council_penalty_dip_03_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_council_bonus_dip_03_t
							desc = tribal_random_council_bonus_dip_03_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_council_penalty_dip_04_t
							desc = tribal_random_council_penalty_dip_04_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_council_bonus_dip_04_t
							desc = tribal_random_council_bonus_dip_04_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_council_penalty_dip_05_t
							desc = tribal_random_council_penalty_dip_05_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_chancellor.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_council_bonus_dip_05_t
							desc = tribal_random_council_bonus_dip_05_d
							left_icon = cp:councillor_chancellor
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } cp:councillor_chancellor = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_chancellor = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_mar_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_marshal
				cp:councillor_marshal = { is_imprisoned = no }
				has_dynasty = yes
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_council_penalty_mar_01_t
							desc = tribal_random_council_penalty_mar_01_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_council_bonus_mar_01_t
							desc = tribal_random_council_bonus_mar_01_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_council_penalty_mar_02_t
							desc = tribal_random_council_penalty_mar_02_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_council_bonus_mar_02_t
							desc = tribal_random_council_bonus_mar_02_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_council_penalty_mar_03_t
							desc = tribal_random_council_penalty_mar_03_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_council_bonus_mar_03_t
							desc = tribal_random_council_bonus_mar_03_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_council_penalty_mar_04_t
							desc = tribal_random_council_penalty_mar_04_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_council_bonus_mar_04_t
							desc = tribal_random_council_bonus_mar_04_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_council_penalty_mar_05_t
							desc = tribal_random_council_penalty_mar_05_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_marshal.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_council_bonus_mar_05_t
							desc = tribal_random_council_bonus_mar_05_d
							left_icon = cp:councillor_marshal
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } cp:councillor_marshal = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_marshal = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_ler_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_court_chaplain
				cp:councillor_court_chaplain = { is_imprisoned = no }
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_council_penalty_ler_01_t
							desc = tribal_random_council_penalty_ler_01_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_council_bonus_ler_01_t
							desc = tribal_random_council_bonus_ler_01_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_council_penalty_ler_02_t
							desc = tribal_random_council_penalty_ler_02_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_council_bonus_ler_02_t
							desc = tribal_random_council_bonus_ler_02_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_council_penalty_ler_03_t
							desc = tribal_random_council_penalty_ler_03_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_council_bonus_ler_03_t
							desc = tribal_random_council_bonus_ler_03_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_council_penalty_ler_04_t
							desc = tribal_random_council_penalty_ler_04_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_council_bonus_ler_04_t
							desc = tribal_random_council_bonus_ler_04_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_council_penalty_ler_05_t
							desc = tribal_random_council_penalty_ler_05_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_court_chaplain.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_council_bonus_ler_05_t
							desc = tribal_random_council_bonus_ler_05_d
							left_icon = cp:councillor_court_chaplain
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } cp:councillor_court_chaplain = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_court_chaplain = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_int_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = cp:councillor_spymaster
				cp:councillor_spymaster = { is_imprisoned = no }
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_council_penalty_int_01_t
							desc = tribal_random_council_penalty_int_01_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_council_bonus_int_01_t
							desc = tribal_random_council_bonus_int_01_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_council_penalty_int_02_t
							desc = tribal_random_council_penalty_int_02_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_council_bonus_int_02_t
							desc = tribal_random_council_bonus_int_02_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_council_penalty_int_03_t
							desc = tribal_random_council_penalty_int_03_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_council_bonus_int_03_t
							desc = tribal_random_council_bonus_int_03_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_council_penalty_int_04_t
							desc = tribal_random_council_penalty_int_04_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_council_bonus_int_04_t
							desc = tribal_random_council_bonus_int_04_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
					12 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_council_penalty_int_05_t
							desc = tribal_random_council_penalty_int_05_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = bad_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_councillor_t desc = bad_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_councillor years = 3 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = cp:councillor_spymaster.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_council_bonus_int_05_t
							desc = tribal_random_council_bonus_int_05_d
							left_icon = cp:councillor_spymaster
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes cp:councillor_spymaster = { add_character_modifier = { modifier = good_job_councillor years = 3 } }
						cp:councillor_spymaster = { send_interface_message = { type = event_council_int_good_with_text title = good_job_councillor_t desc = good_job_councillor_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_councillor years = 3 } } } }
					}
				}
			}
		}
	}
}

gpt_3_spouse_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				exists = primary_spouse
				has_dynasty = yes
				primary_spouse = {
					is_landed = no
					is_courtier_of = root
					is_imprisoned = no
				}
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_1
				random_list = {
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_spouse_penalty_stw_01_t
							desc = tribal_random_spouse_penalty_stw_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_spouse_bonus_stw_01_t
							desc = tribal_random_spouse_bonus_stw_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes }  }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_spouse_penalty_dip_01_t
							desc = tribal_random_spouse_penalty_dip_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_spouse_bonus_dip_01_t
							desc = tribal_random_spouse_bonus_dip_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_spouse_penalty_mar_01_t
							desc = tribal_random_spouse_penalty_mar_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_spouse_bonus_mar_01_t
							desc = tribal_random_spouse_bonus_mar_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_spouse_penalty_ler_01_t
							desc = tribal_random_spouse_penalty_ler_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes }  }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_spouse_bonus_ler_01_t
							desc = tribal_random_spouse_bonus_ler_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes }  }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_spouse_penalty_int_01_t
							desc = tribal_random_spouse_penalty_int_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_spouse_bonus_int_01_t
							desc = tribal_random_spouse_bonus_int_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_spouse_penalty_stw_02_t
							desc = tribal_random_spouse_penalty_stw_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_spouse_bonus_stw_02_t
							desc = tribal_random_spouse_bonus_stw_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes }  }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_spouse_penalty_dip_02_t
							desc = tribal_random_spouse_penalty_dip_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_spouse_bonus_dip_02_t
							desc = tribal_random_spouse_bonus_dip_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_spouse_penalty_mar_02_t
							desc = tribal_random_spouse_penalty_mar_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_spouse_bonus_mar_02_t
							desc = tribal_random_spouse_bonus_mar_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_spouse_penalty_ler_02_t
							desc = tribal_random_spouse_penalty_ler_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes }  }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_spouse_bonus_ler_02_t
							desc = tribal_random_spouse_bonus_ler_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes }  }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } 
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_spouse_penalty_int_02_t
							desc = tribal_random_spouse_penalty_int_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_spouse_bonus_int_02_t
							desc = tribal_random_spouse_bonus_int_02_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_spouse_penalty_dip_03_t
							desc = tribal_random_spouse_penalty_dip_03_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } 
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_spouse_bonus_dip_03_t
							desc = tribal_random_spouse_bonus_dip_03_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } 
					}
				}
			}
		}
	}
}




gpt_buy_legitimacy_gold = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = legitimacy_gold
				}
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_01_t
							desc = buy_legitimacy_gold_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_02_t
							desc = buy_legitimacy_gold_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_03_t
							desc = buy_legitimacy_gold_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_04_t
							desc = buy_legitimacy_gold_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_05_t
							desc = buy_legitimacy_gold_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_06_t
							desc = buy_legitimacy_gold_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_07_t
							desc = buy_legitimacy_gold_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_08_t
							desc = buy_legitimacy_gold_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_09_t
							desc = buy_legitimacy_gold_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_10_t
							desc = buy_legitimacy_gold_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_11_t
							desc = buy_legitimacy_gold_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_12_t
							desc = buy_legitimacy_gold_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_13_t
							desc = buy_legitimacy_gold_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_14_t
							desc = buy_legitimacy_gold_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_15_t
							desc = buy_legitimacy_gold_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_16_t
							desc = buy_legitimacy_gold_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_17_t
							desc = buy_legitimacy_gold_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_18_t
							desc = buy_legitimacy_gold_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_19_t
							desc = buy_legitimacy_gold_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_gold_event_20_t
							desc = buy_legitimacy_gold_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
				}
			}
		}
	}
}

gpt_buy_legitimacy_prestige = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = legitimacy_prestige
				}
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_01_t
							desc = buy_legitimacy_prestige_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_02_t
							desc = buy_legitimacy_prestige_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_03_t
							desc = buy_legitimacy_prestige_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_04_t
							desc = buy_legitimacy_prestige_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_05_t
							desc = buy_legitimacy_prestige_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_06_t
							desc = buy_legitimacy_prestige_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_07_t
							desc = buy_legitimacy_prestige_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_08_t
							desc = buy_legitimacy_prestige_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_09_t
							desc = buy_legitimacy_prestige_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_10_t
							desc = buy_legitimacy_prestige_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_11_t
							desc = buy_legitimacy_prestige_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_12_t
							desc = buy_legitimacy_prestige_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_13_t
							desc = buy_legitimacy_prestige_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_14_t
							desc = buy_legitimacy_prestige_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_15_t
							desc = buy_legitimacy_prestige_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_16_t
							desc = buy_legitimacy_prestige_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_17_t
							desc = buy_legitimacy_prestige_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_18_t
							desc = buy_legitimacy_prestige_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_19_t
							desc = buy_legitimacy_prestige_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_prestige_event_20_t
							desc = buy_legitimacy_prestige_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
				}
			}
		}
	}
}

gpt_buy_legitimacy_piety = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = legitimacy_piety
				}
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_01_t
							desc = buy_legitimacy_piety_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_02_t
							desc = buy_legitimacy_piety_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_03_t
							desc = buy_legitimacy_piety_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_04_t
							desc = buy_legitimacy_piety_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_05_t
							desc = buy_legitimacy_piety_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_06_t
							desc = buy_legitimacy_piety_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_07_t
							desc = buy_legitimacy_piety_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_08_t
							desc = buy_legitimacy_piety_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_09_t
							desc = buy_legitimacy_piety_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_10_t
							desc = buy_legitimacy_piety_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_11_t
							desc = buy_legitimacy_piety_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_12_t
							desc = buy_legitimacy_piety_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_13_t
							desc = buy_legitimacy_piety_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_14_t
							desc = buy_legitimacy_piety_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_15_t
							desc = buy_legitimacy_piety_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_16_t
							desc = buy_legitimacy_piety_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_17_t
							desc = buy_legitimacy_piety_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_18_t
							desc = buy_legitimacy_piety_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_19_t
							desc = buy_legitimacy_piety_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = buy_legitimacy_piety_event_20_t
							desc = buy_legitimacy_piety_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
				}
			}
		}
	}
}

gpt_buy_legitimacy_gold_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = legitimacy_gold_tribal
				}
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_01_t
							desc = tribal_buy_legitimacy_gold_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_02_t
							desc = tribal_buy_legitimacy_gold_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_03_t
							desc = tribal_buy_legitimacy_gold_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_04_t
							desc = tribal_buy_legitimacy_gold_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_05_t
							desc = tribal_buy_legitimacy_gold_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_06_t
							desc = tribal_buy_legitimacy_gold_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_07_t
							desc = tribal_buy_legitimacy_gold_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_08_t
							desc = tribal_buy_legitimacy_gold_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_09_t
							desc = tribal_buy_legitimacy_gold_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_10_t
							desc = tribal_buy_legitimacy_gold_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_11_t
							desc = tribal_buy_legitimacy_gold_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_12_t
							desc = tribal_buy_legitimacy_gold_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_13_t
							desc = tribal_buy_legitimacy_gold_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_14_t
							desc = tribal_buy_legitimacy_gold_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_15_t
							desc = tribal_buy_legitimacy_gold_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_16_t
							desc = tribal_buy_legitimacy_gold_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_17_t
							desc = tribal_buy_legitimacy_gold_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_18_t
							desc = tribal_buy_legitimacy_gold_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_19_t
							desc = tribal_buy_legitimacy_gold_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_gold_event_20_t
							desc = tribal_buy_legitimacy_gold_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_gold = yes }
						}
						gpt_effect_buy_legitimacy_gold = yes
					}
				}
			}
		}
	}
}

gpt_buy_legitimacy_prestige_tribal  = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = legitimacy_prestige_tribal
				}
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_01_t
							desc = tribal_buy_legitimacy_prestige_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_02_t
							desc = tribal_buy_legitimacy_prestige_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_03_t
							desc = tribal_buy_legitimacy_prestige_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_04_t
							desc = tribal_buy_legitimacy_prestige_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_05_t
							desc = tribal_buy_legitimacy_prestige_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_06_t
							desc = tribal_buy_legitimacy_prestige_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_07_t
							desc = tribal_buy_legitimacy_prestige_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_08_t
							desc = tribal_buy_legitimacy_prestige_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_09_t
							desc = tribal_buy_legitimacy_prestige_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_10_t
							desc = tribal_buy_legitimacy_prestige_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_11_t
							desc = tribal_buy_legitimacy_prestige_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_12_t
							desc = tribal_buy_legitimacy_prestige_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_13_t
							desc = tribal_buy_legitimacy_prestige_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_14_t
							desc = tribal_buy_legitimacy_prestige_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_15_t
							desc = tribal_buy_legitimacy_prestige_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_16_t
							desc = tribal_buy_legitimacy_prestige_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_17_t
							desc = tribal_buy_legitimacy_prestige_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_18_t
							desc = tribal_buy_legitimacy_prestige_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_19_t
							desc = tribal_buy_legitimacy_prestige_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_prestige_event_20_t
							desc = tribal_buy_legitimacy_prestige_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_prestige = yes }
						}
						gpt_effect_buy_legitimacy_prestige = yes
					}
				}
			}
		}
	}
}

gpt_buy_legitimacy_piety_tribal  = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = legitimacy_piety_tribal
				}
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_01_t
							desc = tribal_buy_legitimacy_piety_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_02_t
							desc = tribal_buy_legitimacy_piety_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_03_t
							desc = tribal_buy_legitimacy_piety_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_04_t
							desc = tribal_buy_legitimacy_piety_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_05_t
							desc = tribal_buy_legitimacy_piety_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_06_t
							desc = tribal_buy_legitimacy_piety_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_07_t
							desc = tribal_buy_legitimacy_piety_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_08_t
							desc = tribal_buy_legitimacy_piety_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_09_t
							desc = tribal_buy_legitimacy_piety_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_10_t
							desc = tribal_buy_legitimacy_piety_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_11_t
							desc = tribal_buy_legitimacy_piety_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_12_t
							desc = tribal_buy_legitimacy_piety_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_13_t
							desc = tribal_buy_legitimacy_piety_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_14_t
							desc = tribal_buy_legitimacy_piety_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_15_t
							desc = tribal_buy_legitimacy_piety_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_16_t
							desc = tribal_buy_legitimacy_piety_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_17_t
							desc = tribal_buy_legitimacy_piety_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_18_t
							desc = tribal_buy_legitimacy_piety_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_19_t
							desc = tribal_buy_legitimacy_piety_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_legitimacy_with_text
							title = tribal_buy_legitimacy_piety_event_20_t
							desc = tribal_buy_legitimacy_piety_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_legitimacy_piety = yes }
						}
						gpt_effect_buy_legitimacy_piety = yes
					}
				}
			}
		}
	}
}


gpt_buy_prestige = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = buying_prestige
					AND = {
						is_ai = yes
						gold > 0
						prestige < 0
					}
				}
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_01_t
							desc = diary_buying_prestige_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_02_t
							desc = diary_buying_prestige_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_03_t
							desc = diary_buying_prestige_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_04_t
							desc = diary_buying_prestige_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_05_t
							desc = diary_buying_prestige_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_06_t
							desc = diary_buying_prestige_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_07_t
							desc = diary_buying_prestige_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_08_t
							desc = diary_buying_prestige_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_09_t
							desc = diary_buying_prestige_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_10_t
							desc = diary_buying_prestige_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_11_t
							desc = diary_buying_prestige_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_12_t
							desc = diary_buying_prestige_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_13_t
							desc = diary_buying_prestige_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_14_t
							desc = diary_buying_prestige_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_15_t
							desc = diary_buying_prestige_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_16_t
							desc = diary_buying_prestige_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_17_t
							desc = diary_buying_prestige_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_18_t
							desc = diary_buying_prestige_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_19_t
							desc = diary_buying_prestige_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = diary_buying_prestige_event_20_t
							desc = diary_buying_prestige_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
				}
			}
		}
	}
}

gpt_buy_piety = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = buying_piety
					AND = {
						is_ai = yes
						gold > 0
						piety < 0
					}
				}
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_01_t
							desc = diary_buying_piety_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_02_t
							desc = diary_buying_piety_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_03_t
							desc = diary_buying_piety_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_04_t
							desc = diary_buying_piety_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_05_t
							desc = diary_buying_piety_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_06_t
							desc = diary_buying_piety_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_07_t
							desc = diary_buying_piety_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_08_t
							desc = diary_buying_piety_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_09_t
							desc = diary_buying_piety_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_10_t
							desc = diary_buying_piety_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_11_t
							desc = diary_buying_piety_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_12_t
							desc = diary_buying_piety_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_13_t
							desc = diary_buying_piety_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_14_t
							desc = diary_buying_piety_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_15_t
							desc = diary_buying_piety_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_16_t
							desc = diary_buying_piety_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_17_t
							desc = diary_buying_piety_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_18_t
							desc = diary_buying_piety_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_19_t
							desc = diary_buying_piety_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = diary_buying_piety_event_20_t
							desc = diary_buying_piety_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
				}
			}
		}
	}
}

gpt_buy_renown = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				has_dynasty = yes
			 #	exists = house_head
			 #	is_house_head = yes
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = buying_renown
					AND = {
						is_ai = yes
						is_house_head = yes
						gold > 0
						dynasty = { dynasty_prestige < 0 }
					}
				}
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_01_t
							desc = diary_renown_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_02_t
							desc = diary_renown_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_03_t
							desc = diary_renown_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_04_t
							desc = diary_renown_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_05_t
							desc = diary_renown_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_06_t
							desc = diary_renown_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_07_t
							desc = diary_renown_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_08_t
							desc = diary_renown_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_09_t
							desc = diary_renown_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_10_t
							desc = diary_renown_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_11_t
							desc = diary_renown_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_12_t
							desc = diary_renown_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_13_t
							desc = diary_renown_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_14_t
							desc = diary_renown_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_15_t
							desc = diary_renown_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_16_t
							desc = diary_renown_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_17_t
							desc = diary_renown_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_18_t
							desc = diary_renown_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_19_t
							desc = diary_renown_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = diary_renown_event_20_t
							desc = diary_renown_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
				}
			}
		}
	}
}

gpt_buy_dread = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_character_flag = buying_dread
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_01_t
							desc = diary_buying_dread_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_02_t
							desc = diary_buying_dread_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_03_t
							desc = diary_buying_dread_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_04_t
							desc = diary_buying_dread_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_05_t
							desc = diary_buying_dread_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_06_t
							desc = diary_buying_dread_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_07_t
							desc = diary_buying_dread_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_08_t
							desc = diary_buying_dread_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_09_t
							desc = diary_buying_dread_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_10_t
							desc = diary_buying_dread_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_11_t
							desc = diary_buying_dread_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_12_t
							desc = diary_buying_dread_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_13_t
							desc = diary_buying_dread_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_14_t
							desc = diary_buying_dread_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_15_t
							desc = diary_buying_dread_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_16_t
							desc = diary_buying_dread_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_17_t
							desc = diary_buying_dread_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_18_t
							desc = diary_buying_dread_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_19_t
							desc = diary_buying_dread_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = diary_buying_dread_event_20_t
							desc = diary_buying_dread_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
				}
			}
		}
	}
}

gpt_tyranny_gold = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = tyranny_gold
					AND = {
						is_ai = yes
						gold < 0
						tyranny <= 20
						monthly_character_income >= 10
						NOR = {
							has_trait = compassionate
							has_trait = humble
							has_trait = just
						}
					}
				}
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_01_t
							desc = tyranny_gold_request_event_01_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_02_t
							desc = tyranny_gold_request_event_02_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_03_t
							desc = tyranny_gold_request_event_03_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_04_t
							desc = tyranny_gold_request_event_04_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_05_t
							desc = tyranny_gold_request_event_05_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_06_t
							desc = tyranny_gold_request_event_06_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_07_t
							desc = tyranny_gold_request_event_07_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_08_t
							desc = tyranny_gold_request_event_08_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_09_t
							desc = tyranny_gold_request_event_09_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_10_t
							desc = tyranny_gold_request_event_10_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_11_t
							desc = tyranny_gold_request_event_11_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_12_t
							desc = tyranny_gold_request_event_12_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_13_t
							desc = tyranny_gold_request_event_13_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_14_t
							desc = tyranny_gold_request_event_14_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tyranny_gold_request_event_15_t
							desc = tyranny_gold_request_event_15_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
				}
			}
		}
	}
}

gpt_tyranny_prestige = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = tyranny_prestige
					AND = {
						is_ai = yes
						gold < 0
						prestige < 0
						tyranny <= 20
						monthly_character_income >= 10
						NOR = {
							has_trait = compassionate
							has_trait = humble
							has_trait = just
						}
					}
				}
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_01_t
							desc = tyranny_prestige_request_event_01_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_02_t
							desc = tyranny_prestige_request_event_02_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_03_t
							desc = tyranny_prestige_request_event_03_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_04_t
							desc = tyranny_prestige_request_event_04_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_05_t
							desc = tyranny_prestige_request_event_05_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_06_t
							desc = tyranny_prestige_request_event_06_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_07_t
							desc = tyranny_prestige_request_event_07_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_08_t
							desc = tyranny_prestige_request_event_08_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_09_t
							desc = tyranny_prestige_request_event_09_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_10_t
							desc = tyranny_prestige_request_event_10_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_11_t
							desc = tyranny_prestige_request_event_11_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_12_t
							desc = tyranny_prestige_request_event_12_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_13_t
							desc = tyranny_prestige_request_event_13_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_14_t
							desc = tyranny_prestige_request_event_14_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tyranny_prestige_request_event_15_t
							desc = tyranny_prestige_request_event_15_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
				}
			}
		}
	}
}

gpt_tyranny_army = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = tyranny_army
					AND = {
						is_ai = yes
						gold < 500
						tyranny <= 20
						martial >= 16
						vassal_count >= 10
						OR = {
							has_trait = ambitious
							has_trait = greedy
						}
						NOR = {
							has_trait = compassionate
							has_trait = humble
							has_trait = just
						}
					}
				}
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_01_t
							desc = tyranny_army_request_event_01_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_02_t
							desc = tyranny_army_request_event_02_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_03_t
							desc = tyranny_army_request_event_03_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_04_t
							desc = tyranny_army_request_event_04_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_05_t
							desc = tyranny_army_request_event_05_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_06_t
							desc = tyranny_army_request_event_06_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_07_t
							desc = tyranny_army_request_event_07_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_08_t
							desc = tyranny_army_request_event_08_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_09_t
							desc = tyranny_army_request_event_09_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_10_t
							desc = tyranny_army_request_event_10_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_11_t
							desc = tyranny_army_request_event_11_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_12_t
							desc = tyranny_army_request_event_12_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_13_t
							desc = tyranny_army_request_event_13_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_14_t
							desc = tyranny_army_request_event_14_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tyranny_army_request_event_15_t
							desc = tyranny_army_request_event_15_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
				}
			}
		}
	}
}

gpt_tyranny_dread = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_character_flag = tyranny_dread
				NOR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_01_t
							desc = tyranny_dread_request_event_01_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_02_t
							desc = tyranny_dread_request_event_02_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_03_t
							desc = tyranny_dread_request_event_03_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_04_t
							desc = tyranny_dread_request_event_04_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_05_t
							desc = tyranny_dread_request_event_05_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_06_t
							desc = tyranny_dread_request_event_06_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_07_t
							desc = tyranny_dread_request_event_07_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_08_t
							desc = tyranny_dread_request_event_08_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_09_t
							desc = tyranny_dread_request_event_09_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_10_t
							desc = tyranny_dread_request_event_10_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_11_t
							desc = tyranny_dread_request_event_11_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_12_t
							desc = tyranny_dread_request_event_12_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_13_t
							desc = tyranny_dread_request_event_13_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_14_t
							desc = tyranny_dread_request_event_14_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tyranny_dread_request_event_15_t
							desc = tyranny_dread_request_event_15_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
				}
			}
		}
	}
}




gpt_buy_prestige_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = buying_prestige_tribal
					AND = {
						is_ai = yes
						gold > 500
						prestige < 500
					}
				}
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_01_t
							desc = tribal_diary_buying_prestige_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_02_t
							desc = tribal_diary_buying_prestige_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_03_t
							desc = tribal_diary_buying_prestige_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_04_t
							desc = tribal_diary_buying_prestige_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_05_t
							desc = tribal_diary_buying_prestige_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_06_t
							desc = tribal_diary_buying_prestige_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_07_t
							desc = tribal_diary_buying_prestige_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_08_t
							desc = tribal_diary_buying_prestige_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_09_t
							desc = tribal_diary_buying_prestige_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_10_t
							desc = tribal_diary_buying_prestige_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_11_t
							desc = tribal_diary_buying_prestige_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_12_t
							desc = tribal_diary_buying_prestige_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_13_t
							desc = tribal_diary_buying_prestige_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_14_t
							desc = tribal_diary_buying_prestige_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_15_t
							desc = tribal_diary_buying_prestige_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_16_t
							desc = tribal_diary_buying_prestige_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_17_t
							desc = tribal_diary_buying_prestige_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_18_t
							desc = tribal_diary_buying_prestige_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_19_t
							desc = tribal_diary_buying_prestige_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_diary_buying_prestige_event_20_t
							desc = tribal_diary_buying_prestige_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_prestige = yes }
						}
						gpt_effect_buy_prestige = yes
					}
				}
			}
		}
	}
}

gpt_buy_piety_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = buying_piety_tribal
					AND = {
						is_ai = yes
						gold > 0
						piety < 0
					}
				}
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_01_t
							desc = tribal_diary_buying_piety_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_02_t
							desc = tribal_diary_buying_piety_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_03_t
							desc = tribal_diary_buying_piety_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_04_t
							desc = tribal_diary_buying_piety_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_05_t
							desc = tribal_diary_buying_piety_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_06_t
							desc = tribal_diary_buying_piety_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_07_t
							desc = tribal_diary_buying_piety_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_08_t
							desc = tribal_diary_buying_piety_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_09_t
							desc = tribal_diary_buying_piety_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_10_t
							desc = tribal_diary_buying_piety_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_11_t
							desc = tribal_diary_buying_piety_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_12_t
							desc = tribal_diary_buying_piety_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_13_t
							desc = tribal_diary_buying_piety_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_14_t
							desc = tribal_diary_buying_piety_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_15_t
							desc = tribal_diary_buying_piety_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_16_t
							desc = tribal_diary_buying_piety_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_17_t
							desc = tribal_diary_buying_piety_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_18_t
							desc = tribal_diary_buying_piety_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_19_t
							desc = tribal_diary_buying_piety_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_piety_with_text
							title = tribal_diary_buying_piety_event_20_t
							desc = tribal_diary_buying_piety_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_piety = yes }
						}
						gpt_effect_buy_piety = yes
					}
				}
			}
		}
	}
}

gpt_buy_renown_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				has_dynasty = yes
			 #	exists = house_head
			 #	is_house_head = yes
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = buying_renown_tribal
					AND = {
						is_ai = yes
						is_house_head = yes
						gold > 0
						dynasty = { dynasty_prestige < 0 }
					}
				}
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_01_t
							desc = tribal_diary_renown_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_02_t
							desc = tribal_diary_renown_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_03_t
							desc = tribal_diary_renown_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_04_t
							desc = tribal_diary_renown_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_05_t
							desc = tribal_diary_renown_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_06_t
							desc = tribal_diary_renown_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_07_t
							desc = tribal_diary_renown_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_08_t
							desc = tribal_diary_renown_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_09_t
							desc = tribal_diary_renown_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_10_t
							desc = tribal_diary_renown_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_11_t
							desc = tribal_diary_renown_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_12_t
							desc = tribal_diary_renown_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_13_t
							desc = tribal_diary_renown_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_14_t
							desc = tribal_diary_renown_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_15_t
							desc = tribal_diary_renown_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_16_t
							desc = tribal_diary_renown_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_17_t
							desc = tribal_diary_renown_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_18_t
							desc = tribal_diary_renown_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_19_t
							desc = tribal_diary_renown_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_renown_with_text
							title = tribal_diary_renown_event_20_t
							desc = tribal_diary_renown_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_renown = yes }
						}
						gpt_effect_buy_renown = yes
					}
				}
			}
		}
	}
}

gpt_buy_dread_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_character_flag = buying_dread_tribal
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_01_t
							desc = tribal_diary_buying_dread_event_01_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_02_t
							desc = tribal_diary_buying_dread_event_02_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_03_t
							desc = tribal_diary_buying_dread_event_03_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_04_t
							desc = tribal_diary_buying_dread_event_04_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_05_t
							desc = tribal_diary_buying_dread_event_05_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_06_t
							desc = tribal_diary_buying_dread_event_06_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_07_t
							desc = tribal_diary_buying_dread_event_07_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_08_t
							desc = tribal_diary_buying_dread_event_08_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_09_t
							desc = tribal_diary_buying_dread_event_09_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_10_t
							desc = tribal_diary_buying_dread_event_10_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_11_t
							desc = tribal_diary_buying_dread_event_11_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_12_t
							desc = tribal_diary_buying_dread_event_12_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_13_t
							desc = tribal_diary_buying_dread_event_13_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_14_t
							desc = tribal_diary_buying_dread_event_14_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_15_t
							desc = tribal_diary_buying_dread_event_15_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_16_t
							desc = tribal_diary_buying_dread_event_16_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_17_t
							desc = tribal_diary_buying_dread_event_17_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_18_t
							desc = tribal_diary_buying_dread_event_18_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_19_t
							desc = tribal_diary_buying_dread_event_19_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_diary_buying_dread_event_20_t
							desc = tribal_diary_buying_dread_event_20_d
						 #	left_icon = root
							show_as_tooltip = { gpt_effect_buy_dread = yes }
						}
						gpt_effect_buy_dread = yes
					}
				}
			}
		}
	}
}

gpt_tyranny_gold_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = tyranny_gold_tribal
					AND = {
						is_ai = yes
						gold < 0
						tyranny <= 20
						monthly_character_income >= 10
						NOR = {
							has_trait = compassionate
							has_trait = humble
							has_trait = just
						}
					}
				}
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_01_t
							desc = tribal_tyranny_gold_request_event_01_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_02_t
							desc = tribal_tyranny_gold_request_event_02_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_03_t
							desc = tribal_tyranny_gold_request_event_03_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_04_t
							desc = tribal_tyranny_gold_request_event_04_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_05_t
							desc = tribal_tyranny_gold_request_event_05_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_06_t
							desc = tribal_tyranny_gold_request_event_06_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_07_t
							desc = tribal_tyranny_gold_request_event_07_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_08_t
							desc = tribal_tyranny_gold_request_event_08_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_09_t
							desc = tribal_tyranny_gold_request_event_09_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_10_t
							desc = tribal_tyranny_gold_request_event_10_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_11_t
							desc = tribal_tyranny_gold_request_event_11_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_12_t
							desc = tribal_tyranny_gold_request_event_12_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_13_t
							desc = tribal_tyranny_gold_request_event_13_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_14_t
							desc = tribal_tyranny_gold_request_event_14_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_gold_with_text
							title = tribal_tyranny_gold_request_event_15_t
							desc = tribal_tyranny_gold_request_event_15_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_gold_tt = yes }
						}
						gpt_effect_tyranny_for_gold = yes
					}
				}
			}
		}
	}
}

gpt_tyranny_prestige_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = tyranny_prestige_tribal
					AND = {
						is_ai = yes
						gold < 0
						prestige < 0
						tyranny <= 20
						monthly_character_income >= 10
						NOR = {
							has_trait = compassionate
							has_trait = humble
							has_trait = just
						}
					}
				}
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_01_t
							desc = tribal_tyranny_prestige_request_event_01_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_02_t
							desc = tribal_tyranny_prestige_request_event_02_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_03_t
							desc = tribal_tyranny_prestige_request_event_03_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_04_t
							desc = tribal_tyranny_prestige_request_event_04_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_05_t
							desc = tribal_tyranny_prestige_request_event_05_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_06_t
							desc = tribal_tyranny_prestige_request_event_06_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_07_t
							desc = tribal_tyranny_prestige_request_event_07_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_08_t
							desc = tribal_tyranny_prestige_request_event_08_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_09_t
							desc = tribal_tyranny_prestige_request_event_09_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_10_t
							desc = tribal_tyranny_prestige_request_event_10_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_11_t
							desc = tribal_tyranny_prestige_request_event_11_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_12_t
							desc = tribal_tyranny_prestige_request_event_12_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_13_t
							desc = tribal_tyranny_prestige_request_event_13_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_14_t
							desc = tribal_tyranny_prestige_request_event_14_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_prestige_with_text
							title = tribal_tyranny_prestige_request_event_15_t
							desc = tribal_tyranny_prestige_request_event_15_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_tyranny_for_prestige_tt = yes }
						}
						gpt_effect_tyranny_for_prestige = yes
					}
				}
			}
		}
	}
}

gpt_tyranny_army_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					has_character_flag = tyranny_army_tribal
					AND = {
						is_ai = yes
						gold < 500
						tyranny <= 20
						martial >= 16
						vassal_count >= 10
						OR = {
							has_trait = ambitious
							has_trait = greedy
						}
						NOR = {
							has_trait = compassionate
							has_trait = humble
							has_trait = just
						}
					}
				}
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_01_t
							desc = tribal_tyranny_army_request_event_01_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_02_t
							desc = tribal_tyranny_army_request_event_02_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_03_t
							desc = tribal_tyranny_army_request_event_03_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_04_t
							desc = tribal_tyranny_army_request_event_04_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_05_t
							desc = tribal_tyranny_army_request_event_05_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_06_t
							desc = tribal_tyranny_army_request_event_06_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_07_t
							desc = tribal_tyranny_army_request_event_07_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_08_t
							desc = tribal_tyranny_army_request_event_08_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_09_t
							desc = tribal_tyranny_army_request_event_09_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_10_t
							desc = tribal_tyranny_army_request_event_10_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_11_t
							desc = tribal_tyranny_army_request_event_11_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_12_t
							desc = tribal_tyranny_army_request_event_12_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_13_t
							desc = tribal_tyranny_army_request_event_13_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_14_t
							desc = tribal_tyranny_army_request_event_14_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
					1 = {
						send_interface_message = {
							type = event_tyranny_army_with_text
							title = tribal_tyranny_army_request_event_15_t
							desc = tribal_tyranny_army_request_event_15_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } custom_tooltip = { text = gpt_tyranny_army_tip } }
						}
						gpt_effect_tyranny_for_army = yes
					}
				}
			}
		}
	}
}

gpt_tyranny_dread_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_ruler = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_character_flag = tyranny_dread_tribal
				OR = {
				 	# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				 	# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_01_t
							desc = tribal_tyranny_dread_request_event_01_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_02_t
							desc = tribal_tyranny_dread_request_event_02_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_03_t
							desc = tribal_tyranny_dread_request_event_03_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_04_t
							desc = tribal_tyranny_dread_request_event_04_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_05_t
							desc = tribal_tyranny_dread_request_event_05_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_06_t
							desc = tribal_tyranny_dread_request_event_06_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_07_t
							desc = tribal_tyranny_dread_request_event_07_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_08_t
							desc = tribal_tyranny_dread_request_event_08_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_09_t
							desc = tribal_tyranny_dread_request_event_09_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_10_t
							desc = tribal_tyranny_dread_request_event_10_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_11_t
							desc = tribal_tyranny_dread_request_event_11_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_12_t
							desc = tribal_tyranny_dread_request_event_12_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_13_t
							desc = tribal_tyranny_dread_request_event_13_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_14_t
							desc = tribal_tyranny_dread_request_event_14_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
					1 = {
						send_interface_message = {
							type = event_buying_dread_with_text
							title = tribal_tyranny_dread_request_event_15_t
							desc = tribal_tyranny_dread_request_event_15_d
						 #	left_icon = root
							show_as_tooltip = { custom_tooltip = { text = gpt_tyranny_gain_tip } gpt_effect_dread_for_tyranny = yes }
						}
						gpt_effect_tyranny_for_dread = yes
					}
				}
			}
		}
	}
}





gpt_absent = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				is_ai = no
				highest_held_title_tier >= 2
				has_trait = gpt_absent
				NOR = { 
					has_character_flag = gpt_absent_frag_dip
					has_character_flag = gpt_absent_frag_stw
					has_character_flag = gpt_absent_frag_mar
					has_character_flag = gpt_absent_frag_int
					has_character_flag = gpt_absent_frag_ler
					has_character_flag = gpt_absent_frag_pro
				}
			}
			send_interface_message = {
				type = event_report_neutral_with_text
				title = gpt_absent_returning_home_t
				desc = gpt_absent_returning_home_d
			 #	left_icon = root
				show_as_tooltip = { remove_trait_force_tooltip = gpt_absent custom_tooltip = { text = absent_returning_tip } }
			}
			remove_trait = gpt_absent
		}

		if = { # stw
			limit = {
				is_ai = no
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_trait = gpt_absent
				has_character_flag = gpt_absent_frag_stw
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_01_t
							desc = improving_stewardship_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_02_t
							desc = improving_stewardship_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_03_t
							desc = improving_stewardship_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_04_t
							desc = improving_stewardship_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_05_t
							desc = improving_stewardship_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_06_t
							desc = improving_stewardship_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_07_t
							desc = improving_stewardship_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_08_t
							desc = improving_stewardship_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_09_t
							desc = improving_stewardship_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_10_t
							desc = improving_stewardship_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_11_t
							desc = improving_stewardship_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_12_t
							desc = improving_stewardship_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_13_t
							desc = improving_stewardship_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_14_t
							desc = improving_stewardship_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_15_t
							desc = improving_stewardship_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_16_t
							desc = improving_stewardship_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_17_t
							desc = improving_stewardship_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_18_t
							desc = improving_stewardship_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_19_t
							desc = improving_stewardship_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_stewardship_good_with_text_gpt
							title = improving_stewardship_event_20_t
							desc = improving_stewardship_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_stewardship_tip } }
						}
						add_stewardship_skill = @absent_skill add_stress = @absent_stress_gain add_stewardship_lifestyle_xp = @absent_xp
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_01_t
							desc = distracted_lack_commit_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_02_t
							desc = distracted_lack_commit_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_03_t
							desc = distracted_lack_commit_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_04_t
							desc = distracted_lack_commit_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_05_t
							desc = distracted_lack_commit_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_06_t
							desc = distracted_lack_commit_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_07_t
							desc = distracted_lack_commit_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_08_t
							desc = distracted_lack_commit_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_09_t
							desc = distracted_lack_commit_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_10_t
							desc = distracted_lack_commit_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_11_t
							desc = distracted_lack_commit_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_12_t
							desc = distracted_lack_commit_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_13_t
							desc = distracted_lack_commit_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_14_t
							desc = distracted_lack_commit_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_15_t
							desc = distracted_lack_commit_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_16_t
							desc = distracted_lack_commit_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_17_t
							desc = distracted_lack_commit_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_18_t
							desc = distracted_lack_commit_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_19_t
							desc = distracted_lack_commit_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_20_t
							desc = distracted_lack_commit_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_21_t
							desc = distracted_lack_commit_event_21_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_22_t
							desc = distracted_lack_commit_event_22_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_23_t
							desc = distracted_lack_commit_event_23_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_24_t
							desc = distracted_lack_commit_event_24_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
				}
			}
		}

		if = { # dip
			limit = {
				is_ai = no
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_trait = gpt_absent
				has_character_flag = gpt_absent_frag_dip
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_01_t
							desc = improving_diplomacy_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_02_t
							desc = improving_diplomacy_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_03_t
							desc = improving_diplomacy_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_04_t
							desc = improving_diplomacy_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_05_t
							desc = improving_diplomacy_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_06_t
							desc = improving_diplomacy_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_07_t
							desc = improving_diplomacy_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_08_t
							desc = improving_diplomacy_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_09_t
							desc = improving_diplomacy_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_10_t
							desc = improving_diplomacy_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_11_t
							desc = improving_diplomacy_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_12_t
							desc = improving_diplomacy_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_13_t
							desc = improving_diplomacy_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_14_t
							desc = improving_diplomacy_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_15_t
							desc = improving_diplomacy_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_16_t
							desc = improving_diplomacy_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_17_t
							desc = improving_diplomacy_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_18_t
							desc = improving_diplomacy_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_19_t
							desc = improving_diplomacy_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_diplomacy_good_with_text_gpt
							title = improving_diplomacy_event_20_t
							desc = improving_diplomacy_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_diplomacy_tip } }
						}
						add_diplomacy_skill = @absent_skill add_stress = @absent_stress_gain add_diplomacy_lifestyle_xp = @absent_xp
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_01_t
							desc = distracted_lack_commit_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_02_t
							desc = distracted_lack_commit_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_03_t
							desc = distracted_lack_commit_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_04_t
							desc = distracted_lack_commit_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_05_t
							desc = distracted_lack_commit_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_06_t
							desc = distracted_lack_commit_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_07_t
							desc = distracted_lack_commit_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_08_t
							desc = distracted_lack_commit_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_09_t
							desc = distracted_lack_commit_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_10_t
							desc = distracted_lack_commit_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_11_t
							desc = distracted_lack_commit_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_12_t
							desc = distracted_lack_commit_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_13_t
							desc = distracted_lack_commit_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_14_t
							desc = distracted_lack_commit_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_15_t
							desc = distracted_lack_commit_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_16_t
							desc = distracted_lack_commit_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_17_t
							desc = distracted_lack_commit_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_18_t
							desc = distracted_lack_commit_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_19_t
							desc = distracted_lack_commit_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_20_t
							desc = distracted_lack_commit_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_21_t
							desc = distracted_lack_commit_event_21_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_22_t
							desc = distracted_lack_commit_event_22_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_23_t
							desc = distracted_lack_commit_event_23_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_24_t
							desc = distracted_lack_commit_event_24_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
				}
			}
		}

		if = { # mar
			limit = {
				is_ai = no
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_trait = gpt_absent
				has_character_flag = gpt_absent_frag_mar
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_01_t
							desc = improving_martial_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_02_t
							desc = improving_martial_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_03_t
							desc = improving_martial_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_04_t
							desc = improving_martial_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_05_t
							desc = improving_martial_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_06_t
							desc = improving_martial_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_07_t
							desc = improving_martial_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_08_t
							desc = improving_martial_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_09_t
							desc = improving_martial_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_10_t
							desc = improving_martial_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_11_t
							desc = improving_martial_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_12_t
							desc = improving_martial_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_13_t
							desc = improving_martial_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_14_t
							desc = improving_martial_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_15_t
							desc = improving_martial_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_16_t
							desc = improving_martial_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_17_t
							desc = improving_martial_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_18_t
							desc = improving_martial_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_19_t
							desc = improving_martial_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_martial_good_with_text_gpt
							title = improving_martial_event_20_t
							desc = improving_martial_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_martial_tip } }
						}
						add_martial_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_01_t
							desc = distracted_lack_commit_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_02_t
							desc = distracted_lack_commit_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_03_t
							desc = distracted_lack_commit_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_04_t
							desc = distracted_lack_commit_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_05_t
							desc = distracted_lack_commit_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_06_t
							desc = distracted_lack_commit_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_07_t
							desc = distracted_lack_commit_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_08_t
							desc = distracted_lack_commit_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_09_t
							desc = distracted_lack_commit_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_10_t
							desc = distracted_lack_commit_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_11_t
							desc = distracted_lack_commit_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_12_t
							desc = distracted_lack_commit_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_13_t
							desc = distracted_lack_commit_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_14_t
							desc = distracted_lack_commit_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_15_t
							desc = distracted_lack_commit_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_16_t
							desc = distracted_lack_commit_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_17_t
							desc = distracted_lack_commit_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_18_t
							desc = distracted_lack_commit_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_19_t
							desc = distracted_lack_commit_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_20_t
							desc = distracted_lack_commit_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_21_t
							desc = distracted_lack_commit_event_21_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_22_t
							desc = distracted_lack_commit_event_22_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_23_t
							desc = distracted_lack_commit_event_23_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_24_t
							desc = distracted_lack_commit_event_24_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
				}
			}
		}

		if = { # int
			limit = {
				is_ai = no
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_trait = gpt_absent
				has_character_flag = gpt_absent_frag_int
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_01_t
							desc = improving_intrigue_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_02_t
							desc = improving_intrigue_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_03_t
							desc = improving_intrigue_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_04_t
							desc = improving_intrigue_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_05_t
							desc = improving_intrigue_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_06_t
							desc = improving_intrigue_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_07_t
							desc = improving_intrigue_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_08_t
							desc = improving_intrigue_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_09_t
							desc = improving_intrigue_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_10_t
							desc = improving_intrigue_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_11_t
							desc = improving_intrigue_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_12_t
							desc = improving_intrigue_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_13_t
							desc = improving_intrigue_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_14_t
							desc = improving_intrigue_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_15_t
							desc = improving_intrigue_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_16_t
							desc = improving_intrigue_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_17_t
							desc = improving_intrigue_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_18_t
							desc = improving_intrigue_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_19_t
							desc = improving_intrigue_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_intrigue_good_with_text_gpt
							title = improving_intrigue_event_20_t
							desc = improving_intrigue_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_intrigue_tip } }
						}
						add_intrigue_skill = @absent_skill add_stress = @absent_stress_gain add_intrigue_lifestyle_xp = @absent_xp
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_01_t
							desc = distracted_lack_commit_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_02_t
							desc = distracted_lack_commit_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_03_t
							desc = distracted_lack_commit_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_04_t
							desc = distracted_lack_commit_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_05_t
							desc = distracted_lack_commit_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_06_t
							desc = distracted_lack_commit_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_07_t
							desc = distracted_lack_commit_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_08_t
							desc = distracted_lack_commit_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_09_t
							desc = distracted_lack_commit_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_10_t
							desc = distracted_lack_commit_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_11_t
							desc = distracted_lack_commit_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_12_t
							desc = distracted_lack_commit_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_13_t
							desc = distracted_lack_commit_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_14_t
							desc = distracted_lack_commit_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_15_t
							desc = distracted_lack_commit_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_16_t
							desc = distracted_lack_commit_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_17_t
							desc = distracted_lack_commit_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_18_t
							desc = distracted_lack_commit_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_19_t
							desc = distracted_lack_commit_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_20_t
							desc = distracted_lack_commit_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_21_t
							desc = distracted_lack_commit_event_21_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_22_t
							desc = distracted_lack_commit_event_22_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_23_t
							desc = distracted_lack_commit_event_23_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_24_t
							desc = distracted_lack_commit_event_24_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
				}
			}
		}

		if = { # ler
			limit = {
				is_ai = no
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_trait = gpt_absent
				has_character_flag = gpt_absent_frag_ler
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_01_t
							desc = improving_learning_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_02_t
							desc = improving_learning_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_03_t
							desc = improving_learning_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_04_t
							desc = improving_learning_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_05_t
							desc = improving_learning_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_06_t
							desc = improving_learning_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_07_t
							desc = improving_learning_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_08_t
							desc = improving_learning_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_09_t
							desc = improving_learning_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_10_t
							desc = improving_learning_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_11_t
							desc = improving_learning_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_12_t
							desc = improving_learning_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_13_t
							desc = improving_learning_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_14_t
							desc = improving_learning_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_15_t
							desc = improving_learning_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_16_t
							desc = improving_learning_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_17_t
							desc = improving_learning_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_18_t
							desc = improving_learning_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_19_t
							desc = improving_learning_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_learning_good_with_text_gpt
							title = improving_learning_event_20_t
							desc = improving_learning_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_learning_tip } }
						}
						add_learning_skill = @absent_skill add_stress = @absent_stress_gain add_learning_lifestyle_xp = @absent_xp
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_01_t
							desc = distracted_lack_commit_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_02_t
							desc = distracted_lack_commit_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_03_t
							desc = distracted_lack_commit_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_04_t
							desc = distracted_lack_commit_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_05_t
							desc = distracted_lack_commit_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_06_t
							desc = distracted_lack_commit_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_07_t
							desc = distracted_lack_commit_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_08_t
							desc = distracted_lack_commit_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_09_t
							desc = distracted_lack_commit_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_10_t
							desc = distracted_lack_commit_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_11_t
							desc = distracted_lack_commit_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_12_t
							desc = distracted_lack_commit_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_13_t
							desc = distracted_lack_commit_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_14_t
							desc = distracted_lack_commit_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_15_t
							desc = distracted_lack_commit_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_16_t
							desc = distracted_lack_commit_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_17_t
							desc = distracted_lack_commit_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_18_t
							desc = distracted_lack_commit_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_19_t
							desc = distracted_lack_commit_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_20_t
							desc = distracted_lack_commit_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_21_t
							desc = distracted_lack_commit_event_21_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_22_t
							desc = distracted_lack_commit_event_22_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_23_t
							desc = distracted_lack_commit_event_23_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_24_t
							desc = distracted_lack_commit_event_24_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
				}
			}
		}

		if = { # pro
			limit = {
				is_ai = no
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				has_trait = gpt_absent
				has_character_flag = gpt_absent_frag_pro
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_01_t
							desc = improving_prowess_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_02_t
							desc = improving_prowess_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_03_t
							desc = improving_prowess_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_04_t
							desc = improving_prowess_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_05_t
							desc = improving_prowess_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_06_t
							desc = improving_prowess_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_07_t
							desc = improving_prowess_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_08_t
							desc = improving_prowess_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_09_t
							desc = improving_prowess_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_10_t
							desc = improving_prowess_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_11_t
							desc = improving_prowess_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_12_t
							desc = improving_prowess_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_13_t
							desc = improving_prowess_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_14_t
							desc = improving_prowess_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_15_t
							desc = improving_prowess_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_16_t
							desc = improving_prowess_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_17_t
							desc = improving_prowess_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_18_t
							desc = improving_prowess_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_19_t
							desc = improving_prowess_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					15 = {
						send_interface_message = {
							type = event_prowess_good_with_text_gpt
							title = improving_prowess_event_20_t
							desc = improving_prowess_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_gain custom_tooltip = { text = absent_prowess_tip } }
						}
						add_prowess_skill = @absent_skill add_stress = @absent_stress_gain add_martial_lifestyle_xp = @absent_xp
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_01_t
							desc = distracted_lack_commit_event_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_02_t
							desc = distracted_lack_commit_event_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_03_t
							desc = distracted_lack_commit_event_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_04_t
							desc = distracted_lack_commit_event_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_05_t
							desc = distracted_lack_commit_event_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_06_t
							desc = distracted_lack_commit_event_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_07_t
							desc = distracted_lack_commit_event_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_08_t
							desc = distracted_lack_commit_event_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_09_t
							desc = distracted_lack_commit_event_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_10_t
							desc = distracted_lack_commit_event_10_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_11_t
							desc = distracted_lack_commit_event_11_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_12_t
							desc = distracted_lack_commit_event_12_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_13_t
							desc = distracted_lack_commit_event_13_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_14_t
							desc = distracted_lack_commit_event_14_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_15_t
							desc = distracted_lack_commit_event_15_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_16_t
							desc = distracted_lack_commit_event_16_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_17_t
							desc = distracted_lack_commit_event_17_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_18_t
							desc = distracted_lack_commit_event_18_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_19_t
							desc = distracted_lack_commit_event_19_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_20_t
							desc = distracted_lack_commit_event_20_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_21_t
							desc = distracted_lack_commit_event_21_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_22_t
							desc = distracted_lack_commit_event_22_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_23_t
							desc = distracted_lack_commit_event_23_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
					10 = {
						modifier = { add = 10 stress_level >= 1 } modifier = { add = 20 stress_level >= 2 } modifier = { add = 5 OR = { has_trait = lustful has_trait = gluttonous has_trait = fickle } } modifier = { add = -5 OR = { has_trait = diligent has_trait = callous has_trait = temperate } }
						send_interface_message = {
							type = event_stressed_bad_with_text
							title = distracted_lack_commit_event_24_t
							desc = distracted_lack_commit_event_24_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl } }
						}
						add_stress = @absent_stress_loss add_prestige = { value = monthly_character_income divide = highest_held_title_tier divide = highest_held_title_tier multiply = 2 multiply = @absent_prl }
					}
				}
			}
		}

	}
}

gpt_absent_remove = {
	trigger = {
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {
		if = {
			limit = {
				is_ai = no
				has_trait = gpt_absent
				NOR = { 
					has_character_flag = gpt_absent_frag_dip
					has_character_flag = gpt_absent_frag_stw
					has_character_flag = gpt_absent_frag_mar
					has_character_flag = gpt_absent_frag_int
					has_character_flag = gpt_absent_frag_ler
					has_character_flag = gpt_absent_frag_pro
				}
			}
			send_interface_message = {
				type = event_report_neutral_with_text
				title = gpt_absent_returning_home_t
				desc = gpt_absent_returning_home_d
			 #	left_icon = root
				show_as_tooltip = { remove_trait_force_tooltip = gpt_absent custom_tooltip = { text = absent_returning_tip } }
			}
			remove_trait = gpt_absent
		}
	}
}


gpt_3_stw_regent = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					stewardship > diplomacy
					stewardship > martial
					stewardship > intrigue
					stewardship > learning
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_01_t
							desc = random_regent_penalty_stw_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_01_t
							desc = random_regent_bonus_stw_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_02_t
							desc = random_regent_penalty_stw_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_02_t
							desc = random_regent_bonus_stw_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_03_t
							desc = random_regent_penalty_stw_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_03_t
							desc = random_regent_bonus_stw_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_04_t
							desc = random_regent_penalty_stw_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_04_t
							desc = random_regent_bonus_stw_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_05_t
							desc = random_regent_penalty_stw_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_05_t
							desc = random_regent_bonus_stw_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_06_t
							desc = random_regent_penalty_stw_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_06_t
							desc = random_regent_bonus_stw_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_07_t
							desc = random_regent_penalty_stw_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_07_t
							desc = random_regent_bonus_stw_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_08_t
							desc = random_regent_penalty_stw_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_08_t
							desc = random_regent_bonus_stw_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_09_t
							desc = random_regent_penalty_stw_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_09_t
							desc = random_regent_bonus_stw_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = random_regent_penalty_stw_10_t
							desc = random_regent_penalty_stw_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = random_regent_bonus_stw_10_t
							desc = random_regent_bonus_stw_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}

gpt_3_dip_regent = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					diplomacy > stewardship
					diplomacy > martial
					diplomacy > intrigue
					diplomacy > learning
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_01_t
							desc = random_regent_penalty_dip_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_01_t
							desc = random_regent_bonus_dip_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_02_t
							desc = random_regent_penalty_dip_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_02_t
							desc = random_regent_bonus_dip_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_03_t
							desc = random_regent_penalty_dip_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_03_t
							desc = random_regent_bonus_dip_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_04_t
							desc = random_regent_penalty_dip_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_04_t
							desc = random_regent_bonus_dip_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_05_t
							desc = random_regent_penalty_dip_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_05_t
							desc = random_regent_bonus_dip_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_06_t
							desc = random_regent_penalty_dip_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_06_t
							desc = random_regent_bonus_dip_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_07_t
							desc = random_regent_penalty_dip_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_07_t
							desc = random_regent_bonus_dip_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_08_t
							desc = random_regent_penalty_dip_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_08_t
							desc = random_regent_bonus_dip_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_09_t
							desc = random_regent_penalty_dip_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_09_t
							desc = random_regent_bonus_dip_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = random_regent_penalty_dip_10_t
							desc = random_regent_penalty_dip_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = random_regent_bonus_dip_10_t
							desc = random_regent_bonus_dip_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}

gpt_3_mar_regent = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					martial > diplomacy
					martial > stewardship
					martial > intrigue
					martial > learning
				}
				has_dynasty = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_01_t
							desc = random_regent_penalty_mar_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_01_t
							desc = random_regent_bonus_mar_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_02_t
							desc = random_regent_penalty_mar_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_02_t
							desc = random_regent_bonus_mar_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_03_t
							desc = random_regent_penalty_mar_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_03_t
							desc = random_regent_bonus_mar_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_04_t
							desc = random_regent_penalty_mar_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_04_t
							desc = random_regent_bonus_mar_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_05_t
							desc = random_regent_penalty_mar_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_05_t
							desc = random_regent_bonus_mar_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_06_t
							desc = random_regent_penalty_mar_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_06_t
							desc = random_regent_bonus_mar_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_07_t
							desc = random_regent_penalty_mar_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_07_t
							desc = random_regent_bonus_mar_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_08_t
							desc = random_regent_penalty_mar_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_08_t
							desc = random_regent_bonus_mar_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_09_t
							desc = random_regent_penalty_mar_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_09_t
							desc = random_regent_bonus_mar_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = random_regent_penalty_mar_10_t
							desc = random_regent_penalty_mar_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = random_regent_bonus_mar_10_t
							desc = random_regent_bonus_mar_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}

gpt_3_ler_regent = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					learning > diplomacy
					learning > martial
					learning > intrigue
					learning > stewardship
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_01_t
							desc = random_regent_penalty_ler_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_01_t
							desc = random_regent_bonus_ler_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_02_t
							desc = random_regent_penalty_ler_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_02_t
							desc = random_regent_bonus_ler_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_03_t
							desc = random_regent_penalty_ler_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_03_t
							desc = random_regent_bonus_ler_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_04_t
							desc = random_regent_penalty_ler_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_04_t
							desc = random_regent_bonus_ler_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_05_t
							desc = random_regent_penalty_ler_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_05_t
							desc = random_regent_bonus_ler_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_06_t
							desc = random_regent_penalty_ler_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_06_t
							desc = random_regent_bonus_ler_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_07_t
							desc = random_regent_penalty_ler_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_07_t
							desc = random_regent_bonus_ler_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_08_t
							desc = random_regent_penalty_ler_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_08_t
							desc = random_regent_bonus_ler_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_09_t
							desc = random_regent_penalty_ler_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_09_t
							desc = random_regent_bonus_ler_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = random_regent_penalty_ler_10_t
							desc = random_regent_penalty_ler_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = random_regent_bonus_ler_10_t
							desc = random_regent_bonus_ler_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}

gpt_3_int_regent = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					intrigue > diplomacy
					intrigue > martial
					intrigue > stewardship
					intrigue > learning
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_01_t
							desc = random_regent_penalty_int_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_01_t
							desc = random_regent_bonus_int_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_02_t
							desc = random_regent_penalty_int_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_02_t
							desc = random_regent_bonus_int_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_03_t
							desc = random_regent_penalty_int_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_03_t
							desc = random_regent_bonus_int_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_04_t
							desc = random_regent_penalty_int_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_04_t
							desc = random_regent_bonus_int_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_05_t
							desc = random_regent_penalty_int_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_05_t
							desc = random_regent_bonus_int_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_06_t
							desc = random_regent_penalty_int_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_06_t
							desc = random_regent_bonus_int_06_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_07_t
							desc = random_regent_penalty_int_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_07_t
							desc = random_regent_bonus_int_07_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_08_t
							desc = random_regent_penalty_int_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_08_t
							desc = random_regent_bonus_int_08_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_09_t
							desc = random_regent_penalty_int_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_09_t
							desc = random_regent_bonus_int_09_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = random_regent_penalty_int_10_t
							desc = random_regent_penalty_int_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = random_regent_bonus_int_10_t
							desc = random_regent_bonus_int_10_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}


gpt_3_stw_regent_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					stewardship > diplomacy
					stewardship > martial
					stewardship > intrigue
					stewardship > learning
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_regent_penalty_stw_01_t
							desc = tribal_random_regent_penalty_stw_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_regent_bonus_stw_01_t
							desc = tribal_random_regent_bonus_stw_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_regent_penalty_stw_02_t
							desc = tribal_random_regent_penalty_stw_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_regent_bonus_stw_02_t
							desc = tribal_random_regent_bonus_stw_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_regent_penalty_stw_03_t
							desc = tribal_random_regent_penalty_stw_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_regent_bonus_stw_03_t
							desc = tribal_random_regent_bonus_stw_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_regent_penalty_stw_04_t
							desc = tribal_random_regent_penalty_stw_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_regent_bonus_stw_04_t
							desc = tribal_random_regent_bonus_stw_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = tribal_random_regent_penalty_stw_05_t
							desc = tribal_random_regent_penalty_stw_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }  root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = tribal_random_regent_bonus_stw_05_t
							desc = tribal_random_regent_bonus_stw_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_gold_level_2_player = yes } else = { gpt_effect_add_gold_level_2_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_stw_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}

gpt_3_dip_regent_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					diplomacy > stewardship
					diplomacy > martial
					diplomacy > intrigue
					diplomacy > learning
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_regent_penalty_dip_01_t
							desc = tribal_random_regent_penalty_dip_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_regent_bonus_dip_01_t
							desc = tribal_random_regent_bonus_dip_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_regent_penalty_dip_02_t
							desc = tribal_random_regent_penalty_dip_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_regent_bonus_dip_02_t
							desc = tribal_random_regent_bonus_dip_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_regent_penalty_dip_03_t
							desc = tribal_random_regent_penalty_dip_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_regent_bonus_dip_03_t
							desc = tribal_random_regent_bonus_dip_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_regent_penalty_dip_04_t
							desc = tribal_random_regent_penalty_dip_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_regent_bonus_dip_04_t
							desc = tribal_random_regent_bonus_dip_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_dip_bad_with_text
							title = tribal_random_regent_penalty_dip_05_t
							desc = tribal_random_regent_penalty_dip_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_prestige_level_5_player = yes } else = { gpt_effect_remove_prestige_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.diplomacy }
						send_interface_message = {
							type = event_council_dip_good_with_text
							title = tribal_random_regent_bonus_dip_05_t
							desc = tribal_random_regent_bonus_dip_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_prestige_level_3_player = yes } else = { gpt_effect_add_prestige_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_dip_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}

gpt_3_mar_regent_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					martial > diplomacy
					martial > stewardship
					martial > intrigue
					martial > learning
				}
				has_dynasty = yes
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_regent_penalty_mar_01_t
							desc = tribal_random_regent_penalty_mar_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_regent_bonus_mar_01_t
							desc = tribal_random_regent_bonus_mar_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_regent_penalty_mar_02_t
							desc = tribal_random_regent_penalty_mar_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_regent_bonus_mar_02_t
							desc = tribal_random_regent_bonus_mar_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_regent_penalty_mar_03_t
							desc = tribal_random_regent_penalty_mar_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_regent_bonus_mar_03_t
							desc = tribal_random_regent_bonus_mar_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_regent_penalty_mar_04_t
							desc = tribal_random_regent_penalty_mar_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_regent_bonus_mar_04_t
							desc = tribal_random_regent_bonus_mar_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_mar_bad_with_text
							title = tribal_random_regent_penalty_mar_05_t
							desc = tribal_random_regent_penalty_mar_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_renown_level_1_player = yes } else = { gpt_effect_remove_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.martial }
						send_interface_message = {
							type = event_council_mar_good_with_text
							title = tribal_random_regent_bonus_mar_05_t
							desc = tribal_random_regent_bonus_mar_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_renown_level_1_player = yes } else = { gpt_effect_add_renown_level_1_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_mar_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}

gpt_3_ler_regent_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					learning > diplomacy
					learning > martial
					learning > intrigue
					learning > stewardship
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_regent_penalty_ler_01_t
							desc = tribal_random_regent_penalty_ler_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_regent_bonus_ler_01_t
							desc = tribal_random_regent_bonus_ler_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_regent_penalty_ler_02_t
							desc = tribal_random_regent_penalty_ler_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_regent_bonus_ler_02_t
							desc = tribal_random_regent_bonus_ler_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_regent_penalty_ler_03_t
							desc = tribal_random_regent_penalty_ler_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_regent_bonus_ler_03_t
							desc = tribal_random_regent_bonus_ler_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_regent_penalty_ler_04_t
							desc = tribal_random_regent_penalty_ler_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_regent_bonus_ler_04_t
							desc = tribal_random_regent_bonus_ler_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_ler_bad_with_text
							title = tribal_random_regent_penalty_ler_05_t
							desc = tribal_random_regent_penalty_ler_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } gpt_effect_remove_piety_level_5_player = yes } else = { gpt_effect_remove_piety_level_5_ai = yes } root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.learning }
						send_interface_message = {
							type = event_council_ler_good_with_text
							title = tribal_random_regent_bonus_ler_05_t
							desc = tribal_random_regent_bonus_ler_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } gpt_effect_add_piety_level_3_player = yes } else = { gpt_effect_add_piety_level_3_ai = yes } root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_ler_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}

gpt_3_int_regent_tribal = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			government_has_flag = government_is_tribal
			government_has_flag = government_is_nomadic
		}
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				#	is_at_war = no
				has_active_diarchy = yes
				root.diarch = { 
					is_imprisoned = no
					intrigue > diplomacy
					intrigue > martial
					intrigue > stewardship
					intrigue > learning
				}
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = @event_chance_4
				random_list = {
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_regent_penalty_int_01_t
							desc = tribal_random_regent_penalty_int_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_regent_bonus_int_01_t
							desc = tribal_random_regent_bonus_int_01_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_regent_penalty_int_02_t
							desc = tribal_random_regent_penalty_int_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_regent_bonus_int_02_t
							desc = tribal_random_regent_bonus_int_02_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_regent_penalty_int_03_t
							desc = tribal_random_regent_penalty_int_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_regent_bonus_int_03_t
							desc = tribal_random_regent_bonus_int_03_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_regent_penalty_int_04_t
							desc = tribal_random_regent_penalty_int_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_regent_bonus_int_04_t
							desc = tribal_random_regent_bonus_int_04_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
					16 = { # NEGATIVE
						send_interface_message = {
							type = event_council_int_bad_with_text
							title = tribal_random_regent_penalty_int_05_t
							desc = tribal_random_regent_penalty_int_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent } } }
						}
						add_stress = @stress_p1 gpt_effect_remove_dread_15 = yes root.diarch = { add_character_modifier = { modifier = bad_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_bad_with_text title = bad_job_regent_t desc = bad_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = bad_job_regent years = 1 } } } }
					}
					0 = { # POSITIVE
						modifier = { add = root.diarch.intrigue }
						send_interface_message = {
							type = event_council_int_good_with_text
							title = tribal_random_regent_bonus_int_05_t
							desc = tribal_random_regent_bonus_int_05_d
							left_icon = root.diarch
							show_as_tooltip = { add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent } } }
						}
						add_stress = @stress_n1 gpt_effect_add_dread_15 = yes root.diarch = { add_character_modifier = { modifier = good_job_regent years = 1 } }
						root.diarch = { send_interface_message = { type = event_council_int_good_with_text title = good_job_regent_t desc = good_job_regent_d left_icon = root show_as_tooltip = { add_character_modifier = { modifier = good_job_regent years = 1 } } } }
					}
				}
			}
		}
	}
}



gpt_sponsoring = {
	trigger = {
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_decisions_enabled
		}
	}
	effect = {

		if = {
			limit = {
				highest_held_title_tier >= 3
				has_character_flag = any_expedition
				NOR = { 
					has_character_flag = diplomacy_expedition
					has_character_flag = stewardship_expedition
					has_character_flag = martial_expedition
					has_character_flag = intrigue_expedition
					has_character_flag = learning_expedition
					has_character_flag = prowess_expedition
				}
			}
			send_interface_message = {
				type = event_decision_start_end_with_text
				title = gpt_end_expedition_t
				desc = gpt_end_expedition_d
				show_as_tooltip = { custom_tooltip = { text = end_expedition_tip_1 } custom_tooltip = { text = end_expedition_tip_2 } }
			}
			remove_character_flag = any_expedition
		}

		if = { # stw
			limit = {
				has_dynasty = yes
				exists = house
				is_house_head = yes
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 3 is_imprisoned = no is_landed = yes
				OR = {
					AND = {
						has_game_rule = GPT_decisions_enabled
						is_ai = yes
						gold > 2000
						stewardship > 12
						is_at_war = no
						OR = {
							has_trait = greedy
							has_trait = gluttonous
							has_trait = lustful
						}
					}
					AND = {
						has_character_flag = any_expedition
						has_character_flag = stewardship_expedition
					}
				}
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_1_t
							desc = expedition_merchant_failure_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_2_t
							desc = expedition_merchant_failure_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_3_t
							desc = expedition_merchant_failure_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_4_t
							desc = expedition_merchant_failure_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_5_t
							desc = expedition_merchant_failure_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_6_t
							desc = expedition_merchant_failure_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_7_t
							desc = expedition_merchant_failure_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_8_t
							desc = expedition_merchant_failure_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_9_t
							desc = expedition_merchant_failure_9_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_10_t
							desc = expedition_merchant_failure_10_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_11_t
							desc = expedition_merchant_failure_11_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_12_t
							desc = expedition_merchant_failure_12_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_13_t
							desc = expedition_merchant_failure_13_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_14_t
							desc = expedition_merchant_failure_14_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_15_t
							desc = expedition_merchant_failure_15_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_16_t
							desc = expedition_merchant_failure_16_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_17_t
							desc = expedition_merchant_failure_17_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_18_t
							desc = expedition_merchant_failure_18_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_19_t
							desc = expedition_merchant_failure_19_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_merchant_failure_20_t
							desc = expedition_merchant_failure_20_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_minor_success_1_t
							desc = expedition_merchant_minor_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } remove_character_flag = stewardship_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_minor_success_2_t
							desc = expedition_merchant_minor_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } remove_character_flag = stewardship_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_minor_success_3_t
							desc = expedition_merchant_minor_success_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } remove_character_flag = stewardship_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_minor_success_4_t
							desc = expedition_merchant_minor_success_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } remove_character_flag = stewardship_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_minor_success_5_t
							desc = expedition_merchant_minor_success_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } remove_character_flag = stewardship_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_minor_success_6_t
							desc = expedition_merchant_minor_success_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } remove_character_flag = stewardship_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_minor_success_7_t
							desc = expedition_merchant_minor_success_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } remove_character_flag = stewardship_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_minor_success_8_t
							desc = expedition_merchant_minor_success_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } remove_character_flag = stewardship_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_major_success_1_t
							desc = expedition_merchant_major_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_stewardship_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_major_success years = 30 } } remove_character_flag = stewardship_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_major_success years = 30 } } }
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_merchant_major_success_2_t
							desc = expedition_merchant_major_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_stewardship_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_stewardship_major_success years = 30 } } remove_character_flag = stewardship_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_stewardship_major_success years = 30 } } }
								}
							} 
						}
					}
				}
			}
		}

		if = { # dip
			limit = {
				has_dynasty = yes
				exists = house
				is_house_head = yes
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 3 is_imprisoned = no is_landed = yes
				OR = {
					AND = {
						has_game_rule = GPT_decisions_enabled
						is_ai = yes
						gold > 2000
						diplomacy > 12
						is_at_war = no
						OR = {
							has_trait = gregarious
							has_trait = generous
							has_trait = trusting
						}
					}
					AND = {
						has_character_flag = any_expedition
						has_character_flag = diplomacy_expedition
					}
				}
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_1_t
							desc = expedition_envoy_failure_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_2_t
							desc = expedition_envoy_failure_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_3_t
							desc = expedition_envoy_failure_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_4_t
							desc = expedition_envoy_failure_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_5_t
							desc = expedition_envoy_failure_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_6_t
							desc = expedition_envoy_failure_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_7_t
							desc = expedition_envoy_failure_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_8_t
							desc = expedition_envoy_failure_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_9_t
							desc = expedition_envoy_failure_9_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_10_t
							desc = expedition_envoy_failure_10_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_11_t
							desc = expedition_envoy_failure_11_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_12_t
							desc = expedition_envoy_failure_12_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_13_t
							desc = expedition_envoy_failure_13_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_14_t
							desc = expedition_envoy_failure_14_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_15_t
							desc = expedition_envoy_failure_15_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_16_t
							desc = expedition_envoy_failure_16_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_17_t
							desc = expedition_envoy_failure_17_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_18_t
							desc = expedition_envoy_failure_18_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_19_t
							desc = expedition_envoy_failure_19_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_envoy_failure_20_t
							desc = expedition_envoy_failure_20_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_minor_success_1_t
							desc = expedition_envoy_minor_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_minor_success_2_t
							desc = expedition_envoy_minor_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_minor_success_3_t
							desc = expedition_envoy_minor_success_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_minor_success_4_t
							desc = expedition_envoy_minor_success_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_minor_success_5_t
							desc = expedition_envoy_minor_success_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_minor_success_6_t
							desc = expedition_envoy_minor_success_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_minor_success_7_t
							desc = expedition_envoy_minor_success_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_minor_success_8_t
							desc = expedition_envoy_minor_success_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_major_success_1_t
							desc = expedition_envoy_major_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_diplomacy_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_major_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_major_success years = 30 } } }
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_envoy_major_success_2_t
							desc = expedition_envoy_major_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_diplomacy_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_diplomacy_major_success years = 30 } } remove_character_flag = diplomacy_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_diplomacy_major_success years = 30 } } }
								}
							} 
						}
					}
				}
			}
		}

		if = { # mar
			limit = {
				has_dynasty = yes
				exists = house
				is_house_head = yes
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 3 is_imprisoned = no is_landed = yes
				OR = {
					AND = {
						has_game_rule = GPT_decisions_enabled
						is_ai = yes
						gold > 2000
						martial > 12
						is_at_war = no
						OR = {
							has_trait = brave
							has_trait = ambitious
							has_trait = diligent
						}
					}
					AND = {
						has_character_flag = any_expedition
						has_character_flag = martial_expedition
					}
				}
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_1_t
							desc = expedition_adventure_failure_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_2_t
							desc = expedition_adventure_failure_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_3_t
							desc = expedition_adventure_failure_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_4_t
							desc = expedition_adventure_failure_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_5_t
							desc = expedition_adventure_failure_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_6_t
							desc = expedition_adventure_failure_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_7_t
							desc = expedition_adventure_failure_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_8_t
							desc = expedition_adventure_failure_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_9_t
							desc = expedition_adventure_failure_9_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_10_t
							desc = expedition_adventure_failure_10_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_11_t
							desc = expedition_adventure_failure_11_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_12_t
							desc = expedition_adventure_failure_12_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_13_t
							desc = expedition_adventure_failure_13_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_14_t
							desc = expedition_adventure_failure_14_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_15_t
							desc = expedition_adventure_failure_15_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_16_t
							desc = expedition_adventure_failure_16_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_17_t
							desc = expedition_adventure_failure_17_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_18_t
							desc = expedition_adventure_failure_18_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_19_t
							desc = expedition_adventure_failure_19_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_adventure_failure_20_t
							desc = expedition_adventure_failure_20_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_minor_success_1_t
							desc = expedition_adventure_minor_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } remove_character_flag = martial_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_minor_success_2_t
							desc = expedition_adventure_minor_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } remove_character_flag = martial_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_minor_success_3_t
							desc = expedition_adventure_minor_success_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } remove_character_flag = martial_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_minor_success_4_t
							desc = expedition_adventure_minor_success_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } remove_character_flag = martial_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_minor_success_5_t
							desc = expedition_adventure_minor_success_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } remove_character_flag = martial_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_minor_success_6_t
							desc = expedition_adventure_minor_success_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } remove_character_flag = martial_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_minor_success_7_t
							desc = expedition_adventure_minor_success_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } remove_character_flag = martial_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_minor_success_8_t
							desc = expedition_adventure_minor_success_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } remove_character_flag = martial_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_major_success_1_t
							desc = expedition_adventure_major_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_martial_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_major_success years = 30 } } remove_character_flag = martial_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_major_success years = 30 } } }
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_adventure_major_success_2_t
							desc = expedition_adventure_major_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_martial_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_martial_major_success years = 30 } } remove_character_flag = martial_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_martial_major_success years = 30 } } }
								}
							} 
						}
					}
				}
			}
		}

		if = { # int
			limit = {
				has_dynasty = yes
				exists = house
				is_house_head = yes
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 3 is_imprisoned = no is_landed = yes
				OR = {
					AND = {
						has_game_rule = GPT_decisions_enabled
						is_ai = yes
						gold > 2000
						intrigue > 12
						is_at_war = no
						OR = {
							has_trait = arbitrary
							has_trait = deceitful
							has_trait = paranoid
						}
					}
					AND = {
						has_character_flag = any_expedition
						has_character_flag = intrigue_expedition
					}
				}
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_1_t
							desc = expedition_expert_failure_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_2_t
							desc = expedition_expert_failure_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_3_t
							desc = expedition_expert_failure_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_4_t
							desc = expedition_expert_failure_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_5_t
							desc = expedition_expert_failure_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_6_t
							desc = expedition_expert_failure_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_7_t
							desc = expedition_expert_failure_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_8_t
							desc = expedition_expert_failure_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_9_t
							desc = expedition_expert_failure_9_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_10_t
							desc = expedition_expert_failure_10_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_11_t
							desc = expedition_expert_failure_11_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_12_t
							desc = expedition_expert_failure_12_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_13_t
							desc = expedition_expert_failure_13_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_14_t
							desc = expedition_expert_failure_14_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_15_t
							desc = expedition_expert_failure_15_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_16_t
							desc = expedition_expert_failure_16_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_17_t
							desc = expedition_expert_failure_17_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_18_t
							desc = expedition_expert_failure_18_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_19_t
							desc = expedition_expert_failure_19_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_expert_failure_20_t
							desc = expedition_expert_failure_20_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_minor_success_1_t
							desc = expedition_expert_minor_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } remove_character_flag = intrigue_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_minor_success_2_t
							desc = expedition_expert_minor_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } remove_character_flag = intrigue_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_minor_success_3_t
							desc = expedition_expert_minor_success_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } remove_character_flag = intrigue_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_minor_success_4_t
							desc = expedition_expert_minor_success_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } remove_character_flag = intrigue_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_minor_success_5_t
							desc = expedition_expert_minor_success_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } remove_character_flag = intrigue_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_minor_success_6_t
							desc = expedition_expert_minor_success_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } remove_character_flag = intrigue_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_minor_success_7_t
							desc = expedition_expert_minor_success_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } remove_character_flag = intrigue_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_minor_success_8_t
							desc = expedition_expert_minor_success_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } remove_character_flag = intrigue_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_major_success_1_t
							desc = expedition_expert_major_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_intrigue_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_major_success years = 30 } } remove_character_flag = intrigue_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_major_success years = 30 } } }
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_expert_major_success_2_t
							desc = expedition_expert_major_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_intrigue_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_intrigue_major_success years = 30 } } remove_character_flag = intrigue_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_intrigue_major_success years = 30 } } }
								}
							} 
						}
					}
				}
			}
		}

		if = { # ler
			limit = {
				has_dynasty = yes
				exists = house
				is_house_head = yes
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 3 is_imprisoned = no is_landed = yes
				OR = {
					AND = {
						has_game_rule = GPT_decisions_enabled
						is_ai = yes
						gold > 2000
						learning > 12
						is_at_war = no
						OR = {
							has_trait = compassionate
							has_trait = zealous
							has_trait = humble
						}
					}
					AND = {
						has_character_flag = any_expedition
						has_character_flag = learning_expedition
					}
				}
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_1_t
							desc = expedition_pilgrims_failure_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_2_t
							desc = expedition_pilgrims_failure_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_3_t
							desc = expedition_pilgrims_failure_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_4_t
							desc = expedition_pilgrims_failure_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_5_t
							desc = expedition_pilgrims_failure_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_6_t
							desc = expedition_pilgrims_failure_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_7_t
							desc = expedition_pilgrims_failure_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_8_t
							desc = expedition_pilgrims_failure_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_9_t
							desc = expedition_pilgrims_failure_9_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_10_t
							desc = expedition_pilgrims_failure_10_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_11_t
							desc = expedition_pilgrims_failure_11_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_12_t
							desc = expedition_pilgrims_failure_12_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_13_t
							desc = expedition_pilgrims_failure_13_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_14_t
							desc = expedition_pilgrims_failure_14_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_15_t
							desc = expedition_pilgrims_failure_15_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_16_t
							desc = expedition_pilgrims_failure_16_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_17_t
							desc = expedition_pilgrims_failure_17_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_18_t
							desc = expedition_pilgrims_failure_18_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_19_t
							desc = expedition_pilgrims_failure_19_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_pilgrims_failure_20_t
							desc = expedition_pilgrims_failure_20_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_minor_success_1_t
							desc = expedition_pilgrims_minor_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } remove_character_flag = learning_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_minor_success_2_t
							desc = expedition_pilgrims_minor_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } remove_character_flag = learning_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_minor_success_3_t
							desc = expedition_pilgrims_minor_success_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } remove_character_flag = learning_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_minor_success_4_t
							desc = expedition_pilgrims_minor_success_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } remove_character_flag = learning_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_minor_success_5_t
							desc = expedition_pilgrims_minor_success_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } remove_character_flag = learning_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_minor_success_6_t
							desc = expedition_pilgrims_minor_success_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } remove_character_flag = learning_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_minor_success_7_t
							desc = expedition_pilgrims_minor_success_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } remove_character_flag = learning_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_minor_success_8_t
							desc = expedition_pilgrims_minor_success_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } remove_character_flag = learning_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_minor_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_major_success_1_t
							desc = expedition_pilgrims_major_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_learning_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_major_success years = 30 } } remove_character_flag = learning_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_major_success years = 30 } } }
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_pilgrims_major_success_2_t
							desc = expedition_pilgrims_major_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_learning_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_learning_major_success years = 30 } } remove_character_flag = learning_expedition
						house = { 
							every_house_member = {
								send_interface_message = {
									type = event_expedition_success_with_text
									title = expedition_major_success_t
									desc = expedition_major_success_d
									show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_learning_major_success years = 30 } } }
								}
							} 
						}
					}
				}
			}
		}

		if = { # pro
			limit = {
				has_dynasty = yes
				exists = house
				is_house_head = yes
				is_adult = yes
				OR = {
					is_landed = yes
					government_has_flag = government_is_administrative
				}
				highest_held_title_tier >= 3 is_imprisoned = no is_landed = yes
				OR = {
					AND = {
						has_game_rule = GPT_decisions_enabled
						is_ai = yes
						gold > 2000
						prowess > 16
						is_at_war = no
						OR = {
							has_trait = stubborn
							has_trait = wrathful
							has_trait = vengeful
						}
					}
					AND = {
						has_character_flag = any_expedition
						has_character_flag = prowess_expedition
					}
				}
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_1_t
							desc = expedition_knights_failure_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_2_t
							desc = expedition_knights_failure_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_3_t
							desc = expedition_knights_failure_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_4_t
							desc = expedition_knights_failure_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_5_t
							desc = expedition_knights_failure_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_6_t
							desc = expedition_knights_failure_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_7_t
							desc = expedition_knights_failure_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_8_t
							desc = expedition_knights_failure_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_9_t
							desc = expedition_knights_failure_9_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_10_t
							desc = expedition_knights_failure_10_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_11_t
							desc = expedition_knights_failure_11_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_12_t
							desc = expedition_knights_failure_12_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_13_t
							desc = expedition_knights_failure_13_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_14_t
							desc = expedition_knights_failure_14_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_15_t
							desc = expedition_knights_failure_15_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_16_t
							desc = expedition_knights_failure_16_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_17_t
							desc = expedition_knights_failure_17_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_18_t
							desc = expedition_knights_failure_18_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_19_t
							desc = expedition_knights_failure_19_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = { value = highest_held_title_tier multiply = 15 } }
						send_interface_message = {
							type = event_expedition_progress_with_text
							title = expedition_knights_failure_20_t
							desc = expedition_knights_failure_20_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes custom_tooltip = { text = expedition_failure_tip } }
						}
						gpt_effect_expedition_cost = yes
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_minor_success_1_t
							desc = expedition_knights_minor_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } remove_character_flag = prowess_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_minor_success_2_t
							desc = expedition_knights_minor_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } remove_character_flag = prowess_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_minor_success_3_t
							desc = expedition_knights_minor_success_3_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } remove_character_flag = prowess_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_minor_success_4_t
							desc = expedition_knights_minor_success_4_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } remove_character_flag = prowess_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_minor_success_5_t
							desc = expedition_knights_minor_success_5_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } remove_character_flag = prowess_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_minor_success_6_t
							desc = expedition_knights_minor_success_6_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } remove_character_flag = prowess_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_minor_success_7_t
							desc = expedition_knights_minor_success_7_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } remove_character_flag = prowess_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_minor_success_8_t
							desc = expedition_knights_minor_success_8_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } remove_character_flag = prowess_expedition
						house = {
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_minor_success_t
										desc = expedition_minor_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_minor_success years = 30 } } }
									}									
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_major_success_1_t
							desc = expedition_knights_major_success_1_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_prowess_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_major_success years = 30 } } remove_character_flag = prowess_expedition
						house = { 
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_major_success_t
										desc = expedition_major_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_major_success years = 30 } } }
									}
								}
							} 
						}
					}
					5 = {
						modifier = { add = monthly_character_income }
						send_interface_message = {
							type = event_expedition_success_with_text
							title = expedition_knights_major_success_2_t
							desc = expedition_knights_major_success_2_d
							show_as_tooltip = { gpt_effect_expedition_cost = yes house = {  add_house_modifier = { modifier = expedition_prowess_major_success years = 30 } } }
						}
						gpt_effect_expedition_cost = yes house = { add_house_modifier = { modifier = expedition_prowess_major_success years = 30 } } remove_character_flag = prowess_expedition
						house = { 
							every_house_member = {
								if = {
									limit = {
										is_house_head = no
									}
									send_interface_message = {
										type = event_expedition_success_with_text
										title = expedition_major_success_t
										desc = expedition_major_success_d
										show_as_tooltip = { house = { add_house_modifier = { modifier = expedition_prowess_major_success years = 30 } } }
									}
								}
							} 
						}
					}
				}
			}
		}
	}
}

gpt_war_tax = {
	trigger = {
		is_landless_adventurer = no
	 	has_game_rule = GPT_decisions_enabled
		is_at_war = no
		OR = {
			has_character_modifier = gpt_low_war_tax
			has_character_modifier = gpt_medium_war_tax
			has_character_modifier = gpt_high_war_tax
		}
	}
	effect = {
		if = { limit = { has_character_modifier = gpt_low_war_tax } 
			send_interface_message = {
				type = event_decision_start_end_with_text
				title = gpt_end_war_tax_t
				desc = gpt_end_war_tax_d
				show_as_tooltip = { remove_character_modifier = gpt_low_war_tax }
			} 
			remove_character_modifier = gpt_low_war_tax 
		}
		if = { limit = { has_character_modifier = gpt_medium_war_tax } 
			send_interface_message = {
				type = event_decision_start_end_with_text
				title = gpt_end_war_tax_t
				desc = gpt_end_war_tax_d
				show_as_tooltip = { remove_character_modifier = gpt_medium_war_tax }
			} 
			remove_character_modifier = gpt_medium_war_tax 
		}
		if = { limit = { has_character_modifier = gpt_high_war_tax } 
			send_interface_message = {
				type = event_decision_start_end_with_text
				title = gpt_end_war_tax_t
				desc = gpt_end_war_tax_d
				show_as_tooltip = { remove_character_modifier = gpt_high_war_tax }
			} 
			remove_character_modifier = gpt_high_war_tax 
		}
	}
}


gpt_power_projection = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		is_ai = no
	 	has_game_rule = GPT_trade_enabled
		is_ruler = yes
		highest_held_title_tier >= 2
	}
	effect = {

		if = {
			limit = {
				gpt_power_projection_trigger_lv5 = yes
			}
			add_character_flag = gpt_power_projection_flag_lv5
		 	if = { limit = { has_character_flag = gpt_power_projection_flag_lv1 } remove_character_flag = gpt_power_projection_flag_lv1 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv2 } remove_character_flag = gpt_power_projection_flag_lv2 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv3 } remove_character_flag = gpt_power_projection_flag_lv3 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv4 } remove_character_flag = gpt_power_projection_flag_lv4 }
		 #	if = { limit = { has_character_flag = gpt_power_projection_flag_lv5 } remove_character_flag = gpt_power_projection_flag_lv5 }
		}
		else_if = {
			limit = {
				gpt_power_projection_trigger_lv4 = yes
			}
			add_character_flag = gpt_power_projection_flag_lv4
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv1 } remove_character_flag = gpt_power_projection_flag_lv1 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv2 } remove_character_flag = gpt_power_projection_flag_lv2 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv3 } remove_character_flag = gpt_power_projection_flag_lv3 }
		 #	if = { limit = { has_character_flag = gpt_power_projection_flag_lv4 } remove_character_flag = gpt_power_projection_flag_lv4 }
		 	if = { limit = { has_character_flag = gpt_power_projection_flag_lv5 } remove_character_flag = gpt_power_projection_flag_lv5 }
		}
		else_if = {
			limit = {
				gpt_power_projection_trigger_lv3 = yes
			}
			add_character_flag = gpt_power_projection_flag_lv3
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv1 } remove_character_flag = gpt_power_projection_flag_lv1 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv2 } remove_character_flag = gpt_power_projection_flag_lv2 }
		 #	if = { limit = { has_character_flag = gpt_power_projection_flag_lv3 } remove_character_flag = gpt_power_projection_flag_lv3 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv4 } remove_character_flag = gpt_power_projection_flag_lv4 }
		 	if = { limit = { has_character_flag = gpt_power_projection_flag_lv5 } remove_character_flag = gpt_power_projection_flag_lv5 }
		}
		else_if = {
			limit = {
				gpt_power_projection_trigger_lv2 = yes
			}
			add_character_flag = gpt_power_projection_flag_lv2
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv1 } remove_character_flag = gpt_power_projection_flag_lv1 }
		 #	if = { limit = { has_character_flag = gpt_power_projection_flag_lv2 } remove_character_flag = gpt_power_projection_flag_lv2 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv3 } remove_character_flag = gpt_power_projection_flag_lv3 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv4 } remove_character_flag = gpt_power_projection_flag_lv4 }
		 	if = { limit = { has_character_flag = gpt_power_projection_flag_lv5 } remove_character_flag = gpt_power_projection_flag_lv5 }
		}
		else = {
			add_character_flag = gpt_power_projection_flag_lv1
		 #	if = { limit = { has_character_flag = gpt_power_projection_flag_lv1 } remove_character_flag = gpt_power_projection_flag_lv1 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv2 } remove_character_flag = gpt_power_projection_flag_lv2 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv3 } remove_character_flag = gpt_power_projection_flag_lv3 }
			if = { limit = { has_character_flag = gpt_power_projection_flag_lv4 } remove_character_flag = gpt_power_projection_flag_lv4 }
		 	if = { limit = { has_character_flag = gpt_power_projection_flag_lv5 } remove_character_flag = gpt_power_projection_flag_lv5 }
		}

		if = { # lv1
			limit = {
				has_character_flag = gpt_power_projection_flag_lv1
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_pp_neutral_with_text
							title = random_insignificant_power_projection_0_t
							desc = random_insignificant_power_projection_0_d
							show_as_tooltip = { gpt_effect_power_projection_lv1_tt = yes custom_tooltip = { text = gpt_pptip } }
						}
						gpt_effect_power_projection_lv1 = yes
					}
				}
			}
		}
		if = { # lv2
			limit = {
				has_character_flag = gpt_power_projection_flag_lv2
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_pp_neutral_with_text
							title = random_low_power_projection_t
							desc = random_low_power_projection_d
							show_as_tooltip = { gpt_effect_power_projection_lv2_tt = yes custom_tooltip = { text = gpt_pptip } }
						}
						gpt_effect_power_projection_lv2 = yes
					}
				}
			}
		}
		if = { # lv3
			limit = {
				has_character_flag = gpt_power_projection_flag_lv3
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_pp_good_with_text
							title = random_avg_power_projection_t
							desc = random_avg_power_projection_d
							show_as_tooltip = { gpt_effect_power_projection_lv3_tt = yes custom_tooltip = { text = gpt_pptip } }
						}
						gpt_effect_power_projection_lv3 = yes
					}
				}
			}
		}
		if = { # lv4
			limit = {
				has_character_flag = gpt_power_projection_flag_lv4
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_pp_good_with_text
							title = random_high_power_projection_t
							desc = random_high_power_projection_d
							show_as_tooltip = { gpt_effect_power_projection_lv4_tt = yes custom_tooltip = { text = gpt_pptip } }
						}
						gpt_effect_power_projection_lv4 = yes
					}
				}
			}
		}
		if = { # lv5
			limit = {
				has_character_flag = gpt_power_projection_flag_lv5
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_pp_good_with_text
							title = random_imperial_power_projection_t
							desc = random_imperial_power_projection_d
							show_as_tooltip = { gpt_effect_power_projection_lv5_tt = yes custom_tooltip = { text = gpt_pptip } }
						}
						gpt_effect_power_projection_lv5 = yes
					}
				}
			}
		}

		if = {
			limit = {
				has_character_flag = gpt_power_projection_flag_lv4
				any_vassal_or_below = {
					has_character_flag = gpt_power_projection_flag_lv5
				}
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_pp_bad_with_text
							title = random_vassal_projection_t
							desc = random_vassal_projection_d
							show_as_tooltip = { gpt_effect_power_projection_lose = yes }
						}
						gpt_effect_power_projection_lose = yes
					}
				}
			}
		}

		if = {
			limit = {
				has_character_flag = gpt_power_projection_flag_lv3
				any_vassal_or_below = {
					OR = {
						has_character_flag = gpt_power_projection_flag_lv4
						has_character_flag = gpt_power_projection_flag_lv5
					}
				}
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_pp_bad_with_text
							title = random_vassal_projection_t
							desc = random_vassal_projection_d
							show_as_tooltip = { gpt_effect_power_projection_lose = yes }
						}
						gpt_effect_power_projection_lose = yes
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = gpt_power_projection_flag_lv2
				any_vassal_or_below = {
					OR = {
						has_character_flag = gpt_power_projection_flag_lv3
						has_character_flag = gpt_power_projection_flag_lv4
						has_character_flag = gpt_power_projection_flag_lv5
					}
				}
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_pp_bad_with_text
							title = random_vassal_projection_t
							desc = random_vassal_projection_d
							show_as_tooltip = { gpt_effect_power_projection_lose = yes }
						}
						gpt_effect_power_projection_lose = yes
					}
				}
			}
		}
		if = {
			limit = {
				has_character_flag = gpt_power_projection_flag_lv1
				any_vassal_or_below = {
					OR = {
						has_character_flag = gpt_power_projection_flag_lv2
						has_character_flag = gpt_power_projection_flag_lv3
						has_character_flag = gpt_power_projection_flag_lv4
						has_character_flag = gpt_power_projection_flag_lv5
					}
				}
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_pp_bad_with_text
							title = random_vassal_projection_t
							desc = random_vassal_projection_d
							show_as_tooltip = { gpt_effect_power_projection_lose = yes }
						}
						gpt_effect_power_projection_lose = yes
					}
				}
			}
		}
	}
}

gpt_trade_power = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		is_ai = no
	 	has_game_rule = GPT_trade_enabled
		is_ruler = yes
		highest_held_title_tier >= 2
		any_sub_realm_county = {
			count >= 1
			is_coastal_county = yes
			any_county_province = {
				OR = {
					has_building_or_higher = common_tradeport_01
				}
			}
		}
	}
	effect = {

		if = {
			limit = {
				any_sub_realm_county = {
					count >= 1
					any_county_province = {
						geographical_region = dlc_fp2_mediterranean_shoreline
						has_building_or_higher = common_tradeport_01
					}
				}
			}
			add_character_flag = gpt_trade_medit
		}

		if = {
			limit = {
				NOT = {
					any_sub_realm_county = {
						count >= 1
						any_county_province = {
							geographical_region = dlc_fp2_mediterranean_shoreline
							has_building_or_higher = common_tradeport_01
						}
					}
				}
			}
			if = { limit = { has_character_flag = gpt_trade_medit } remove_character_flag = gpt_trade_medit }
		}

		if = {
			limit = {
				gpt_trade_power_trigger_lv5 = yes
			}
			add_character_flag = gpt_trade_power_flag_lv5
		 	if = { limit = { has_character_flag = gpt_trade_power_flag_lv1 } remove_character_flag = gpt_trade_power_flag_lv1 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv2 } remove_character_flag = gpt_trade_power_flag_lv2 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv3 } remove_character_flag = gpt_trade_power_flag_lv3 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv4 } remove_character_flag = gpt_trade_power_flag_lv4 }
		 #	if = { limit = { has_character_flag = gpt_trade_power_flag_lv5 } remove_character_flag = gpt_trade_power_flag_lv5 }
		}
		else_if = {
			limit = {
				gpt_trade_power_trigger_lv4 = yes
			}
			add_character_flag = gpt_trade_power_flag_lv4
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv1 } remove_character_flag = gpt_trade_power_flag_lv1 }
		 	if = { limit = { has_character_flag = gpt_trade_power_flag_lv2 } remove_character_flag = gpt_trade_power_flag_lv2 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv3 } remove_character_flag = gpt_trade_power_flag_lv3 }
		 #	if = { limit = { has_character_flag = gpt_trade_power_flag_lv4 } remove_character_flag = gpt_trade_power_flag_lv4 }
		 	if = { limit = { has_character_flag = gpt_trade_power_flag_lv5 } remove_character_flag = gpt_trade_power_flag_lv5 }
		}
		else_if = {
			limit = {
				gpt_trade_power_trigger_lv3 = yes
			}
			add_character_flag = gpt_trade_power_flag_lv3
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv1 } remove_character_flag = gpt_trade_power_flag_lv1 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv2 } remove_character_flag = gpt_trade_power_flag_lv2 }
		 #	if = { limit = { has_character_flag = gpt_trade_power_flag_lv3 } remove_character_flag = gpt_trade_power_flag_lv3 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv4 } remove_character_flag = gpt_trade_power_flag_lv4 }
		 	if = { limit = { has_character_flag = gpt_trade_power_flag_lv5 } remove_character_flag = gpt_trade_power_flag_lv5 }
		}
		else_if = {
			limit = {
				gpt_trade_power_trigger_lv2 = yes
			}
			add_character_flag = gpt_trade_power_flag_lv2
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv1 } remove_character_flag = gpt_trade_power_flag_lv1 }
		 #	if = { limit = { has_character_flag = gpt_trade_power_flag_lv2 } remove_character_flag = gpt_trade_power_flag_lv2 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv3 } remove_character_flag = gpt_trade_power_flag_lv3 }
		 	if = { limit = { has_character_flag = gpt_trade_power_flag_lv4 } remove_character_flag = gpt_trade_power_flag_lv4 }
		 	if = { limit = { has_character_flag = gpt_trade_power_flag_lv5 } remove_character_flag = gpt_trade_power_flag_lv5 }
		}
		else = {
			add_character_flag = gpt_trade_power_flag_lv1
		 #	if = { limit = { has_character_flag = gpt_trade_power_flag_lv1 } remove_character_flag = gpt_trade_power_flag_lv1 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv2 } remove_character_flag = gpt_trade_power_flag_lv2 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv3 } remove_character_flag = gpt_trade_power_flag_lv3 }
			if = { limit = { has_character_flag = gpt_trade_power_flag_lv4 } remove_character_flag = gpt_trade_power_flag_lv4 }
		 	if = { limit = { has_character_flag = gpt_trade_power_flag_lv5 } remove_character_flag = gpt_trade_power_flag_lv5 }
		}

		if = { # lv1
			limit = {
				has_character_flag = gpt_trade_power_flag_lv1
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_gpt_trade_neutral_with_text
							title = random_insignificant_trade_power_0_t
							desc = random_insignificant_trade_power_0_d
							show_as_tooltip = {
								if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv1 = yes custom_tooltip = { text = gpt_tptip_medit } custom_tooltip = { text = gpt_tptip } custom_tooltip = { text = gpt_tptip2 } }
								else = { gpt_effect_trade_power_lv1 = yes custom_tooltip = { text = gpt_tptip } }
							}
						}
						if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv1 = yes }
						else = { gpt_effect_trade_power_lv1 = yes }
					}
				}
			}
		}
		if = { # lv2
			limit = {
				has_character_flag = gpt_trade_power_flag_lv2
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_gpt_trade_neutral_with_text
							title = random_low_trade_power_0_t
							desc = random_low_trade_power_0_d
							show_as_tooltip = {
								if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv2 = yes custom_tooltip = { text = gpt_tptip_medit } custom_tooltip = { text = gpt_tptip } custom_tooltip = { text = gpt_tptip2 } }
								else = { gpt_effect_trade_power_lv2 = yes custom_tooltip = { text = gpt_tptip } }
							}
						}
						if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv2 = yes }
						else = { gpt_effect_trade_power_lv2 = yes }
					}
				}
			}
		}
		if = { # lv3
			limit = {
				has_character_flag = gpt_trade_power_flag_lv3
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_gpt_trade_good_with_text
							title = random_avg_trade_power_0_t
							desc = random_avg_trade_power_0_d
							show_as_tooltip = {
								if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv3 = yes custom_tooltip = { text = gpt_tptip_medit } custom_tooltip = { text = gpt_tptip } custom_tooltip = { text = gpt_tptip2 } }
								else = { gpt_effect_trade_power_lv3 = yes custom_tooltip = { text = gpt_tptip } }
							}
						}
						if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv3 = yes }
						else = { gpt_effect_trade_power_lv3 = yes }
					}
				}
			}
		}
		if = { # lv4
			limit = {
				has_character_flag = gpt_trade_power_flag_lv4
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_gpt_trade_good_with_text
							title = random_high_trade_power_0_t
							desc = random_high_trade_power_0_d
							show_as_tooltip = {
								if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv4 = yes custom_tooltip = { text = gpt_tptip_medit } custom_tooltip = { text = gpt_tptip } custom_tooltip = { text = gpt_tptip2 } }
								else = { gpt_effect_trade_power_lv4 = yes custom_tooltip = { text = gpt_tptip } }
							}
						}
						if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv4 = yes }
						else = { gpt_effect_trade_power_lv4 = yes }
					}
				}
			}
		}
		if = { # lv5
			limit = {
				has_character_flag = gpt_trade_power_flag_lv5
			}
			random = {
				chance = 100
				random_list = {
					5 = {
						send_interface_message = {
							type = event_gpt_trade_good_with_text
							title = random_imperial_trade_power_0_t
							desc = random_imperial_trade_power_0_d
							show_as_tooltip = {
								if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv5 = yes custom_tooltip = { text = gpt_tptip_medit } custom_tooltip = { text = gpt_tptip } custom_tooltip = { text = gpt_tptip2 } }
								else = { gpt_effect_trade_power_lv5 = yes custom_tooltip = { text = gpt_tptip } }
							}
						}
						if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_trade_power_medit_lv5 = yes }
						else = { gpt_effect_trade_power_lv5 = yes }
					}
				}
			}
		}
	}
}

gpt_piracy = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		is_ai = no
	 	has_game_rule = GPT_trade_enabled
		NOT = { has_character_flag = gpt_combat_piracy_flag_lv3 }
		is_ruler = yes
		highest_held_title_tier >= 2
		OR = {
			has_character_flag = gpt_trade_power_flag_lv1
			has_character_flag = gpt_trade_power_flag_lv2
			has_character_flag = gpt_trade_power_flag_lv3
			has_character_flag = gpt_trade_power_flag_lv4
			has_character_flag = gpt_trade_power_flag_lv5
		}
	}
	effect = {

		if = {
			limit = {
				gpt_combat_piracy_trigger_lv3 = yes
			}
			add_character_flag = gpt_combat_piracy_flag_lv3
			if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv0 } remove_character_flag = gpt_combat_piracy_flag_lv0 }
		 	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv1 } remove_character_flag = gpt_combat_piracy_flag_lv1 }
			if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv2 } remove_character_flag = gpt_combat_piracy_flag_lv2 }
		 #	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv3 } remove_character_flag = gpt_combat_piracy_flag_lv3 }
		}
		else_if = {
			limit = {
				gpt_combat_piracy_trigger_lv2 = yes
			}
			add_character_flag = gpt_combat_piracy_flag_lv2
			if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv0 } remove_character_flag = gpt_combat_piracy_flag_lv0 }
		 	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv1 } remove_character_flag = gpt_combat_piracy_flag_lv1 }
		 #	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv2 } remove_character_flag = gpt_combat_piracy_flag_lv2 }
		 	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv3 } remove_character_flag = gpt_combat_piracy_flag_lv3 }
		}
		else_if = {
			limit = {
				gpt_combat_piracy_trigger_lv1 = yes
			}
			add_character_flag = gpt_combat_piracy_flag_lv1
			if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv0 } remove_character_flag = gpt_combat_piracy_flag_lv0 }
		  #	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv1 } remove_character_flag = gpt_combat_piracy_flag_lv1 }
		 	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv2 } remove_character_flag = gpt_combat_piracy_flag_lv2 }
		 	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv3 } remove_character_flag = gpt_combat_piracy_flag_lv3 }
		}
		else = {
			add_character_flag = gpt_combat_piracy_flag_lv0
		 #	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv0 } remove_character_flag = gpt_combat_piracy_flag_lv0 }
		 	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv1 } remove_character_flag = gpt_combat_piracy_flag_lv1 }
		 	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv2 } remove_character_flag = gpt_combat_piracy_flag_lv2 }
		 	if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv3 } remove_character_flag = gpt_combat_piracy_flag_lv3 }
		}


		if = { # piracy
			limit = {
				NOT = { has_character_flag = gpt_combat_piracy_flag_lv3 }
			}
			random = {
				chance = {
					value = 30
					if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv2 } add = -20 }
					if = { limit = { has_character_flag = gpt_combat_piracy_flag_lv1 } add = -10 }
				}
				random_list = {
					5 = {
						send_interface_message = {
							type = event_gpt_piracy_bad_with_text
							title = random_piracy_malus_1_t
							desc = random_piracy_malus_1_d
							show_as_tooltip = {
								if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_piracy_medit = yes custom_tooltip = { text = gpt_pirate_tt } }
								else = { gpt_effect_piracy = yes custom_tooltip = { text = gpt_tptip } }
							}
						}
						if = { limit = { has_character_flag = gpt_trade_medit } gpt_effect_piracy_medit = yes }
						else = { gpt_effect_piracy = yes }
					}
				}
			}
		}
	}
}

gpt_landlock = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
	 	has_game_rule = GPT_micro_enabled
		is_ruler = yes
	}
	effect = {

		if = {
			limit = {
				NOT = { has_character_modifier = gpt_coastal_yes }
				any_sub_realm_county = {
					count >= 1
					is_coastal_county = yes
				}
			}
			send_interface_message = {
				type = event_gpt_landlock_good_with_text
				title = gpt_coastal_access_t
				desc = gpt_coastal_access_d
				show_as_tooltip = { custom_tooltip = { text = gpt_landlock_tip } add_character_modifier = gpt_coastal_yes }
			}
			add_character_modifier = gpt_coastal_yes
		 #	if = { limit = { has_character_modifier = gpt_coastal_yes } remove_character_modifier = gpt_coastal_yes }
		 	if = { limit = { has_character_modifier = gpt_coastal_river } remove_character_modifier = gpt_coastal_river }
		 	if = { limit = { has_character_modifier = gpt_coastal_landlock } remove_character_modifier = gpt_coastal_landlock }
		}
		else_if = {
			limit = {
				NOT = { has_character_modifier = gpt_coastal_river }
				any_sub_realm_county = {
					count >= 1
					is_riverside_county = yes
				}
				NOT = {
					any_sub_realm_county = {
						count >= 1
						is_coastal_county = yes
					}
				}
			}
			send_interface_message = {
				type = event_gpt_landlock_neutral_with_text
				title = gpt_river_access_t
				desc = gpt_river_access_d
				show_as_tooltip = { custom_tooltip = { text = gpt_landlock_tip } add_character_modifier = gpt_coastal_river }
			}
			add_character_modifier = gpt_coastal_river
		 	if = { limit = { has_character_modifier = gpt_coastal_yes } remove_character_modifier = gpt_coastal_yes }
		  #	if = { limit = { has_character_modifier = gpt_coastal_river } remove_character_modifier = gpt_coastal_river }
		 	if = { limit = { has_character_modifier = gpt_coastal_landlock } remove_character_modifier = gpt_coastal_landlock }
		}
		else_if = {
			limit = {
				NOT = { has_character_modifier = gpt_coastal_landlock }
				NOT = {
					any_sub_realm_county = {
						count >= 1
						OR = {
							is_coastal_county = yes
							is_riverside_county = yes
						}
					}
				}
			}
			send_interface_message = {
				type = event_gpt_landlock_bad_with_text
				title = gpt_landlock_access_t
				desc = gpt_landlock_access_d
				show_as_tooltip = { custom_tooltip = { text = gpt_landlock_tip } add_character_modifier = gpt_coastal_landlock }
			}
			add_character_modifier = gpt_coastal_landlock
			if = { limit = { has_character_modifier = gpt_coastal_yes } remove_character_modifier = gpt_coastal_yes }
		 	if = { limit = { has_character_modifier = gpt_coastal_river } remove_character_modifier = gpt_coastal_river }
		 #	if = { limit = { has_character_modifier = gpt_coastal_landlock } remove_character_modifier = gpt_coastal_landlock }
		}
		else = {  }
	}
}

gpt_landlock_remove = {
	trigger = {
	 	has_game_rule = GPT_micro_enabled
	}
	effect = {
		if = {
			limit = {
				is_landed = no
			}
		 	if = { limit = { has_character_modifier = gpt_coastal_yes } remove_character_modifier = gpt_coastal_yes }
		 	if = { limit = { has_character_modifier = gpt_coastal_river } remove_character_modifier = gpt_coastal_river }
		 	if = { limit = { has_character_modifier = gpt_coastal_landlock } remove_character_modifier = gpt_coastal_landlock }
		}
	}
}

gpt_liege_opinion = {
	trigger = {
		is_landless_adventurer = no
	 	OR = {
			has_game_rule = GPT_micro_enabled
			has_game_rule = GPT_micro_land_disabled
		}
		OR = {
			is_ai = no
			OR = {
				is_ruler = yes
				government_has_flag = government_is_administrative
			}
		}
	}
	effect = {

		if = {
			limit = {
				NOT = { has_character_modifier = gpt_liege_hate_high_CA }
				exists = root.liege
				root.liege = {
					opinion = {
						target = root
						value < -50
					}
					OR = {
						has_realm_law = crown_authority_2
						has_realm_law = crown_authority_3
					}
				}
			}
			send_interface_message = {
				type = event_gpt_liege_bad_with_text
				title = gpt_liege_hate_t
				desc = gpt_liege_hate_d
				left_icon = root.liege
				show_as_tooltip = { custom_tooltip = { text = gpt_liege_dilike_lca_tip } add_character_modifier = gpt_liege_hate_high_CA }
			}
			add_character_modifier = gpt_liege_hate_high_CA
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_low_CA } remove_character_modifier = gpt_liege_dislike_low_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_high_CA } remove_character_modifier = gpt_liege_dislike_high_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_hate_low_CA } remove_character_modifier = gpt_liege_hate_low_CA }
		 #	if = { limit = { has_character_modifier = gpt_liege_hate_high_CA } remove_character_modifier = gpt_liege_hate_high_CA }
		}
		else_if = {
			limit = {
				NOT = { has_character_modifier = gpt_liege_hate_low_CA }
				exists = root.liege
				root.liege = {
					opinion = {
						target = root
						value < -50
					}
					NOR = {
						has_realm_law = crown_authority_2
						has_realm_law = crown_authority_3
					}
				}
			}
			send_interface_message = {
				type = event_gpt_liege_bad_with_text
				title = gpt_liege_hate_t
				desc = gpt_liege_hate_d
				left_icon = root.liege
				show_as_tooltip = { custom_tooltip = { text = gpt_liege_dilike_lca_tip } add_character_modifier = gpt_liege_hate_low_CA }
			}
			add_character_modifier = gpt_liege_hate_low_CA
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_low_CA } remove_character_modifier = gpt_liege_dislike_low_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_high_CA } remove_character_modifier = gpt_liege_dislike_high_CA }
		 #	if = { limit = { has_character_modifier = gpt_liege_hate_low_CA } remove_character_modifier = gpt_liege_hate_low_CA }
			if = { limit = { has_character_modifier = gpt_liege_hate_high_CA } remove_character_modifier = gpt_liege_hate_high_CA }
		}
		else_if = {
			limit = {
				NOT = { has_character_modifier = gpt_liege_dislike_high_CA }
				exists = root.liege
				root.liege = {
					opinion = {
						target = root
						value < 0
					}
					opinion = {
						target = root
						value > -50
					}
					OR = {
						has_realm_law = crown_authority_2
						has_realm_law = crown_authority_3
					}
				}
			}
			send_interface_message = {
				type = event_gpt_liege_bad_with_text
				title = gpt_liege_dislike_t
				desc = gpt_liege_dislike_d
				left_icon = root.liege
				show_as_tooltip = { custom_tooltip = { text = gpt_liege_dilike_lca_tip } add_character_modifier = gpt_liege_dislike_high_CA }
			}
			add_character_modifier = gpt_liege_dislike_high_CA
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_low_CA } remove_character_modifier = gpt_liege_dislike_low_CA }
		 #	if = { limit = { has_character_modifier = gpt_liege_dislike_high_CA } remove_character_modifier = gpt_liege_dislike_high_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_hate_low_CA } remove_character_modifier = gpt_liege_hate_low_CA }
			if = { limit = { has_character_modifier = gpt_liege_hate_high_CA } remove_character_modifier = gpt_liege_hate_high_CA }
		}
		else_if = {
			limit = {
				NOT = { has_character_modifier = gpt_liege_dislike_low_CA }
				exists = root.liege
				root.liege = {
					opinion = {
						target = root
						value < 0
					}
					opinion = {
						target = root
						value > -50
					}
					NOR = {
						has_realm_law = crown_authority_2
						has_realm_law = crown_authority_3
					}
				}
			}
			send_interface_message = {
				type = event_gpt_liege_bad_with_text
				title = gpt_liege_dislike_t
				desc = gpt_liege_dislike_d
				left_icon = root.liege
				show_as_tooltip = { custom_tooltip = { text = gpt_liege_dilike_lca_tip } add_character_modifier = gpt_liege_dislike_low_CA }
			}
			add_character_modifier = gpt_liege_dislike_low_CA
		 #	if = { limit = { has_character_modifier = gpt_liege_dislike_low_CA } remove_character_modifier = gpt_liege_dislike_low_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_high_CA } remove_character_modifier = gpt_liege_dislike_high_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_hate_low_CA } remove_character_modifier = gpt_liege_hate_low_CA }
			if = { limit = { has_character_modifier = gpt_liege_hate_high_CA } remove_character_modifier = gpt_liege_hate_high_CA }
		}
		else = {  }

		if = {
			limit = {
				is_independent_ruler = no
				exists = root.liege
				root.liege = {
					opinion = {
						target = root
						value > 0
					}
				}
			}
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_low_CA } remove_character_modifier = gpt_liege_dislike_low_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_high_CA } remove_character_modifier = gpt_liege_dislike_high_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_hate_low_CA } remove_character_modifier = gpt_liege_hate_low_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_hate_high_CA } remove_character_modifier = gpt_liege_hate_high_CA }
		}

		if = {
			limit = {
				is_independent_ruler = yes
			}
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_low_CA } remove_character_modifier = gpt_liege_dislike_low_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_dislike_high_CA } remove_character_modifier = gpt_liege_dislike_high_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_hate_low_CA } remove_character_modifier = gpt_liege_hate_low_CA }
		 	if = { limit = { has_character_modifier = gpt_liege_hate_high_CA } remove_character_modifier = gpt_liege_hate_high_CA }
		}
	}
}

gpt_terrain = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
	 	has_game_rule = GPT_micro_enabled
		is_ruler = yes
		sub_realm_size >= 8
	}
	effect = {

		if = {
			limit = {
				NOT = { has_character_modifier = gpt_low_population_1 }
				NOT = {
					any_sub_realm_county = {
						percent >= 0.05
						any_county_province = {
							OR = {
							 	terrain = farmlands
							 	terrain = floodplains
							 	terrain = oasis
							}
						}
					}
				}
			}
			send_interface_message = {
				type = event_gpt_farmlands_bad_with_text
				title = gpt_low_population_t
				desc = gpt_low_population_d
				show_as_tooltip = { add_character_modifier = gpt_low_population_1 custom_tooltip = { text = gpt_low_population_tip } }
			}
			add_character_modifier = gpt_low_population_1
		}
		else_if = {
			limit = {
				has_character_modifier = gpt_low_population_1
				any_sub_realm_county = {
					percent >= 0.05
					any_county_province = {
						OR = {
						 	terrain = farmlands
						 	terrain = floodplains
						 	terrain = oasis
						}
					}
				}
			}
			send_interface_message = {
				type = event_gpt_farmlands_neutral_with_text
				title = gpt_normal_population_t
				desc = gpt_normal_population_d
				show_as_tooltip = { remove_character_modifier = gpt_low_population_1 }
			}
			remove_character_modifier = gpt_low_population_1
		}
		else = {  }

		if = {
			limit = {
				NOT = { has_character_modifier = gpt_low_food_1 }
				NOT = {
					any_sub_realm_county = {
						percent >= 0.25
						any_county_province = {
							OR = {
							 	terrain = plains
							 	terrain = drylands
								terrain = forest
								terrain = farmlands
							 	terrain = floodplains
							 	terrain = oasis
							 #	is_coastal = yes
							 #	is_riverside_province = yes
							}
						}
					}
				}
			}
			send_interface_message = {
				type = event_gpt_plains_bad_with_text
				title = gpt_low_food_t
				desc = gpt_low_food_d
				show_as_tooltip = { add_character_modifier = gpt_low_food_1 custom_tooltip = { text = gpt_low_food_tip } }
			}
			add_character_modifier = gpt_low_food_1
		}
		else_if = {
			limit = {
				has_character_modifier = gpt_low_food_1
				any_sub_realm_county = {
					percent >= 0.25
					any_county_province = {
						OR = {
						 	terrain = plains
							terrain = drylands
							terrain = forest
							terrain = farmlands
							terrain = floodplains
							terrain = oasis
						 #	is_coastal = yes
						 #	is_riverside_province = yes
						}
					}
				}
			}
			send_interface_message = {
				type = event_gpt_plains_neutral_with_text
				title = gpt_normal_food_t
				desc = gpt_normal_food_d
				show_as_tooltip = { remove_character_modifier = gpt_low_food_1 }
			}
			remove_character_modifier = gpt_low_food_1
		}
		else = {  }

		if = {
			limit = {
				NOT = { has_character_modifier = gpt_low_production_1 }
				NOT = {
					any_sub_realm_county = {
						percent >= 0.25
						any_county_province = {
							OR = {
								terrain = mountains
								terrain = desert_mountains
								terrain = forest
								terrain = taiga
								terrain = jungle
							}
						}
					}
				}
			}
			send_interface_message = {
				type = event_gpt_forest_bad_with_text
				title = gpt_low_production_t
				desc = gpt_low_production_d
				show_as_tooltip = { add_character_modifier = gpt_low_production_1 custom_tooltip = { text = gpt_low_production_tip } }
			}
			add_character_modifier = gpt_low_production_1
		}
		else_if = {
			limit = {
				has_character_modifier = gpt_low_production_1
				any_sub_realm_county = {
					percent >= 0.25
					any_county_province = {
						OR = {
						 	terrain = mountains
							terrain = desert_mountains
						 	terrain = forest
						 	terrain = taiga
							terrain = jungle
						}
					}
				}
			}
			send_interface_message = {
				type = event_gpt_forest_neutral_with_text
				title = gpt_normal_production_t
				desc = gpt_normal_production_d
				show_as_tooltip = { remove_character_modifier = gpt_low_production_1 }
			}
			remove_character_modifier = gpt_low_production_1
		}
		else = {  }

		if = {
			limit = {
				NOT = { has_character_modifier = gpt_low_control_1 }
				any_sub_realm_county = {
					percent >= 0.75
					any_county_province = {
						OR = {
							terrain = wetlands
							terrain = desert
							terrain = hills
							terrain = steppe
							terrain = taiga
							terrain = mountains
						}
					}
				}
			}
			send_interface_message = {
				type = event_gpt_hills_bad_with_text
				title = gpt_low_control_t
				desc = gpt_low_control_d
				show_as_tooltip = { add_character_modifier = gpt_low_control_1 custom_tooltip = { text = gpt_low_control_tip } }
			}
			add_character_modifier = gpt_low_control_1
		}
		else_if = {
			limit = {
				has_character_modifier = gpt_low_control_1
				NOT = {
					any_sub_realm_county = {
						percent >= 0.75
						any_county_province = {
							OR = {
								terrain = wetlands
								terrain = desert
								terrain = hills
								terrain = steppe
								terrain = taiga
								terrain = mountains
							}
						}
					}
				}
			}
			send_interface_message = {
				type = event_gpt_hills_neutral_with_text
				title = gpt_normal_control_t
				desc = gpt_normal_control_d
				show_as_tooltip = { remove_character_modifier = gpt_low_control_1 }
			}
			remove_character_modifier = gpt_low_control_1
		}
		else = {  }		
	}
}

gpt_terrain_remove = {
	trigger = {
	 	has_game_rule = GPT_micro_enabled
	}
	effect = {
		if = {
			limit = {
				is_landed = no
			}
			if = { limit = { has_character_modifier = gpt_low_control_1 } remove_character_modifier = gpt_low_control_1 }
			if = { limit = { has_character_modifier = gpt_low_food_1 } remove_character_modifier = gpt_low_food_1 }
			if = { limit = { has_character_modifier = gpt_low_population_1 } remove_character_modifier = gpt_low_population_1 }
			if = { limit = { has_character_modifier = gpt_low_production_1 } remove_character_modifier = gpt_low_production_1 }
		}
		if = {
			limit = {
				is_ruler = yes
				is_landed = yes
				sub_realm_size <= 7
			}
			if = { limit = { has_character_modifier = gpt_low_control_1 } remove_character_modifier = gpt_low_control_1 }
			if = { limit = { has_character_modifier = gpt_low_food_1 } remove_character_modifier = gpt_low_food_1 }
			if = { limit = { has_character_modifier = gpt_low_population_1 } remove_character_modifier = gpt_low_population_1 }
			if = { limit = { has_character_modifier = gpt_low_production_1 } remove_character_modifier = gpt_low_production_1 }
		}
	}
}


gpt_ruler_favoritism = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				piety_level >= 1
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				any_neighboring_and_across_water_top_liege_realm_owner = {
					highest_held_title_tier >= 3
					opinion = {
						target = root
						value >= 50
					}
				}
			}
			random = {
				chance = {
					value = @event_chance_1
					if = { limit = { any_neighboring_and_across_water_top_liege_realm_owner = { count >= 2 highest_held_title_tier >= 3 opinion = { target = root value >= 50 } } } add = 15 }
					if = { limit = { any_neighboring_and_across_water_top_liege_realm_owner = { count >= 3 highest_held_title_tier >= 3 opinion = { target = root value >= 50 } } } add = 15 }
				}
				random_list = {
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_1_t
							desc = random_diplomatic_favor_bonus_1_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_2_t
							desc = random_diplomatic_favor_bonus_2_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_3_t
							desc = random_diplomatic_favor_bonus_3_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_4_t
							desc = random_diplomatic_favor_bonus_4_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_5_t
							desc = random_diplomatic_favor_bonus_5_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_6_t
							desc = random_diplomatic_favor_bonus_6_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_7_t
							desc = random_diplomatic_favor_bonus_7_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_8_t
							desc = random_diplomatic_favor_bonus_8_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_9_t
							desc = random_diplomatic_favor_bonus_9_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_10_t
							desc = random_diplomatic_favor_bonus_10_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_11_t
							desc = random_diplomatic_favor_bonus_11_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_12_t
							desc = random_diplomatic_favor_bonus_12_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_13_t
							desc = random_diplomatic_favor_bonus_13_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_14_t
							desc = random_diplomatic_favor_bonus_14_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_15_t
							desc = random_diplomatic_favor_bonus_15_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_16_t
							desc = random_diplomatic_favor_bonus_16_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_17_t
							desc = random_diplomatic_favor_bonus_17_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_18_t
							desc = random_diplomatic_favor_bonus_18_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
					5 = {
						send_interface_message = {
							type = event_favoritism_good_with_text
							title = random_diplomatic_favor_bonus_19_t
							desc = random_diplomatic_favor_bonus_19_d
							show_as_tooltip = { gpt_effect_ruler_favoritism = yes custom_tooltip = { text = gpt_favoritism_tip } }
						}
						gpt_effect_ruler_favoritism = yes
					}
				}
			}
		}
	}
}

gpt_ruler_connections = {
	trigger = {
		is_landless_adventurer = no
		NOT = { government_has_flag = government_is_administrative }
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				piety_level >= 1
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					any_neighboring_and_across_water_top_liege_realm_owner = {
						highest_held_title_tier >= root.highest_held_title_tier
						legitimacy_level >= 4
						OR = {
							is_close_or_extended_family_of = root
							has_relation_friend = root
							has_relation_best_friend = root
							has_relation_lover = root
							has_relation_soulmate = root
							opinion = {
								target = root
								value >= 50
							}
						}
					}
					any_ally = {
						highest_held_title_tier >= root.highest_held_title_tier
						legitimacy_level >= 4
					}
				}
			}
			random = {
				chance = {
					value = @event_chance_7
					if = {
						limit = {
							OR = {
								any_neighboring_and_across_water_top_liege_realm_owner = { 
									count >= 2 
									highest_held_title_tier >= root.highest_held_title_tier
									legitimacy_level >= 4
									OR = {
										is_close_or_extended_family_of = root
										has_relation_friend = root
										has_relation_best_friend = root
										has_relation_lover = root
										has_relation_soulmate = root
										opinion = {
											target = root
											value >= 50
										}
									}
								}
								any_ally = {
									highest_held_title_tier >= root.highest_held_title_tier
									legitimacy_level >= 4
								}
							}
						} 
						add = 15
					}
					if = {
						limit = {
							OR = {
								any_neighboring_and_across_water_top_liege_realm_owner = { 
									count >= 3
									highest_held_title_tier >= root.highest_held_title_tier
									legitimacy_level >= 4
									OR = {
										is_close_or_extended_family_of = root
										has_relation_friend = root
										has_relation_best_friend = root
										has_relation_lover = root
										has_relation_soulmate = root
										opinion = {
											target = root
											value >= 50
										}
									}
								}
								any_ally = {
									highest_held_title_tier >= root.highest_held_title_tier
									legitimacy_level >= 4
								}
							}
						} 
						add = 15
					}
				}
				random_list = {
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_1_t
							desc = random_diplomatic_connect_bonus_1_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_2_t
							desc = random_diplomatic_connect_bonus_2_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_3_t
							desc = random_diplomatic_connect_bonus_3_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_4_t
							desc = random_diplomatic_connect_bonus_4_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_5_t
							desc = random_diplomatic_connect_bonus_5_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_6_t
							desc = random_diplomatic_connect_bonus_6_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_7_t
							desc = random_diplomatic_connect_bonus_7_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_8_t
							desc = random_diplomatic_connect_bonus_8_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_9_t
							desc = random_diplomatic_connect_bonus_9_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_10_t
							desc = random_diplomatic_connect_bonus_10_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_11_t
							desc = random_diplomatic_connect_bonus_11_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_12_t
							desc = random_diplomatic_connect_bonus_12_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_13_t
							desc = random_diplomatic_connect_bonus_13_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_14_t
							desc = random_diplomatic_connect_bonus_14_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_15_t
							desc = random_diplomatic_connect_bonus_15_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_16_t
							desc = random_diplomatic_connect_bonus_16_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_17_t
							desc = random_diplomatic_connect_bonus_17_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_18_t
							desc = random_diplomatic_connect_bonus_18_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_19_t
							desc = random_diplomatic_connect_bonus_19_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_20_t
							desc = random_diplomatic_connect_bonus_20_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } add_legitimacy = @positive_legitimacy } else = { add_legitimacy = @positive_legitimacy_ai }
					}
				}
			}
		}
	}
}

gpt_rival_covert_operations = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				any_neighboring_and_across_water_top_liege_realm_owner = {
					highest_held_title_tier >= 3
					opinion = {
						target = root
						value <= -50
					}
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = intrigue multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_spymaster
						}
						add = { value = cp:councillor_spymaster.intrigue multiply = -2 }
					}
				}
				random_list = {
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_1_t
							desc = random_covert_malus_1_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_2_t
							desc = random_covert_malus_2_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_3_t
							desc = random_covert_malus_3_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_4_t
							desc = random_covert_malus_4_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_5_t
							desc = random_covert_malus_5_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_6_t
							desc = random_covert_malus_6_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_7_t
							desc = random_covert_malus_7_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_8_t
							desc = random_covert_malus_8_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_9_t
							desc = random_covert_malus_9_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_10_t
							desc = random_covert_malus_10_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_11_t
							desc = random_covert_malus_11_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_12_t
							desc = random_covert_malus_12_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_13_t
							desc = random_covert_malus_13_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_14_t
							desc = random_covert_malus_14_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_15_t
							desc = random_covert_malus_15_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_16_t
							desc = random_covert_malus_16_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_17_t
							desc = random_covert_malus_17_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_18_t
							desc = random_covert_malus_18_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_19_t
							desc = random_covert_malus_19_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
					5 = {
						send_interface_message = {
							type = event_covert_bad_with_text
							title = random_covert_malus_20_t
							desc = random_covert_malus_20_d
							show_as_tooltip = { add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes } custom_tooltip = { text = covert_op_tip } }
						}
						add_stress = @stress_p2 if = { limit = { is_ai = no } gpt_effect_remove_gold_level_4_player = yes } else = { gpt_effect_remove_gold_level_4_ai = yes }
					}
				}
			}
		}
	}
}





gpt_vassal_stances = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
		has_game_rule = GPT_micro_enabled
		NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
		has_royal_court = yes
        vassal_count >= 5
		number_of_powerful_vassals >= 5
	}
	effect = {
		if = { #GH
			limit = {
				any_vassal = {
					percent >= 0.3
					has_vassal_stance = glory_hound
				}
				any_powerful_vassal = {
					percent >= 0.5
					has_vassal_stance = glory_hound
				}
			}
			if = {
				limit = {
					gpt_glory_hound_demands_pos = yes
					NOT = { has_character_modifier = gpt_glory_hounds_sup }
				}
				send_interface_message = {
					type = event_gpt_glory_hound_good_with_text
					title = gpt_glory_hounds_sup_t
					desc = gpt_glory_hounds_sup_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_glory_hounds_tip } add_character_modifier = gpt_glory_hounds_sup }
				}
				add_character_modifier = gpt_glory_hounds_sup
			 #	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
				if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
				if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_glory_hound_demands_dem = yes
					NOT = { has_character_modifier = gpt_glory_hounds_dem }
				}
				send_interface_message = {
					type = event_gpt_glory_hound_bad_with_text
					title = gpt_glory_hounds_dem_t
					desc = gpt_glory_hounds_dem_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_glory_hounds_tip } add_character_modifier = gpt_glory_hounds_dem }
				}
				add_character_modifier = gpt_glory_hounds_dem
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
			 #	if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
				if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
				if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_glory_hound_demands_neg = yes
					NOT = { has_character_modifier = gpt_glory_hounds_neg }
				}
				send_interface_message = {
					type = event_gpt_glory_hound_bad_with_text
					title = gpt_glory_hounds_neg_t
					desc = gpt_glory_hounds_neg_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_glory_hounds_tip } add_character_modifier = gpt_glory_hounds_neg }
				}
				add_character_modifier = gpt_glory_hounds_neg
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
			 #	if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
				if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
				if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else = {  }
		}
		else_if = { #Parochial
			limit = {
				any_vassal = {
					percent >= 0.3
					has_vassal_stance = parochial
				}
				any_powerful_vassal = {
					percent >= 0.5
					has_vassal_stance = parochial
				}
			}
			if = {
				limit = {
					gpt_parochial_demands_pos = yes
					NOT = { has_character_modifier = gpt_parochials_sup }
				}
				send_interface_message = {
					type = event_gpt_parochial_good_with_text
					title = gpt_parochials_sup_t
					desc = gpt_parochials_sup_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_parochial_tip } add_character_modifier = gpt_parochials_sup }
				}
				add_character_modifier = gpt_parochials_sup
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			 #	if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
				if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_parochial_demands_dem = yes
					NOT = { has_character_modifier = gpt_parochials_dem }
				}
				send_interface_message = {
					type = event_gpt_parochial_bad_with_text
					title = gpt_parochials_dem_t
					desc = gpt_parochials_dem_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_parochial_tip } add_character_modifier = gpt_parochials_dem }
				}
				add_character_modifier = gpt_parochials_dem
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
				if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
			 #	if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
				if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_parochial_demands_neg = yes
					NOT = { has_character_modifier = gpt_parochials_neg }
				}
				send_interface_message = {
					type = event_gpt_parochial_bad_with_text
					title = gpt_parochials_neg_t
					desc = gpt_parochials_neg_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_parochial_tip } add_character_modifier = gpt_parochials_neg }
				}
				add_character_modifier = gpt_parochials_neg
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
				if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
			 #	if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
				if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else = {  }
		}
		else_if = { #Courtly
			limit = {
				any_vassal = {
					percent >= 0.3
					has_vassal_stance = courtly
				}
				any_powerful_vassal = {
					percent >= 0.5
					has_vassal_stance = courtly
				}
			}
			if = {
				limit = {
					gpt_courtly_demands_pos = yes
					NOT = { has_character_modifier = gpt_courtly_sup }
				}
				send_interface_message = {
					type = event_gpt_courtly_good_with_text
					title = gpt_courtly_sup_t
					desc = gpt_courtly_sup_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_courtly_tip } add_character_modifier = gpt_courtly_sup }
				}
				add_character_modifier = gpt_courtly_sup
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			 	if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
			 #	if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_courtly_demands_dem = yes
					NOT = { has_character_modifier = gpt_courtly_dem }
				}
				send_interface_message = {
					type = event_gpt_courtly_bad_with_text
					title = gpt_courtly_dem_t
					desc = gpt_courtly_dem_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_courtly_tip } add_character_modifier = gpt_courtly_dem }
				}
				add_character_modifier = gpt_courtly_dem
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
				if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
			 	if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
				if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
			 #	if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_courtly_demands_neg = yes
					NOT = { has_character_modifier = gpt_courtly_neg }
				}
				send_interface_message = {
					type = event_gpt_courtly_bad_with_text
					title = gpt_courtly_neg_t
					desc = gpt_courtly_neg_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_courtly_tip } add_character_modifier = gpt_courtly_neg }
				}
				add_character_modifier = gpt_courtly_neg
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
				if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
			 	if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
				if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
			 #	if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else = {  }
		}
		else_if = { #zealot
			limit = {
				any_vassal = {
					percent >= 0.3
					has_vassal_stance = zealot
				}
				any_powerful_vassal = {
					percent >= 0.5
					has_vassal_stance = zealot
				}
			}
			if = {
				limit = {
					gpt_zealot_demands_pos = yes
					NOT = { has_character_modifier = gpt_zealot_sup }
				}
				send_interface_message = {
					type = event_gpt_zealot_good_with_text
					title = gpt_zealot_sup_t
					desc = gpt_zealot_sup_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_zealot_tip } add_character_modifier = gpt_zealot_sup }
				}
				add_character_modifier = gpt_zealot_sup
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			 	if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
			 	if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
			 #	if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_zealot_demands_dem = yes
					NOT = { has_character_modifier = gpt_zealot_dem }
				}
				send_interface_message = {
					type = event_gpt_zealot_bad_with_text
					title = gpt_zealot_dem_t
					desc = gpt_zealot_dem_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_zealot_tip } add_character_modifier = gpt_zealot_dem }
				}
				add_character_modifier = gpt_zealot_dem
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			 	if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
			 	if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
			 #	if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_zealot_demands_neg = yes
					NOT = { has_character_modifier = gpt_zealot_neg }
				}
				send_interface_message = {
					type = event_gpt_zealot_bad_with_text
					title = gpt_zealot_neg_t
					desc = gpt_zealot_neg_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_zealot_tip } add_character_modifier = gpt_zealot_neg }
				}
				add_character_modifier = gpt_zealot_neg
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			 	if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
			 	if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
			 #	if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else = {  }
		}
		else_if = { #minority
			limit = {
				any_vassal = {
					percent >= 0.3
					has_vassal_stance = minority
            	}
				any_powerful_vassal = {
					percent >= 0.5
					has_vassal_stance = minority
				}
			}
			if = {
				limit = {
					gpt_minority_demands_pos = yes
					NOT = { has_character_modifier = gpt_minority_sup }
				}
				send_interface_message = {
					type = event_gpt_minority_good_with_text
					title = gpt_minority_sup_t
					desc = gpt_minority_sup_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_minority_tip } add_character_modifier = gpt_minority_sup }
				}
				add_character_modifier = gpt_minority_sup
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			 	if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
			 	if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
			 #	if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_minority_demands_dem = yes
					NOT = { has_character_modifier = gpt_minority_dem }
				}
				send_interface_message = {
					type = event_gpt_minority_bad_with_text
					title = gpt_minority_dem_t
					desc = gpt_minority_dem_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_minority_tip } add_character_modifier = gpt_minority_dem }
				}
				add_character_modifier = gpt_minority_dem
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			 	if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
			 	if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
			 #	if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
				if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else_if = {
				limit = {
					gpt_minority_demands_neg = yes
					NOT = { has_character_modifier = gpt_minority_neg }
				}
				send_interface_message = {
					type = event_gpt_minority_bad_with_text
					title = gpt_minority_neg_t
					desc = gpt_minority_neg_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_minority_tip } add_character_modifier = gpt_minority_neg }
				}
				add_character_modifier = gpt_minority_neg
			 	if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			 	if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
			 	if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
			 #	if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
			 	if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
			else = {  }
		}
		else = {
			if = {
				limit = {
					NOT = { has_character_modifier = gpt_no_dominant_faction }
				}
				send_interface_message = {
					type = event_gpt_unpredictable_good_with_text
					title = gpt_no_dominant_faction_t
					desc = gpt_no_dominant_faction_d
					show_as_tooltip = { custom_tooltip = { text = gpt_dominant_not_tip } add_character_modifier = gpt_no_dominant_faction }
				}
				add_character_modifier = gpt_no_dominant_faction
				if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
				if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
				if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
				if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
				if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
				if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
				if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
				if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
				if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
				if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
				if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
				if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
				if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
				if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
				if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
			 #	if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
			}
		}
	}
}

gpt_vassal_stances_remove = {
	trigger = {
		has_game_rule = GPT_micro_enabled
	}
	effect = {
		if = {
			limit = {
				is_landed = no
			}
			if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
			if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
			if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
			if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
			if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
			if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
			if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
			if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
			if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
			if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
			if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
			if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
			if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
			if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
			if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
		}
		if = {
			limit = {
				NOR = {	government_has_flag = government_is_tribal government_has_flag = government_is_nomadic }
				has_royal_court = yes
				vassal_count <= 5
				number_of_powerful_vassals <= 5
			}
			if = { limit = { has_character_modifier = gpt_glory_hounds_sup } remove_character_modifier = gpt_glory_hounds_sup }
			if = { limit = { has_character_modifier = gpt_glory_hounds_dem } remove_character_modifier = gpt_glory_hounds_dem }
			if = { limit = { has_character_modifier = gpt_glory_hounds_neg } remove_character_modifier = gpt_glory_hounds_neg }
			if = { limit = { has_character_modifier = gpt_parochials_sup } remove_character_modifier = gpt_parochials_sup }
			if = { limit = { has_character_modifier = gpt_parochials_dem } remove_character_modifier = gpt_parochials_dem }
			if = { limit = { has_character_modifier = gpt_parochials_neg } remove_character_modifier = gpt_parochials_neg }
			if = { limit = { has_character_modifier = gpt_courtly_sup } remove_character_modifier = gpt_courtly_sup }
			if = { limit = { has_character_modifier = gpt_courtly_dem } remove_character_modifier = gpt_courtly_dem }
			if = { limit = { has_character_modifier = gpt_courtly_neg } remove_character_modifier = gpt_courtly_neg }
			if = { limit = { has_character_modifier = gpt_zealot_sup } remove_character_modifier = gpt_zealot_sup }
			if = { limit = { has_character_modifier = gpt_zealot_dem } remove_character_modifier = gpt_zealot_dem }
			if = { limit = { has_character_modifier = gpt_zealot_neg } remove_character_modifier = gpt_zealot_neg }
			if = { limit = { has_character_modifier = gpt_minority_sup } remove_character_modifier = gpt_minority_sup }
			if = { limit = { has_character_modifier = gpt_minority_dem } remove_character_modifier = gpt_minority_dem }
			if = { limit = { has_character_modifier = gpt_minority_neg } remove_character_modifier = gpt_minority_neg }
			if = { limit = { has_character_modifier = gpt_no_dominant_faction } remove_character_modifier = gpt_no_dominant_faction }
		}
	}
}

gpt_emoji = {
	trigger = {
	 	OR = {
			has_game_rule = GPT_micro_enabled
			has_game_rule = GPT_micro_land_disabled
		}
		is_adult = yes
		is_ai = no
	}
	effect = {

		if = {
			limit = {
				NOT = { has_character_modifier = gpt_emoji_lv5_modif }
				gpt_happy_lv5 = yes
			}
			send_interface_message = {
				type = event_gpt_emoji_lv5_with_text
				title = gpt_emoji_lv5_t
				desc = gpt_emoji_lv5_d
			 #	left_icon = root
				show_as_tooltip = { custom_tooltip = { text = gpt_emoji_tip } add_character_modifier = gpt_emoji_lv5_modif }
			}
			add_character_modifier = gpt_emoji_lv5_modif
		 #	if = { limit = { has_character_modifier = gpt_emoji_lv5_modif } remove_character_modifier = gpt_emoji_lv5_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv4_modif } remove_character_modifier = gpt_emoji_lv4_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv3_modif } remove_character_modifier = gpt_emoji_lv3_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv2_modif } remove_character_modifier = gpt_emoji_lv2_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv1_modif } remove_character_modifier = gpt_emoji_lv1_modif }
		}
		else_if = {
			limit = {
				NOT = { has_character_modifier = gpt_emoji_lv4_modif }
				gpt_happy_lv4 = yes
			}
			send_interface_message = {
				type = event_gpt_emoji_lv4_with_text
				title = gpt_emoji_lv4_t
				desc = gpt_emoji_lv4_d
			 #	left_icon = root
				show_as_tooltip = { custom_tooltip = { text = gpt_emoji_tip } add_character_modifier = gpt_emoji_lv4_modif }
			}
			add_character_modifier = gpt_emoji_lv4_modif
		 	if = { limit = { has_character_modifier = gpt_emoji_lv5_modif } remove_character_modifier = gpt_emoji_lv5_modif }
		 #	if = { limit = { has_character_modifier = gpt_emoji_lv4_modif } remove_character_modifier = gpt_emoji_lv4_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv3_modif } remove_character_modifier = gpt_emoji_lv3_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv2_modif } remove_character_modifier = gpt_emoji_lv2_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv1_modif } remove_character_modifier = gpt_emoji_lv1_modif }
		}
		else_if = {
			limit = {
				NOT = { has_character_modifier = gpt_emoji_lv3_modif }
				gpt_happy_lv3 = yes
			}
			send_interface_message = {
				type = event_gpt_emoji_lv3_with_text
				title = gpt_emoji_lv3_t
				desc = gpt_emoji_lv3_d
			 #	left_icon = root
				show_as_tooltip = { custom_tooltip = { text = gpt_emoji_tip } add_character_modifier = gpt_emoji_lv3_modif }
			}
			add_character_modifier = gpt_emoji_lv3_modif
		 	if = { limit = { has_character_modifier = gpt_emoji_lv5_modif } remove_character_modifier = gpt_emoji_lv5_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv4_modif } remove_character_modifier = gpt_emoji_lv4_modif }
		 #	if = { limit = { has_character_modifier = gpt_emoji_lv3_modif } remove_character_modifier = gpt_emoji_lv3_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv2_modif } remove_character_modifier = gpt_emoji_lv2_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv1_modif } remove_character_modifier = gpt_emoji_lv1_modif }
		}
		else_if = {
			limit = {
				NOT = { has_character_modifier = gpt_emoji_lv2_modif }
				gpt_happy_lv2 = yes
			}
			send_interface_message = {
				type = event_gpt_emoji_lv2_with_text
				title = gpt_emoji_lv2_t
				desc = gpt_emoji_lv2_d
			 #	left_icon = root
				show_as_tooltip = { custom_tooltip = { text = gpt_emoji_tip } add_character_modifier = gpt_emoji_lv2_modif }
			}
			add_character_modifier = gpt_emoji_lv2_modif
		 	if = { limit = { has_character_modifier = gpt_emoji_lv5_modif } remove_character_modifier = gpt_emoji_lv5_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv4_modif } remove_character_modifier = gpt_emoji_lv4_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv3_modif } remove_character_modifier = gpt_emoji_lv3_modif }
		 #	if = { limit = { has_character_modifier = gpt_emoji_lv2_modif } remove_character_modifier = gpt_emoji_lv2_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv1_modif } remove_character_modifier = gpt_emoji_lv1_modif }
		}
		else = {
			limit = {
				NOT = { has_character_modifier = gpt_emoji_lv1_modif }
			}
			send_interface_message = {
				type = event_gpt_emoji_lv1_with_text
				title = gpt_emoji_lv1_t
				desc = gpt_emoji_lv1_d
			 #	left_icon = root
				show_as_tooltip = { custom_tooltip = { text = gpt_emoji_tip } add_character_modifier = gpt_emoji_lv1_modif }
			}
			add_character_modifier = gpt_emoji_lv1_modif
		 	if = { limit = { has_character_modifier = gpt_emoji_lv5_modif } remove_character_modifier = gpt_emoji_lv5_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv4_modif } remove_character_modifier = gpt_emoji_lv4_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv3_modif } remove_character_modifier = gpt_emoji_lv3_modif }
		 	if = { limit = { has_character_modifier = gpt_emoji_lv2_modif } remove_character_modifier = gpt_emoji_lv2_modif }
		 #	if = { limit = { has_character_modifier = gpt_emoji_lv1_modif } remove_character_modifier = gpt_emoji_lv1_modif }
		}
	}
}

gpt_emoji_remove = {
	trigger = {
	 	OR = {
			has_game_rule = GPT_micro_enabled
			has_game_rule = GPT_micro_land_disabled
		}
		is_ai = yes
	}
	effect = {
		if = { limit = { has_character_modifier = gpt_emoji_lv5_modif } remove_character_modifier = gpt_emoji_lv5_modif }
		if = { limit = { has_character_modifier = gpt_emoji_lv4_modif } remove_character_modifier = gpt_emoji_lv4_modif }
		if = { limit = { has_character_modifier = gpt_emoji_lv3_modif } remove_character_modifier = gpt_emoji_lv3_modif }
		if = { limit = { has_character_modifier = gpt_emoji_lv2_modif } remove_character_modifier = gpt_emoji_lv2_modif }
		if = { limit = { has_character_modifier = gpt_emoji_lv1_modif } remove_character_modifier = gpt_emoji_lv1_modif }
	}
}

gpt_dynasty_balance = {
	trigger = {
		is_landless_adventurer = no
		is_landed = yes
	  	has_game_rule = GPT_balance_enabled
		is_ruler = yes
		highest_held_title_tier >= 4
		exists = dynasty
		exists = house
	}
	effect = {
		if = {
			limit = {
				dynasty = { any_dynasty_member = { is_alive = yes count >= 100 } }
			 #	NOT = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv2 } }
			}
			if = { limit = { NOT = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv2 } } } dynasty = { add_dynasty_modifier = gpt_decadent_dynasty_lv2 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv2 } }
			if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv1 } }
			if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv1 } }
		 #	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv2 } }
		}
		else_if = {
			limit = {
				dynasty = { any_dynasty_member = { is_alive = yes count >= 60 } }
			 #	dynasty = { any_dynasty_member = { is_alive = yes count < 100 } }
			 #	NOT = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv1 } }
			}
			if = { limit = { NOT = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv1 } } } dynasty = { add_dynasty_modifier = gpt_decadent_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv2 } }
			if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv1 } }
		 #	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv2 } }
		}
		else_if = {
			limit = {
				dynasty = { any_dynasty_member = { is_alive = yes count >= 40 } }
			 #	dynasty = { any_dynasty_member = { is_alive = yes count < 60 } }
			}
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv2 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv2 } }
		}
		else_if = {
			limit = {
				dynasty = { any_dynasty_member = { is_alive = yes count >= 20 } }
			 #	dynasty = { any_dynasty_member = { is_alive = yes count < 40 } }
			 #	NOT = { faith = { has_doctrine = doctrine_polygamy } }
			 #	NOT = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv1 } }
			}
			if = { limit = { NOT = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv1 } } } dynasty = { add_dynasty_modifier = gpt_rising_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv2 } }
		 #	if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv2 } }
		}
		else_if = {
			limit = {
				dynasty = { any_dynasty_member = { is_alive = yes count >= 1 } }
			 #	dynasty = { any_dynasty_member = { is_alive = yes count < 20 } }
			 #	faith = { has_doctrine = doctrine_monogamy }
			 #	NOT = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv2 } }
			}
			if = { limit = { NOT = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv2 } } } dynasty = { add_dynasty_modifier = gpt_rising_dynasty_lv2 } }
		 #	if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv2 } }
			if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv2 } }
		}
		else = {
			if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv2 } }
			if = { limit = { dynasty = { has_dynasty_modifier = gpt_rising_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_rising_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv1 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv1 } }
		 	if = { limit = { dynasty = { has_dynasty_modifier = gpt_decadent_dynasty_lv2 } } dynasty = { remove_dynasty_modifier = gpt_decadent_dynasty_lv2 } }
		}
	}
}




gpt_annoying_spouse = {
	trigger = {
        is_ai = no
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				is_adult = yes
                is_married = yes
				OR = {
					government_has_flag = government_is_administrative
					highest_held_title_tier >= 2
				}
				is_imprisoned = no
                OR = {
                    AND = {
                        exists = primary_spouse
						primary_spouse = {
							OR = {
								trait_compatibility = {
									target = root
									value <= -16
								}
								opinion = {
									target = root
									value <= 25
								}
							}
						}
                    }
                    any_spouse = {
                        OR = {
							trait_compatibility = {
								target = root
								value <= -31
							}
							opinion = {
								target = root
								value <= 0
							}
                        }
                    }
                }
			}
			random = {
				chance = {
					value = @event_chance_7
                    if = { limit = { exists = primary_spouse primary_spouse = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= 0 } } } } add = 15 }
				}
                random_spouse = {
                    limit = {
                        OR = {
                            trait_compatibility = {
                                target = root
                                value <= -16
                            }
                            opinion = {
                                target = root
                                value <= 25
                            }
                        }
                    }
                    save_scope_as = annoying_spouse
                }
				random_list = {
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_01_t
							desc = diary_spouse_stress_event_01_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_02_t
							desc = diary_spouse_stress_event_02_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_03_t
							desc = diary_spouse_stress_event_03_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_04_t
							desc = diary_spouse_stress_event_04_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_05_t
							desc = diary_spouse_stress_event_05_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_06_t
							desc = diary_spouse_stress_event_06_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_07_t
							desc = diary_spouse_stress_event_07_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_08_t
							desc = diary_spouse_stress_event_08_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_09_t
							desc = diary_spouse_stress_event_09_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_10_t
							desc = diary_spouse_stress_event_10_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_11_t
							desc = diary_spouse_stress_event_11_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_12_t
							desc = diary_spouse_stress_event_12_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_13_t
							desc = diary_spouse_stress_event_13_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_14_t
							desc = diary_spouse_stress_event_14_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_15_t
							desc = diary_spouse_stress_event_15_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_16_t
							desc = diary_spouse_stress_event_16_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_17_t
							desc = diary_spouse_stress_event_17_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_18_t
							desc = diary_spouse_stress_event_18_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_19_t
							desc = diary_spouse_stress_event_19_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_20_t
							desc = diary_spouse_stress_event_20_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_21_t
							desc = diary_spouse_stress_event_21_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_22_t
							desc = diary_spouse_stress_event_22_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_23_t
							desc = diary_spouse_stress_event_23_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_24_t
							desc = diary_spouse_stress_event_24_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_25_t
							desc = diary_spouse_stress_event_25_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_26_t
							desc = diary_spouse_stress_event_26_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_27_t
							desc = diary_spouse_stress_event_27_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_28_t
							desc = diary_spouse_stress_event_28_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_29_t
							desc = diary_spouse_stress_event_29_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_30_t
							desc = diary_spouse_stress_event_30_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_31_t
							desc = diary_spouse_stress_event_31_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_32_t
							desc = diary_spouse_stress_event_32_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_33_t
							desc = diary_spouse_stress_event_33_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_34_t
							desc = diary_spouse_stress_event_34_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_35_t
							desc = diary_spouse_stress_event_35_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_spouse_stress_event_36_t
							desc = diary_spouse_stress_event_36_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
				}
			}
		}
	}
}

gpt_unrelated_heir = {
	trigger = {
		is_ai = no
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				is_adult = yes
				OR = {
					government_has_flag = government_is_administrative
					highest_held_title_tier >= 2
				}
				is_imprisoned = no
                exists = player_heir
                player_heir = {
					is_adult = yes
                    is_close_family_of = root
                    age < root.age
                    OR = {
                        trait_compatibility = {
                            target = root
                            value <= -16
                        }
                        opinion = {
                            target = root
                            value <= 25
                        }
                    }
                }
			}
			random = {
				chance = {
					value = @event_chance_7
                    if = { limit = { primary_heir = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= 0 } } } } add = 15 }
				}
				random_list = {
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_01_t
							desc = diary_heir_stress_event_01_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_02_t
							desc = diary_heir_stress_event_02_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_03_t
							desc = diary_heir_stress_event_03_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_04_t
							desc = diary_heir_stress_event_04_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_05_t
							desc = diary_heir_stress_event_05_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_06_t
							desc = diary_heir_stress_event_06_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_07_t
							desc = diary_heir_stress_event_07_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_08_t
							desc = diary_heir_stress_event_08_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_01_t
							desc = diary_heir_stress_event_01_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_09_t
							desc = diary_heir_stress_event_09_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_10_t
							desc = diary_heir_stress_event_10_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_11_t
							desc = diary_heir_stress_event_11_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_12_t
							desc = diary_heir_stress_event_12_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_13_t
							desc = diary_heir_stress_event_13_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_14_t
							desc = diary_heir_stress_event_14_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_15_t
							desc = diary_heir_stress_event_15_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_16_t
							desc = diary_heir_stress_event_16_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_17_t
							desc = diary_heir_stress_event_17_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_18_t
							desc = diary_heir_stress_event_18_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_19_t
							desc = diary_heir_stress_event_19_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = diary_heir_stress_event_20_t
							desc = diary_heir_stress_event_20_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
				}
			}
		}
	}
}

gpt_good_lover = {
	trigger = {
        is_ai = no
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				is_adult = yes
				OR = {
					government_has_flag = government_is_administrative
					highest_held_title_tier >= 2
				}
				is_imprisoned = no
				stress >= 50
				any_courtier = {
                    OR = {
                        has_relation_lover = root
                        has_relation_soulmate = root
                    }
                }
			}
			random = {
				chance = {
					value = 15
					if = { limit = { any_courtier = { count >= 2 has_relation_lover = root } } add = 5 }
                    if = { limit = { any_courtier = { has_relation_soulmate = root } } add = 15 }
                    if = { limit = { any_courtier = { has_relation_lover = root trait_compatibility = { target = root value >= 15 } } } add = 15 }
				}
				if = { limit = { any_courtier = { has_relation_soulmate = root } }
					random_courtier = {
						limit = {
							has_relation_soulmate = root
						}
						save_scope_as = random_lover
					} 
				}
				else = {
					random_courtier = {
						limit = {
							has_relation_lover = root
						}
						save_scope_as = random_lover
					}
				}
				random_list = {
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_01_t
							desc = diary_lover_stress_event_01_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_02_t
							desc = diary_lover_stress_event_02_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_03_t
							desc = diary_lover_stress_event_03_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_04_t
							desc = diary_lover_stress_event_04_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_05_t
							desc = diary_lover_stress_event_05_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_06_t
							desc = diary_lover_stress_event_06_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_07_t
							desc = diary_lover_stress_event_07_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_08_t
							desc = diary_lover_stress_event_08_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_09_t
							desc = diary_lover_stress_event_09_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_10_t
							desc = diary_lover_stress_event_10_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_11_t
							desc = diary_lover_stress_event_11_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_12_t
							desc = diary_lover_stress_event_12_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_13_t
							desc = diary_lover_stress_event_13_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_14_t
							desc = diary_lover_stress_event_14_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_15_t
							desc = diary_lover_stress_event_15_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_16_t
							desc = diary_lover_stress_event_16_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_17_t
							desc = diary_lover_stress_event_17_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_18_t
							desc = diary_lover_stress_event_18_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_19_t
							desc = diary_lover_stress_event_19_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_lover_stress_event_20_t
							desc = diary_lover_stress_event_20_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
				}
			}
		}
	}
}

gpt_good_friend = {
	trigger = {
        is_ai = no
		is_landless_adventurer = no
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				is_adult = yes
				OR = {
					government_has_flag = government_is_administrative
					highest_held_title_tier >= 2
				}
				is_imprisoned = no
				stress >= 50
				any_courtier = {
                    OR = {
                        has_relation_friend = root
                        has_relation_best_friend = root
                    }
                }
			}
			random = {
				chance = {
					value = 10
					if = { limit = { any_courtier = { count >= 2 has_relation_friend = root } } add = 5 }
					if = { limit = { any_courtier = { count >= 3 has_relation_friend = root } } add = 5 }
                    if = { limit = { any_courtier = { has_relation_best_friend = root } } add = 15 }
                    if = { limit = { any_courtier = { has_relation_friend = root trait_compatibility = { target = root value >= 20 } } } add = 15 }
				}
				if = { limit = { any_courtier = { has_relation_best_friend = root } }
					random_courtier = {
						limit = {
							has_relation_best_friend = root
						}
						save_scope_as = random_friend
					} 
				}
				else = {
					random_courtier = {
						limit = {
							has_relation_friend = root
						}
						save_scope_as = random_friend
					}
				}
				random_list = {
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_01_t
							desc = diary_friend_stress_event_01_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_02_t
							desc = diary_friend_stress_event_02_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_03_t
							desc = diary_friend_stress_event_03_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_04_t
							desc = diary_friend_stress_event_04_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_05_t
							desc = diary_friend_stress_event_05_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_06_t
							desc = diary_friend_stress_event_06_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_07_t
							desc = diary_friend_stress_event_07_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_08_t
							desc = diary_friend_stress_event_08_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_09_t
							desc = diary_friend_stress_event_09_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_10_t
							desc = diary_friend_stress_event_10_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_11_t
							desc = diary_friend_stress_event_11_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_12_t
							desc = diary_friend_stress_event_12_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_13_t
							desc = diary_friend_stress_event_13_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_14_t
							desc = diary_friend_stress_event_14_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_15_t
							desc = diary_friend_stress_event_15_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_16_t
							desc = diary_friend_stress_event_16_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_17_t
							desc = diary_friend_stress_event_17_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_18_t
							desc = diary_friend_stress_event_18_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_19_t
							desc = diary_friend_stress_event_19_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = diary_friend_stress_event_20_t
							desc = diary_friend_stress_event_20_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
				}
			}
		}
	}
}



###### ADMIN GOV

gpt_vassal_antagonism_admin = {
	trigger = {
		is_landless_adventurer = no
		government_has_flag = government_is_administrative
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					any_vassal = {
						percent >= @percent_vassal_1
						opinion = {
							target = root
							value <= -50
						}
					}
					any_powerful_vassal = {
						count >= 1
						opinion = {
							target = root
							value <= -50
						}
					}
				}
				NOR = {
					# faith = { has_doctrine_parameter = unreformed }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					# culture = { has_cultural_tradition = tradition_horse_lords }
				}
			}
			random = {
				chance = {
					value = @event_chance_3
					if = { limit = { is_ai = yes } add = @ai_neg_chance }
					#add = { value = diplomacy multiply = -0.5 }
					if = {
						limit = {
							exists = cp:councillor_chancellor
						}
						add = { value = cp:councillor_chancellor.diplomacy multiply = -2 }
					}
				}
				random_list = {
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_01_t
							desc = random_vassal_antagonism_casual_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_01_t
							desc = random_vassal_antagonism_worrying_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_01_t
							desc = random_vassal_antagonism_dangerous_01_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_02_t
							desc = random_vassal_antagonism_casual_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_02_t
							desc = random_vassal_antagonism_worrying_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_02_t
							desc = random_vassal_antagonism_dangerous_02_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_03_t
							desc = random_vassal_antagonism_casual_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_03_t
							desc = random_vassal_antagonism_worrying_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_03_t
							desc = random_vassal_antagonism_dangerous_03_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_04_t
							desc = random_vassal_antagonism_casual_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_04_t
							desc = random_vassal_antagonism_worrying_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_04_t
							desc = random_vassal_antagonism_dangerous_04_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_05_t
							desc = random_vassal_antagonism_casual_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_05_t
							desc = random_vassal_antagonism_worrying_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_05_t
							desc = random_vassal_antagonism_dangerous_05_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_06_t
							desc = random_vassal_antagonism_casual_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_06_t
							desc = random_vassal_antagonism_worrying_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_06_t
							desc = random_vassal_antagonism_dangerous_06_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_07_t
							desc = random_vassal_antagonism_casual_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_07_t
							desc = random_vassal_antagonism_worrying_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_07_t
							desc = random_vassal_antagonism_dangerous_07_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_08_t
							desc = random_vassal_antagonism_casual_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_08_t
							desc = random_vassal_antagonism_worrying_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_08_t
							desc = random_vassal_antagonism_dangerous_08_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai }
					}
					0 = { # CASUAL
						modifier = { add = 15 OR = { 
							any_vassal = { percent >= @percent_vassal_1 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_casual_09_t
							desc = random_vassal_antagonism_casual_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } change_influence = @legit_neg_1 } else = { change_influence = @legit_neg_1_ai }
					}
					0 = { # WORRING
						modifier = { add = 30 OR = { 
							any_vassal = { percent >= @percent_vassal_2 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 1 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_worrying_09_t
							desc = random_vassal_antagonism_worrying_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } change_influence = @legit_neg_2 } else = { change_influence = @legit_neg_2_ai }
					}
					0 = { # MORTAL
						modifier = { add = 60 OR = { 
							any_vassal = { percent >= @percent_vassal_3 opinion = { target = root value <= -50 } }
							any_powerful_vassal = { count >= 2 opinion = { target = root value <= -50 } } }
						}
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = random_vassal_antagonism_dangerous_09_t
							desc = random_vassal_antagonism_dangerous_09_d
						 #	left_icon = root
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai } custom_tooltip = { text = vassal_antagonism_tip } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } change_influence = @legit_neg_3 } else = { change_influence = @legit_neg_3_ai }
					}
				}
			}
		}
	}
}

gpt_ruler_connections_admin = {
	trigger = {
		is_landless_adventurer = no
		government_has_flag = government_is_administrative
		is_landed = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {

		if = {
			limit = {
				has_active_diarchy = no
				age >= 14
				is_ruler = yes days_as_ruler >= 270
				piety_level >= 1
				highest_held_title_tier >= 2 is_imprisoned = no is_landed = yes
				OR = {
					any_neighboring_and_across_water_top_liege_realm_owner = {
						highest_held_title_tier >= root.highest_held_title_tier
						legitimacy_level >= 4
						OR = {
							is_close_or_extended_family_of = root
							has_relation_friend = root
							has_relation_best_friend = root
							has_relation_lover = root
							has_relation_soulmate = root
							opinion = {
								target = root
								value >= 50
							}
						}
					}
					any_ally = {
						highest_held_title_tier >= root.highest_held_title_tier
						legitimacy_level >= 4
					}
				}
			}
			random = {
				chance = {
					value = @event_chance_7
					if = {
						limit = {
							OR = {
								any_neighboring_and_across_water_top_liege_realm_owner = { 
									count >= 2 
									highest_held_title_tier >= root.highest_held_title_tier
									legitimacy_level >= 4
									OR = {
										is_close_or_extended_family_of = root
										has_relation_friend = root
										has_relation_best_friend = root
										has_relation_lover = root
										has_relation_soulmate = root
										opinion = {
											target = root
											value >= 50
										}
									}
								}
								any_ally = {
									highest_held_title_tier >= root.highest_held_title_tier
									legitimacy_level >= 4
								}
							}
						} 
						add = 15
					}
					if = {
						limit = {
							OR = {
								any_neighboring_and_across_water_top_liege_realm_owner = { 
									count >= 3
									highest_held_title_tier >= root.highest_held_title_tier
									legitimacy_level >= 4
									OR = {
										is_close_or_extended_family_of = root
										has_relation_friend = root
										has_relation_best_friend = root
										has_relation_lover = root
										has_relation_soulmate = root
										opinion = {
											target = root
											value >= 50
										}
									}
								}
								any_ally = {
									highest_held_title_tier >= root.highest_held_title_tier
									legitimacy_level >= 4
								}
							}
						} 
						add = 15
					}
				}
				random_list = {
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_1_t
							desc = random_diplomatic_connect_bonus_1_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_2_t
							desc = random_diplomatic_connect_bonus_2_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_3_t
							desc = random_diplomatic_connect_bonus_3_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_4_t
							desc = random_diplomatic_connect_bonus_4_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_5_t
							desc = random_diplomatic_connect_bonus_5_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_6_t
							desc = random_diplomatic_connect_bonus_6_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_7_t
							desc = random_diplomatic_connect_bonus_7_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_8_t
							desc = random_diplomatic_connect_bonus_8_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_9_t
							desc = random_diplomatic_connect_bonus_9_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_10_t
							desc = random_diplomatic_connect_bonus_10_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_11_t
							desc = random_diplomatic_connect_bonus_11_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_12_t
							desc = random_diplomatic_connect_bonus_12_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_13_t
							desc = random_diplomatic_connect_bonus_13_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_14_t
							desc = random_diplomatic_connect_bonus_14_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_15_t
							desc = random_diplomatic_connect_bonus_15_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_16_t
							desc = random_diplomatic_connect_bonus_16_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_17_t
							desc = random_diplomatic_connect_bonus_17_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_18_t
							desc = random_diplomatic_connect_bonus_18_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_19_t
							desc = random_diplomatic_connect_bonus_19_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
					5 = {
						send_interface_message = {
							type = event_connections_good_with_text
							title = random_diplomatic_connect_bonus_20_t
							desc = random_diplomatic_connect_bonus_20_d
							show_as_tooltip = { add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai } custom_tooltip = { text = gpt_connections_tip } }
						}
						add_stress = @stress_n2 if = { limit = { is_ai = no } change_influence = @positive_legitimacy } else = { change_influence = @positive_legitimacy_ai }
					}
				}
			}
		}
	}
}

################# ADVENTURERS

adv_provisions_upkeep = {
	trigger = {
		is_landless_adventurer = yes
	 	has_game_rule = GPT_trade_enabled
	}
	effect = {
		if = { # lv6
			limit = {
				adv_pop_value >= 4
			}
			send_interface_message = {
				type = event_adv_provisions_bad_with_text
				title = adv_provisions_upkeep_06_t
				desc = adv_provisions_upkeep_06_d
				show_as_tooltip = { adv_effect_upkeep_lv6 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv6 years = 1 } }
			}
			adv_effect_upkeep_lv6 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv6 years = 1 }
		}
		else_if = { # lv5
			limit = {
				adv_pop_value >= 3.2
			}
			send_interface_message = {
				type = event_adv_provisions_bad_with_text
				title = adv_provisions_upkeep_05_t
				desc = adv_provisions_upkeep_05_d
				show_as_tooltip = { adv_effect_upkeep_lv5 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv5 years = 1 } }
			}
			adv_effect_upkeep_lv5 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv5 years = 1 }
		}
		else_if = { # lv4
			limit = {
				adv_pop_value >= 2.4
			}
			send_interface_message = {
				type = event_adv_provisions_bad_with_text
				title = adv_provisions_upkeep_04_t
				desc = adv_provisions_upkeep_04_d
				show_as_tooltip = { adv_effect_upkeep_lv4 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv4 years = 1 } }
			}
			adv_effect_upkeep_lv4 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv4 years = 1 }
		}
		else_if = { # lv3
			limit = {
				adv_pop_value >= 1.6
			}
			send_interface_message = {
				type = event_adv_provisions_bad_with_text
				title = adv_provisions_upkeep_03_t
				desc = adv_provisions_upkeep_03_d
				show_as_tooltip = { adv_effect_upkeep_lv3 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv3 years = 1 } }
			}
			adv_effect_upkeep_lv3 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv3 years = 1 }
		}
		else_if = { # lv2
			limit = {
				adv_pop_value >= 0.8
			}
			send_interface_message = {
				type = event_adv_provisions_neutral_with_text
				title = adv_provisions_upkeep_02_t
				desc = adv_provisions_upkeep_02_d
				show_as_tooltip = { adv_effect_upkeep_lv2 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv2 years = 1 } }
			}
			adv_effect_upkeep_lv2 = yes add_character_modifier = { modifier = gpt_adv_upkeep_lv2 years = 1 }
		}
		else = { # lv1
			send_interface_message = {
				type = event_adv_provisions_neutral_with_text
				title = adv_provisions_upkeep_01_t
				desc = adv_provisions_upkeep_01_d
				show_as_tooltip = { adv_effect_upkeep_lv1 = yes }
			}
			adv_effect_upkeep_lv1 = yes
		}
	}
}

gpt_adv_diary_events = {
	trigger = {
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
			has_game_rule = GPT_even_few_events
		}
	}
	effect = {
		if = {
			limit = {
				is_ai = yes
				age >= 14
				is_imprisoned = no
				is_at_war = no
			}
			##########################
			random = {
				chance = @adv_event_chance_5
				random_list = {
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_01_t
							desc = adv_diary_event_01_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_02_t
							desc = adv_diary_event_02_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
				}
			}
		}
		if = {
			limit = {
				is_ai = no
				age >= 14
				is_imprisoned = no
				is_at_war = no
			}
			##########################
			random = {
				chance = @adv_event_chance_5
				random_list = {
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_01_t
							desc = adv_diary_event_01_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_02_t
							desc = adv_diary_event_02_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_03_t
							desc = adv_diary_event_03_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_04_t
							desc = adv_diary_event_04_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_05_t
							desc = adv_diary_event_05_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_06_t
							desc = adv_diary_event_06_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_07_t
							desc = adv_diary_event_07_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_08_t
							desc = adv_diary_event_08_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_09_t
							desc = adv_diary_event_09_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_10_t
							desc = adv_diary_event_10_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_11_t
							desc = adv_diary_event_11_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_12_t
							desc = adv_diary_event_12_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_13_t
							desc = adv_diary_event_13_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_14_t
							desc = adv_diary_event_14_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_15_t
							desc = adv_diary_event_15_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_16_t
							desc = adv_diary_event_16_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_17_t
							desc = adv_diary_event_17_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_18_t
							desc = adv_diary_event_18_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_19_t
							desc = adv_diary_event_19_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_20_t
							desc = adv_diary_event_20_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_21_t
							desc = adv_diary_event_21_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_22_t
							desc = adv_diary_event_22_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_23_t
							desc = adv_diary_event_23_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_24_t
							desc = adv_diary_event_24_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_25_t
							desc = adv_diary_event_25_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_26_t
							desc = adv_diary_event_26_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_27_t
							desc = adv_diary_event_27_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_28_t
							desc = adv_diary_event_28_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_29_t
							desc = adv_diary_event_29_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_30_t
							desc = adv_diary_event_30_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_31_t
							desc = adv_diary_event_31_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_32_t
							desc = adv_diary_event_32_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_33_t
							desc = adv_diary_event_33_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_34_t
							desc = adv_diary_event_34_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_35_t
							desc = adv_diary_event_35_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_36_t
							desc = adv_diary_event_36_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_37_t
							desc = adv_diary_event_37_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_38_t
							desc = adv_diary_event_38_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_39_t
							desc = adv_diary_event_39_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_40_t
							desc = adv_diary_event_40_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_41_t
							desc = adv_diary_event_41_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_42_t
							desc = adv_diary_event_42_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_43_t
							desc = adv_diary_event_43_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_44_t
							desc = adv_diary_event_44_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_45_t
							desc = adv_diary_event_45_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_46_t
							desc = adv_diary_event_46_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_47_t
							desc = adv_diary_event_47_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_48_t
							desc = adv_diary_event_48_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_49_t
							desc = adv_diary_event_49_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_50_t
							desc = adv_diary_event_50_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_51_t
							desc = adv_diary_event_51_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_52_t
							desc = adv_diary_event_52_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_53_t
							desc = adv_diary_event_53_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_54_t
							desc = adv_diary_event_54_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_55_t
							desc = adv_diary_event_55_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_56_t
							desc = adv_diary_event_56_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_57_t
							desc = adv_diary_event_57_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_58_t
							desc = adv_diary_event_58_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_59_t
							desc = adv_diary_event_59_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_60_t
							desc = adv_diary_event_60_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_61_t
							desc = adv_diary_event_61_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_62_t
							desc = adv_diary_event_62_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_63_t
							desc = adv_diary_event_63_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_64_t
							desc = adv_diary_event_64_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_65_t
							desc = adv_diary_event_65_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_66_t
							desc = adv_diary_event_66_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_67_t
							desc = adv_diary_event_67_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_68_t
							desc = adv_diary_event_68_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_69_t
							desc = adv_diary_event_69_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_70_t
							desc = adv_diary_event_70_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_71_t
							desc = adv_diary_event_71_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_72_t
							desc = adv_diary_event_72_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_73_t
							desc = adv_diary_event_73_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_74_t
							desc = adv_diary_event_74_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_75_t
							desc = adv_diary_event_75_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_76_t
							desc = adv_diary_event_76_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_77_t
							desc = adv_diary_event_77_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_78_t
							desc = adv_diary_event_78_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_79_t
							desc = adv_diary_event_79_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_80_t
							desc = adv_diary_event_80_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_81_t
							desc = adv_diary_event_81_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_82_t
							desc = adv_diary_event_82_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_83_t
							desc = adv_diary_event_83_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_84_t
							desc = adv_diary_event_84_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_85_t
							desc = adv_diary_event_85_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_86_t
							desc = adv_diary_event_86_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_87_t
							desc = adv_diary_event_87_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_88_t
							desc = adv_diary_event_88_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_89_t
							desc = adv_diary_event_89_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_90_t
							desc = adv_diary_event_90_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
					0 = { # POSITIVE
					 	modifier = { add = { value = average_of_all_skills } }
						send_interface_message = {
							type = event_adv_diary_good_with_text
							title = adv_diary_event_91_t
							desc = adv_diary_event_91_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 } }
						}
						add_stress = @stress_n2 add_character_modifier = { modifier = gpt_adv_high_morale years = 1 }
					}
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_adv_diary_bad_with_text
							title = adv_diary_event_92_t
							desc = adv_diary_event_92_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 } }
						}
						add_stress = @stress_p2 add_character_modifier = { modifier = gpt_adv_low_morale years = 1 }
					}
				}
			}
		}
	}
}

adv_gpt_minor_stress = {
	trigger = {
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {
		if = {
			limit = {
				age >= 14
				is_imprisoned = no
				stress_level = 1
			}
			random = {
				chance = @adv_event_chance_5
				random_list = {
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_01_t
							desc = adv_diary_stress_event_01_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_02_t
							desc = adv_diary_stress_event_02_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_03_t
							desc = adv_diary_stress_event_03_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_04_t
							desc = adv_diary_stress_event_04_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_05_t
							desc = adv_diary_stress_event_05_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_06_t
							desc = adv_diary_stress_event_06_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_07_t
							desc = adv_diary_stress_event_07_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_08_t
							desc = adv_diary_stress_event_08_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_09_t
							desc = adv_diary_stress_event_09_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_10_t
							desc = adv_diary_stress_event_10_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_11_t
							desc = adv_diary_stress_event_11_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_12_t
							desc = adv_diary_stress_event_12_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_13_t
							desc = adv_diary_stress_event_13_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_14_t
							desc = adv_diary_stress_event_14_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_15_t
							desc = adv_diary_stress_event_15_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_16_t
							desc = adv_diary_stress_event_16_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_17_t
							desc = adv_diary_stress_event_17_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_18_t
							desc = adv_diary_stress_event_18_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_19_t
							desc = adv_diary_stress_event_19_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_20_t
							desc = adv_diary_stress_event_20_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_21_t
							desc = adv_diary_stress_event_21_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_22_t
							desc = adv_diary_stress_event_22_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_23_t
							desc = adv_diary_stress_event_23_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_24_t
							desc = adv_diary_stress_event_24_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_25_t
							desc = adv_diary_stress_event_25_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_26_t
							desc = adv_diary_stress_event_26_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_27_t
							desc = adv_diary_stress_event_27_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_28_t
							desc = adv_diary_stress_event_28_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_29_t
							desc = adv_diary_stress_event_29_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_event_30_t
							desc = adv_diary_stress_event_30_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes } }
						}
						add_stress = @stress_n4 if = { limit = { is_ai = no } adv_effect_minor_stress_player = yes } else = { adv_effect_minor_stress_ai = yes }
					}
				}
			}
		}
	}
}

adv_gpt_major_stress = {
	trigger = {
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {
		if = {
			limit = {
				age >= 14
				is_imprisoned = no
				stress_level >= 2
			}
			random = {
				chance = 100
				random_list = {
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_01_t
							desc = adv_diary_stress_lv2_event_01_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_02_t
							desc = adv_diary_stress_lv2_event_02_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_03_t
							desc = adv_diary_stress_lv2_event_03_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_04_t
							desc = adv_diary_stress_lv2_event_04_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_05_t
							desc = adv_diary_stress_lv2_event_05_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_06_t
							desc = adv_diary_stress_lv2_event_06_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_07_t
							desc = adv_diary_stress_lv2_event_07_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_08_t
							desc = adv_diary_stress_lv2_event_08_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_09_t
							desc = adv_diary_stress_lv2_event_09_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_10_t
							desc = adv_diary_stress_lv2_event_10_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_11_t
							desc = adv_diary_stress_lv2_event_11_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_12_t
							desc = adv_diary_stress_lv2_event_12_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_13_t
							desc = adv_diary_stress_lv2_event_13_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_14_t
							desc = adv_diary_stress_lv2_event_14_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_15_t
							desc = adv_diary_stress_lv2_event_15_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_16_t
							desc = adv_diary_stress_lv2_event_16_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_17_t
							desc = adv_diary_stress_lv2_event_17_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_18_t
							desc = adv_diary_stress_lv2_event_18_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_19_t
							desc = adv_diary_stress_lv2_event_19_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					1 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_stress_lv2_event_20_t
							desc = adv_diary_stress_lv2_event_20_d
							left_icon = root
							show_as_tooltip = { add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_n7 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
				}
			}
		}
	}
}


gpt_adv_paymaster = {
	trigger = {
		is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {
		if = {
			limit = {
				employs_court_position = gpt_paymaster_camp_officer
				any_court_position_holder = {
					type = gpt_paymaster_camp_officer
					is_imprisoned = no
				}
				is_imprisoned = no
			}
			court_position:gpt_paymaster_camp_officer = { save_scope_as = gpt_paymaster }
			random = {
				chance = @adv_event_chance_1
				random_list = {
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_01_t
							desc = random_officer_penalty_stw_01_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_01_t
							desc = random_officer_bonus_stw_01_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_02_t
							desc = random_officer_penalty_stw_02_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_02_t
							desc = random_officer_bonus_stw_02_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_03_t
							desc = random_officer_penalty_stw_03_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_03_t
							desc = random_officer_bonus_stw_03_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_04_t
							desc = random_officer_penalty_stw_04_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_04_t
							desc = random_officer_bonus_stw_04_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_05_t
							desc = random_officer_penalty_stw_05_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_05_t
							desc = random_officer_bonus_stw_05_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_06_t
							desc = random_officer_penalty_stw_06_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_06_t
							desc = random_officer_bonus_stw_06_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_07_t
							desc = random_officer_penalty_stw_07_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_07_t
							desc = random_officer_bonus_stw_07_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_08_t
							desc = random_officer_penalty_stw_08_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_08_t
							desc = random_officer_bonus_stw_08_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_09_t
							desc = random_officer_penalty_stw_09_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_09_t
							desc = random_officer_bonus_stw_09_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_stw_bad_with_text
							title = random_officer_penalty_stw_10_t
							desc = random_officer_penalty_stw_10_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes scope:gpt_paymaster = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_paymaster_camp_officer = { aptitude = { court_position = gpt_paymaster_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_stw_good_with_text
							title = random_officer_bonus_stw_10_t
							desc = random_officer_bonus_stw_10_d
							left_icon = scope:gpt_paymaster
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } scope:gpt_paymaster = { add_character_modifier = { modifier = good_job_officer } }
					}
				}
			}
		}
	}
}

gpt_adv_recruiter = {
	trigger = {
		is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {
		if = {
			limit = {
				employs_court_position = gpt_recruiter_camp_officer
				any_court_position_holder = {
					type = gpt_recruiter_camp_officer
					is_imprisoned = no
				}
				is_imprisoned = no
			}
			court_position:gpt_recruiter_camp_officer = { save_scope_as = gpt_recruiter }
			random = {
				chance = @adv_event_chance_1
				random_list = {
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_01_t
							desc = random_officer_penalty_dip_01_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_01_t
							desc = random_officer_bonus_dip_01_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_02_t
							desc = random_officer_penalty_dip_02_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_02_t
							desc = random_officer_bonus_dip_02_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_03_t
							desc = random_officer_penalty_dip_03_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_03_t
							desc = random_officer_bonus_dip_03_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_04_t
							desc = random_officer_penalty_dip_04_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_04_t
							desc = random_officer_bonus_dip_04_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_05_t
							desc = random_officer_penalty_dip_05_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_05_t
							desc = random_officer_bonus_dip_05_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_06_t
							desc = random_officer_penalty_dip_06_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_06_t
							desc = random_officer_bonus_dip_06_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_07_t
							desc = random_officer_penalty_dip_07_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_07_t
							desc = random_officer_bonus_dip_07_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_08_t
							desc = random_officer_penalty_dip_08_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_08_t
							desc = random_officer_bonus_dip_08_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_09_t
							desc = random_officer_penalty_dip_09_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_09_t
							desc = random_officer_bonus_dip_09_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_dip_bad_with_text
							title = random_officer_penalty_dip_10_t
							desc = random_officer_penalty_dip_10_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_recruiter_camp_officer = { aptitude = { court_position = gpt_recruiter_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_dip_good_with_text
							title = random_officer_bonus_dip_10_t
							desc = random_officer_bonus_dip_10_d
							left_icon = scope:gpt_recruiter
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_recruiter_positive_player = yes } else = { adv_effect_recruiter_positive_ai = yes } scope:gpt_recruiter = { add_character_modifier = { modifier = good_job_officer } }
					}
				}
			}
		}
	}
}

gpt_adv_mistress = {
	trigger = {
		is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {
		if = {
			limit = {
				employs_court_position = gpt_mistress_camp_officer
				any_court_position_holder = {
					type = gpt_mistress_camp_officer
					is_imprisoned = no
				}
				age >= 14
				is_imprisoned = no
			}
			court_position:gpt_mistress_camp_officer = { save_scope_as = gpt_mistress }
			random = {
				chance = @adv_event_chance_1
				random_list = {
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_01_t
							desc = random_officer_penalty_int_01_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_01_t
							desc = random_officer_bonus_int_01_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_02_t
							desc = random_officer_penalty_int_02_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_02_t
							desc = random_officer_bonus_int_02_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_03_t
							desc = random_officer_penalty_int_03_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_03_t
							desc = random_officer_bonus_int_03_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_04_t
							desc = random_officer_penalty_int_04_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_04_t
							desc = random_officer_bonus_int_04_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_05_t
							desc = random_officer_penalty_int_05_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_05_t
							desc = random_officer_bonus_int_05_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_06_t
							desc = random_officer_penalty_int_06_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_06_t
							desc = random_officer_bonus_int_06_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_07_t
							desc = random_officer_penalty_int_07_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_07_t
							desc = random_officer_bonus_int_07_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_08_t
							desc = random_officer_penalty_int_08_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_08_t
							desc = random_officer_bonus_int_08_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_09_t
							desc = random_officer_penalty_int_09_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_09_t
							desc = random_officer_bonus_int_09_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_int_bad_with_text
							title = random_officer_penalty_int_10_t
							desc = random_officer_penalty_int_10_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_mistress_negative_player = yes } else = { adv_effect_mistress_negative_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
						modifier = { add = 4 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_mistress_camp_officer = { aptitude = { court_position = gpt_mistress_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_int_good_with_text
							title = random_officer_bonus_int_10_t
							desc = random_officer_bonus_int_10_d
							left_icon = scope:gpt_mistress
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_mistress_positive_player = yes } else = { adv_effect_mistress_positive_ai = yes } scope:gpt_mistress = { add_character_modifier = { modifier = good_job_officer } }
					}
				}
			}
		}
	}
}

gpt_adv_clerk = {
	trigger = {
		is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {
		if = {
			limit = {
				employs_court_position = gpt_clerk_camp_officer
				any_court_position_holder = {
					type = gpt_clerk_camp_officer
					is_imprisoned = no
				}
				is_imprisoned = no
			}
			court_position:gpt_clerk_camp_officer = { save_scope_as = gpt_clerk }
			random = {
				chance = @adv_event_chance_1
				random_list = {
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_01_t
							desc = random_officer_penalty_ler_01_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_01_t
							desc = random_officer_bonus_ler_01_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_02_t
							desc = random_officer_penalty_ler_02_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_02_t
							desc = random_officer_bonus_ler_02_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_03_t
							desc = random_officer_penalty_ler_03_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_03_t
							desc = random_officer_bonus_ler_03_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_04_t
							desc = random_officer_penalty_ler_04_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_04_t
							desc = random_officer_bonus_ler_04_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_05_t
							desc = random_officer_penalty_ler_05_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_05_t
							desc = random_officer_bonus_ler_05_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_06_t
							desc = random_officer_penalty_ler_06_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_06_t
							desc = random_officer_bonus_ler_06_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_07_t
							desc = random_officer_penalty_ler_07_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_07_t
							desc = random_officer_bonus_ler_07_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_08_t
							desc = random_officer_penalty_ler_08_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_08_t
							desc = random_officer_bonus_ler_08_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_09_t
							desc = random_officer_penalty_ler_09_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_09_t
							desc = random_officer_bonus_ler_09_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_ler_bad_with_text
							title = random_officer_penalty_ler_10_t
							desc = random_officer_penalty_ler_10_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_clerk_camp_officer = { aptitude = { court_position = gpt_clerk_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_ler_good_with_text
							title = random_officer_bonus_ler_10_t
							desc = random_officer_bonus_ler_10_d
							left_icon = scope:gpt_clerk
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_clerk = { add_character_modifier = { modifier = good_job_officer } }
					}
				}
			}
		}
	}
}

gpt_adv_veteran = {
	trigger = {
		is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {
		if = {
			limit = {
				employs_court_position = gpt_veteran_camp_officer
				any_court_position_holder = {
					type = gpt_veteran_camp_officer
					is_imprisoned = no
				}
				is_imprisoned = no
			}
			court_position:gpt_veteran_camp_officer = { save_scope_as = gpt_veteran }
			random = {
				chance = @adv_event_chance_1
				random_list = {
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_01_t
							desc = random_officer_penalty_mar_01_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_01_t
							desc = random_officer_bonus_mar_01_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_02_t
							desc = random_officer_penalty_mar_02_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_02_t
							desc = random_officer_bonus_mar_02_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_03_t
							desc = random_officer_penalty_mar_03_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_03_t
							desc = random_officer_bonus_mar_03_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_04_t
							desc = random_officer_penalty_mar_04_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_04_t
							desc = random_officer_bonus_mar_04_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_05_t
							desc = random_officer_penalty_mar_05_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_05_t
							desc = random_officer_bonus_mar_05_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_06_t
							desc = random_officer_penalty_mar_06_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_06_t
							desc = random_officer_bonus_mar_06_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_07_t
							desc = random_officer_penalty_mar_07_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_07_t
							desc = random_officer_bonus_mar_07_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_08_t
							desc = random_officer_penalty_mar_08_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_08_t
							desc = random_officer_bonus_mar_08_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_09_t
							desc = random_officer_penalty_mar_09_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_09_t
							desc = random_officer_bonus_mar_09_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
					10 = { # NEGATIVE
						send_interface_message = {
							type = event_officer_mar_bad_with_text
							title = random_officer_penalty_mar_10_t
							desc = random_officer_penalty_mar_10_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_provisioner_negative_player = yes } else = { adv_effect_provisioner_negative_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = bad_job_officer } }
					}
					0 = { # POSITIVE
					 	modifier = { add = 4 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 1 } } }
					 	modifier = { add = 8 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 2 } } }
					 	modifier = { add = 12 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 3 } } }
					 	modifier = { add = 16 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 4 } } }
					 	modifier = { add = 20 court_position:gpt_veteran_camp_officer = { aptitude = { court_position = gpt_veteran_camp_officer value = 5 } } }
						send_interface_message = {
							type = event_officer_mar_good_with_text
							title = random_officer_bonus_mar_10_t
							desc = random_officer_bonus_mar_10_d
							left_icon = scope:gpt_veteran
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_provisioner_positive_player = yes } else = { adv_effect_provisioner_positive_ai = yes } scope:gpt_veteran = { add_character_modifier = { modifier = good_job_officer } }
					}
				}
			}
		}
	}
}

gpt_adv_spouse = {
	trigger = {
		is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				exists = primary_spouse
				primary_spouse = { is_courtier_of = root }
				is_adult = yes
				is_imprisoned = no
			}
			random = {
				chance = @adv_event_chance_1
				random_list = {
					8 = { # NEGATIVE
						send_interface_message = {
							type = event_council_stw_bad_with_text
							title = adv_random_spouse_penalty_stw_01_t
							desc = adv_random_spouse_penalty_stw_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_paymaster_negative_player = yes } else = { adv_effect_paymaster_negative_ai = yes } }
						}
						add_stress = @stress_p1 gpt_paymaster_effect = yes
					}
					0 = { # POSITIVE
						modifier = { add = primary_spouse.stewardship }
						send_interface_message = {
							type = event_council_stw_good_with_text
							title = adv_random_spouse_bonus_stw_01_t
							desc = adv_random_spouse_bonus_stw_01_d
							left_icon = primary_spouse
							show_as_tooltip = { add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes } }
						}
						add_stress = @stress_n1 if = { limit = { is_ai = no } adv_effect_paymaster_positive_player = yes } else = { adv_effect_paymaster_positive_ai = yes }
					}
				}
			}
		}
	}
}


gpt_camp_infighting = {
	trigger = {
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {
		if = {
			limit = {
				age >= 14
				is_imprisoned = no
				OR = {
					AND = {
						NOT = { employs_court_position = gpt_recruiter_camp_officer }
						any_courtier_or_guest = {
							is_imprisoned = no
							can_be_employed_as = gpt_recruiter_camp_officer
						}
					}
					AND = {
						NOT = { employs_court_position = gpt_mistress_camp_officer }
						any_courtier_or_guest = {
							is_imprisoned = no
							can_be_employed_as = gpt_mistress_camp_officer
						}
					}
					AND = {
						NOT = { employs_court_position = gpt_clerk_camp_officer }
						any_courtier_or_guest = {
							is_imprisoned = no
							can_be_employed_as = gpt_clerk_camp_officer
						}
					}
					AND = {
						NOT = { employs_court_position = gpt_veteran_camp_officer }
						any_courtier_or_guest = {
							is_imprisoned = no
							can_be_employed_as = gpt_veteran_camp_officer
						}
					}
					AND = {
						NOT = { employs_court_position = gpt_paymaster_camp_officer }
						any_courtier_or_guest = {
							is_imprisoned = no
							can_be_employed_as = gpt_paymaster_camp_officer
						}
					}
				}
			}
			random = {
				chance = { value = @adv_event_chance_5 }
				random_list = {
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_01_t
							desc = adv_random_casual_infight_01_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_02_t
							desc = adv_random_casual_infight_02_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_03_t
							desc = adv_random_casual_infight_03_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_04_t
							desc = adv_random_casual_infight_04_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_05_t
							desc = adv_random_casual_infight_05_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_06_t
							desc = adv_random_casual_infight_06_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_07_t
							desc = adv_random_casual_infight_07_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_08_t
							desc = adv_random_casual_infight_08_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_09_t
							desc = adv_random_casual_infight_09_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_10_t
							desc = adv_random_casual_infight_10_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_11_t
							desc = adv_random_casual_infight_11_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_12_t
							desc = adv_random_casual_infight_12_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_13_t
							desc = adv_random_casual_infight_13_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_14_t
							desc = adv_random_casual_infight_14_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_15_t
							desc = adv_random_casual_infight_15_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_16_t
							desc = adv_random_casual_infight_16_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_17_t
							desc = adv_random_casual_infight_17_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
					10 = { # CASUAL
						send_interface_message = {
							type = event_adv_infight_bad_with_text
							title = adv_random_casual_infight_18_t
							desc = adv_random_casual_infight_18_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 } custom_tooltip = { text = adv_infight_tip } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_infighting years = 1 }
					}
				}
			}
		}
	}
}

gpt_disloyal_second = {
	trigger = {
		is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {
		if = {
			limit = {
				age >= 12
				is_imprisoned = no
				employs_court_position = second_camp_officer
				any_court_position_holder = {
					type = second_camp_officer
					is_imprisoned = no
					OR = {
						trait_compatibility = {
							target = root
							value <= -16
						}
						opinion = {
							target = root
							value <= -1
						}
						has_relation_rival = root
						has_relation_nemesis = root
					}
				}
			}
			court_position:second_camp_officer = { save_scope_as = gpt_second }
			random = {
				chance = { value = @adv_event_chance_4 }
				random_list = {
					15 = { # CASUAL
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_casual_01_t
							desc = random_second_antagonism_casual_01_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = {  add = 30 court_position:second_camp_officer = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= -40 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_worrying_01_t
							desc = random_second_antagonism_worrying_01_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes }
					}
					0 = { # MORTAL
						modifier = {  add = 60 court_position:second_camp_officer = { OR = { opinion = { target = root value <= -100 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_dangerous_01_t
							desc = random_second_antagonism_dangerous_01_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_casual_02_t
							desc = random_second_antagonism_casual_02_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = {  add = 30 court_position:second_camp_officer = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= -40 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_worrying_02_t
							desc = random_second_antagonism_worrying_02_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes }
					}
					0 = { # MORTAL
						modifier = {  add = 60 court_position:second_camp_officer = { OR = { opinion = { target = root value <= -100 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_dangerous_02_t
							desc = random_second_antagonism_dangerous_02_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_casual_03_t
							desc = random_second_antagonism_casual_03_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = {  add = 30 court_position:second_camp_officer = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= -40 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_worrying_03_t
							desc = random_second_antagonism_worrying_03_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes }
					}
					0 = { # MORTAL
						modifier = {  add = 60 court_position:second_camp_officer = { OR = { opinion = { target = root value <= -100 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_dangerous_03_t
							desc = random_second_antagonism_dangerous_03_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_casual_04_t
							desc = random_second_antagonism_casual_04_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = {  add = 30 court_position:second_camp_officer = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= -40 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_worrying_04_t
							desc = random_second_antagonism_worrying_04_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes }
					}
					0 = { # MORTAL
						modifier = {  add = 60 court_position:second_camp_officer = { OR = { opinion = { target = root value <= -100 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_dangerous_04_t
							desc = random_second_antagonism_dangerous_04_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_casual_05_t
							desc = random_second_antagonism_casual_05_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = {  add = 30 court_position:second_camp_officer = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= -40 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_worrying_05_t
							desc = random_second_antagonism_worrying_05_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes }
					}
					0 = { # MORTAL
						modifier = {  add = 60 court_position:second_camp_officer = { OR = { opinion = { target = root value <= -100 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_dangerous_05_t
							desc = random_second_antagonism_dangerous_05_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_casual_06_t
							desc = random_second_antagonism_casual_06_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes } }
						}
						add_stress = @stress_p1 if = { limit = { is_ai = no } adv_effect_second_casual_player = yes } else = { adv_effect_second_casual_ai = yes }
					}
					0 = { # WORRING
						modifier = {  add = 30 court_position:second_camp_officer = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= -40 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_worrying_06_t
							desc = random_second_antagonism_worrying_06_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes } }
						}
						add_stress = @stress_p3 if = { limit = { is_ai = no } adv_effect_recruiter_negative_player = yes } else = { adv_effect_recruiter_negative_ai = yes }
					}
					0 = { # MORTAL
						modifier = {  add = 60 court_position:second_camp_officer = { OR = { opinion = { target = root value <= -100 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_second_bad_with_text
							title = random_second_antagonism_dangerous_06_t
							desc = random_second_antagonism_dangerous_06_d
							left_icon = scope:gpt_second
							show_as_tooltip = { add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes } }
						}
						add_stress = @stress_p4 if = { limit = { is_ai = no } adv_effect_major_stress_player = yes } else = { adv_effect_major_stress_ai = yes }
					}
				}
			}
		}
	}
}

gpt_disloyal_followers = {
	trigger = {
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {
		if = {
			limit = {
				age >= 14
				is_imprisoned = no
				any_courtier = {
					percent >= 0.2
					is_imprisoned = no
					OR = {
						opinion = {
							target = root
							value <= -1
						}
						has_relation_rival = root
						has_relation_nemesis = root
					}
				}
			}
			random = {
				chance = { value = @adv_event_chance_2 }
				random_list = {
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_01_t
							desc = adv_random_casual_disrespect_01_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_courtier = { percent >= 0.40 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_worrying_disrespect_01_t
							desc = adv_random_worrying_disrespect_01_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_02_t
							desc = adv_random_casual_disrespect_02_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_courtier = { percent >= 0.40 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_worrying_disrespect_02_t
							desc = adv_random_worrying_disrespect_02_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_03_t
							desc = adv_random_casual_disrespect_03_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_courtier = { percent >= 0.40 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_worrying_disrespect_03_t
							desc = adv_random_worrying_disrespect_03_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_04_t
							desc = adv_random_casual_disrespect_04_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_courtier = { percent >= 0.40 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_worrying_disrespect_04_t
							desc = adv_random_worrying_disrespect_04_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_05_t
							desc = adv_random_casual_disrespect_05_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_courtier = { percent >= 0.40 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_worrying_disrespect_05_t
							desc = adv_random_worrying_disrespect_05_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_06_t
							desc = adv_random_casual_disrespect_06_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_courtier = { percent >= 0.40 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_worrying_disrespect_06_t
							desc = adv_random_worrying_disrespect_06_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_07_t
							desc = adv_random_casual_disrespect_07_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_courtier = { percent >= 0.40 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_worrying_disrespect_07_t
							desc = adv_random_worrying_disrespect_07_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_08_t
							desc = adv_random_casual_disrespect_08_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_courtier = { percent >= 0.40 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_worrying_disrespect_08_t
							desc = adv_random_worrying_disrespect_08_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv2 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_09_t
							desc = adv_random_casual_disrespect_09_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_10_t
							desc = adv_random_casual_disrespect_10_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_11_t
							desc = adv_random_casual_disrespect_11_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_12_t
							desc = adv_random_casual_disrespect_12_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_13_t
							desc = adv_random_casual_disrespect_13_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_14_t
							desc = adv_random_casual_disrespect_14_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_15_t
							desc = adv_random_casual_disrespect_15_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_16_t
							desc = adv_random_casual_disrespect_16_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_17_t
							desc = adv_random_casual_disrespect_17_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
					8 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = adv_random_casual_disrespect_18_t
							desc = adv_random_casual_disrespect_18_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_fol_turmoil_lv1 years = 3 }
					}
				}
			}
		}
	}
}

gpt_disloyal_officers = {
	trigger = {
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {
		if = {
			limit = {
				age >= 14
				is_imprisoned = no
				any_court_position_holder = {
					percent >= 0.1
					is_imprisoned = no
					OR = {
						opinion = {
							target = root
							value <= -1
						}
						has_relation_rival = root
						has_relation_nemesis = root
					}
				}
			}
			random = {
				chance = { value = @adv_event_chance_2 }
				random_list = {
					15 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_casual_01_t
							desc = random_disloyal_officers_casual_01_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_worrying_01_t
							desc = random_disloyal_officers_worrying_01_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 }
					}
					0 = { # MORTAL
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.60 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -50 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_dangerous_01_t
							desc = random_disloyal_officers_dangerous_01_d
							show_as_tooltip = { add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 } }
						}
						add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_casual_02_t
							desc = random_disloyal_officers_casual_02_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_worrying_02_t
							desc = random_disloyal_officers_worrying_02_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 }
					}
					0 = { # MORTAL
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.60 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -50 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_dangerous_02_t
							desc = random_disloyal_officers_dangerous_02_d
							show_as_tooltip = { add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 } }
						}
						add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_casual_03_t
							desc = random_disloyal_officers_casual_03_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_worrying_03_t
							desc = random_disloyal_officers_worrying_03_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 }
					}
					0 = { # MORTAL
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.60 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -50 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_dangerous_03_t
							desc = random_disloyal_officers_dangerous_03_d
							show_as_tooltip = { add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 } }
						}
						add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_casual_04_t
							desc = random_disloyal_officers_casual_04_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_worrying_04_t
							desc = random_disloyal_officers_worrying_04_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 }
					}
					0 = { # MORTAL
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.60 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -50 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_dangerous_04_t
							desc = random_disloyal_officers_dangerous_04_d
							show_as_tooltip = { add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 } }
						}
						add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_casual_05_t
							desc = random_disloyal_officers_casual_05_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_worrying_05_t
							desc = random_disloyal_officers_worrying_05_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 }
					}
					0 = { # MORTAL
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.60 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -50 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_dangerous_05_t
							desc = random_disloyal_officers_dangerous_05_d
							show_as_tooltip = { add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 } }
						}
						add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_casual_06_t
							desc = random_disloyal_officers_casual_06_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_worrying_06_t
							desc = random_disloyal_officers_worrying_06_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 }
					}
					0 = { # MORTAL
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.60 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -50 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_dangerous_06_t
							desc = random_disloyal_officers_dangerous_06_d
							show_as_tooltip = { add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 } }
						}
						add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_casual_07_t
							desc = random_disloyal_officers_casual_07_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_worrying_07_t
							desc = random_disloyal_officers_worrying_07_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 }
					}
					0 = { # MORTAL
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.60 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -50 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_dangerous_07_t
							desc = random_disloyal_officers_dangerous_07_d
							show_as_tooltip = { add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 } }
						}
						add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_casual_08_t
							desc = random_disloyal_officers_casual_08_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_worrying_08_t
							desc = random_disloyal_officers_worrying_08_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 }
					}
					0 = { # MORTAL
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.60 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -50 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_dangerous_08_t
							desc = random_disloyal_officers_dangerous_08_d
							show_as_tooltip = { add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 } }
						}
						add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 }
					}
					15 = { # CASUAL
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_casual_09_t
							desc = random_disloyal_officers_casual_09_d
							show_as_tooltip = { add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 } }
						}
						add_stress = @stress_p1 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv1 years = 3 }
					}
					0 = { # WORRING
						modifier = {  add = 30 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_worrying_09_t
							desc = random_disloyal_officers_worrying_09_d
							show_as_tooltip = { add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 } }
						}
						add_stress = @stress_p3 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv2 years = 3 }
					}
					0 = { # MORTAL
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.60 OR = { opinion = { target = root value <= -1 } has_relation_rival = root has_relation_nemesis = root } } }
						modifier = {  add = 60 any_court_position_holder = { percent >= 0.30 OR = { opinion = { target = root value <= -50 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_adv_turmoil_bad_with_text
							title = random_disloyal_officers_dangerous_09_t
							desc = random_disloyal_officers_dangerous_09_d
							show_as_tooltip = { add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 } }
						}
						add_stress = @stress_p4 add_character_modifier = { modifier = gpt_adv_of_turmoil_lv3 years = 3 }
					}
				}
			}
		}
	}
}

gpt_adv_persecution = {
	trigger = {
		is_landless_adventurer = yes
		is_ai = no
		OR = {
			has_game_rule = GPT_all_events
		}
	}
	effect = {
		if = {
			limit = {
				domicile ?= {
					domicile_location = {
						county ?= {
							holder = {
								gpt_persecution_trigger = yes
							}
						}
					}
				}
			}
			domicile ?= { domicile_location = { county ?= { holder = { save_scope_as = gpt_persecutor } } } }
			random = {
				chance = {
					value = @adv_event_chance_4
				}
				random_list = {
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_01_t
							desc = random_persecution_casual_01_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_01_t
							desc = random_persecution_worrying_01_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_01_t
							desc = random_persecution_mortal_01_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_02_t
							desc = random_persecution_casual_02_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_02_t
							desc = random_persecution_worrying_02_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_02_t
							desc = random_persecution_mortal_02_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_03_t
							desc = random_persecution_casual_03_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_03_t
							desc = random_persecution_worrying_03_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_03_t
							desc = random_persecution_mortal_03_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_04_t
							desc = random_persecution_casual_04_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_04_t
							desc = random_persecution_worrying_04_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_04_t
							desc = random_persecution_mortal_04_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_05_t
							desc = random_persecution_casual_05_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_05_t
							desc = random_persecution_worrying_05_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_05_t
							desc = random_persecution_mortal_05_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_06_t
							desc = random_persecution_casual_06_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_06_t
							desc = random_persecution_worrying_06_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_06_t
							desc = random_persecution_mortal_06_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_07_t
							desc = random_persecution_casual_07_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_07_t
							desc = random_persecution_worrying_07_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_07_t
							desc = random_persecution_mortal_07_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_08_t
							desc = random_persecution_casual_08_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_08_t
							desc = random_persecution_worrying_08_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_08_t
							desc = random_persecution_mortal_08_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_09_t
							desc = random_persecution_casual_09_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_09_t
							desc = random_persecution_worrying_09_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_09_t
							desc = random_persecution_mortal_09_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_10_t
							desc = random_persecution_casual_10_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					0 = {
						modifier = { add = 30 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 0 ai_compassion <= 0 } has_relation_rival = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_worrying_10_t
							desc = random_persecution_worrying_10_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p3 adv_effect_persecution_worrying = yes }
						}
						add_stress = @stress_p3 adv_effect_persecution_worrying = yes
					}
					0 = {
						modifier = { add = 60 scope:gpt_persecutor = { OR = { AND = { ai_vengefulness >= 70 ai_compassion <= 0 } AND = { ai_vengefulness >= 0 ai_compassion <= -70 } has_relation_nemesis = root } } }
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_mortal_10_t
							desc = random_persecution_mortal_10_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p4 adv_effect_persecution_mortal = yes }
						}
						add_stress = @stress_p4 adv_effect_persecution_mortal = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_11_t
							desc = random_persecution_casual_11_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_12_t
							desc = random_persecution_casual_12_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_13_t
							desc = random_persecution_casual_13_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_14_t
							desc = random_persecution_casual_14_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_15_t
							desc = random_persecution_casual_15_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_16_t
							desc = random_persecution_casual_16_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_17_t
							desc = random_persecution_casual_17_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
					8 = {
						send_interface_message = {
							type = event_gpt_liege_bad_with_text
							title = random_persecution_casual_18_t
							desc = random_persecution_casual_18_d
							left_icon = scope:gpt_persecutor
							show_as_tooltip = { custom_tooltip = { text = adv_persecution_tip } add_stress = @stress_p1 adv_effect_persecution_casual = yes }
						}
						add_stress = @stress_p1 adv_effect_persecution_casual = yes
					}
				}
			}
		}
	}
}


gpt_adv_annoying_spouse = {
	trigger = {
        is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
                is_married = yes
				is_imprisoned = no
                OR = {
                    AND = {
                        exists = primary_spouse
						primary_spouse = {
							OR = {
								trait_compatibility = {
									target = root
									value <= -16
								}
								opinion = {
									target = root
									value <= 25
								}
							}
						}
                    }
                    any_spouse = {
                        OR = {
							trait_compatibility = {
								target = root
								value <= -31
							}
							opinion = {
								target = root
								value <= 0
							}
                        }
                    }
                }
			}
			random = {
				chance = {
					value = @adv_event_chance_3
                    if = { limit = { exists = primary_spouse primary_spouse = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= 0 } } } } add = 15 }
				}
                random_spouse = {
                    limit = {
                        OR = {
                            trait_compatibility = {
                                target = root
                                value <= -16
                            }
                            opinion = {
                                target = root
                                value <= 25
                            }
                        }
                    }
                    save_scope_as = annoying_spouse
                }
				random_list = {
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_01_t
							desc = adv_diary_spouse_stress_event_01_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_02_t
							desc = adv_diary_spouse_stress_event_02_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_03_t
							desc = adv_diary_spouse_stress_event_03_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_04_t
							desc = adv_diary_spouse_stress_event_04_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_05_t
							desc = adv_diary_spouse_stress_event_05_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_06_t
							desc = adv_diary_spouse_stress_event_06_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_07_t
							desc = adv_diary_spouse_stress_event_07_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_08_t
							desc = adv_diary_spouse_stress_event_08_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_09_t
							desc = adv_diary_spouse_stress_event_09_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_10_t
							desc = adv_diary_spouse_stress_event_10_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_11_t
							desc = adv_diary_spouse_stress_event_11_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_12_t
							desc = adv_diary_spouse_stress_event_12_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_13_t
							desc = adv_diary_spouse_stress_event_13_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_14_t
							desc = adv_diary_spouse_stress_event_14_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_15_t
							desc = adv_diary_spouse_stress_event_15_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_16_t
							desc = adv_diary_spouse_stress_event_16_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_17_t
							desc = adv_diary_spouse_stress_event_17_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_18_t
							desc = adv_diary_spouse_stress_event_18_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_19_t
							desc = adv_diary_spouse_stress_event_19_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
                    5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_20_t
							desc = adv_diary_spouse_stress_event_20_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_21_t
							desc = adv_diary_spouse_stress_event_21_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_22_t
							desc = adv_diary_spouse_stress_event_22_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_23_t
							desc = adv_diary_spouse_stress_event_23_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_24_t
							desc = adv_diary_spouse_stress_event_24_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_25_t
							desc = adv_diary_spouse_stress_event_25_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_26_t
							desc = adv_diary_spouse_stress_event_26_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_27_t
							desc = adv_diary_spouse_stress_event_27_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_28_t
							desc = adv_diary_spouse_stress_event_28_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_29_t
							desc = adv_diary_spouse_stress_event_29_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_30_t
							desc = adv_diary_spouse_stress_event_30_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_31_t
							desc = adv_diary_spouse_stress_event_31_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_32_t
							desc = adv_diary_spouse_stress_event_32_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_33_t
							desc = adv_diary_spouse_stress_event_33_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_34_t
							desc = adv_diary_spouse_stress_event_34_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_35_t
							desc = adv_diary_spouse_stress_event_35_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_spouse_stress_event_36_t
							desc = adv_diary_spouse_stress_event_36_d
						 	left_icon = scope:annoying_spouse
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = annoying_spouse_tip } }
						}
						add_stress = @stress_p3
					}
				}
			}
		}
	}
}

gpt_adv_unrelated_heir = {
	trigger = {
		is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_imprisoned = no
                exists = player_heir
                player_heir = {
					is_adult = yes
                    age < root.age
                    OR = {
                        trait_compatibility = {
                            target = root
                            value <= -16
                        }
                        opinion = {
                            target = root
                            value <= 25
                        }
                    }
                }
			}
			random = {
				chance = {
					value = @adv_event_chance_3
                    if = { limit = { primary_heir = { OR = { trait_compatibility = { target = root value <= -31 } opinion = { target = root value <= 0 } } } } add = 15 }
				}
				random_list = {
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_01_t
							desc = adv_diary_heir_stress_event_01_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_02_t
							desc = adv_diary_heir_stress_event_02_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_03_t
							desc = adv_diary_heir_stress_event_03_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_04_t
							desc = adv_diary_heir_stress_event_04_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_05_t
							desc = adv_diary_heir_stress_event_05_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_06_t
							desc = adv_diary_heir_stress_event_06_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_07_t
							desc = adv_diary_heir_stress_event_07_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_08_t
							desc = adv_diary_heir_stress_event_08_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_01_t
							desc = adv_diary_heir_stress_event_01_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_09_t
							desc = adv_diary_heir_stress_event_09_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_10_t
							desc = adv_diary_heir_stress_event_10_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_11_t
							desc = adv_diary_heir_stress_event_11_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_12_t
							desc = adv_diary_heir_stress_event_12_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_13_t
							desc = adv_diary_heir_stress_event_13_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_14_t
							desc = adv_diary_heir_stress_event_14_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_15_t
							desc = adv_diary_heir_stress_event_15_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_16_t
							desc = adv_diary_heir_stress_event_16_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_17_t
							desc = adv_diary_heir_stress_event_17_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_18_t
							desc = adv_diary_heir_stress_event_18_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_19_t
							desc = adv_diary_heir_stress_event_19_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
					5 = { # CASUAL
						send_interface_message = {
							type = event_stress_gain_bad_with_text
							title = adv_diary_heir_stress_event_20_t
							desc = adv_diary_heir_stress_event_20_d
						 	left_icon = player_heir
							show_as_tooltip = { add_stress = @stress_p3 custom_tooltip = { text = unrelated_heir_tip } }
						}
						add_stress = @stress_p3
					}
				}
			}
		}
	}
}

gpt_adv_good_lover = {
	trigger = {
        is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_imprisoned = no
				stress >= 50
				any_courtier = {
                    OR = {
                        has_relation_lover = root
                        has_relation_soulmate = root
                    }
                }
			}
			random = {
				chance = {
					value = @adv_event_chance_3
					if = { limit = { any_courtier = { count >= 2 has_relation_lover = root } } add = 5 }
                    if = { limit = { any_courtier = { has_relation_soulmate = root } } add = 15 }
                    if = { limit = { any_courtier = { has_relation_lover = root trait_compatibility = { target = root value >= 15 } } } add = 15 }
				}
				if = { limit = { any_courtier = { has_relation_soulmate = root } }
					random_courtier = {
						limit = {
							has_relation_soulmate = root
						}
						save_scope_as = random_lover
					} 
				}
				else = {
					random_courtier = {
						limit = {
							has_relation_lover = root
						}
						save_scope_as = random_lover
					}
				}
				random_list = {
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_01_t
							desc = adv_diary_lover_stress_event_01_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_02_t
							desc = adv_diary_lover_stress_event_02_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_03_t
							desc = adv_diary_lover_stress_event_03_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_04_t
							desc = adv_diary_lover_stress_event_04_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_05_t
							desc = adv_diary_lover_stress_event_05_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_06_t
							desc = adv_diary_lover_stress_event_06_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_07_t
							desc = adv_diary_lover_stress_event_07_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_08_t
							desc = adv_diary_lover_stress_event_08_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_09_t
							desc = adv_diary_lover_stress_event_09_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_10_t
							desc = adv_diary_lover_stress_event_10_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_11_t
							desc = adv_diary_lover_stress_event_11_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_12_t
							desc = adv_diary_lover_stress_event_12_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_13_t
							desc = adv_diary_lover_stress_event_13_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_14_t
							desc = adv_diary_lover_stress_event_14_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_15_t
							desc = adv_diary_lover_stress_event_15_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_16_t
							desc = adv_diary_lover_stress_event_16_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_17_t
							desc = adv_diary_lover_stress_event_17_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_18_t
							desc = adv_diary_lover_stress_event_18_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_19_t
							desc = adv_diary_lover_stress_event_19_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_lover_stress_event_20_t
							desc = adv_diary_lover_stress_event_20_d
							left_icon = scope:random_lover
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_lover_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_lover_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
				}
			}
		}
	}
}

gpt_adv_good_friend = {
	trigger = {
        is_ai = no
		is_landless_adventurer = yes
		OR = {
			has_game_rule = GPT_all_events
			has_game_rule = GPT_few_events
		}
	}
	effect = {

		if = {
			limit = {
				is_adult = yes
				is_imprisoned = no
				stress >= 50
				any_courtier = {
                    OR = {
                        has_relation_friend = root
                        has_relation_best_friend = root
                    }
                }
			}
			random = {
				chance = {
					value = @adv_event_chance_3
					if = { limit = { any_courtier = { count >= 2 has_relation_friend = root } } add = 5 }
					if = { limit = { any_courtier = { count >= 3 has_relation_friend = root } } add = 5 }
                    if = { limit = { any_courtier = { has_relation_best_friend = root } } add = 15 }
                    if = { limit = { any_courtier = { has_relation_friend = root trait_compatibility = { target = root value >= 20 } } } add = 15 }
				}
				if = { limit = { any_courtier = { has_relation_best_friend = root } }
					random_courtier = {
						limit = {
							has_relation_best_friend = root
						}
						save_scope_as = random_friend
					} 
				}
				else = {
					random_courtier = {
						limit = {
							has_relation_friend = root
						}
						save_scope_as = random_friend
					}
				}
				random_list = {
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_01_t
							desc = adv_diary_friend_stress_event_01_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_02_t
							desc = adv_diary_friend_stress_event_02_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_03_t
							desc = adv_diary_friend_stress_event_03_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_04_t
							desc = adv_diary_friend_stress_event_04_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_05_t
							desc = adv_diary_friend_stress_event_05_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_06_t
							desc = adv_diary_friend_stress_event_06_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_07_t
							desc = adv_diary_friend_stress_event_07_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_08_t
							desc = adv_diary_friend_stress_event_08_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_09_t
							desc = adv_diary_friend_stress_event_09_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_10_t
							desc = adv_diary_friend_stress_event_10_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_11_t
							desc = adv_diary_friend_stress_event_11_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_12_t
							desc = adv_diary_friend_stress_event_12_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_13_t
							desc = adv_diary_friend_stress_event_13_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_14_t
							desc = adv_diary_friend_stress_event_14_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_15_t
							desc = adv_diary_friend_stress_event_15_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_16_t
							desc = adv_diary_friend_stress_event_16_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_17_t
							desc = adv_diary_friend_stress_event_17_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_18_t
							desc = adv_diary_friend_stress_event_18_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_19_t
							desc = adv_diary_friend_stress_event_19_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
					5 = {
						send_interface_message = {
							type = event_stressed_good_with_text
							title = adv_diary_friend_stress_event_20_t
							desc = adv_diary_friend_stress_event_20_d
							left_icon = scope:random_friend
							if = { limit = { has_trait = diligent }
								show_as_tooltip = { add_stress = @stress_n5 custom_tooltip = { text = good_friend_tip } }
							}
							else = { show_as_tooltip = { add_stress = @stress_n4 } custom_tooltip = { text = good_friend_tip } }
						}
						if = { limit = { has_trait = diligent } add_stress = @stress_n5 }
                        else = { add_stress = @stress_n4 }
					}
				}
			}
		}
	}
}
