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

Scripted effect · Roads to Power files

refresh_estate_household_clerks_house_modifier_effect

refresh_estate_household_clerks_house_modifier_effect = yes

game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt, line 10908 (19 lines). No parameters.

refresh_estate_household_clerks_house_modifier_effect is a scripted effect in Crusader Kings III, in the Roads to Power files, written at line 10908 of its file. It takes no parameters: refresh_estate_household_clerks_house_modifier_effect = yes. The game's script calls it in 3 places, among them on_became_house_head (on action), on_domicile_building_completed (on action) and yearly_playable_pulse (on action). Patch 1.21.0, from game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

What it does

  • If

    • Their house head › Their domicile:
      • has_domicile_parameter = estate_governor_efficiency_bonus_for_house_members

    Then

  • Else, if the House their has the Household Clerks modifier: The house loses the modifier “Household Clerks”

• 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 (19 lines of game script)
refresh_estate_household_clerks_house_modifier_effect = {
	if = {
		limit = {
			house_head ?= {
				domicile ?= { has_domicile_parameter = estate_governor_efficiency_bonus_for_house_members }
			}
		}
		if = {
			limit = {
				NOT = { has_house_modifier = ep3_estate_household_clerks_house_modifier }
			}
			add_house_modifier = ep3_estate_household_clerks_house_modifier
		}
	}
	else_if = {
		limit = { has_house_modifier = ep3_estate_household_clerks_house_modifier }
		remove_house_modifier = ep3_estate_household_clerks_house_modifier
	}
}

As written in game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt.

Where it is used

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

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

  • on_became_house_head
  • on_domicile_building_completed
  • yearly_playable_pulse

Source: game/common/scripted_effects/07_dlc_ep3_scripted_effects.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.21.0.

Spotted a mistake on this page, or have an idea for the site?