Scripted effect · By God Alone files
pam_cardinal_order_accept_notify_players_effect
pam_cardinal_order_accept_notify_players_effect = { HOF = … }game/common/scripted_effects/pam_effects.txt, line 2169 (59 lines). Parameters: $HOF$.
pam_cardinal_order_accept_notify_players_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 2169 of its file. A call passes 1 parameter: HOF. The game's script calls it in 2 places, among them Give Cardinal Order (interaction) and The Will of the … (event pam_clergy_events.0010). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
$HOF$ = { … }If
scope:actor != $HOF$- scope:actor: Is played by a person
Then
- scope:actor › scope:recipient:
• 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 (59 lines of game script)
pam_cardinal_order_accept_notify_players_effect = {
$HOF$ = {
if = {
limit = { is_ai = no }
hidden_effect = {
send_interface_toast = {
type = event_toast_effect_neutral
title = give_cardinal_order_interaction_toast
left_icon = $HOF$
right_icon = scope:recipient
scope:recipient = {
show_as_tooltip = {
pam_choose_cardinal_order_switch_scripted_effect = yes
}
}
}
}
}
}
if = {
limit = {
scope:actor != $HOF$
scope:actor = { is_ai = no }
}
scope:actor = {
send_interface_toast = {
type = event_toast_effect_neutral
title = give_cardinal_order_interaction_toast
left_icon = $HOF$
right_icon = scope:recipient
scope:recipient = {
show_as_tooltip = {
pam_choose_cardinal_order_switch_scripted_effect = yes
}
}
}
}
}
every_in_list = {
list = county_holders
limit = {
NOT = { this = $HOF$ }
NOT = { this = scope:actor }
}
hidden_effect = {
send_interface_toast = {
type = event_toast_effect_neutral
title = give_cardinal_order_interaction_toast
left_icon = $HOF$
right_icon = scope:recipient
scope:recipient = {
show_as_tooltip = {
pam_choose_cardinal_order_switch_scripted_effect = yes
}
}
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_cardinal_order_accept_notify_players_effect.
Character interactions (1)
Events (1)
- The Will of the …
pam_clergy_events.0010
Source: game/common/scripted_effects/pam_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.