Interaction · Diplomatic actions
Pay Ruler's Ransom
Offer to pay the ransom for an Imprisoned Ruler
What you need
You
To send it
- The character you target:
If
- Has “imprisoned by diarch” (a variable the game's script sets)
scope:recipient.var:imprisoned_by_diarch:is_diarch_of_target = scope:recipient.liege
Then
- Cannot take any action that would release former Regent whilst current Regent is in office
- You must select at least one option
To see it in the menu
- Is a Merchant
- If played by the AI: You have 25
The other character
To send it
- Is played by the AI
To see it in the menu
- Is imprisoned by the target
- Is a ruler
- Is landed
Pay Ruler's Ransom is a diplomatic character interaction in Crusader Kings III. You need: You must select at least one option. Accepted automatically in some cases; otherwise the AI weighs it. Reasons the AI weighs include They gets paid Gold (+50), They gets paid Gold (+25), They gets paid Gold (+25) and 9 more. Patch 1.21.0, from game/common/character_interactions/11_gdp_merchant_interactions.txt.
Quick answers (2)
- What are the requirements for Pay Ruler's Ransom in CK3?
- You: You must select at least one option. (patch 1.21.0)
- How do I get the AI to accept Pay Ruler's Ransom?
- Accepted automatically in some cases; otherwise the AI weighs it. Its reasons: They gets paid Gold +50, They gets paid Gold +25, They gets paid Gold +25, The recipient's is Greedy -50, The other character is the recipient's Rival -55, The other character is the recipient's Nemesis -300, You are at War -300, The other character is a Prisoner of the recipient's ongoing War -300, The other character is at war with the recipient -300, Weak Hook used +100, Intimidated by you +40 and Terrified of you +100.
Will they accept?
Accepted automatically when:
- They use their Hook on …
Otherwise the AI adds these up and accepts above zero. Reasons in italics are the script's, with no label in the game.
| Reason | Amount |
|---|---|
| Base | 0 |
They gets paid Goldwhen
| +50 |
| They gets paid Gold | +25 |
| They gets paid Gold | +25 |
| The recipient's is Greedy | -50 |
The other character is the recipient's Rivalwhen
| -55 |
The other character is the recipient's Nemesiswhen
| -300 |
You are at Warwhen
| -300 |
The other character is a Prisoner of the recipient's ongoing Warwhen
| -300 |
The other character is at war with the recipientwhen
| -300 |
Weak Hook usedwhen
| +100 |
Intimidated by youwhen
| +40 |
Terrified of youwhen
| +100 |
Acceptance (ai_accept) (121 lines of game script)
base = 0
modifier = {
add = 50
OR = {
scope:gold = yes
scope:extortionate_gold = yes
}
desc = GOLD_POSITIVE_REASON
}
modifier = {
add = 25
scope:half_gold = yes
AND = {
scope:puppet_or_actor = {
gold >= scope:secondary_recipient.half_ransom_cost_value
}
NOT = {
scope:recipient = {
has_trait = greedy
}
}
}
desc = GOLD_POSITIVE_REASON
}
modifier = {
add = 25
scope:extortionate_half_gold = yes
AND = {
scope:puppet_or_actor = {
gold >= scope:secondary_recipient.half_increased_ransom_cost_value
}
NOT = {
scope:recipient = {
has_trait = greedy
}
}
}
desc = GOLD_POSITIVE_REASON
}
modifier = {
add = -50
OR = {
scope:half_gold = yes
scope:extortionate_half_gold = yes
}
OR = {
scope:puppet_or_actor = {
gold < scope:secondary_recipient.half_ransom_cost_value
}
scope:recipient = {
has_trait = greedy
}
}
desc = INTERACTION_GREEDY
}
modifier = {
add = -55
scope:recipient = {
has_relation_rival = scope:secondary_recipient
}
desc = RIVAL_TO_ME_REASON
}
modifier = {
add = -300
scope:recipient = {
has_relation_nemesis = scope:secondary_recipient
}
desc = NEMESIS_TO_ME_REASON
}
modifier = {
add = -300
scope:recipient = {
is_at_war_with = scope:puppet_or_actor
}
desc = IS_AT_WAR_REASON
}
modifier = {
add = -300
scope:secondary_recipient = {
character_is_prisoner_of_war = yes
}
desc = IS_POW_REASON
}
modifier = {
add = -300
scope:recipient = {
is_at_war_with = scope:secondary_recipient
}
desc = IS_AT_WAR_WITH_TARGET_REASON
}
modifier = {
scope:hook = yes
add = 100
desc = SCHEME_WEAK_HOOK_USED
}
modifier = {
add = 40
trigger = {
scope:recipient = {
target_is_liege_or_above = scope:puppet_or_actor
has_dread_level_towards = {
target = scope:puppet_or_actor
level = 1
}
}
}
desc = INTIMIDATED_REASON
}
modifier = {
add = 100
trigger = {
scope:recipient = {
target_is_liege_or_above = scope:puppet_or_actor
has_dread_level_towards = {
target = scope:puppet_or_actor
level = 2
}
}
}
desc = COWED_REASON
}As written in game/common/character_interactions/11_gdp_merchant_interactions.txt.
What happens
If they accept
If
- The other character: Is imprisoned by the target
Then
- The character you target:
If
- Employs a Man-Haggler
One of these
- The option “extortionate gold” is chosen
or
The option “extortionate current gold” is chosenor
The option “gold” is chosenor
The option “current gold” is chosen
Then
- … Man-Haggler Aptitude: +…
- You:
If
- The prisoner:
One of these
- Is a vassal of the payer
or
Is the payer’s consortor
Is close family of the payeror
Their dynasty:scope:payer.dynasty ?= this
or
Any spouse:One of these
- Is close family of the payer
or
Their dynasty:scope:payer.dynasty ?= this
or
Has the payer as loveror
Has the payer as friend
Then
- Stress and fulfillment impact: by trait: Compassionate -30, Generous -15, Just -15
Otherwise
- Stress and fulfillment impact: by trait: Compassionate -15, Generous -30
- The prisoner:
If
- The prisoner: Has the payer as lover
Then
- Stress and fulfillment impact: by trait: Lustful -65
If
- The prisoner:
One of these
- Has the payer as friend
or
Has the payer as lover
Then
- Stress and fulfillment impact: by trait: Loyal -65
- The prisoner:
If
- The prisoner: Is family of the payer
Then
- Stress and fulfillment impact: by trait: Family Hierarch -5
- The imprisoner:
- The payer:
- If does not have the Trait: Merchant: Gains the Trait Merchant
- Otherwise: Merchant (creditor) experience changes
- Depending on always:
- When always is scope:extortionate gold:
add_prestige = { value = scope:prisoner.highest_held_title_tier multiply = 50 }- Pay gold to the imprisoner
- The prisoner gains the opinion “Paid my Ransom” of them
- The imprisoner:
- Gain … Prestige
mandala_trickster_increment_gold_ransomed_effect = { GOLD_AMOUNT = scope:prisoner.increased_ransom_cost_value }
- When always is scope:extortionate half gold:
add_prestige = { value = scope:prisoner.highest_held_title_tier multiply = 25 }- Pay gold to the imprisoner
- The prisoner: Pay gold to the imprisoner
progress_towards_hook_effect = { CHARACTER = scope:prisoner HOOK_TYPE = favor_hook }- The prisoner gains the opinion “Paid my Ransom” (+15) of them
- The imprisoner:
- Gain … Prestige
mandala_trickster_increment_gold_ransomed_effect = { GOLD_AMOUNT = scope:prisoner.increased_ransom_cost_value }
- When always is scope:gold:
add_prestige = { value = scope:prisoner.highest_held_title_tier multiply = 50 }- Pay gold to the imprisoner
- The prisoner gains the opinion “Paid my Ransom” of them
- The imprisoner:
mandala_trickster_increment_gold_ransomed_effect = { GOLD_AMOUNT = scope:prisoner.normal_ransom_cost_value }
- When always is scope:half gold:
add_prestige = { value = scope:prisoner.highest_held_title_tier multiply = 25 }- Pay gold to the imprisoner
- The prisoner: Pay gold to the imprisoner
progress_towards_hook_effect = { CHARACTER = scope:prisoner HOOK_TYPE = favor_hook }- The prisoner gains the opinion “Paid my Ransom” (+15) of them
- The imprisoner:
mandala_trickster_increment_gold_ransomed_effect = { GOLD_AMOUNT = scope:prisoner.normal_ransom_cost_value }
- When always is scope:extortionate gold:
- The imprisoner:
If
- Government is Merchant
- Has the Prison-Feudal Complex Perk
Then
merchant_extracted_leverage_ransom_effect = { }
- The prisoner:
release_from_prison = yes
If
- Any character struggle:
involvement = involvedphase_has_catalyst = catalyst_ransom_important- The prisoner › Any character struggle:
involvement = involved
Then
- Every character struggle:
- Where:
phase_has_catalyst = catalyst_ransom_important- The prisoner › Any character struggle:
involvement = involved
- … (more in the script below)
- Where:
- Any character struggle:
- … (more in the script below)
- The payer:
- … (more in the script below)
If they refuse
- Event char_interaction.0141
Options when sending
- Use a Hook
Events it fires: char_interaction.0140, char_interaction.0141
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
Who can use it and sees it (is_available, is_shown) (17 lines of game script)
is_available = is_landless_merchant = yes
trigger_if = {
limit = {
is_ai = yes
}
gold >= 25
}
is_shown = exists = scope:recipient
scope:puppet_or_actor ?= {
this != scope:recipient
}
scope:secondary_recipient ?= {
this != scope:puppet_or_actor
is_imprisoned_by = scope:recipient
is_ruler = yes
is_landed = yes
}As written in game/common/character_interactions/11_gdp_merchant_interactions.txt.
Can be sent when (is_valid…) (24 lines of game script)
scope:secondary_recipient = {
is_ai = yes
custom_description = {
text = currently_being_tortured
NOT = {
has_character_flag = is_being_tortured
}
}
}
cannot_release_former_regent_whilst_old_regent_holds_power_trigger = {
PRISONER = scope:recipient
REGENT = scope:recipient.var:imprisoned_by_diarch
}
custom_tooltip = {
text = interactions_general.tt.must_select_one_option
calc_true_if = {
amount = 1
scope:extortionate_gold = yes
scope:extortionate_half_gold = yes
scope:gold = yes
scope:half_gold = yes
scope:hook = yes
}
}As written in game/common/character_interactions/11_gdp_merchant_interactions.txt.
Effects (on_send, on_accept, on_decline) (213 lines of game script)
on_accept = if = {
limit = {
scope:secondary_recipient = {
is_imprisoned_by = scope:recipient
}
}
scope:secondary_recipient = {
save_scope_as = prisoner
save_scope_as = merchant_ransom
}
scope:recipient = {
save_scope_as = imprisoner
if = {
limit = {
employs_court_position = person_haggler_camp_officer
is_asking_for_gold_in_ransom_trigger = yes
}
random_court_position_holder = {
type = person_haggler_camp_officer
save_scope_as = haggler
}
custom_tooltip = has_person_haggler_increase_ransom_cost
}
}
scope:puppet_or_actor = {
save_scope_as = payer
if = {
limit = {
scope:prisoner = {
OR = {
is_vassal_of = scope:payer
is_consort_of = scope:payer
is_close_family_of = scope:payer
dynasty ?= {
scope:payer.dynasty ?= this
}
any_spouse = {
OR = {
is_close_family_of = scope:payer
dynasty ?= {
scope:payer.dynasty ?= this
}
}
}
has_relation_lover = scope:payer
has_relation_friend = scope:payer
}
}
}
stress_and_fulfillment_impact = {
compassionate = medium_stress_impact_loss
generous = minor_stress_impact_loss
just = minor_stress_impact_loss
}
}
else = {
stress_and_fulfillment_impact = {
compassionate = minor_stress_impact_loss
generous = medium_stress_impact_loss
}
}
if = {
limit = {
scope:prisoner = {
has_relation_lover = scope:payer
}
}
stress_and_fulfillment_impact = {
lustful = major_stress_impact_loss
}
}
if = {
limit = {
scope:prisoner = {
OR = {
has_relation_friend = scope:payer
has_relation_lover = scope:payer
}
}
}
stress_and_fulfillment_impact = {
loyal = major_stress_impact_loss
}
}
if = {
limit = {
scope:prisoner = {
is_close_or_extended_family_of = scope:payer
}
}
stress_and_fulfillment_impact = {
family_first = miniscule_stress_impact_loss
}
}
}
hidden_effect = {
scope:prisoner = {
send_interface_toast = {
type = event_toast_effect_good
title = ransomed_by_someone
left_icon = scope:payer
show_as_tooltip = {
scope:imprisoner = {
merchant_ransom_interaction_effect = yes
}
}
}
}
scope:prisoner = {
if = {
limit = {
liege ?= {
is_ai = no
NOR = {
this = scope:payer
this = scope:imprisoner
}
OR = {
is_close_or_extended_family_of = scope:prisoner
is_consort_of = scope:prisoner
has_relation_lover = scope:prisoner
has_relation_friend = scope:prisoner
}
}
}
liege = {
save_scope_as = prisoner_liege_scope
send_interface_toast = {
type = event_toast_effect_good
title = ransomed_by_someone_third_party
left_icon = scope:payer
right_icon = scope:prisoner
custom_tooltip = ransomed_by_someone_third_party_desc
}
}
}
send_interface_toast = {
type = event_toast_effect_good
title = ransomed_by_merchant
left_icon = scope:payer
right_icon = scope:imprisoner
custom_tooltip = ransomed_by_merchant_desc
}
}
}
scope:imprisoner = {
send_interface_message = {
type = interaction_prison_ransom
title = recipient_released_from_prison
right_icon = scope:prisoner
left_icon = scope:imprisoner
show_as_tooltip = {
merchant_ransom_interaction_effect = yes
}
}
if = {
limit = {
any_character_struggle = {
involvement = involved
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_ransom_important
CHAR = scope:prisoner
}
}
}
every_character_struggle = {
involvement = involved
limit = {
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_ransom_important
CHAR = scope:prisoner
}
}
activate_struggle_catalyst = {
catalyst = catalyst_ransom_important
character = scope:imprisoner
}
}
}
if = {
limit = {
fp3_struggle_involves_one_supporter_and_one_detractor = {
FIRST = scope:imprisoner
SECOND = scope:prisoner
}
any_character_struggle = {
involvement = involved
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_ransom_supporter_detractor
CHAR = scope:prisoner
}
}
}
every_character_struggle = {
involvement = involved
limit = {
activate_struggle_catalyst_secondary_character_involvement_involved_trigger = {
CATALYST = catalyst_ransom_supporter_detractor
CHAR = scope:prisoner
}
}
activate_struggle_catalyst = {
catalyst = catalyst_ransom_supporter_detractor
character = scope:imprisoner
}
log_debug_variable_for_persian_struggle_effect = {
VAR = concession_catalyst_ransom_supporter_detractor
}
}
}
}
if
# … (cut here; the rest is in the file)As written in game/common/character_interactions/11_gdp_merchant_interactions.txt.
- Category
- Diplomatic actions
- In the menu
- main list
- ID
merchant_ransom_interaction
Source: game/common/character_interactions/11_gdp_merchant_interactions.txt and the English localisation, Crusader Kings III 1.21.0. “You” is the character who sends it (scope:actor, or a puppet acting for you); “the character you target” is the recipient.