Scripted trigger
wet_nurse_validity_trigger
wet_nurse_validity_trigger = { EMPLOYER = … }game/common/scripted_triggers/00_court_position_triggers.txt, line 826 (26 lines). Parameters: $EMPLOYER$.
wet_nurse_validity_trigger is a scripted trigger in Crusader Kings III, written at line 826 of its file. A call passes 1 parameter: EMPLOYER. The game's script calls it in 3 places, among them Wet Nurse (court position), Genpei War: Soaring Butterfly (event tgp_genpei_character.2000) and The … of … (event bp3_journey.2200). Its body carries 4 texts of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_court_position_triggers.txt.
What it checks
base_court_position_validity_trigger = { EMPLOYER = $EMPLOYER$ }is_playable_character = nois_female = yes- They are under the age of 46
- They are not your Close Family
- They are Lowborn or of an insignificant Dynasty
- They are not already employed as a Councillor, camp Officer, or in a full time Court Position
- Does not have the Trait: Monk
• 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 (26 lines of game script)
wet_nurse_validity_trigger = {
base_court_position_validity_trigger = { EMPLOYER = $EMPLOYER$ }
is_playable_character = no
is_female = yes
custom_tooltip = {
text = wet_nurse_age_tt
effective_age < 46
}
custom_tooltip = {
text = NONE_IS_NOT_CLOSE_FAMILY_OF_CHARACTER_COURT_POSITION
NOT = { is_close_family_of = $EMPLOYER$ }
}
custom_tooltip = {
text = none_has_no_particular_noble_roots_trigger
has_no_particular_noble_roots_trigger = yes
}
custom_tooltip = {
text = none_does_not_have_a_full_time_job
trigger_if = {
limit = { NOT = { has_court_position = wet_nurse_court_position } }
court_position_does_not_already_have_a_job_trigger = yes # This positions is considered a job, and cannot be held at the same time as another similar position
}
}
# Nuns cannot be wet nurses
NOT = { has_trait = devoted }
}As written in game/common/scripted_triggers/00_court_position_triggers.txt.
Where it is used
Every place in common/, events/ and history/ that calls wet_nurse_validity_trigger.
Court positions (1)
Events (2)
- Genpei War: Soaring Butterfly
tgp_genpei_character.2000 - The … of …
bp3_journey.2200
Source: game/common/scripted_triggers/00_court_position_triggers.txt and every file of common/, events/ and history/ that calls it, Crusader Kings III 1.20.1.2.