admin gov works
This commit is contained in:
parent
051293284c
commit
6ef778b2b5
32 changed files with 6304 additions and 103 deletions
|
|
@ -1046,11 +1046,11 @@ negotiate_alliance_interaction = {
|
|||
send_option = {
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
scope:recipient = {
|
||||
top_liege = scope:actor.top_liege
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
|
|
@ -2214,11 +2214,11 @@ perk_alliance_interaction = {
|
|||
send_option = {
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
scope:recipient = {
|
||||
top_liege = scope:actor.top_liege
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
}
|
||||
is_valid = {
|
||||
|
|
|
|||
|
|
@ -1144,7 +1144,7 @@ invite_to_court_interaction = {
|
|||
scope:recipient = {
|
||||
is_eunuch_trigger = yes
|
||||
liege = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
primary_title.tier = tier_empire
|
||||
culture = { has_cultural_parameter = can_appoint_chief_eunuch }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6140,11 +6140,11 @@ swing_scales_currency_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
scope:recipient.liege ?= scope:actor
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { has_government = administrative_government }
|
||||
}
|
||||
AND = {
|
||||
scope:actor.liege ?= scope:recipient
|
||||
scope:recipient = { government_allows = administrative }
|
||||
scope:recipient = { has_government = administrative_government }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6780,11 +6780,11 @@ diarch_swing_scales_currency_interaction = {
|
|||
OR = {
|
||||
AND = {
|
||||
scope:recipient.liege ?= scope:actor
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { has_government = administrative_government }
|
||||
}
|
||||
AND = {
|
||||
scope:actor.liege ?= scope:recipient
|
||||
scope:recipient = { government_allows = administrative }
|
||||
scope:recipient = { has_government = administrative_government }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ force_join_faction_interaction = {
|
|||
is_valid_showing_failures_only = {
|
||||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = { government_allows = administrative }
|
||||
limit = { has_government = administrative_government }
|
||||
custom_tooltip = {
|
||||
text = force_join_faction_admin_requirement_desc
|
||||
OR = {
|
||||
|
|
@ -113,8 +113,8 @@ force_join_faction_interaction = {
|
|||
#Spend influence
|
||||
send_option = {
|
||||
is_shown = {
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor.top_liege ?= { government_allows = administrative }
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:actor.top_liege ?= { has_government = administrative_government }
|
||||
}
|
||||
is_valid = { # Convincing someone with influence is not available if they hate you or love the liege
|
||||
scope:actor ?= { influence >= { value = scope:actor.monumental_influence_value multiply = 2 } }
|
||||
|
|
|
|||
|
|
@ -277,10 +277,10 @@ gift_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
is_ruler = yes
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
scope:recipient = {
|
||||
is_ruler = yes
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,9 +34,9 @@ grant_titles_interaction = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = {
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { has_government = administrative_government }
|
||||
}
|
||||
scope:recipient = { NOT = { government_allows = administrative } }
|
||||
scope:recipient = { NOT = { has_government = administrative_government } }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1283,7 +1283,7 @@ grant_governorship_interaction = {
|
|||
}
|
||||
}
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
highest_held_title_tier >= tier_county
|
||||
}
|
||||
|
||||
|
|
@ -1352,7 +1352,7 @@ grant_governorship_interaction = {
|
|||
}
|
||||
trigger_if = {
|
||||
limit = { is_landed = yes }
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
is_clergy = no
|
||||
# Gallivanters won't accept additional responsibilities.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ designate_heir_interaction = {
|
|||
trigger_if = {
|
||||
limit = { # Admin always has access to this - Recipient just need to be their child
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
@ -62,7 +62,7 @@ designate_heir_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
@ -94,7 +94,7 @@ designate_heir_interaction = {
|
|||
if = {
|
||||
limit = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
@ -126,7 +126,7 @@ designate_heir_interaction = {
|
|||
scope:actor = {
|
||||
trigger_if = {
|
||||
limit = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
any_held_title = {
|
||||
is_noble_family_title = yes
|
||||
}
|
||||
|
|
|
|||
|
|
@ -489,14 +489,14 @@ invite_agent_to_scheme_interaction = {
|
|||
flag = influence
|
||||
is_shown = {
|
||||
scope:actor.top_liege ?= scope:recipient.top_liege
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:recipient = {
|
||||
OR = {
|
||||
government_allows = administrative
|
||||
host = { government_allows = administrative }
|
||||
has_government = administrative_government
|
||||
host = { has_government = administrative_government }
|
||||
AND = {
|
||||
highest_held_title_tier = tier_barony
|
||||
liege = { government_allows = administrative }
|
||||
liege = { has_government = administrative_government }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -940,7 +940,7 @@ buy_claim_interaction = {
|
|||
value = minor_buy_claim_piety_value
|
||||
if = {
|
||||
limit = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
@ -957,7 +957,7 @@ buy_claim_interaction = {
|
|||
value = medium_buy_claim_piety_value
|
||||
if = {
|
||||
limit = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
@ -974,7 +974,7 @@ buy_claim_interaction = {
|
|||
value = major_buy_claim_piety_value
|
||||
if = {
|
||||
limit = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
@ -991,7 +991,7 @@ buy_claim_interaction = {
|
|||
value = massive_buy_claim_piety_value
|
||||
if = {
|
||||
limit = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
@ -1047,7 +1047,7 @@ buy_claim_interaction = {
|
|||
}
|
||||
if = {
|
||||
limit = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
multiply = 1.5
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5031,7 +5031,7 @@ release_from_prison_interaction = {
|
|||
localization = "RELEASE_DISFIGURE"
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
culture = { has_cultural_tradition = tradition_ep3_palace_politics }
|
||||
# If they're our partner emperor, we should use the maiming interaction instead.
|
||||
liege_should_systematically_maim_co_ruler_trigger = no
|
||||
|
|
|
|||
|
|
@ -5343,11 +5343,11 @@ hof_ask_for_claim_interaction = {
|
|||
trigger_if = { # Admin can't request claim on other admin titles, only the top liege's primary title is up for grabs
|
||||
limit = {
|
||||
scope:secondary_recipient = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
is_independent_ruler = yes
|
||||
}
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
}
|
||||
scope:target = {
|
||||
|
|
@ -5418,11 +5418,11 @@ hof_ask_for_claim_interaction = {
|
|||
trigger_if = { # Admin can't request claims on other admin titles
|
||||
limit = {
|
||||
scope:secondary_recipient = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
NOT = { is_independent_ruler = yes }
|
||||
}
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
}
|
||||
custom_description = {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -22,11 +22,11 @@ start_slander_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
scope:recipient = {
|
||||
NOT = { this = scope:actor }
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -323,10 +323,10 @@ start_promote_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -922,11 +922,11 @@ start_challenge_status_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
scope:recipient != scope:actor
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
top_liege = scope:actor.top_liege
|
||||
}
|
||||
}
|
||||
|
|
@ -1049,7 +1049,7 @@ start_challenge_status_interaction = {
|
|||
is_scheme_category = political
|
||||
}
|
||||
}
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
|
||||
auto_accept = yes
|
||||
|
|
@ -1151,7 +1151,7 @@ start_expand_power_base_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
this = scope:recipient
|
||||
exists = house.house_head
|
||||
house.house_head = {
|
||||
|
|
@ -1304,9 +1304,9 @@ start_depose_interaction = {
|
|||
|
||||
is_shown = {
|
||||
has_ep3_dlc_trigger = yes
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
primary_title.tier >= tier_empire # Target has to be the emperor
|
||||
this != scope:actor
|
||||
top_liege.primary_title = scope:actor.top_liege.primary_title # This hides the tooltip
|
||||
|
|
@ -1600,7 +1600,7 @@ start_foster_legitimacy_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
|
||||
NOT = {
|
||||
|
|
@ -1610,7 +1610,7 @@ start_foster_legitimacy_interaction = {
|
|||
scope:recipient = {
|
||||
this = scope:actor.liege
|
||||
is_adult = yes
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1765,7 +1765,7 @@ start_damage_legitimacy_interaction = {
|
|||
scope:actor = {
|
||||
is_adult = yes
|
||||
is_imprisoned = no
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
|
||||
NOT = {
|
||||
|
|
@ -1775,7 +1775,7 @@ start_damage_legitimacy_interaction = {
|
|||
scope:recipient = {
|
||||
this = scope:actor.liege
|
||||
is_adult = yes
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2725,12 +2725,12 @@ start_raid_estate_interaction = {
|
|||
is_highlighted = { scope:actor.var:raid_estate_permission ?= scope:recipient.house }
|
||||
|
||||
is_shown = {
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:recipient.house.house_head ?= {
|
||||
exists = house
|
||||
NOT = { house = scope:actor.house }
|
||||
top_liege = scope:actor.top_liege
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
any_held_title = { is_noble_family_title = yes }
|
||||
}
|
||||
}
|
||||
|
|
@ -2986,7 +2986,7 @@ start_teach_governor_interaction = {
|
|||
cooldown_against_recipient = { years = 15 }
|
||||
|
||||
is_shown = {
|
||||
scope:actor = { government_allows = administrative }
|
||||
scope:actor = { has_government = administrative_government }
|
||||
scope:recipient != scope:actor
|
||||
scope:recipient = {
|
||||
is_alive = yes
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ invest_appointment_interaction = {
|
|||
is_shown = {
|
||||
debug_only = yes
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
liege = scope:actor
|
||||
}
|
||||
}
|
||||
|
|
@ -93,10 +93,10 @@ transfer_title_army_maa_interaction = {
|
|||
is_shown = {
|
||||
debug_only = yes
|
||||
scope:recipient = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
scope:actor = {
|
||||
government_allows = administrative
|
||||
has_government = administrative_government
|
||||
}
|
||||
scope:actor != scope:recipient
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue