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

add_random_internal_ecclesiastical_domicile_building

add_random_internal_ecclesiastical_domicile_building = yes

game/common/scripted_effects/11_dlc_pam_scripted_effects.txt, line 992 (383 lines). No parameters.

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

What it does

  • 1 of 54 things will happen:
    • 2%:
      • add_domicile_building = cathedral_crypt_01
    • 2%:
      • add_domicile_building = cathedral_belltower_01
    • 2%:
      • add_domicile_building = cathedral_cantoria_01
    • 2%:
      • add_domicile_building = cathedral_masons_lodge_01
    • 2%:
      • add_domicile_building = cathedral_chapter_house_01
    • 2%:
      • add_domicile_building = cathedral_sacristy_01
    • 2%:
      • add_domicile_building = palace_audience_hall_01
    • 2%:
      • add_domicile_building = palace_consistory_court_01
    • 2%:
      • add_domicile_building = palace_synodal_hall_01
    • 2%:
      • add_domicile_building = palace_guest_wing_01
    • 2%:
      • add_domicile_building = palace_chapel_01
    • 2%:
      • add_domicile_building = baptistery_catechumenon_01
    • 2%:
      • add_domicile_building = baptistery_holy_font_01
    • 2%:
      • add_domicile_building = baptistery_neophytes_hostel_01
    • 2%:
      • add_domicile_building = baptistery_chrismarium_01
    • 2%:
      • add_domicile_building = baptistery_pilgrims_hospice_01
    • 2%:
      • add_domicile_building = chancery_registry_01
    • 2%:
      • add_domicile_building = chancery_legation_01
    • 2%:
      • add_domicile_building = chancery_curial_rota_01
    • 2%:
      • add_domicile_building = chancery_notaries_01
    • 2%:
      • add_domicile_building = chancery_seal_office_01
    • 2%:
      • add_domicile_building = chancery_visitation_01
    • 2%:
      • add_domicile_building = cathedral_royal_nave_01
    • 2%:
      • add_domicile_building = guard_tower_provosts_hall_01
    • 2%:
      • add_domicile_building = guard_tower_warriors_vestry_01
    • 2%:
      • add_domicile_building = treasury_election_coffers_01
    • 2%:
      • add_domicile_building = archives_decretals_01
    • 2%:
      • add_domicile_building = school_seminary_01
    • 2%:
      • add_domicile_building = guard_tower_armory_01
    • 2%:
      • add_domicile_building = guard_tower_gatehouse_01
    • 2%:
      • add_domicile_building = guard_tower_drill_yard_01
    • 2%:
      • add_domicile_building = guard_tower_night_watch_01
    • 2%:
      • add_domicile_building = guard_tower_toll_house_01
    • 2%:
      • add_domicile_building = cloister_penitential_cells_01
    • 2%:
      • add_domicile_building = cloister_oblate_dormitory_01
    • 2%:
      • add_domicile_building = cloister_confessional_01
    • 2%:
      • add_domicile_building = cloister_herbularius_01
    • 2%:
      • add_domicile_building = cloister_brewhouse_01
    • 2%:
      • add_domicile_building = cloister_study_cells_01
    • 2%:
      • add_domicile_building = school_lecture_hall_01
    • 2%:
      • add_domicile_building = school_disputation_hall_01
    • 2%:
      • add_domicile_building = school_choir_01
    • 2%:
      • add_domicile_building = school_observatory_01
    • 2%:
      • add_domicile_building = school_tutors_quarters_01
    • 2%:
      • add_domicile_building = treasury_counting_house_01
    • 2%:
      • add_domicile_building = treasury_benefice_registry_01
    • 2%:
      • add_domicile_building = treasury_reliquary_vault_01
    • 2%:
      • add_domicile_building = treasury_coronation_regalia_01
    • 2%:
      • add_domicile_building = treasury_alms_house_01
    • 2%:
      • add_domicile_building = archives_scriptorium_01
    • 2%:
      • add_domicile_building = archives_homiliary_01
    • 2%:
      • add_domicile_building = archives_cartulary_vault_01
    • 2%:
      • add_domicile_building = archives_chronicle_hall_01
    • 2%:
      • add_domicile_building = archives_bindery_01

• 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 (120 lines of game script)
add_random_internal_ecclesiastical_domicile_building = {
	random_list = {
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = cathedral_crypt_01 }
				domicile_building_has_free_internal_slot = ecclesiastical_domicile_main_01
			}
			add_domicile_building = cathedral_crypt_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = cathedral_belltower_01 }
				domicile_building_has_free_internal_slot = ecclesiastical_domicile_main_01
			}
			add_domicile_building = cathedral_belltower_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = cathedral_cantoria_01 }
				domicile_building_has_free_internal_slot = ecclesiastical_domicile_main_01
			}
			add_domicile_building = cathedral_cantoria_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = cathedral_masons_lodge_01 }
				domicile_building_has_free_internal_slot = ecclesiastical_domicile_main_01
			}
			add_domicile_building = cathedral_masons_lodge_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = cathedral_chapter_house_01 }
				domicile_building_has_free_internal_slot = ecclesiastical_domicile_main_01
			}
			add_domicile_building = cathedral_chapter_house_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = cathedral_sacristy_01 }
				domicile_building_has_free_internal_slot = ecclesiastical_domicile_main_01
			}
			add_domicile_building = cathedral_sacristy_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = palace_audience_hall_01 }
				domicile_building_has_free_internal_slot = episcopal_palace_01
			}
			add_domicile_building = palace_audience_hall_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = palace_consistory_court_01 }
				domicile_building_has_free_internal_slot = episcopal_palace_01
			}
			add_domicile_building = palace_consistory_court_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = palace_synodal_hall_01 }
				domicile_building_has_free_internal_slot = episcopal_palace_01
			}
			add_domicile_building = palace_synodal_hall_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = palace_guest_wing_01 }
				domicile_building_has_free_internal_slot = episcopal_palace_01
			}
			add_domicile_building = palace_guest_wing_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = palace_chapel_01 }
				domicile_building_has_free_internal_slot = episcopal_palace_01
			}
			add_domicile_building = palace_chapel_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = baptistery_catechumenon_01 }
				domicile_building_has_free_internal_slot = baptistery_01
			}
			add_domicile_building = baptistery_catechumenon_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = baptistery_holy_font_01 }
				domicile_building_has_free_internal_slot = baptistery_01
			}
			add_domicile_building = baptistery_holy_font_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = baptistery_neophytes_hostel_01 }
				domicile_building_has_free_internal_slot = baptistery_01
			}
			add_domicile_building = baptistery_neophytes_hostel_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = baptistery_chrismarium_01 }
				domicile_building_has_free_internal_slot = baptistery_01
			}
			add_domicile_building = baptistery_chrismarium_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = baptistery_pilgrims_hospice_01 }
				domicile_building_has_free_internal_slot = baptistery_01
			}
			add_domicile_building = baptistery_pilgrims_hospice_01
		}
		10 = {
			trigger = {
				NOT = { has_domicile_building_or_higher = chancery_registry_01 }
				domicile_building_has_free_internal_slot = chancery_01
			}
			add_domicile_building = chancery_registry_01

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

The first 120 of its 383 lines; the rest is in game/common/scripted_effects/11_dlc_pam_scripted_effects.txt from line 992.

Where it is used

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

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?