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

Scripted effect

wet_nurse_title_revoked_effect

wet_nurse_title_revoked_effect = yes

game/common/scripted_effects/00_court_position_effects.txt, line 471 (58 lines). No parameters.

wet_nurse_title_revoked_effect is a scripted effect in Crusader Kings III, written at line 471 of its file. It takes no parameters: wet_nurse_title_revoked_effect = yes. The game's script calls it in 1 place, among them Wet Nurse (court position). Patch 1.20.1.2, from game/common/scripted_effects/00_court_position_effects.txt.

What it does

  • basic_revoked_court_position_effect = yes
  • If

    • scope:employee › Any relation:
      • Is at least 3 years old
      • Is a child
      • NOT = { is_child_of = scope:employee }
      • One of these

        • Opinion of prev at least 40
        • or

          has_relation_friend = prev
        • or

          has_relation_best_friend = prev

    Then

• 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 (58 lines of game script)
wet_nurse_title_revoked_effect = {
	basic_revoked_court_position_effect = yes
	#if any child has positive relation with the fired nurse trigger an event about them complaining
	if = {
		limit = {
			scope:employee = {
				any_relation = {
					type = nursed_child
					is_alive = yes
					age >= 3
					is_adult = no
					NOT = {
						is_child_of = scope:employee
					}
					OR = {
						opinion = {
							target = prev
							value >= medium_positive_opinion
						}
						has_relation_friend = prev
						has_relation_best_friend = prev
					}
					this != scope:liege
				}
			}
		}
		scope:employee = {
			random_relation = {
				type = nursed_child
				limit = {
					is_alive = yes
					age >= 3
					is_adult = no
					NOT = {
						is_child_of = scope:employee
					}
					OR = {
						opinion = {
							target = prev
							value >= medium_positive_opinion
						}
						has_relation_friend = prev
						has_relation_best_friend = prev
					}
					this != scope:liege
				}
				save_scope_as = nursed_child
			}
			save_scope_as = former_wet_nurse
		}
		scope:liege = {
			trigger_event = {
				id = bp2_yearly.7012
				days = { 5 10 }
			}
		}
	}
}

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

Where it is used

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

Court positions (1)

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