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

Scripted trigger

suitable_same_realm_child

suitable_same_realm_child = yes

game/common/scripted_triggers/00_childhood_triggers.txt, line 199 (77 lines). No parameters.

suitable_same_realm_child is a scripted trigger in Crusader Kings III, written at line 199 of its file. It takes no parameters: suitable_same_realm_child = yes (or no). The game's script calls it in 7 places, among them Armory Break-in (event child_personality.7100), Blood and Spit (event child_personality.7070) and Mysteries of the … (event child_personality.7060). Patch 1.20.1.2, from game/common/scripted_triggers/00_childhood_triggers.txt.

What it checks

  • If

    • One of these

      • Their father: Is played by a person
      • or

        Their mother: Is played by a person
      • or

        Their host: Is played by a person

    Then

    • Their location’s county’s holder:
      • One of these

        • All of these

        • or

          Any courtier or guest:
        • or

          Any warden hostage:
        • or

          Any vassal:
        • or

          Any vassal › Any courtier or guest:

    Otherwise

    • Their location’s county’s holder:
      • One of these

        • All of these

        • or

          Any courtier:
        • or

          Any warden hostage:

• 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 (77 lines of game script)
suitable_same_realm_child = {
	trigger_if = {
		limit = {
			OR = {
				father ?= {
					is_ai = no
				}
				mother ?= {
					is_ai = no
				}
				host ?= {
					is_ai = no
				}
			}
		}
		location.county.holder ?= { # Scoping like this allows children in the pool to also get this event
			OR = {
				AND = {
					is_ai = yes
					is_available_child = yes
					this != root
					age >= 6
				}
				any_courtier_or_guest = {
					is_ai = yes
					is_available_child = yes
					this != root
					age >= 6
				}
				any_warden_hostage = {
					is_ai = yes
					is_available_child = yes
					this != root
					age >= 6
				}
				any_vassal = {
					is_ai = yes
					is_available_child = yes
					this != root
					age >= 6
				}
				any_vassal = {
					any_courtier_or_guest = {
						is_ai = yes
						is_available_child = yes
						this != root
						age >= 6
					}
				}
			}
		}
	}
	trigger_else = {
		location.county.holder ?= { # Scoping like this allows children in the pool to also get this event
			OR = {
				AND = {
					is_ai = yes
					is_available_child = yes
					this != root
					age >= 6
				}
				any_courtier = {
					is_ai = yes
					is_available_child = yes
					this != root
					age >= 6
				}
				any_warden_hostage = {
					is_ai = yes
					is_available_child = yes
					this != root
					age >= 6
				}
			}
		}
	}
}

As written in game/common/scripted_triggers/00_childhood_triggers.txt.

Where it is used

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

Events (7)

1 more

Source: game/common/scripted_triggers/00_childhood_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?