Stavropul start

This commit is contained in:
Heidesommer 2026-04-25 18:55:31 -04:00
parent 50e221bcef
commit 4c1f524d62
158 changed files with 10079 additions and 10160 deletions

View file

@ -309,6 +309,7 @@ can_be_warrior_trigger = {
}
}
# referenced in KNIGHT_RESTRICTIONS_TT, update when changing this trigger
can_be_knight_trigger = {
is_available_quick = {
ai = yes
@ -317,10 +318,10 @@ can_be_knight_trigger = {
can_be_warrior_trigger = { ARMY_OWNER = $ARMY_OWNER$ }
trigger_if = { # Admin governors cannot be knights
limit = {
$ARMY_OWNER$ = { government_allows = administrative }
is_courtier = no
government_allows = administrative
exists = primary_title
}
primary_title ?= {
primary_title = {
tier < tier_duchy
trigger_if = {
limit = { is_noble_family_title = yes }
@ -370,6 +371,15 @@ can_be_knight_trigger = {
}
this != liege.diarch
}
# knight permissions for players
trigger_if = {
limit = {
$ARMY_OWNER$ = {
is_ai = no
}
}
is_knight_permitted = $ARMY_OWNER$
}
}
# If you update one of the available triggers, update all of them. It's a lot better for performance to not have scripted triggers within scripted triggers when they're checked as often as these ones are.
@ -577,7 +587,7 @@ special_invasion_cb_seize_land_in_region_trigger = {
}
}
trigger_if = {
# If our de jure liege is an existing duchy that would have been siezed in the duchy step, do not transfer the county (it has already been transferred).
# If our de jure liege is an existing duchy that would have been seized in the duchy step, do not transfer the county (it has already been transferred).
limit = {
de_jure_liege ?= {
exists = holder
@ -903,6 +913,7 @@ herders_and_tributary_constraints = {
# You cannot attack your Confederation buddies tributaries
trigger_if = {
limit = {
exists = suzerain
suzerain != this
scope:attacker = { is_confederation_member = yes }
suzerain = { is_confederation_member = yes }
@ -915,6 +926,7 @@ herders_and_tributary_constraints = {
is_tributary_of_suzerain_or_above = scope:defender # can't attack your own suzerain
trigger_if = {
limit = {
exists = suzerain
suzerain != this
scope:defender = { is_confederation_member = yes }
suzerain = { is_confederation_member = yes }