﻿@triggervalue_pos = 30
@triggervalue_neg = -30
@cooldowndays = gptev_cooldown_value

on_game_start_after_lobby = {
	on_actions = {
		gptev_on_game_start_cooldown
	}
}

gptev_on_game_start_cooldown = {
    effect = {
        every_ruler = {
            if = {
                limit = {
                    is_ai = yes
                    highest_held_title_tier >= 2
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = gptev_cooldown_value_start }
            }
        }
        every_player = {
            add_character_flag = { flag = gptev_cooldown_flag_1 days = gptev_cooldown_value_start }
            add_character_flag = { flag = gptev_cooldown_flag_2 days = gptev_cooldown_value_start }
            add_character_flag = { flag = gptev_cooldown_flag_3 days = gptev_cooldown_value_start }
            add_character_flag = { flag = gptev_cooldown_flag_4 days = gptev_cooldown_value_start }
            add_character_flag = { flag = gptev_cooldown_flag_5 days = gptev_cooldown_value_start }
            add_character_flag = { flag = gptev_cooldown_flag_6 days = gptev_cooldown_value_start }
        }
    }
}

yearly_playable_pulse = {
	on_actions = {
        gpt_councillor_events_ai
	}
}

quarterly_playable_pulse = {
    on_actions = {
        delay = { days = { 15 90 } }
        gpt_councillor_events_player
	}
    on_actions = {
        delay = { days = { 15 90 } }
        gpt_powerful_Vassals_events
	}
    on_actions = {
        delay = { days = { 15 90 } }
        gpt_player_councillor_events
	}
    on_actions = {
        delay = { days = { 15 90 } }
        gpt_courtiers_events
        gpt_followers_events
	}
    on_actions = {
        delay = { days = { 15 90 } }
        gpt_court_consort_events
        gpt_camp_consort_events
	}
    on_actions = {
        delay = { days = { 15 90 } }
        gpt_court_child_events
        gpt_camp_child_events
	}
}

gpt_councillor_events_ai = {
	trigger = {
        NOT = { has_character_flag = gptev_cooldown_flag_1 }
        is_ai = yes
        highest_held_title_tier >= 3
      # is_at_war_as_defender = no
        NOT = {
            any_councillor = {
                is_ai = no
            }
        }
        is_adult = yes
        is_commanding_army = no
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
	 #	has_active_diarchy = no
        number_of_powerful_vassals >= 1
        gold >= 100
	}
	effect = {
		random_list = {
			10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_compassion > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0001
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_compassion < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0002
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_honor > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0003
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_honor < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0004
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_greed > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0005
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_greed < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0006
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_boldness > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0007
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_boldness < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0008
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_sociability > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0009
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_sociability < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0010
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_energy > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0011
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_energy < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0012
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_rationality > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0013
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_rationality < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0014
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_zeal > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0015
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_zeal < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0016
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_vengefulness > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0017
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_vengefulness < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0018
				}
			}
		}
	}
}

gpt_councillor_events_player = {
	trigger = {
        is_ai = no
        NOT = { has_character_flag = gptev_cooldown_flag_1 }
      # is_at_war_as_defender = no
        NAND = {
            is_independent_ruler = yes
            number_of_powerful_vassals >= 3
            vassal_count >= 6
            any_powerful_vassal = {
                percent >= 0.5
                opinion = { target = root value < 0 }
            }
            any_vassal = {
                percent >= 0.5
                opinion = { target = root value < 0 }
            }
        }
        NOT = {
            any_councillor = {
                is_ai = no
            }
        }
        is_adult = yes
        is_commanding_army = no
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
	 #	has_active_diarchy = no
        number_of_powerful_vassals >= 1
        gold >= 100
	}
	effect = {
		random_list = {
			10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_compassion > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0001
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_compassion < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0002
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_honor > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0003
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_honor < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0004
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_greed > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0005
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_greed < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0006
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_boldness > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0007
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_boldness < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0008
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_sociability > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0009
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_sociability < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0010
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_energy > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0011
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_energy < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0012
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_rationality > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0013
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_rationality < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0014
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_zeal > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0015
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_zeal < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0016
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_vengefulness > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0017
				}
			}
            10 = {
                trigger = {
                    any_councillor = {
                        count >= 3 is_adult = yes is_ai = yes
                        ai_vengefulness < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_1 days = @cooldowndays }
				trigger_event = {
					id = gptev_councillor_event.0018
				}
			}
		}
	}
}

