Scripted effect
diarch_shift_privileges_interaction_apply_success_effect
diarch_shift_privileges_interaction_apply_success_effect = yesgame/common/scripted_effects/00_diarchy_scripted_effects.txt, line 910 (39 lines). No parameters.
diarch_shift_privileges_interaction_apply_success_effect is a scripted effect in Crusader Kings III, written at line 910 of its file. It takes no parameters: diarch_shift_privileges_interaction_apply_success_effect = yes. The game's script calls it in 1 place, among them Shift Privileges (interaction). Patch 1.20.1.2, from game/common/scripted_effects/00_diarchy_scripted_effects.txt.
What it does
Every line of it is script with no tooltip text: the script is below.
The script as written (39 lines of game script)
diarch_shift_privileges_interaction_apply_success_effect = {
# Notify other parties.
hidden_effect = {
# Inform the liege.
scope:actor.liege = {
send_interface_message = {
type = msg_diarch_acting_effect
title = diarch_using_powers.t
right_icon = scope:recipient
left_icon = scope:actor
show_as_tooltip = {
diarch_shift_privileges_interaction_success_apply_modifiers_vague_effect = yes
diarch_shift_privileges_interaction_success_apply_other_effect = yes
}
}
}
# Inform scope:recipient.
scope:recipient = {
send_interface_toast = {
title = diarch_shift_privileges_interaction.tt.success
left_icon = scope:actor
# We apply the actual modifier here, so that scope:recipient can see it.
diarch_shift_privileges_interaction_success_apply_modifiers_actual_effect = yes
show_as_tooltip = { diarch_shift_privileges_interaction_success_apply_other_effect = yes }
}
}
}
# Finally, fire off the actual effect.
send_interface_toast = {
title = diarch_shift_privileges_interaction.tt.success
left_icon = scope:recipient
# Gib actual gold here.
diarch_shift_privileges_interaction_success_apply_other_effect = yes
# Plus talk about a county modifier.
diarch_shift_privileges_interaction_success_apply_modifiers_vague_effect = yes
}
# Finally, apply opinion loss.
diarch_shift_privileges_interaction_success_apply_opinion_effect = yes
}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_shift_privileges_interaction_apply_success_effect.
Character interactions (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.