Scripted effect · By God Alone files
pam_great_project_contribution_catalyst_effect
pam_great_project_contribution_catalyst_effect = yesgame/common/scripted_effects/pam_effects.txt, line 1884 (49 lines). No parameters.
pam_great_project_contribution_catalyst_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1884 of its file. It takes no parameters: pam_great_project_contribution_catalyst_effect = yes. The game's script calls it in 4 places, among them Mass Conversion (great project), pam_cathedral_01 (great project) and pam_cathedral_02 (great project). Patch 1.20.1.2, from game/common/scripted_effects/pam_effects.txt.
What it does
If
- scope:owner › Any character situation:
situation_type = the_christian_church
One of these
scope:great_project.great_project_type = great_project_type:pam_cathedral_01or
scope:great_project.great_project_type = great_project_type:pam_cathedral_02or
scope:great_project.great_project_type = great_project_type:pam_cathedral_03or
scope:great_project.great_project_type = great_project_type:pam_mass_rite_conversion
Then
- One random character situation:
- Where:
situation_type = the_christian_church
- Depending on great project.great project type:
- When great project.great project type is great project type:pam cathedral 01 › If the current phase counts “Great Project Contribution”: Counts toward the situation's next phase: “Great Project Contribution”
- When great project.great project type is great project type:pam cathedral 02 › If the current phase counts “Great Project Contribution”: Counts toward the situation's next phase: “Great Project Contribution”
- When great project.great project type is great project type:pam cathedral 03 › If the current phase counts “Great Project Contribution”: Counts toward the situation's next phase: “Great Project Contribution”
- When great project.great project type is great project type:pam mass rite conversion › If the current phase counts “Great Project Contribution”: Counts toward the situation's next phase: “Great Project Contribution”
- Where:
- scope:owner › Any character situation:
• 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 (49 lines of game script)
pam_great_project_contribution_catalyst_effect = {
if = {
limit = {
this != scope:owner
this != scope:founder
scope:owner ?= {
any_character_situation = {
situation_type = the_christian_church
}
}
OR = {
scope:great_project.great_project_type = great_project_type:pam_cathedral_01
scope:great_project.great_project_type = great_project_type:pam_cathedral_02
scope:great_project.great_project_type = great_project_type:pam_cathedral_03
scope:great_project.great_project_type = great_project_type:pam_mass_rite_conversion
}
}
random_character_situation = {
limit = { situation_type = the_christian_church }
switch = {
trigger = scope:great_project.great_project_type
great_project_type:pam_cathedral_01 = {
if = {
limit = { situation_top_has_catalyst = catalyst_great_project_cathedral_contribution }
trigger_situation_catalyst = catalyst_great_project_cathedral_contribution
}
}
great_project_type:pam_cathedral_02 = {
if = {
limit = { situation_top_has_catalyst = catalyst_great_project_cathedral_contribution }
trigger_situation_catalyst = catalyst_great_project_cathedral_contribution
}
}
great_project_type:pam_cathedral_03 = {
if = {
limit = { situation_top_has_catalyst = catalyst_great_project_cathedral_contribution }
trigger_situation_catalyst = catalyst_great_project_cathedral_contribution
}
}
great_project_type:pam_mass_rite_conversion = {
if = {
limit = { situation_top_has_catalyst = catalyst_great_project_mass_rite_conversion_contribution }
trigger_situation_catalyst = catalyst_great_project_mass_rite_conversion_contribution
}
}
}
}
}
}As written in game/common/scripted_effects/pam_effects.txt.
Where it is used
Every place in common/, events/ and history/ that calls pam_great_project_contribution_catalyst_effect.
Great projects (4)
- Mass Conversion
- 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.