scripted_triggers updated files
This commit is contained in:
parent
37045a17ee
commit
072e45c086
36 changed files with 4934 additions and 1754 deletions
|
|
@ -5,7 +5,7 @@
|
|||
dynasty = {
|
||||
OR = {
|
||||
dynast = {
|
||||
government_allows = administrative
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
has_dynasty_perk = ep3_administrative_legacy_1
|
||||
}
|
||||
|
|
@ -72,7 +72,7 @@ valid_for_byz_governor_content_trigger = {
|
|||
}
|
||||
}
|
||||
}
|
||||
#
|
||||
|
||||
valid_for_byz_succession_trigger = {
|
||||
is_eunuch_trigger = no
|
||||
NOR = {
|
||||
|
|
@ -125,14 +125,14 @@ available_charioteers_spots_trigger = {
|
|||
#}
|
||||
|
||||
is_competing_for_same_title_as = {
|
||||
government_allows = administrative
|
||||
government_has_mechanic = administrative
|
||||
any_heir_title = {
|
||||
exists = this
|
||||
is_noble_family_title = no
|
||||
save_temporary_scope_as = temp_title
|
||||
}
|
||||
$CHARACTER$ = {
|
||||
government_allows = administrative
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
scope:temp_title = {
|
||||
any_title_heir = {
|
||||
|
|
@ -266,12 +266,12 @@ is_candidate_for_title_trigger = {
|
|||
|
||||
valid_governor_contract_trigger = {
|
||||
OR = {
|
||||
government_allows = administrative
|
||||
government_has_mechanic = administrative
|
||||
AND = {
|
||||
government_has_flag = government_is_landless_minority
|
||||
exists = liege
|
||||
liege = {
|
||||
government_allows = administrative
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -286,30 +286,28 @@ valid_governor_contract_trigger = {
|
|||
valid_governor_contract_basic_trigger = {
|
||||
task_contract_taker = {
|
||||
#you have to be a governor
|
||||
OR = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_celestial
|
||||
}
|
||||
is_governor_or_admin_count = yes
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_celestial
|
||||
}
|
||||
trigger_else = {
|
||||
is_governor = yes
|
||||
AND = {
|
||||
government_has_flag = government_is_landless_minority
|
||||
exists = liege
|
||||
liege = {
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
}
|
||||
#and the location has to be in your realm
|
||||
custom_tooltip = {
|
||||
text = task_contract_location_not_in_realm
|
||||
any_sub_realm_county = {
|
||||
any_county_province = {
|
||||
this = root.task_contract_location
|
||||
}
|
||||
}
|
||||
}
|
||||
AND = {
|
||||
government_has_flag = government_is_landless_minority
|
||||
exists = liege
|
||||
liege = {
|
||||
government_allows = administrative
|
||||
is_governor_or_admin_count = yes
|
||||
}
|
||||
trigger_else = {
|
||||
is_governor = yes
|
||||
}
|
||||
#and the location has to be in your realm
|
||||
custom_tooltip = {
|
||||
text = task_contract_location_not_in_realm
|
||||
any_sub_realm_county = {
|
||||
any_county_province = {
|
||||
this = root.task_contract_location
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -886,9 +884,33 @@ is_appointment_valid_trigger = {
|
|||
$TOP_LIEGE$ = { save_temporary_scope_as = top_liege_temp }
|
||||
custom_tooltip = { # Capital should be never a valid appointment (go for higher title instead
|
||||
text = not_top_liege_capital_county_tt
|
||||
NOT = { scope:title_temp ?= scope:candidate_temp.top_liege.capital_county }
|
||||
trigger_if = { # Candidates outside a landed realm have no capital county to clash with
|
||||
limit = { exists = scope:candidate_temp.top_liege.capital_county }
|
||||
NOT = { scope:title_temp ?= scope:candidate_temp.top_liege.capital_county }
|
||||
}
|
||||
}
|
||||
scope:candidate_temp = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:top_liege_temp = { tgp_realm_has_ceremonial_liege_trigger = yes }
|
||||
tgp_is_in_ceremonial_house_trigger = yes
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:title_temp ?= { has_variable = administrative_ui_special_title }
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = ceremonial_liege_only_heir_can_be_ruler_trigger
|
||||
tgp_is_ceremonial_liege_or_direct_heir_trigger = yes
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
custom_tooltip = {
|
||||
text = ceremonial_liege_cannot_be_governor_trigger
|
||||
tgp_is_ceremonial_liege_trigger = no
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_if = {
|
||||
limit = { exists = scope:title_temp }
|
||||
custom_tooltip = { # Has relevant law
|
||||
|
|
@ -900,6 +922,10 @@ is_appointment_valid_trigger = {
|
|||
}
|
||||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = follows_other_title_appointment_tt
|
||||
$TITLE$.tier = $TITLE$.holder.primary_title.tier
|
||||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
NOT = { top_liege.highest_held_title_tier = scope:title_temp.tier }
|
||||
|
|
@ -956,13 +982,21 @@ is_appointment_valid_trigger = {
|
|||
text = only_administrative_tt
|
||||
trigger_if = {
|
||||
limit = { is_landed = yes }
|
||||
government_allows = administrative
|
||||
government_has_mechanic = administrative
|
||||
}
|
||||
}
|
||||
is_clergy = no
|
||||
}
|
||||
}
|
||||
|
||||
domicile_is_estate_trigger = {
|
||||
OR = {
|
||||
is_domicile_type = estate
|
||||
is_domicile_type = east_asian_estate
|
||||
is_domicile_type = japanese_manor
|
||||
}
|
||||
}
|
||||
|
||||
ep3_adventurer_ai_logic_valid_trigger = {
|
||||
is_alive = yes
|
||||
is_ai = yes
|
||||
|
|
@ -973,8 +1007,8 @@ ep3_adventurer_ai_logic_valid_trigger = {
|
|||
ep3_laamp_diplo_range_trigger = {
|
||||
custom_description = {
|
||||
text = ep3_laamp_diplo_range_trigger_tt
|
||||
subject = scope:actor
|
||||
object = scope:recipient
|
||||
subject = $LAAMP$
|
||||
object = $TARGET$
|
||||
trigger_if = {
|
||||
limit = { exists = $LAAMP$.domicile.domicile_location }
|
||||
trigger_if = {
|
||||
|
|
@ -1095,9 +1129,9 @@ cid_story_cycle_start_trigger = {
|
|||
is_alive = yes
|
||||
is_playable_character = yes
|
||||
has_ep3_dlc_trigger = yes
|
||||
NOR = {
|
||||
has_variable = ongoing_cid_story_cycle
|
||||
has_variable = had_cid_story_cycle
|
||||
has_none_of_variables = {
|
||||
name = ongoing_cid_story_cycle
|
||||
name = had_cid_story_cycle
|
||||
}
|
||||
has_government = landless_adventurer_government
|
||||
top_liege ?= {
|
||||
|
|
@ -1156,13 +1190,13 @@ has_any_gallowsbait_xp_trigger = {
|
|||
# }
|
||||
#}
|
||||
|
||||
faith_is_interesting_heresy_to_state_faith_trigger = {
|
||||
religion = root.top_liege.primary_title.state_faith.religion
|
||||
this != root.top_liege.primary_title.state_faith
|
||||
num_county_followers >= 3
|
||||
rite_is_interesting_heresy_to_state_rite_trigger = {
|
||||
faith.religion = root.top_liege.primary_title.state_rite.faith.religion
|
||||
this != root.top_liege.primary_title.state_rite
|
||||
num_rite_county_followers >= 3
|
||||
save_temporary_scope_as = temp_heresy
|
||||
root.top_liege.primary_title.state_faith = {
|
||||
faith_hostility_level = {
|
||||
root.top_liege.primary_title.state_rite = {
|
||||
rite_hostility_level = {
|
||||
target = scope:temp_heresy
|
||||
value >= faith_hostile_level
|
||||
}
|
||||
|
|
@ -1250,7 +1284,7 @@ ep3_interesting_courtier_to_ask_trigger = {
|
|||
ep3_admin_faction_trigger = {
|
||||
trigger_if = { # Enabled for all admin realms with EP3
|
||||
limit = { has_ep3_dlc_trigger = yes }
|
||||
$FACTION_TARGET$ = { government_allows = administrative }
|
||||
$FACTION_TARGET$ = { government_has_mechanic = administrative }
|
||||
}
|
||||
# trigger_else = { # Enabled for Byzantium without EP3
|
||||
# $FACTION_TARGET$ = { has_title = title:e_byzantium }
|
||||
|
|
@ -1513,7 +1547,6 @@ ep3_adventurer_ai_valid_contract_trigger = {
|
|||
can_create_task_contract = { type_name = laamp_join_faction_contract employer = $EMPLOYER$ }
|
||||
can_create_task_contract = { type_name = laamp_help_faith_conversion_contract employer = $EMPLOYER$ }
|
||||
can_create_task_contract = { type_name = laamp_fight_faith_conversion_contract employer = $EMPLOYER$ }
|
||||
can_create_task_contract = { type_name = laamp_help_find_secrets_contract employer = $EMPLOYER$ }
|
||||
can_create_task_contract = { type_name = laamp_help_fabricate_claim_contract employer = $EMPLOYER$ }
|
||||
can_create_task_contract = { type_name = laamp_help_increase_control_contract employer = $EMPLOYER$ }
|
||||
can_create_task_contract = { type_name = laamp_help_find_secrets_contract employer = $EMPLOYER$ }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue