CK3 DatabaseCrusader Kings III · 1.20.1.2 “Crozier” · unofficial
Silk & Silverout Tue, Nov 17What's free, what needs the DLC, price →

Scripted effect · By God Alone files

pam_great_project_contribution_catalyst_effect

pam_great_project_contribution_catalyst_effect = yes

game/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_01
      • or

        scope:great_project.great_project_type = great_project_type:pam_cathedral_02
      • or

        scope:great_project.great_project_type = great_project_type:pam_cathedral_03
      • or

        scope:great_project.great_project_type = great_project_type:pam_mass_rite_conversion

    Then

    • One random 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.

Spotted a mistake on this page?