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

Scripted trigger · Wards and Wardens files

has_same_wet_nurse_trigger

has_same_wet_nurse_trigger = { OTHER_SCOPE = … SCOPE = … }

game/common/scripted_triggers/05_bp2_scripted_triggers.txt, line 6 (29 lines). Parameters: $OTHER_SCOPE$, $SCOPE$.

has_same_wet_nurse_trigger is a scripted trigger in Crusader Kings III, in the Wards and Wardens files, written at line 6 of its file. A call passes 2 parameters: OTHER_SCOPE and SCOPE. The game's script calls it in 1 place, among them Suckling Spouse (event bp2_yearly.7002). Patch 1.20.1.2, from game/common/scripted_triggers/05_bp2_scripted_triggers.txt.

What it checks

  • $SCOPE$ = { … }
  • $OTHER_SCOPE$ = { … }
  • If

    a check the game hides

    Then

    • scope:wet_nurse_temp = scope:other_wet_nurse_temp

    Otherwise

    • Never

• 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 (29 lines of game script)
has_same_wet_nurse_trigger = {
	$SCOPE$ = {
		any_relation = {
			type = wet_nurse
			even_if_dead = yes
			save_temporary_scope_as = wet_nurse_temp
		}
	}
	$OTHER_SCOPE$ = {
		any_relation = {
			type = wet_nurse
			even_if_dead = yes
			save_temporary_scope_as = other_wet_nurse_temp
		}
	}

	trigger_if = {
		limit = { 
			AND = {
				exists = scope:wet_nurse_temp
				exists = scope:other_wet_nurse_temp	
			}
		}
		scope:wet_nurse_temp = scope:other_wet_nurse_temp
	}
	trigger_else = {
		always = no
	}
}

As written in game/common/scripted_triggers/05_bp2_scripted_triggers.txt.

Where it is used

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

Events (1)

Source: game/common/scripted_triggers/05_bp2_scripted_triggers.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?