more error cleaning

This commit is contained in:
Thakia 2026-10-09 16:36:59 -03:00
parent d9c60a5b08
commit 707660e545
65 changed files with 24545 additions and 2406 deletions

View file

@ -2058,6 +2058,7 @@ on_title_gain = {
}
if = { # Get legitimacy from Reception Hall House Bonus
limit = {
exists = house
house = { has_variable = ep3_legacy_legitimacy_counter }
primary_title = scope:title
}
@ -2305,7 +2306,7 @@ on_title_gain = {
# TGP, bow before liege mandated
if = {
limit = {
culture = { has_cultural_parameter = must_pledge_loyalty_to_liege }
culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
}
if = { # if you are now the top liege, all your direct vassals with the same parameter who have not yet sworn fealty to you must swear fealty
limit = {
@ -2315,7 +2316,7 @@ on_title_gain = {
every_vassal = {
if = {
limit = {
culture = { has_cultural_parameter = must_pledge_loyalty_to_liege }
culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
@ -2334,7 +2335,7 @@ on_title_gain = {
}
else_if = { # if you now have a new liege, and they also follow a culture with the Pay Homage requirement, you must swear continued fealty
limit = {
liege.culture = { has_cultural_parameter = must_pledge_loyalty_to_liege }
liege.culture ?= { has_cultural_parameter = must_pledge_loyalty_to_liege }
OR = {
government_has_flag = government_is_feudal
government_has_flag = government_is_clan
@ -3179,7 +3180,7 @@ on_title_lost = {
if = {
limit = {
#We only want to grab tribal cultures.
culture = {
culture ?= {
NOT = { has_cultural_era_or_later = culture_era_early_medieval }
}
#Must have lost their last piece of land.