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

cathedral_great_project_funded_started_event_sender_effect

cathedral_great_project_funded_started_event_sender_effect = yes

game/common/scripted_effects/pam_effects.txt, line 6932 (30 lines). No parameters.

cathedral_great_project_funded_started_event_sender_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 6932 of its file. It takes no parameters: cathedral_great_project_funded_started_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.

The comment above it in the file

This is only for use in pam_cathedral_01, pam_cathedral_02, and pam_cathedral_03

What it does

• 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 (30 lines of game script)
cathedral_great_project_funded_started_event_sender_effect = {
	scope:founder = {
		trigger_event = pam_great_projects_events.0005
	}
	scope:owner = {
		if = {
			limit = {
				this != scope:founder
			}
			trigger_event = pam_great_projects_events.0005
		}
	}
	every_contribution = {
		limit = {
			contribution_is_funded = yes
		}
		contributor ?= {
			if = {
				limit = {
					this != scope:owner
					this != scope:founder
					NOT = { is_in_list = cathedral_started_event_contributors }
				}
				add_to_list = cathedral_started_event_contributors
				save_scope_as = contributor
				trigger_event = pam_great_projects_events.0005
			}
		}
	}
}

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_funded_started_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.

Spotted a mistake on this page?