idk why I dont have a cursor

This commit is contained in:
Magpie490 2025-06-02 16:22:24 +01:00
parent 701d55c01f
commit cda3acdcea
349 changed files with 78627 additions and 7804 deletions

View file

@ -88,14 +88,14 @@ ep3_varangian_trigger = {
}
is_competing_for_same_title_as = {
has_government = administrative_government
government_has_flag = government_is_administrative
any_heir_title = {
exists = this
is_noble_family_title = no
save_temporary_scope_as = temp_title
}
$CHARACTER$ = {
has_government = administrative_government
government_has_flag = government_is_administrative
}
scope:temp_title = {
any_title_heir = {
@ -129,6 +129,10 @@ restore_greece_decision_county_trigger = {
}
any_valid_title_to_grant_trigger = {
# IMPORTANT!
# The is_valid_showing_failures_only of support_candidacy_interaction doesn't use this
# It uses a cloned version that has been optimized for AI usage
# Please update that one too if you're updating this one
$CANDIDATE$ ?= {
save_temporary_scope_as = candidate_temp
custom_tooltip = {
@ -155,13 +159,9 @@ any_valid_candidacy_trigger = {
limit = {
$TOP_LIEGE$ = {
OR = {
has_realm_law = acclamation_succession_law
has_realm_law = appointment_succession_law
has_realm_law_flag = appointment_type_succession
primary_title = {
OR = {
has_title_law = acclamation_succession_law
has_title_law = appointment_succession_law
}
has_title_law_flag = appointment_type_succession
}
}
}
@ -178,13 +178,9 @@ any_valid_candidacy_trigger = {
exists = holder
tier >= tier_duchy
OR = {
has_title_law = acclamation_succession_law
has_title_law = appointment_succession_law
has_title_law_flag = appointment_type_succession
holder = {
OR = {
has_realm_law = acclamation_succession_law
has_realm_law = appointment_succession_law
}
has_realm_law_flag = appointment_type_succession
}
}
save_temporary_scope_as = title_temp
@ -232,7 +228,7 @@ is_candidate_for_title_trigger = {
}
valid_governor_contract_trigger = {
has_government = administrative_government
government_has_flag = government_is_administrative
is_alive = yes
is_adult = yes
is_incapable = no
@ -677,7 +673,6 @@ ep3_castration_male_family_trigger = {
ep3_castration_interest_trigger = {
OR = {
is_landless_ruler = yes
is_lowborn = yes
highest_held_title_tier <= tier_county
AND = {
is_landed = yes
@ -749,7 +744,7 @@ ep3_ai_castration_target_trigger = {
has_trait = bastard
#Sons of barons are valid if they have an elder male sibling
any_sibling = {
count >= 1
count >= 2
is_male = yes
age > prev.age
house ?= prev.house
@ -775,6 +770,7 @@ ep3_story_cycle_admin_eunuch_valid_story_trigger = {
is_alive = yes
save_temporary_scope_as = eunuch_temp
}
story_owner = { save_temporary_scope_as = emperor_temp }
trigger_if = {
limit = { exists = var:protege }
var:protege = { save_temporary_scope_as = protege_temp }
@ -818,6 +814,19 @@ ep3_story_cycle_admin_eunuch_involved_character = {
is_appointment_valid_trigger = {
$CANDIDATE$ = {
trigger_if = {
limit = {
exists = $TITLE$
}
$TITLE$ = {
OR = {
has_title_law_flag = appointment_type_succession
holder = {
has_realm_law_flag = appointment_type_succession
}
}
}
}
trigger_if = {
limit = { # We check independence, not tier, to allow for admin kingdoms
exists = $TITLE$
@ -864,7 +873,7 @@ is_appointment_valid_trigger = {
text = only_administrative_tt
trigger_if = {
limit = { is_landed = yes }
has_government = administrative_government
government_has_flag = government_is_administrative
}
}
is_clergy = no
@ -927,6 +936,7 @@ can_recruit_archer_cavalry_trigger = {
text = can_recruit_archer_cavalry_trigger_desc
OR = {
can_create_maa = horse_archers
can_create_maa = mangudai
can_create_maa = asawira
can_create_maa = accolade_maa_horse_archers
}
@ -959,7 +969,7 @@ ep3_vassal_will_become_admin = {
}
NOR = { #We convert only clan and feudal vassals in this decision
government_has_flag = government_is_theocracy
government_has_flag = government_is_republic
government_has_flag = government_is_special_republic
government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_tribal
government_has_flag = government_is_administrative
@ -1048,7 +1058,10 @@ has_any_gallowsbait_xp_trigger = {
ep3_restored_rome_hard_mode_trigger = {
this = title:e_roman_empire.holder
any_owned_story = { story_type = ep3_story_cycle_restoring_rome }
any_owned_story = {
story_type = ep3_story_cycle_restoring_rome
has_variable = roman_empire_hard_mode
}
}
faith_is_interesting_heresy_to_state_faith_trigger = {
@ -1146,7 +1159,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$ = { has_government = administrative_government }
$FACTION_TARGET$ = { government_has_flag = government_is_administrative }
}
trigger_else = { # Enabled for Byzantium without EP3
$FACTION_TARGET$ = { has_title = title:e_byzantium }
@ -1427,24 +1440,35 @@ ep3_adventurer_ai_valid_contract_trigger = {
hasan_evangelize_province_trigger = {
save_temporary_scope_as = county
AND = {
NOT = { faith = root.faith }
#faith.religion = root.faith.religion # QA thinks its more fun without this!
scope:county = {
any_county_province = {
barony = {
NOT = { is_holy_site_of = scope:county.faith }
}
scope:county.faith = {
# Religion is same as Hasan's (i.e. Muslim)
#religion = root.religion # QA thinks its more fun without this!
NOR = {
# Faith is different from Hasan's
custom_tooltip = {
text = zealous_missionary_start_decision_other_faith_location
this = root.faith
}
# County is not held by it's Faith's Religious Head
custom_tooltip = {
text = is_held_by_hof_tt
religious_head ?= scope:county.holder
}
}
development_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
}
development_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
}
custom_tooltip = {
text = NOT_IS_HOLY_SITE_TRIGGER
NOT = {
any_direct_de_jure_vassal_title = { is_holy_site_of = scope:county.faith }
}
}
}