Scripted effect · By God Alone files
cathedral_great_project_completed_event_sender_effect
cathedral_great_project_completed_event_sender_effect = yesgame/common/scripted_effects/pam_effects.txt, line 6963 (41 lines). No parameters.
cathedral_great_project_completed_event_sender_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 6963 of its file. It takes no parameters: cathedral_great_project_completed_event_sender_effect = yes. The game's script calls it in 3 places, among them pam_cathedral_01 (great project), pam_cathedral_02 (great project) and pam_cathedral_03 (great project). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
- scope:founder: Event pam_great_projects_events.0020
scope:owner:scope:founder_heir:- Every contribution:
- Where:
contribution_is_funded = yes
contributor ?= { … }
- Where:
• 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 (41 lines of game script)
cathedral_great_project_completed_event_sender_effect = {
scope:founder = {
trigger_event = pam_great_projects_events.0020
}
scope:owner = {
if = {
limit = {
this != scope:founder
}
trigger_event = pam_great_projects_events.0020
}
}
scope:founder_heir ?= {
if = {
limit = {
is_alive = yes
this != scope:founder
this != scope:owner
}
trigger_event = pam_great_projects_events.0020
}
}
every_contribution = {
limit = {
contribution_is_funded = yes
}
contributor ?= {
if = {
limit = {
this != scope:owner
this != scope:founder
NOT = { this ?= scope:founder_heir }
NOT = { is_in_list = cathedral_completed_event_contributors }
}
add_to_list = cathedral_completed_event_contributors
save_scope_as = contributor
trigger_event = pam_great_projects_events.0020
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls cathedral_great_project_completed_event_sender_effect.
Great projects (3)
- pam_cathedral_01
- pam_cathedral_02
- pam_cathedral_03
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.