parent
15a5108e23
commit
c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions
|
|
@ -21,25 +21,6 @@ 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 = {
|
||||
|
|
@ -58,7 +39,17 @@ can_be_chancellor_trigger = {
|
|||
liege = { has_diarchy_active_parameter = diarchy_is_vizierate }
|
||||
}
|
||||
}
|
||||
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
|
||||
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_steward_trigger = {
|
||||
|
|
@ -77,7 +68,17 @@ can_be_steward_trigger = {
|
|||
liege = { has_diarchy_active_parameter = diarchy_is_vizierate }
|
||||
}
|
||||
}
|
||||
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
|
||||
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_marshal_trigger = {
|
||||
|
|
@ -98,7 +99,15 @@ can_be_marshal_trigger = {
|
|||
}
|
||||
}
|
||||
OR = {
|
||||
can_be_councillor_gender_trigger = { COURT_OWNER = $COURT_OWNER$ }
|
||||
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 } }
|
||||
}
|
||||
AND = {
|
||||
has_trait = shieldmaiden
|
||||
$COURT_OWNER$.culture = { has_cultural_parameter = has_access_to_shieldmaidens }
|
||||
|
|
@ -176,20 +185,6 @@ 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$
|
||||
|
|
@ -329,31 +324,6 @@ 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#
|
||||
############################
|
||||
|
|
@ -372,13 +342,20 @@ 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.
|
||||
council_task ?= { can_fire_position = no }
|
||||
AND = {
|
||||
exists = this.council_task
|
||||
this.council_task = { can_fire_position = no }
|
||||
}
|
||||
# Check for variable preventing the firing of a councilor set by script
|
||||
var:block_fire_councillor ?= $COURT_OWNER$
|
||||
AND = {
|
||||
has_variable = block_fire_councillor
|
||||
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$ }
|
||||
|
|
@ -386,7 +363,6 @@ 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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue