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

Scripted effect

noble_family_title_realm_setup_effect

noble_family_title_realm_setup_effect = yes

game/common/scripted_effects/00_administrative_effects.txt, line 509 (22 lines). No parameters.

noble_family_title_realm_setup_effect is a scripted effect in Crusader Kings III, written at line 509 of its file. It takes no parameters: noble_family_title_realm_setup_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/00_administrative_effects.txt.

What it does

  • Every noble family:
    • Their holder › Their house:
      • If

        • house_head != scope:nf_holder

        Then

        • set_house_head = scope:nf_holder
    • scope:nf_title:
      • set_color_from_title = scope:nf_holder.capital_county
      • The coat of arms changes

• 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 (22 lines of game script)
noble_family_title_realm_setup_effect = {
	save_scope_as = top_liege
	every_noble_family = {
		save_scope_as = nf_title
		holder ?= {
			save_scope_as = nf_holder
			house ?= {
				save_scope_as = nf_house
				# Ensure holders of historical noble family titles are the default house heads
				if = {
					limit = { house_head != scope:nf_holder }
					set_house_head = scope:nf_holder
				}
			}
		}
		scope:nf_title = {
			set_color_from_title = scope:nf_holder.capital_county
			# Ensure Noble Family CoA match House
			set_coa = scope:nf_house
		}
	}
}

As written in game/common/scripted_effects/00_administrative_effects.txt.

Where it is used

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

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

  • on_game_start_after_lobby

Source: game/common/scripted_effects/00_administrative_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?