fixes big evebts abd on actions plus mroe

This commit is contained in:
Greekman 2026-11-21 19:27:08 +00:00
parent c9d520e5a1
commit bce2aa31a1
207 changed files with 100377 additions and 9296 deletions

View file

@ -262,6 +262,7 @@ great_holy_war.0001 = {
faith = scope:the_faith
highest_held_title_tier >= tier_county
this != scope:ghw_sponsor
NOT = { government_has_flag = government_is_merchant }
}
trigger_event = great_holy_war.0003 #Send event immediately for player, then delay it for all the AIs.
}
@ -732,6 +733,7 @@ great_holy_war.0003 = {
has_character_flag = ghw_unpledging_cooldown #Safety event.
#Do not pledge against your own liege:
any_liege_or_above = { this = scope:the_faith.great_holy_war.ghw_target_character }
government_has_flag = government_is_merchant
}
OR = { #Either be independent, or all lieges above you MUST be of the same Faith declaring the war to avoid messy situations of vassals and lieges fighting against each other.
top_liege = this
@ -918,6 +920,22 @@ great_holy_war.0005 = {
prestige = no
gold = no
}
#Guelphs & Ghibellines
every_pledged_attacker = {
limit = {
has_title = title:e_hre
faith = {
religious_head_title ?= title:k_papal_state
exists = religious_head
}
}
gg_reconciliation_catalyst_effect = {
ACTOR = this
RECIPIENT = faith.religious_head
CATALYST = catalyst_gg_emperor_took_the_cross
ONCE_A_YEAR = no
}
}
}
}
@ -2821,6 +2839,7 @@ great_holy_war.0023 = {
ghw_pope_annoyed_at_lack_of_participation_trigger = yes
ghw_pope_annoyed_at_lack_of_participation_tier_trigger = yes
is_landless_adventurer = no
NOT = { government_has_flag = government_is_merchant }
}
immediate = {
@ -3502,7 +3521,10 @@ great_holy_war.0030 = {
has_trait_with_flag = debilitating_illness
AND = {
is_ruler = yes
NOT = { government_has_flag = government_is_landless_adventurer }
NOR = {
government_has_flag = government_is_landless_adventurer
government_has_flag = government_is_merchant
}
}
any_heir_title = { } #Shouldn't be heir to anything
}
@ -3912,6 +3934,7 @@ great_holy_war.0071 = {
is_ai = no
is_at_war = no
faith = scope:attacker.faith
NOT = { government_has_flag = government_is_merchant }
NOR = {
this = scope:attacker
scope:attacker.faith.great_holy_war = { has_pledged_attacker = root }
@ -3929,6 +3952,7 @@ great_holy_war.0071 = {
is_ai = no
is_at_war = no
faith = scope:defender.faith
NOT = { government_has_flag = government_is_merchant }
NOR = {
this = scope:defender
scope:attacker.faith.great_holy_war = { has_pledged_defender = root }
@ -4307,7 +4331,7 @@ great_holy_war.0060 = {
}
}
}
scope:army = {
scope:army ?= {
exists = army_commander
location = { save_temporary_scope_as = current_location }
army_commander = {