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

@ -21,6 +21,25 @@ can_be_councillor_basics_trigger = {
limit = { has_variable = block_hire_councillor }
NOT = { var:block_hire_councillor = liege }
}
custom_tooltip = {
text = not_travel_option_character
NOT = { has_character_flag = travel_option_added_character }
}
}
can_be_councillor_gender_trigger = {
OR = {
is_ruler = yes
has_variable = can_be_councillor_override
AND = {
is_female = yes
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = male_dominated_council } }
}
AND = {
is_male = yes
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = female_dominated_council } }
}
}
}
can_be_chancellor_trigger = {
@ -39,17 +58,7 @@ can_be_chancellor_trigger = {
liege = { has_diarchy_active_parameter = diarchy_is_vizierate }
}
}
OR = {
is_ruler = yes
AND = {
is_female = yes
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = male_dominated_council } }
}
AND = {
is_male = yes
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = female_dominated_council } }
}
}
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
}
can_be_steward_trigger = {
@ -68,17 +77,7 @@ can_be_steward_trigger = {
liege = { has_diarchy_active_parameter = diarchy_is_vizierate }
}
}
OR = {
is_ruler = yes
AND = {
is_female = yes
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = male_dominated_council } }
}
AND = {
is_male = yes
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = female_dominated_council } }
}
}
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
}
can_be_marshal_trigger = {
@ -99,15 +98,7 @@ can_be_marshal_trigger = {
}
}
OR = {
is_ruler = yes
AND = {
is_female = yes
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = male_dominated_council } }
}
AND = {
is_male = yes
$COURT_OWNER$.faith = { NOT = { has_doctrine_parameter = female_dominated_council } }
}
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
AND = {
has_trait = shieldmaiden
$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens }
@ -185,6 +176,20 @@ can_be_spouse_councillor_trigger = {
}
}
can_be_vizier_councillor_trigger = {
can_be_councillor_basics_trigger = yes
save_temporary_scope_as = confidant
$COUNCIL_OWNER$ = {
OR = {
scope:confidant = diarch
any_consort = {
scope:confidant = this
}
}
}
}
can_be_kurultai_trigger = {
can_be_councillor_basics_trigger = yes
exists = $COURT_OWNER$
@ -324,6 +329,31 @@ councillor_loyalty_trigger = {
}
}
councillor_spouse_can_fire = { always = no }
councillor_spouse_can_reassign = { always = no }
councillor_spouse_valid_position = {
AND = {
NOT = {
has_diarchy_type = vizierate
}
any_spouse = {
OR = {
court_owner = root
AND = {
is_ruler = yes
liege ?= root
}
}
}
}
NOT = { government_has_flag = government_is_landless_adventurer }
# Celestial hegemons have access to the ministry instead, so no spouse
tgp_has_access_to_ministry_trigger = no
}
councillor_vizier_can_fire = { always = yes }
councillor_vizier_can_reassign = { always = yes }
############################
#SPOUSE COUNCILLOR TRIGGERS#
############################
@ -342,20 +372,13 @@ is_blocked_from_being_fired_from_council_trigger = {
OR = {
# Check in code if the court owner is prevented from firing the councilor
# can_fire_position must take a council task as input, but checks the councilor behind the task.
AND = {
exists = this.council_task
this.council_task = { can_fire_position = no }
}
council_task ?= { can_fire_position = no }
# Check for variable preventing the firing of a councilor set by script
AND = {
has_variable = block_fire_councillor
var:block_fire_councillor = $COURT_OWNER$
}
var:block_fire_councillor ?= $COURT_OWNER$
}
}
}
can_be_fired_from_council_trigger = {
NOT = {
is_blocked_from_being_fired_from_council_trigger = { COURT_OWNER = $COURT_OWNER$ }
@ -363,6 +386,7 @@ can_be_fired_from_council_trigger = {
trigger_if = {
limit = {
has_council_position = councillor_court_chaplain
liege = { tgp_has_access_to_ministry_trigger = no }
}
faith = {
OR = {