scripted triggers

This commit is contained in:
Fishedotjpg 2026-11-18 14:45:30 +00:00
parent 134dc3348b
commit 648b12fbf0
29 changed files with 1559 additions and 1060 deletions

View file

@ -161,7 +161,7 @@ restore_greece_decision_county_trigger = {
holder.top_liege = root
has_county_modifier = backwater_county_modifier
}
development_level >= 50
prosperity_level >= 50
}
}
@ -318,7 +318,7 @@ governor_contract_invalidated_message_trigger = {
task_contract_employer ?= {
NOT = { root.task_contract_taker ?= this }
OR = {
is_incapable = yes
is_available_quick = { incapable = yes }
is_imprisoned = yes
is_alive = no
}
@ -346,7 +346,7 @@ chariot_race_0201_negative_crowd_reaction_trigger = {
scope:activity.var:emperor_speech_topic = flag:discredit_claimant_fail
AND = {
scope:host.capital_county = {
county_opinion <= -30
popular_opinion <= -30
}
NOT = { scope:activity.var:emperor_speech_topic = flag:appease_populace }
}
@ -1179,9 +1179,46 @@ has_any_gallowsbait_xp_trigger = {
}
}
ep3_restored_rome_hard_mode_trigger = { always = no }
is_eastern_roman_emperor_primary_title_trigger = { always = no }
show_byzantion_throne_room_background = { always = no }
notorious_gallowsbait_xp_trigger = {
OR = {
has_trait_xp = {
trait = gallowsbait
track = bandit
value >= 40
}
has_trait_xp = {
trait = gallowsbait
track = trickster
value >= 40
}
has_trait_xp = {
trait = gallowsbait
track = marauder
value >= 40
}
has_trait_xp = {
trait = gallowsbait
track = poacher
value >= 40
}
has_trait_xp = {
trait = gallowsbait
track = thief
value >= 40
}
}
}
ep3_restored_rome_hard_mode_trigger = {
OR = {
this = title:h_roman_empire.holder
this = title:h_eastern_roman_empire.holder
}
any_owned_story = {
type = ep3_story_cycle_restoring_rome
has_variable = roman_empire_hard_mode
}
}
rite_is_interesting_heresy_to_state_rite_trigger = {
faith.religion = root.top_liege.primary_title.state_rite.faith.religion
@ -1564,8 +1601,15 @@ hasan_evangelize_province_trigger = {
# Faith is different from Hasan's
custom_tooltip = {
text = zealous_missionary_start_decision_other_faith_location
NOT = { character:41702 ?= root }
this = root.faith
}
# Hasan's own story only needs a different rite, so Ismaili counties stay valid
custom_tooltip = {
text = hasan_evangelize_other_rite_location_tt
character:41702 ?= root
scope:county.rite = root.rite
}
# County is not held by it's Faith's Religious Head
custom_tooltip = {
text = is_held_by_hof_tt
@ -1573,14 +1617,14 @@ hasan_evangelize_province_trigger = {
}
}
}
development_level <= 25
prosperity_level <= 25
custom_tooltip = {
text = has_tougher_to_convert_tt
NOT = { has_county_modifier = tougher_to_convert }
}
custom_tooltip = {
text = 0_or_below_county_opinion_tt
county_opinion <= 0
text = 0_or_below_popular_opinion_tt
popular_opinion <= 0
}
custom_tooltip = {
text = NOT_IS_HOLY_SITE_TRIGGER