gpt_powerful_Vassals_events = {
	trigger = {
        is_ai = no
        NOT = { has_character_flag = gptev_cooldown_flag_2 }
        is_at_war_as_defender = no
        OR = {
            is_independent_ruler = yes
            is_tributary = yes
        }
        is_ai = yes is_adult = yes
        is_commanding_army = no
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
		has_active_diarchy = no
        number_of_powerful_vassals >= 3
        vassal_count >= 6
        any_powerful_vassal = {
            percent >= 0.5
            opinion = { target = root value < 0 }
        }
        any_vassal = {
            percent >= 0.5
            opinion = { target = root value < 0 }
        }
	}
	effect = {
		random_list = {
			# Compassionate Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_compassion > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0001 }
			}
			# Callous Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_compassion < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0002 }
			}
			# Just Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_honor > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0003 }
			}
			# Arbitrary Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_honor < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0004 }
			}
			# Greedy Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_greed > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0005 }
			}
			# Generous Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_greed < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0006 }
			}
			# Brave Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_boldness > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0007 }
			}
			# Craven Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_boldness < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0008 }
			}
			# Gregarious Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_sociability > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0009 }
			}
			# Shy Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_sociability < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0010 }
			}
			# Diligent Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_energy > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0011 }
			}
			# Lazy Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_energy < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0012 }
			}
			# Calm Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_rationality > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0013 }
			}
			# Wrathful Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_rationality < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0014 }
			}
			# Zealous Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_zeal > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0015 }
			}
			# Cynical Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_zeal < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0016 }
			}
			# Vengeful Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_vengefulness > @triggervalue_pos
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0017 }
			}
			# Forgiving Event
			10 = {
                trigger = {
                    any_powerful_vassal = {
                        count >= 3 
                        is_ai = yes is_adult = yes
                        ai_vengefulness < @triggervalue_neg
                        is_imprisoned = no
                        is_travelling = no
                        is_commanding_army = no
                        health >= 1
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_2 days = @cooldowndays }
				trigger_event = { id = gptev_powerful_vassal_event.0018 }
			}
		}
	}
}

gpt_player_councillor_events = {
	trigger = {
        is_ai = no
        NOT = { has_character_flag = gptev_cooldown_flag_3 }
      # is_at_war_as_defender = no
        is_adult = yes
        is_independent_ruler = no
        is_tributary = no
        exists = liege
        is_councillor_of = liege
        is_commanding_army = no
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
		has_active_diarchy = no
        health >= 1
        prestige >= 150
	}
	effect = {
		random_list = {
			# Compassionate Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_compassion > @triggervalue_pos }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_compassion > @triggervalue_pos is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0001 }
			}
			# Callous Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_compassion < @triggervalue_neg }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_compassion < @triggervalue_neg is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0002 }
			}
			# Just Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_honor > @triggervalue_pos }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_honor > @triggervalue_pos is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0003 }
			}
			# Arbitrary Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_honor < @triggervalue_neg }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_honor < @triggervalue_neg is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0004 }
			}
			# Greedy Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_greed > @triggervalue_pos }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_greed > @triggervalue_pos is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0005 }
			}
			# Generous Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_greed < @triggervalue_neg }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_greed < @triggervalue_neg is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0006 }
			}
			# Brave Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_boldness > @triggervalue_pos }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_boldness > @triggervalue_pos is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0007 }
			}
			# Craven Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_boldness < @triggervalue_neg }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_boldness < @triggervalue_neg is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0008 }
			}
			# Gregarious Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_sociability > @triggervalue_pos }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_sociability > @triggervalue_pos is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0009 }
			}
			# Shy Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_sociability < @triggervalue_neg }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_sociability < @triggervalue_neg is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0010 }
			}
			# Diligent Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_energy > @triggervalue_pos }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_energy > @triggervalue_pos is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0011 }
			}
			# Lazy Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_energy < @triggervalue_neg }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_energy < @triggervalue_neg is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0012 }
			}
			# Calm Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_rationality > @triggervalue_pos }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_rationality > @triggervalue_pos is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0013 }
			}
			# Wrathful Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_rationality < @triggervalue_neg }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_rationality < @triggervalue_neg is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0014 }
			}
			# Zealous Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_zeal > @triggervalue_pos }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_zeal > @triggervalue_pos is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0015 }
			}
			# Cynical Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_zeal < @triggervalue_neg }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_zeal < @triggervalue_neg is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0016 }
			}
			# Vengeful Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_vengefulness > @triggervalue_pos }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_vengefulness > @triggervalue_pos is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0017 }
			}
			# Forgiving Event
			10 = {
                trigger = {
                    liege = {
                        any_councillor = { this = root ai_vengefulness < @triggervalue_neg }
                        any_councillor = { count >= 2 this != root is_adult = yes ai_vengefulness < @triggervalue_neg is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 }
                    }
                }
                add_character_flag = { flag = gptev_cooldown_flag_3 days = @cooldowndays }
				trigger_event = { id = gptev_player_councillor_event.0018 }
			}
		}
	}
}

