updating character interactions
This commit is contained in:
parent
c7cd996463
commit
9e9e27cc5b
22 changed files with 846 additions and 342 deletions
|
|
@ -630,6 +630,7 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
interface = modify_vassal_contract
|
||||
category = interaction_category_vassal
|
||||
common_interaction = yes
|
||||
interface_priority = 1000
|
||||
icon = icon_contract_modification_single
|
||||
|
||||
send_name = admin_liege_modify_vassal_contract_interaction
|
||||
|
|
@ -680,12 +681,17 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
}
|
||||
}
|
||||
custom_tooltip = {
|
||||
text = admin_contract_cooldown_desc_vassal
|
||||
text = admin_contract_cooldown_desc
|
||||
scope:recipient = {
|
||||
NOT = { has_variable = admin_contract_cooldown }
|
||||
}
|
||||
}
|
||||
}
|
||||
trigger_else = {
|
||||
scope:actor = {
|
||||
has_changed_contract_obligation_trigger = yes
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -832,11 +838,13 @@ admin_liege_modify_vassal_contract_interaction = {
|
|||
admin_vassal_modify_vassal_contract_interaction = {
|
||||
special_interaction = vassal_modify_vassal_contract
|
||||
interface = modify_vassal_contract
|
||||
category = interaction_category_admin
|
||||
category = interaction_category_vassal
|
||||
interface_priority = 65
|
||||
common_interaction = yes
|
||||
icon = icon_contract_modification_single
|
||||
|
||||
filter_tags = { admin_liege }
|
||||
|
||||
send_name = "admin_vassal_modify_vassal_contract_interaction_send"
|
||||
desc = admin_vassal_modify_vassal_contract_interaction_desc
|
||||
|
||||
|
|
@ -865,9 +873,6 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
}
|
||||
|
||||
can_send = {
|
||||
any_in_list = {
|
||||
list = changed_obligations
|
||||
}
|
||||
trigger_if = { #If you're blocked we don't want to show anything else (we don't really use this for admin, but we'll keep the logic, just in case)
|
||||
limit = {
|
||||
scope:actor = {
|
||||
|
|
@ -900,6 +905,9 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
NOT = { has_variable = admin_contract_request_cooldown }
|
||||
}
|
||||
}
|
||||
scope:actor = {
|
||||
has_changed_contract_obligation_trigger = yes
|
||||
}
|
||||
}
|
||||
|
||||
# You can afford the influence cost
|
||||
|
|
@ -946,6 +954,7 @@ admin_vassal_modify_vassal_contract_interaction = {
|
|||
# If you didn't use a hook or leveraged your position as a Dominant Family, pay Influence
|
||||
if = {
|
||||
limit = {
|
||||
has_changed_contract_obligation_trigger = yes # Don't show the cost unless we actually change the contract
|
||||
NOR = {
|
||||
scope:hook = yes
|
||||
scope:dominant_family = yes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue