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

Scripted effect

stewardship_domain_special_1500_apply_domesday_effects_2

stewardship_domain_special_1500_apply_domesday_effects_2 = { CUSTOM_TEXT = … }

game/common/scripted_effects/00_stewardship_lifestyle_effects.txt, line 460 (33 lines). Parameters: $CUSTOM_TEXT$.

stewardship_domain_special_1500_apply_domesday_effects_2 is a scripted effect in Crusader Kings III, written at line 460 of its file. A call passes 1 parameter: CUSTOM_TEXT. The game's script calls it in 1 place, among them stewardship_domain_special_1500_apply_domesday_effects (scripted effect). Patch 1.20.1.2, from game/common/scripted_effects/00_stewardship_lifestyle_effects.txt.

The comment above it in the file

Determine which modifier we will apply to our counties, based on the total quality score accumulated during the event chain.

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 (33 lines of game script)
stewardship_domain_special_1500_apply_domesday_effects_2 = {
	#All non-excluded counties receive the excellent quality modifier.
	if = {
		limit = {
			var:stewardship_domain_special_1500_domesday_quality >= stewardship_domain_special_1500_domesday_excellent_quality
		}
		stewardship_domain_special_1500_apply_domesday_effects_3 = {
			CUSTOM_TEXT = $CUSTOM_TEXT$
			DOMESDAY_ASSESSMENT = stewardship_domain_special_1500_excellent_quality_assessment
			INCREASE_CONTROL = 20
		}
	}
	#All non-excluded counties receive the high quality modifier.
	else_if = {
		limit = {
			var:stewardship_domain_special_1500_domesday_quality >= stewardship_domain_special_1500_domesday_high_quality
		}
		stewardship_domain_special_1500_apply_domesday_effects_3 = {
			CUSTOM_TEXT = $CUSTOM_TEXT$
			DOMESDAY_ASSESSMENT = stewardship_domain_special_1500_high_quality_assessment
			INCREASE_CONTROL = 15
		}
	}
	#All non-excluded-counties receive the mediocre quality modifier.
	else = {
		stewardship_domain_special_1500_apply_domesday_effects_3 = {
			CUSTOM_TEXT = $CUSTOM_TEXT$
			DOMESDAY_ASSESSMENT = stewardship_domain_special_1500_mediocre_quality_assessment
			INCREASE_CONTROL = 10
		}
	}
	#If the quality level of the survey is poor, no counties will receive any modifier.
}

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

Where it is used

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

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