Scripted effect
diarch_demand_despotate_interaction_rejected_effect
diarch_demand_despotate_interaction_rejected_effect = yesgame/common/scripted_effects/00_diarchy_scripted_effects.txt, line 1819 (32 lines). No parameters.
diarch_demand_despotate_interaction_rejected_effect is a scripted effect in Crusader Kings III, written at line 1819 of its file. It takes no parameters: diarch_demand_despotate_interaction_rejected_effect = yes. The game's script calls it in 2 places, among them Demand Private Despotate (interaction) and diarchy.8032 (event). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_effects/00_diarchy_scripted_effects.txt.
What it does
scope:recipient:If
scope:hook = no
Then
change_influence = { … }- … stake is double … …
- Opinion: Angry (-40)
• the game's own tooltip text · ◦ our reading of the script line · code the script where neither exists
“They” is whatever it runs on (the scope it is called in). The scripted triggers and effects it calls link to their own pages; $PARAMETERS$ stay as written: each call fills them in.
The script as written (32 lines of game script)
diarch_demand_despotate_interaction_rejected_effect = {
scope:recipient = {
# We have to put up the same amount of influence they do to veto them.
if = {
limit = {
# Prevent weird +0 influence tooltip.
scope:hook = no
}
change_influence = {
if = {
limit = { scope:influence_major = yes }
add = diarch_demand_despotate_interaction_stake_to_raise_major_value
}
else_if = {
limit = { scope:influence_medium = yes }
add = diarch_demand_despotate_interaction_stake_to_raise_medium_value
}
else_if = {
limit = { scope:influence_minor = yes }
add = diarch_demand_despotate_interaction_stake_to_raise_minor_value
}
}
custom_tooltip = diarch_demand_despotate_interaction.tt.double_stake
}
# Plus they get annoyed with us.
add_opinion = {
target = scope:actor
modifier = angry_opinion
opinion = -40
}
}
}As written in game/common/scripted_effects/00_diarchy_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls diarch_demand_despotate_interaction_rejected_effect.
Character interactions (1)
Events (1)
Source: game/common/scripted_effects/00_diarchy_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.