parent
15a5108e23
commit
c4b6d9bdeb
250 changed files with 11067 additions and 16365 deletions
|
|
@ -15,8 +15,7 @@
|
|||
is_shown = {
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
NOT = { government_allows = administrative }
|
||||
|
|
@ -340,14 +339,12 @@ vassal_modify_vassal_contract_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
liege = scope:actor
|
||||
top_liege != this
|
||||
this != scope:actor
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
NOR = {
|
||||
government_allows = administrative
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
NOT = { government_allows = administrative }
|
||||
NOT = { government_has_flag = government_is_nomadic }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -598,11 +595,10 @@ ai_only_liege_modify_vassal_contract_interaction = {
|
|||
}
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
NOT = {
|
||||
has_strong_hook = scope:actor
|
||||
}
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
vassal_contract_can_be_modified_trigger = yes
|
||||
does_ai_liege_in_vassal_contract_desire_obligation_change = yes
|
||||
|
|
@ -687,11 +683,10 @@ ai_only_liege_modify_vassal_contract_admin_province_interaction = {
|
|||
}
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
is_tributary = no
|
||||
NOT = {
|
||||
has_strong_hook = scope:actor
|
||||
}
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
government_has_flag = government_uses_admin_province_obligations
|
||||
|
||||
|
|
@ -753,11 +748,10 @@ ai_only_vassal_modify_vassal_contract_interaction = {
|
|||
has_usable_hook = scope:recipient
|
||||
vassal_contract_can_be_modified_trigger = yes
|
||||
does_ai_vassal_in_vassal_contract_desire_obligation_change = yes
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
liege = scope:recipient
|
||||
}
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
NOT = {
|
||||
has_strong_hook = scope:actor
|
||||
|
|
@ -830,12 +824,11 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
is_shown = {
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
OR = {
|
||||
is_landed = yes
|
||||
is_councillor_of = scope:actor.top_liege
|
||||
}
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
government_allows = administrative
|
||||
|
|
@ -1024,6 +1017,7 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
government_has_flag = government_is_celestial
|
||||
scope:obligation.vassal_contract_type = vassal_contract:celestial_provinces
|
||||
}
|
||||
|
||||
if = {
|
||||
limit = {
|
||||
OR = {
|
||||
|
|
@ -1046,51 +1040,6 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
add_realm_law_skip_effects = celestial_appointment_succession_law
|
||||
}
|
||||
}
|
||||
# Update the succession law for meritocratic province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_meritocratic
|
||||
scope:obligation.vassal_contract_type = vassal_contract:meritocratic_provinces
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
vassal_contract_has_flag = meritocratic_province_military
|
||||
NOT = { has_realm_law = meritocratic_military_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = meritocratic_military_appointment_succession_law
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
vassal_contract_has_flag = meritocratic_province_standard
|
||||
vassal_contract_has_flag = meritocratic_province_industrial
|
||||
}
|
||||
NOT = { has_realm_law = meritocratic_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = meritocratic_appointment_succession_law
|
||||
}
|
||||
}
|
||||
# Update the succession law for japanese province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_japanese_administrative
|
||||
scope:obligation.vassal_contract_type = vassal_contract:japan_administrative_provinces
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { vassal_contract_has_flag = japan_administrative_military_appointment }
|
||||
NOT = { has_realm_law = japanese_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = japanese_appointment_succession_law
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
vassal_contract_has_flag = japan_administrative_military_appointment
|
||||
NOT = { has_realm_law = japanese_military_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = japanese_military_appointment_succession_law
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1111,7 +1060,7 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
common_interaction = yes
|
||||
icon = icon_contract_modification_single
|
||||
|
||||
filter_tags = { admin_liege }
|
||||
filter_tags = { admin_liege rep_liege }
|
||||
|
||||
send_name = "admin_vassal_modify_vassal_contract_interaction_send"
|
||||
desc = admin_vassal_modify_vassal_contract_interaction_desc
|
||||
|
|
@ -1120,8 +1069,7 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
scope:actor = {
|
||||
top_liege != this
|
||||
this != scope:recipient
|
||||
liege = scope:recipient
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
liege ?= scope:recipient # this excludes tributary contracts by default
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
government_allows = administrative
|
||||
tgp_is_ceremonial_liege_trigger = no
|
||||
|
|
@ -1287,51 +1235,6 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
add_realm_law_skip_effects = celestial_appointment_succession_law
|
||||
}
|
||||
}
|
||||
# Update the succession law for meritocratic province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_meritocratic
|
||||
scope:obligation.vassal_contract_type = vassal_contract:meritocratic_provinces
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
vassal_contract_has_flag = meritocratic_province_military
|
||||
NOT = { has_realm_law = meritocratic_military_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = meritocratic_military_appointment_succession_law
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
OR = {
|
||||
vassal_contract_has_flag = meritocratic_province_standard
|
||||
vassal_contract_has_flag = meritocratic_province_industrial
|
||||
}
|
||||
NOT = { has_realm_law = meritocratic_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = meritocratic_appointment_succession_law
|
||||
}
|
||||
}
|
||||
# Update the succession law for japanese province types if applicable - That way, we don't have to wait until the current law invalidates.
|
||||
else_if = {
|
||||
limit = {
|
||||
government_has_flag = government_is_japanese_administrative
|
||||
scope:obligation.vassal_contract_type = vassal_contract:japan_administrative_provinces
|
||||
}
|
||||
if = {
|
||||
limit = {
|
||||
NOT = { vassal_contract_has_flag = japan_administrative_military_appointment }
|
||||
NOT = { has_realm_law = japanese_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = japanese_appointment_succession_law
|
||||
}
|
||||
else_if = {
|
||||
limit = {
|
||||
vassal_contract_has_flag = japan_administrative_military_appointment
|
||||
NOT = { has_realm_law = japanese_military_appointment_succession_law }
|
||||
}
|
||||
add_realm_law_skip_effects = japanese_military_appointment_succession_law
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1524,9 +1427,8 @@ nomad_liege_modify_vassal_contract_interaction = {
|
|||
|
||||
is_shown = {
|
||||
scope:recipient = {
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
NOT = { this = scope:actor }
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
is_ruler = yes
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
government_has_flag = government_is_nomadic
|
||||
|
|
@ -1790,9 +1692,8 @@ nomad_vassal_modify_vassal_contract_interaction = {
|
|||
is_shown = {
|
||||
scope:recipient = {
|
||||
is_independent_ruler = no
|
||||
this != scope:actor
|
||||
liege = scope:actor
|
||||
is_tributary = no # this excludes tributary contracts by default
|
||||
NOT = { this = scope:actor }
|
||||
liege ?= scope:actor # this excludes tributary contracts by default
|
||||
vassal_contract_has_modifiable_obligations = yes
|
||||
government_has_flag = government_is_nomadic
|
||||
}
|
||||
|
|
@ -1973,7 +1874,7 @@ suzerain_modify_tributary_contract_interaction = {
|
|||
scope:recipient = {
|
||||
is_tributary_of = scope:actor # excludes vassals by default
|
||||
subject_contract_has_modifiable_obligations = yes
|
||||
NOT = { government_has_flag = government_is_herder }
|
||||
NOT = { government_has_flag = government_is_true_herder }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue