admin gov works

This commit is contained in:
Magpie490 2025-02-20 11:52:45 +00:00
parent 0fa21d7e79
commit 82db99534c
33 changed files with 6305 additions and 104 deletions

View file

@ -9,10 +9,10 @@
triggered_desc = {
trigger = {
scope:actor = {
government_allows = administrative
has_government = administrative_government
}
scope:recipient = {
government_allows = administrative
has_government = administrative_government
}
}
desc = revoke_governorship_interaction
@ -26,10 +26,10 @@
triggered_desc = {
trigger = {
scope:actor = {
government_allows = administrative
has_government = administrative_government
}
scope:recipient = {
government_allows = administrative
has_government = administrative_government
}
}
desc = revoke_governorship_interaction_desc
@ -41,10 +41,10 @@
icon = {
trigger = {
scope:actor = {
government_allows = administrative
has_government = administrative_government
}
scope:recipient = {
government_allows = administrative
has_government = administrative_government
}
}
reference = revoke_governorship
@ -90,7 +90,7 @@
}
}
trigger_else_if = {
limit = { government_allows = administrative }
limit = { has_government = administrative_government }
}
trigger_else = {
custom_description = {
@ -179,8 +179,8 @@
title_revocation_standard_can_pick_title_trigger = yes
trigger_if = {
limit = {
scope:actor = { government_allows = administrative }
scope:recipient = { government_allows = administrative }
scope:actor = { has_government = administrative_government }
scope:recipient = { has_government = administrative_government }
}
custom_description = {
text = "admin_revoke_primary_tier_only"
@ -234,7 +234,7 @@
if = {
limit = {
scope:actor = {
government_allows = administrative
has_government = administrative_government
NOT = { has_revoke_title_reason = scope:recipient }
}
scope:recipient = {
@ -356,7 +356,7 @@
scope:actor = {
if = { # Admin has to pay an influence cost unless they have a revocation reason on the recipient
limit = {
government_allows = administrative
has_government = administrative_government
NOT = { has_revoke_title_reason = scope:recipient }
scope:recipient = {
highest_held_title_tier >= tier_county
@ -499,7 +499,7 @@
scope:actor = {
if = { # Admin has to pay an influence cost unless they have a revocation reason on the recipient
limit = {
government_allows = administrative
has_government = administrative_government
NOT = { has_revoke_title_reason = scope:recipient }
scope:recipient = {
highest_held_title_tier >= tier_county
@ -696,9 +696,9 @@
}
custom_tooltip = {
text = "has_admin_gov"
scope:actor = { government_allows = administrative }
scope:actor = { has_government = administrative_government }
scope:recipient = {
government_allows = administrative
has_government = administrative_government
highest_held_title_tier = tier_county
is_ai = yes
}
@ -817,7 +817,7 @@
}
modifier = { #Title is part of vassal's primary title de-jure. Not relevant for Admin.
add = -25
NOT = { scope:recipient = { government_allows = administrative } }
NOT = { scope:recipient = { has_government = administrative_government } }
scope:recipient.primary_title.tier > tier_county
OR = {
scope:recipient.primary_title = {
@ -1236,7 +1236,7 @@
# Slight preference for higher-tier titles
modifier = {
NOT = {
scope:actor = { government_allows = administrative }
scope:actor = { has_government = administrative_government }
}
add = scope:landed_title.tier
}
@ -1334,18 +1334,18 @@
# Admin Government: Do not revoke titles from your house unless it's really needed
modifier = {
scope:actor = { government_allows = administrative }
scope:actor = { has_government = administrative_government }
scope:actor.house = scope:recipient.house
add = -500
}
# Admin rulers should be less likely to revoke titles without a revocation reason, as they should prefer to depose governors
modifier = {
scope:actor = {
government_allows = administrative
has_government = administrative_government
NOT = { has_revoke_title_reason = scope:recipient }
}
scope:recipient = {
government_allows = administrative
has_government = administrative_government
highest_held_title_tier >= tier_duchy
}
factor = { # Honorable AI's will never revoke titles without a reason