event fixing pt III

This commit is contained in:
trashmasteruni 2026-10-11 00:22:25 +02:00
parent 0555f85c12
commit e660a1513e
112 changed files with 4671 additions and 148791 deletions

View file

@ -192,7 +192,7 @@ tgp_china_ministry.0004 = {
limit = {
scope:contributor = {
NOT = {
any_character_war = { this = prev }
any_character_war = { this = scope:grand_campaign_war }
}
}
}
@ -296,7 +296,10 @@ tgp_china_ministry.0005 = {
trigger = { list_size:titles_won >= list_size:titles_lost }
text = tgp_china_ministry.0005.a_win
}
name = tgp_china_ministry.0005.a_lost
name = {
trigger = { list_size:titles_won < list_size:titles_lost }
text = tgp_china_ministry.0005.a_lost
}
if = {
limit = {
list_size:titles_won >= list_size:titles_lost
@ -472,7 +475,10 @@ tgp_china_ministry.0008 = {
trigger = { list_size:titles_won >= list_size:titles_lost }
text = tgp_china_ministry.0005.a_win
}
name = tgp_china_ministry.0005.a_lost
name = {
trigger = { list_size:titles_won < list_size:titles_lost }
text = tgp_china_ministry.0005.a_lost
}
show_as_tooltip = {
scope:owner = {
if = {
@ -506,6 +512,7 @@ tgp_china_ministry.0008 = {
}
# Minister of Revenue - Budget events
# Top liege is enforced to enact a new budget
# NOTE: Also used for other Treasury budget using governments - Administrative & Meritocratic (not Ecclesiastical)
tgp_china_ministry.0100 = {
type = character_event
title = tgp_china_ministry.0100.t
@ -583,6 +590,10 @@ tgp_china_ministry.0100 = {
is_ai = yes
is_travelling = no
}
# Exclude Church Treasury (it is simpler and gets auto-enacted yearly)
NOT = {
government_has_mechanic = theocracy
}
# You should enact a new budget if you fulfill ANY of these reasons
OR = {
# The AI hasn't set a new budget recently
@ -1269,78 +1280,78 @@ tgp_china_ministry.1000 = {
opinion = 50
}
add_character_modifier = tgp_personal_honors_modifier
# if = {
# limit = {
# has_title = title:e_minister_chancellor
# }
# house = {
# add_house_modifier = tgp_e_minister_chancellor_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_censor
# }
# house = {
# add_house_modifier = tgp_e_minister_censor_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_grand_marshal
# }
# house = {
# add_house_modifier = tgp_e_minister_grand_marshal_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_personnel
# }
# house = {
# add_house_modifier = tgp_e_minister_of_personnel_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_revenue
# }
# house = {
# add_house_modifier = tgp_e_minister_of_revenue_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_rites
# }
# house = {
# add_house_modifier = tgp_e_minister_of_rites_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_war
# }
# house = {
# add_house_modifier = tgp_e_minister_of_war_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_justice
# }
# house = {
# add_house_modifier = tgp_e_minister_of_justice_modifier
# }
# }
# else_if = {
# limit = {
# has_title = title:e_minister_of_works
# }
# house = {
# add_house_modifier = tgp_e_minister_of_works_modifier
# }
# }
if = {
limit = {
has_title = title:e_minister_chancellor
}
house = {
add_house_modifier = tgp_e_minister_chancellor_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_censor
}
house = {
add_house_modifier = tgp_e_minister_censor_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_grand_marshal
}
house = {
add_house_modifier = tgp_e_minister_grand_marshal_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_personnel
}
house = {
add_house_modifier = tgp_e_minister_of_personnel_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_revenue
}
house = {
add_house_modifier = tgp_e_minister_of_revenue_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_rites
}
house = {
add_house_modifier = tgp_e_minister_of_rites_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_war
}
house = {
add_house_modifier = tgp_e_minister_of_war_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_justice
}
house = {
add_house_modifier = tgp_e_minister_of_justice_modifier
}
}
else_if = {
limit = {
has_title = title:e_minister_of_works
}
house = {
add_house_modifier = tgp_e_minister_of_works_modifier
}
}
dynasty = { add_dynasty_prestige = 2000 }
}
}