Scripted effect · All Under Heaven files
great_project_reward_contribution_completion_notification_effect
great_project_reward_contribution_completion_notification_effect = { LEVEL = … NON_OWNER_REWARD_EFFECT = … OWNER_REWARD_EFFECT = … }game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt, line 230 (21 lines). Parameters: $LEVEL$, $NON_OWNER_REWARD_EFFECT$, $OWNER_REWARD_EFFECT$.
great_project_reward_contribution_completion_notification_effect is a scripted effect in Crusader Kings III, in the All Under Heaven files, written at line 230 of its file. A call passes 3 parameters: LEVEL, NON_OWNER_REWARD_EFFECT and OWNER_REWARD_EFFECT. The game's script calls it in 8 places, among them Compel Religious Uniformity (great project), construct_great_barracks (great project) and Mass Conversion (great project). Patch 1.20.1.2, from game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
The comment above it in the file
root = contributor
What it does
If
a check the game hides
Then
great_project_contribution_completion_reward_$LEVEL$_effect = { EXTRA_EFFECT = $NON_OWNER_REWARD_EFFECT$ }
Otherwise
great_project_contribution_completion_reward_$LEVEL$_effect = { EXTRA_EFFECT = $OWNER_REWARD_EFFECT$ }
• 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 (21 lines of game script)
great_project_reward_contribution_completion_notification_effect = {
if = {
limit = { this != scope:owner }
send_interface_toast = {
type = msg_great_project_reward
left_icon = root
right_icon = scope:owner
great_project_contribution_completion_reward_$LEVEL$_effect = { EXTRA_EFFECT = $NON_OWNER_REWARD_EFFECT$ }
}
}
else = {
send_interface_toast = {
type = msg_great_project_reward
left_icon = root
right_icon = scope:province.barony
great_project_contribution_completion_reward_$LEVEL$_effect = { EXTRA_EFFECT = $OWNER_REWARD_EFFECT$ }
}
}
}As written in game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls great_project_reward_contribution_completion_notification_effect.
Great projects (8)
- Compel Religious Uniformity
- construct_great_barracks
- Mass Conversion
- minister_project_culture
- pam_cathedral_01
- pam_cathedral_02
2 more
- pam_cathedral_03
- strengthen_capital
Source: game/common/scripted_effects/10_dlc_tgp_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.