gpt_courtiers_events = {
	trigger = {
        is_ai = no
        NOT = { has_character_flag = gptev_cooldown_flag_4 }
      # is_at_war_as_defender = no
        is_landless_adventurer = no
        NOT = { government_has_flag = government_is_nomadic }
        is_adult = yes
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
        is_commanding_army = no
        health >= 1
	}
	effect = {
		random_list = {
			# --- DISPUTE EVENTS ---
			10 = {
                trigger = {
                    any_courtier = { has_trait = compassionate is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { OR = { has_trait = callous has_trait = sadistic } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = compassionate is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = {  OR = { has_trait = callous has_trait = sadistic } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_courtier_event.0001 }
			}
			10 = {
                trigger = {
                    any_courtier = { has_trait = just is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = arbitrary is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = just is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = arbitrary is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_courtier_event.0002 }
			}
			10 = {
                trigger = {
                    any_courtier = { has_trait = greedy is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = generous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = greedy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = generous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_courtier_event.0003 }
			}
			10 = {
                trigger = {
                    any_courtier = { has_trait = brave is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = craven is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = brave is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = craven is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_courtier_event.0004 }
			}
			10 = {
                trigger = {
                    any_courtier = { has_trait = gregarious is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = shy is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = gregarious is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = shy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_courtier_event.0005 }
			}
			10 = {
                trigger = {
                    any_courtier = { has_trait = diligent is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = lazy is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = diligent is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = lazy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_courtier_event.0006 }
			}
			10 = {
                trigger = {
                    any_courtier = { has_trait = calm is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = wrathful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = calm is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = wrathful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_courtier_event.0007 }
			}
			10 = {
                trigger = {
                    any_courtier = { has_trait = zealous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = cynical is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = zealous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = cynical is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_courtier_event.0008 }
			}
			10 = {
                trigger = {
                    any_courtier = { has_trait = vengeful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = forgiving is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = vengeful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = forgiving is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_courtier_event.0009 }
			}
			10 = {
                trigger = {
                    any_courtier = { has_trait = chaste is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = lustful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = chaste is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = lustful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_courtier_event.0010 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = ambitious is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = content is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = content is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = ambitious is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_courtier_event.0011 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = deceitful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = honest is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = honest is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = deceitful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_courtier_event.0012 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = arrogant is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = humble is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = humble is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = arrogant is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_courtier_event.0013 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = impatient is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = patient is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = patient is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = impatient is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_courtier_event.0014 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = gluttonous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = temperate is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = temperate is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = gluttonous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_courtier_event.0015 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = paranoid is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = trusting is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = trusting is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = paranoid is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_courtier_event.0016 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = stubborn is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = fickle is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = fickle is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = stubborn is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_courtier_event.0017 }
            }

            # --- FRIENDLY EVENTS ---
			5 = {
                trigger = { any_courtier = { count >= 2 ai_compassion >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_compassion >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_compassion >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0001 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_compassion <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_compassion <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_compassion <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0002 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_zeal >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_zeal >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_zeal >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0003 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_zeal <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_zeal <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_zeal <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0004 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_honor >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_honor >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_honor >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0005 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_honor <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_honor <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_honor <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0006 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_energy >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_energy >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_energy >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0007 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_energy <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_energy <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_energy <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0008 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_boldness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_boldness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_boldness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0009 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_boldness <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_boldness <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_boldness <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0010 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_sociability >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_sociability >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_sociability >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0011 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_sociability <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_sociability <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_sociability <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0012 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_greed >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_greed >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_greed >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0013 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_greed <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_greed <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_greed <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0014 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_vengefulness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_vengefulness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_vengefulness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0015 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_vengefulness <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_vengefulness <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_vengefulness <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0016 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_rationality >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_rationality >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_rationality >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0017 }
                }
			}
			5 = {
                trigger = { any_courtier = { count >= 2 ai_rationality <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } }
                random_courtier = { limit = { ai_rationality <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_rationality <= @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				    trigger_event = { id = gptev_courtier_friendly_event.0018 }
                }
			}
		}
	}
}

gpt_followers_events = {
	trigger = {
        is_ai = no
        NOT = { has_character_flag = gptev_cooldown_flag_4 }
      # is_at_war_as_defender = no
        OR = {
            is_landless_adventurer = yes
            government_has_flag = government_is_nomadic
        }
        is_adult = yes
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
        is_commanding_army = no
        health >= 1
	}
	effect = {
		random_list = {
			10 = {
                trigger = {
                    any_courtier = {
                        has_trait = compassionate
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                    any_courtier = {
                        OR = { has_trait = callous has_trait = sadistic }
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                }
                random_courtier = { limit = { has_trait = compassionate is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = {  OR = { has_trait = callous has_trait = sadistic } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_follower_event.0001 }
			}
			10 = {
                trigger = {
                    any_courtier = {
                        has_trait = just
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                    any_courtier = {
                        has_trait = arbitrary
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                }
                random_courtier = { limit = { has_trait = just is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = arbitrary is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_follower_event.0002 }
			}
			10 = {
                trigger = {
                    any_courtier = {
                        has_trait = greedy
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                    any_courtier = {
                        has_trait = generous
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                }
                random_courtier = { limit = { has_trait = greedy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = generous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_follower_event.0003 }
			}
			10 = {
                trigger = {
                    any_courtier = {
                        has_trait = brave
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                    any_courtier = {
                        has_trait = craven
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                }
                random_courtier = { limit = { has_trait = brave is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = craven is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_follower_event.0004 }
			}
			10 = {
                trigger = {
                    any_courtier = {
                        has_trait = gregarious
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                    any_courtier = {
                        has_trait = shy
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                }
                random_courtier = { limit = { has_trait = gregarious is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = shy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_follower_event.0005 }
			}
			10 = {
                trigger = {
                    any_courtier = {
                        has_trait = diligent
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                    any_courtier = {
                        has_trait = lazy
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                }
                random_courtier = { limit = { has_trait = diligent is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = lazy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_follower_event.0006 }
			}
			10 = {
                trigger = {
                    any_courtier = {
                        has_trait = calm
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                    any_courtier = {
                        has_trait = wrathful
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                }
                random_courtier = { limit = { has_trait = calm is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = wrathful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_follower_event.0007 }
			}
			10 = {
                trigger = {
                    any_courtier = {
                        has_trait = zealous
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                    any_courtier = {
                        has_trait = cynical
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                }
                random_courtier = { limit = { has_trait = zealous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = cynical is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_follower_event.0008 }
			}
			10 = {
                trigger = {
                    any_courtier = {
                        has_trait = vengeful
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                    any_courtier = {
                        has_trait = forgiving
                        is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root }
                    }
                }
                random_courtier = { limit = { has_trait = vengeful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = forgiving is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
				trigger_event = { id = gptev_follower_event.0009 }
			}
            10 = {
                trigger = {
                    any_courtier = { has_trait = chaste is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = lustful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = chaste is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = lustful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_follower_event.0010 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = content is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = ambitious is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = content is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = ambitious is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_follower_event.0011 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = honest is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = deceitful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = honest is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = deceitful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_follower_event.0012 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = humble is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = arrogant is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = humble is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = arrogant is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_follower_event.0013 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = patient is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = impatient is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = patient is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = impatient is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_follower_event.0014 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = temperate is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = gluttonous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = temperate is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = gluttonous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_follower_event.0015 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = trusting is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = paranoid is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = trusting is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = paranoid is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_follower_event.0016 }
            }
            10 = {
                trigger = {
                    any_courtier = { has_trait = fickle is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                    any_courtier = { has_trait = stubborn is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 NOT = { is_consort_of = root } }
                }
                random_courtier = { limit = { has_trait = fickle is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_1 }
                random_courtier = { limit = { has_trait = stubborn is_adult = yes is_imprisoned = no is_travelling = no health >= 1 NOT = { is_consort_of = root } } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_4 days = @cooldowndays }
                trigger_event = { id = gptev_follower_event.0017 }
            }
		}
	}
}

gpt_court_consort_events = {
	trigger = {
        is_ai = no
        NOT = { has_character_flag = gptev_cooldown_flag_5 }
      # is_at_war_as_defender = no
        is_landless_adventurer = no
        NOT = { government_has_flag = government_is_nomadic }
        is_adult = yes
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
        is_commanding_army = no
        any_consort = { count >= 2 }
        health >= 1
	}
	effect = {
		random_list = {
			# --- DISPUTE EVENTS ---
			10 = {
                trigger = {
                    any_consort = { has_trait = compassionate is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { OR = { has_trait = callous has_trait = sadistic } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = compassionate is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = {  OR = { has_trait = callous has_trait = sadistic } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0001 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = just is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = arbitrary is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = just is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = arbitrary is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0002 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = greedy is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = generous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = greedy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = generous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0003 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = brave is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = craven is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = brave is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = craven is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0004 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = gregarious is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = shy is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = gregarious is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = shy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0005 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = diligent is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = lazy is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = diligent is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = lazy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0006 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = calm is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = wrathful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = calm is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = wrathful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0007 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = zealous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = cynical is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = zealous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = cynical is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0008 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = vengeful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = forgiving is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = vengeful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = forgiving is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0009 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = lustful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = chaste is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = lustful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = chaste is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0010 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = ambitious is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = content is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = ambitious is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = content is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0011 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = deceitful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = honest is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = deceitful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = honest is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0012 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = arrogant is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = humble is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = arrogant is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = humble is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0013 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = impatient is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = patient is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = impatient is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = patient is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0014 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = gluttonous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = temperate is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = gluttonous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = temperate is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0015 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = paranoid is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = trusting is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = paranoid is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = trusting is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0016 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = fickle is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = stubborn is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = fickle is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = stubborn is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_event.0017 }
			}
			
			# --- BULLYING EVENTS ---
            20 = {
                trigger = {
                    any_consort = { has_trait = compassionate ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { OR = { has_trait = callous has_trait = sadistic } ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = compassionate ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { OR = { has_trait = callous has_trait = sadistic } ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0001 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = just ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = arbitrary ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = just ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = arbitrary ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0002 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = generous ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = greedy ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = generous ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = greedy ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0003 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = craven ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = brave ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = craven ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = brave ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0004 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = shy ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = gregarious ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = shy ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = gregarious ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0005 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = lazy ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = diligent ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = lazy ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = diligent ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0006 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = calm ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = wrathful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = calm ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = wrathful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0007 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = zealous ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = cynical ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = zealous ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = cynical ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0008 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = forgiving ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = vengeful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = forgiving ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = vengeful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0009 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = chaste ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = lustful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = chaste ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = lustful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0010 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = content ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = ambitious ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = content ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = ambitious ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0011 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = honest ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = deceitful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = honest ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = deceitful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0012 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = humble ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = arrogant ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = humble ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = arrogant ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0013 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = patient ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = impatient ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = patient ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = impatient ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0014 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = temperate ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = gluttonous ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = temperate ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = gluttonous ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0015 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = trusting ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = paranoid ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = trusting ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = paranoid ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0016 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = fickle ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = stubborn ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = fickle ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = stubborn ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_consort_bullying_event.0017 }
			}

            # --- FRIENDLY EVENTS ---
            5 = {
                trigger = { any_consort = { count >= 2 ai_compassion >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_compassion >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_compassion >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0001 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_compassion < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_compassion < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_compassion < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0002 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_zeal >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_zeal >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_zeal >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0003 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_zeal < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_zeal < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_zeal < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0004 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_honor >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_honor >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_honor >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0005 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_honor < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_honor < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_honor < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0006 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_energy >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_energy >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_energy >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0007 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_energy < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_energy < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_energy < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0008 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_boldness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_boldness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_boldness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0009 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_boldness < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_boldness < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_boldness < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0010 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_sociability >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_sociability >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_sociability >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0011 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_sociability < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_sociability < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_sociability < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0012 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_greed >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_greed >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_greed >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0013 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_greed < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_greed < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_greed < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0014 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_vengefulness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_vengefulness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_vengefulness >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0015 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_vengefulness < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_vengefulness < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_vengefulness < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0016 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_rationality >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_rationality >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_rationality >= @triggervalue_pos is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0017 }
                }
			}
            5 = {
                trigger = { any_consort = { count >= 2 ai_rationality < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_consort = { limit = { ai_rationality < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_1 }
                random_consort = { limit = { this != scope:courtier_1 trait_compatibility = { target = scope:courtier_1 value >= 0 } ai_rationality < @triggervalue_neg is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } save_scope_as = courtier_2 }
                if = {
                    limit = {
                        scope:courtier_2 = {
                            trait_compatibility = { target = scope:courtier_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
                    trigger_event = { id = gptev_consort_friendly_event.0018 }
                }
			}
		}
	}
}

gpt_camp_consort_events = {
	trigger = {
        is_ai = no
        NOT = { has_character_flag = gptev_cooldown_flag_5 }
      # is_at_war_as_defender = no
        OR = {
            is_landless_adventurer = yes
            government_has_flag = government_is_nomadic
        }
        is_adult = yes
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
        is_commanding_army = no
        any_consort = { count >= 2 }
        health >= 1
	}
	effect = {
		random_list = {
			# --- DISPUTE EVENTS ---
			10 = {
                trigger = {
                    any_consort = { has_trait = compassionate is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { OR = { has_trait = callous has_trait = sadistic } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = compassionate is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = {  OR = { has_trait = callous has_trait = sadistic } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0001 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = just is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = arbitrary is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = just is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = arbitrary is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0002 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = greedy is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = generous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = greedy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = generous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0003 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = brave is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = craven is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = brave is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = craven is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0004 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = gregarious is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = shy is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = gregarious is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = shy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0005 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = diligent is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = lazy is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = diligent is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = lazy is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0006 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = calm is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = wrathful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = calm is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = wrathful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0007 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = zealous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = cynical is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = zealous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = cynical is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0008 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = vengeful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = forgiving is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = vengeful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = forgiving is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0009 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = lustful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = chaste is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = lustful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = chaste is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0010 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = ambitious is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = content is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = ambitious is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = content is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0011 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = deceitful is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = honest is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = deceitful is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = honest is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0012 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = arrogant is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = humble is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = arrogant is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = humble is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0013 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = impatient is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = patient is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = impatient is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = patient is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0014 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = gluttonous is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = temperate is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = gluttonous is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = temperate is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0015 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = paranoid is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = trusting is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = paranoid is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = trusting is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0016 }
			}
			10 = {
                trigger = {
                    any_consort = { has_trait = fickle is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = stubborn is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = fickle is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = stubborn is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adventurer_consort_event.0017 }
			}
			
			# --- BULLYING EVENTS ---
            20 = {
                trigger = {
                    any_consort = { has_trait = compassionate ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { OR = { has_trait = callous has_trait = sadistic } ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = compassionate ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { OR = { has_trait = callous has_trait = sadistic } ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0001 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = just ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = arbitrary ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = just ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = arbitrary ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0002 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = generous ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = greedy ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = generous ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = greedy ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0003 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = craven ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = brave ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = craven ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = brave ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0004 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = shy ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = gregarious ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = shy ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = gregarious ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0005 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = lazy ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = diligent ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = lazy ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = diligent ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0006 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = calm ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = wrathful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = calm ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = wrathful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0007 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = zealous ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = cynical ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = zealous ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = cynical ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0008 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = forgiving ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = vengeful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = forgiving ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = vengeful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0009 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = chaste ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = lustful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = chaste ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = lustful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0010 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = content ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = ambitious ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = content ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = ambitious ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0011 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = honest ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = deceitful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = honest ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = deceitful ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0012 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = humble ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = arrogant ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = humble ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = arrogant ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0013 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = patient ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = impatient ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = patient ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = impatient ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0014 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = temperate ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = gluttonous ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = temperate ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = gluttonous ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0015 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = trusting ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = paranoid ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = trusting ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = paranoid ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0016 }
			}
			20 = {
                trigger = {
                    any_consort = { has_trait = fickle ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_consort = { has_trait = stubborn ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_consort = { limit = { has_trait = fickle ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_1 }
                random_consort = { limit = { has_trait = stubborn ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_adult = yes is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = courtier_2 }
                add_character_flag = { flag = gptev_cooldown_flag_5 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_consort_event.0017 }
			}
		}
	}
}

gpt_court_child_events = {
	trigger = {
        is_ai = no
        NOT = { has_character_flag = gptev_cooldown_flag_6 }
      # is_at_war_as_defender = no
        is_landless_adventurer = no
        NOT = { government_has_flag = government_is_nomadic }
        is_adult = yes
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
        is_commanding_army = no
        any_child = { count >= 2 }
        health >= 1
	}
	effect = {
		random_list = {
			# --- DISPUTE EVENTS (SIBLINGS) ---
			10 = {
                trigger = {
                    any_child = { has_trait = compassionate age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { OR = { has_trait = callous has_trait = sadistic } age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = compassionate age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = {  OR = { has_trait = callous has_trait = sadistic } age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0001 } # Compassionate vs Callous
			}
			10 = {
                trigger = {
                    any_child = { has_trait = just age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = arbitrary age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = just age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = arbitrary age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0002 } # Just vs Arbitrary
			}
			10 = {
                trigger = {
                    any_child = { has_trait = greedy age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = generous age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = greedy age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = generous age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0003 } # Greedy vs Generous
			}
			10 = {
                trigger = {
                    any_child = { has_trait = brave age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = craven age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = brave age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = craven age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0004 } # Brave vs Craven
			}
			10 = {
                trigger = {
                    any_child = { has_trait = gregarious age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = shy age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = gregarious age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = shy age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0005 } # Gregarious vs Shy
			}
			10 = {
                trigger = {
                    any_child = { has_trait = diligent age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = lazy age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = diligent age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = lazy age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0006 } # Diligent vs Lazy
			}
			10 = {
                trigger = {
                    any_child = { has_trait = calm age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = wrathful age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = calm age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = wrathful age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0007 } # Calm vs Wrathful
			}
			10 = {
                trigger = {
                    any_child = { has_trait = ambitious age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = content age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = ambitious age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = content age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0008 } # Ambitious vs Content
			}
			10 = {
                trigger = {
                    any_child = { has_trait = vengeful age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = forgiving age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = vengeful age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = forgiving age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0009 } # Vengeful vs Forgiving
			}
			10 = {
                trigger = {
                    any_child = { has_trait = zealous age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = cynical age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = zealous age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = cynical age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0010 } # Zealous vs Cynical
			}
			10 = {
                trigger = {
                    any_child = { has_trait = honest age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = deceitful age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = honest age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = deceitful age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0011 } # Honest vs Deceitful
			}
			10 = {
                trigger = {
                    any_child = { has_trait = arrogant age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = humble age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = arrogant age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = humble age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0012 } # Arrogant vs Humble
			}
			10 = {
                trigger = {
                    any_child = { has_trait = impatient age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = patient age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = impatient age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = patient age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0013 } # Impatient vs Patient
			}
			10 = {
                trigger = {
                    any_child = { has_trait = gluttonous age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = temperate age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = gluttonous age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = temperate age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0014 } # Gluttonous vs Temperate
			}
			10 = {
                trigger = {
                    any_child = { has_trait = paranoid age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = trusting age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = paranoid age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = trusting age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0015 } # Paranoid vs Trusting
			}
			10 = {
                trigger = {
                    any_child = { has_trait = lustful age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = chaste age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = lustful age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = chaste age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0016 } # Chaste vs Lustful
			}
			10 = {
                trigger = {
                    any_child = { has_trait = stubborn age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = fickle age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = stubborn age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = fickle age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_child_event.0017 } # Stubborn vs Fickle
			}
			
			# --- BULLYING EVENTS (SIBLINGS) ---
            20 = {
                trigger = {
                    any_child = { has_trait = compassionate age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { OR = { has_trait = callous has_trait = sadistic } age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = compassionate age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { OR = { has_trait = callous has_trait = sadistic } age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0001 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = just age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = arbitrary age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = just age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = arbitrary age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0002 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = generous age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = greedy age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = generous age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = greedy age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0003 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = craven age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = brave age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = craven age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = brave age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0004 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = shy age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = gregarious age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = shy age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = gregarious age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0005 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = diligent age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = lazy age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = diligent age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = lazy age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0006 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = calm age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = wrathful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = calm age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = wrathful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0007 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = zealous age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = cynical age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = zealous age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = cynical age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0008 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = forgiving age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = vengeful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = forgiving age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = vengeful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0009 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = chaste age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = lustful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = chaste age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = lustful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0010 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = content age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = ambitious age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = content age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = ambitious age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0011 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = honest age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = deceitful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = honest age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = deceitful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0012 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = humble age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = arrogant age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = humble age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = arrogant age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0013 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = patient age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = impatient age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = patient age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = impatient age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0014 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = temperate age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = gluttonous age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = temperate age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = gluttonous age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0015 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = trusting age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = paranoid age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = trusting age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = paranoid age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0016 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = fickle age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = stubborn age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = fickle age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = stubborn age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_sibling_bullying_event.0017 }
			}

            # --- FRIENDLY EVENTS (SIBLINGS) ---
            5 = {
                trigger = { any_child = { count >= 2 ai_compassion >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_compassion >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_compassion >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0001 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_compassion < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_compassion < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_compassion < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0002 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_zeal >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_zeal >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_zeal >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0003 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_zeal < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_zeal < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_zeal < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0004 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_honor >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_honor >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_honor >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0005 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_honor < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_honor < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_honor < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0006 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_energy >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_energy >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_energy >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0007 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_energy < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_energy < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_energy < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0008 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_boldness >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_boldness >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_boldness >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0009 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_boldness < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_boldness < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_boldness < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0010 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_sociability >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_sociability >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_sociability >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0011 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_sociability < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_sociability < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_sociability < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0012 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_greed >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_greed >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_greed >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0013 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_greed < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_greed < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_greed < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0014 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_vengefulness >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_vengefulness >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_vengefulness >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0015 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_vengefulness < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_vengefulness < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_vengefulness < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0016 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_rationality >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_rationality >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_rationality >= @triggervalue_pos age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0017 }
                }
			}
            5 = {
                trigger = { any_child = { count >= 2 ai_rationality < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root } }
                random_child = { limit = { ai_rationality < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { this != scope:child_1 trait_compatibility = { target = scope:child_1 value >= 0 } ai_rationality < @triggervalue_neg age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 } save_scope_as = child_2 }
                if = {
                    limit = {
                        scope:child_2 = {
                            trait_compatibility = { target = scope:child_1 value >= 0 }
                        }
                    }
                    add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
                    trigger_event = { id = gptev_sibling_friendly_event.0018 }
                }
			}
		}
	}
}

gpt_camp_child_events = {
	trigger = {
        is_ai = no
        NOT = { has_character_flag = gptev_cooldown_flag_6 }
      # is_at_war_as_defender = no
        OR = {
            is_landless_adventurer = yes
            government_has_flag = government_is_nomadic
        }
        is_adult = yes
        is_imprisoned = no
        is_incapable = no
        is_travelling = no
        is_commanding_army = no
        any_child = { count >= 2 }
        health >= 1
	}
	effect = {
		random_list = {
			# --- DISPUTE EVENTS (ADVENTURER CHILDREN) ---
			10 = {
                trigger = {
                    any_child = { has_trait = compassionate age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { OR = { has_trait = callous has_trait = sadistic } age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = compassionate age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = {  OR = { has_trait = callous has_trait = sadistic } age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0001 } # Compassionate vs Callous
			}
			10 = {
                trigger = {
                    any_child = { has_trait = just age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = arbitrary age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = just age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = arbitrary age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0002 } # Just vs Arbitrary
			}
			10 = {
                trigger = {
                    any_child = { has_trait = generous age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = greedy age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = greedy age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = generous age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0003 } # Greedy vs Generous
			}
			10 = {
                trigger = {
                    any_child = { has_trait = brave age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = craven age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = brave age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = craven age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0004 } # Brave vs Craven
			}
			10 = {
                trigger = {
                    any_child = { has_trait = gregarious age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = shy age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = gregarious age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = shy age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0005 } # Gregarious vs Shy
			}
			10 = {
                trigger = {
                    any_child = { has_trait = diligent age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = lazy age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = diligent age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = lazy age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0006 } # Diligent vs Lazy
			}
			10 = {
                trigger = {
                    any_child = { has_trait = calm age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = wrathful age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = calm age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = wrathful age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0007 } # Calm vs Wrathful
			}
			10 = {
                trigger = {
                    any_child = { has_trait = zealous age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = cynical age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = zealous age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = cynical age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0008 } # Zealous vs Cynical
			}
			10 = {
                trigger = {
                    any_child = { has_trait = vengeful age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = forgiving age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = vengeful age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = forgiving age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0009 } # Vengeful vs Forgiving
			}
			10 = {
                trigger = {
                    any_child = { has_trait = ambitious age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = content age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = ambitious age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = content age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0010 } # Ambitious vs Content
			}
			10 = {
                trigger = {
                    any_child = { has_trait = honest age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = deceitful age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = honest age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = deceitful age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0011 } # Honest vs Deceitful
			}
			10 = {
                trigger = {
                    any_child = { has_trait = arrogant age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = humble age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = arrogant age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = humble age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0012 } # Arrogant vs Humble
			}
			10 = {
                trigger = {
                    any_child = { has_trait = impatient age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = patient age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = impatient age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = patient age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0013 } # Patient vs Impatient
			}
			10 = {
                trigger = {
                    any_child = { has_trait = gluttonous age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = temperate age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = gluttonous age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = temperate age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0014 } # Gluttonous vs Temperate
			}
			10 = {
                trigger = {
                    any_child = { has_trait = paranoid age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = trusting age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = paranoid age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = trusting age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0015 } # Paranoid vs Trusting
			}
			10 = {
                trigger = {
                    any_child = { has_trait = lustful age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = chaste age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = lustful age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = chaste age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0016 } # Chaste vs Lustful
			}
			10 = {
                trigger = {
                    any_child = { has_trait = stubborn age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = fickle age > 9 age < 16 is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = stubborn age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = fickle age > 9 age < 16 is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_child_event.0017 } # Stubborn vs Fickle
			}

			# --- BULLYING EVENTS (ADVENTURER CHILDREN) ---
            20 = {
                trigger = {
                    any_child = { has_trait = compassionate age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { OR = { has_trait = callous has_trait = sadistic } age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = compassionate age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { OR = { has_trait = callous has_trait = sadistic } age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0001 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = just age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = arbitrary age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = just age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = arbitrary age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0002 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = generous age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = greedy age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = generous age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = greedy age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0003 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = craven age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = brave age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = craven age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = brave age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0004 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = shy age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = gregarious age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = shy age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = gregarious age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0005 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = diligent age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = lazy age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = diligent age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = lazy age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0006 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = calm age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = wrathful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = calm age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = wrathful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0007 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = zealous age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = cynical age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = zealous age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = cynical age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0008 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = forgiving age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = vengeful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = forgiving age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = vengeful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0009 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = chaste age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = lustful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = chaste age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = lustful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0010 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = content age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = ambitious age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = content age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = ambitious age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0011 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = honest age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = deceitful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = honest age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = deceitful age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0012 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = humble age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = arrogant age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = humble age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = arrogant age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0013 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = patient age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = impatient age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = patient age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = impatient age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0014 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = temperate age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = gluttonous age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = temperate age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = gluttonous age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0015 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = trusting age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = paranoid age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = trusting age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = paranoid age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0016 }
			}
            20 = {
                trigger = {
                    any_child = { has_trait = fickle age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                    any_child = { has_trait = stubborn age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no is_commanding_army = no health >= 1 is_courtier_of = root }
                }
                random_child = { limit = { has_trait = fickle age > 9 age < 16 ai_boldness < 0 OR = { ai_honor > 0 ai_compassion > 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_1 }
                random_child = { limit = { has_trait = stubborn age > 9 age < 16 age > scope:child_1.age ai_boldness > 0 OR = { ai_honor < 0 ai_compassion < 0 } is_imprisoned = no is_travelling = no health >= 1 } save_scope_as = child_2 }
                add_character_flag = { flag = gptev_cooldown_flag_6 days = @cooldowndays }
				trigger_event = { id = gptev_adv_bully_sibling_event.0017 }
			}
		}
	}
}