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

fill_ecclesiastical_domicile_building_effect

fill_ecclesiastical_domicile_building_effect = yes

game/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 1428 (25 lines). No parameters.

fill_ecclesiastical_domicile_building_effect is a scripted effect in Crusader Kings III, in the By God Alone files, written at line 1428 of its file. It takes no parameters: fill_ecclesiastical_domicile_building_effect = yes. The game's script calls it in 1 place, among them on_game_start_after_lobby (on action). Patch 1.20.1.2, from game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.

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 (25 lines of game script)
fill_ecclesiastical_domicile_building_effect = {
	if = {
		limit = { free_external_domicile_building_slots >= 3 }
		add_random_external_ecclesiastical_domicile_building = yes
	}
	if = {
		limit = {
			has_domicile_building_or_higher = ecclesiastical_domicile_main_02
			free_external_domicile_building_slots >= 3
		}
		add_random_external_ecclesiastical_domicile_building = yes
	}
	if = {
		limit = {
			has_domicile_building_or_higher = ecclesiastical_domicile_main_03
			free_external_domicile_building_slots >= 3
		}
		add_random_external_ecclesiastical_domicile_building = yes
	}
	add_random_internal_ecclesiastical_domicile_building = yes
	if = {
		limit = { has_domicile_building_or_higher = ecclesiastical_domicile_main_02 }
		add_random_internal_ecclesiastical_domicile_building = yes
	}
}

As written in game/common/scripted_effects/11_dlc_pam_scripted_effects.txt.

Where it is used

Every place in common/, events/ and history/ that calls fill_ecclesiastical_domicile_building_effect.

On actions (the game's own hooks) (1)

  • on_game_start_after_lobby

Source: game/common/scripted_effects/11_dlc_pam_scripted_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?