scripted_triggers updated files

This commit is contained in:
Thakia 2026-10-04 17:18:00 -03:00
parent 37045a17ee
commit 072e45c086
36 changed files with 4934 additions and 1754 deletions

View file

@ -320,11 +320,14 @@ guest_allowed_to_arrive_trigger = {
#Isn't too good for host
NAND = {
OR = {
any_claim = { tier = tier_empire }
any_close_family_member = { highest_held_title_tier = tier_empire }
any_claim = { tier >= tier_empire }
any_close_family_member = { highest_held_title_tier >= tier_empire }
}
$HOST$ = { highest_held_title_tier <= tier_county }
}
# Prevent paiza merchants from arriving as guests
NOT = { has_variable = merchant_var }
} #Note: this trigger used to contain opinion triggers but then some awful rulers could never get guests because everyone hates them
@ -558,6 +561,13 @@ can_recruit_character_to_court_trigger = {
}
}
}
custom_description = {
text = "is_paiza_merchant"
subject = scope:recruitee
scope:recruitee = {
has_variable = merchant_var
}
}
}
}
}
@ -587,7 +597,7 @@ useful_courtier_or_guest_claim_trigger = {
#The higher tier the ruler has, the longer distance is acceptable
#We prefer to measure against the title's province, but if there is none, check its holder
trigger_if = {
limit = { $RULER$ = { highest_held_title_tier = tier_empire } }
limit = { $RULER$ = { highest_held_title_tier >= tier_empire } }
trigger_if = {
limit = { exists = title_province }
title_province = { squared_distance = { target = $RULER$.capital_province value <= squared_distance_almost_massive } }
@ -791,6 +801,7 @@ pool_character_is_pruneable_trigger = {
is_ai = no
}
has_character_flag = easteregg
has_variable = merchant_var
}
trigger_if = {
limit = {
@ -837,14 +848,14 @@ is_courtier_or_knight_of_root = {
}
guest_herder_candidate_trigger = {
government_has_flag = government_is_true_herder
government_has_flag = government_is_herder
has_trait = lifestyle_seasoned_pastor
trigger_if = {
limit = { root.faith = { has_doctrine = doctrine_gender_male_dominated } }
limit = { root.rite = { rite_has_doctrine = doctrine_gender_male_dominated } }
is_male = yes
}
trigger_if = {
limit = { root.faith = { has_doctrine = doctrine_gender_female_dominated } }
limit = { root.rite = { rite_has_doctrine = doctrine_gender_female_dominated } }
is_female = yes
}
age < 45