admin gov works

This commit is contained in:
Magpie490 2025-02-20 11:52:45 +00:00
parent 051293284c
commit 6ef778b2b5
32 changed files with 6304 additions and 103 deletions

View file

@ -88,7 +88,7 @@
scope:actor = {
trigger_if = {
limit = {
NOT = { government_allows = administrative }
NOT = { has_government = administrative_government }
liege ?= {
has_realm_law_flag = vassal_all_wars_banned_permanent
NOT = { this = scope:actor }
@ -101,9 +101,9 @@
}
trigger_if = {
limit = {
government_allows = administrative
has_government = administrative_government
top_liege = scope:recipient.top_liege
scope:recipient = { government_allows = administrative }
scope:recipient = { has_government = administrative_government }
NOT = { top_liege = scope:recipient }
}
custom_tooltip = {
@ -113,7 +113,7 @@
}
trigger_if = { # Admin - Laws only allow frontier and naval themes to declare war
limit = {
government_allows = administrative
has_government = administrative_government
is_independent_ruler = no
top_liege = {
this != scope:recipient.top_liege
@ -130,7 +130,7 @@
}
trigger_if = { # Admin - Laws only allow frontier and naval themes to declare war IF they have permission
limit = {
government_allows = administrative
has_government = administrative_government
OR = {
vassal_contract_has_flag = admin_theme_frontier
vassal_contract_has_flag = admin_theme_naval
@ -148,7 +148,7 @@
}
trigger_if = { # Admin - Laws prevent all vassals from declaring war
limit = {
government_allows = administrative
has_government = administrative_government
OR = {
vassal_contract_has_flag = admin_theme_frontier
vassal_contract_has_flag = admin_theme_naval