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

Scripted trigger

is_playable_character

is_playable_character = yes

game/common/scripted_triggers/00_available_for_events_triggers.txt, line 964 (21 lines). No parameters.

is_playable_character is a scripted trigger in Crusader Kings III, written at line 964 of its file. It takes no parameters: is_playable_character = yes (or no). The game's script calls it in 564 places, among them Adopt … Traditions (decision), Adopt Meritocratic Government (decision) and Anoint an Artifact with Holy Myron (decision). Its body carries 1 text of the game's own for the player. Patch 1.20.1.2, from game/common/scripted_triggers/00_available_for_events_triggers.txt.

The comment above it in the file

Checks if a character is either landed, a landless house head within an admin realm, a landless nomad, a landless adventurer, a landless soryo, or a minister

What it checks

  • Is a ruler
  • One of these

    • Cannot play landless rulers without having an Estate
    • or

      If

      • One of these

        • Is landed
        • or

          Government is a Theocratic-type Government

      Then

    • or

      tgp_is_any_minister = yes
    • or

      Has “laamp transition” (a variable the game's script sets)

• 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 (21 lines of game script)
is_playable_character = {
	is_ruler = yes
	OR = {
		custom_tooltip = {
			text = GAME_OVER_CANNOT_PLAY_ESTATELESS
			has_domicile = yes
		}
		# exclude barons
		trigger_if = {
		 	limit = {
		 		OR = {
		 			is_landed = yes
		 			government_has_flag = government_is_theocracy
		 		}
		 	}
			highest_held_title_tier > tier_barony
		}
		tgp_is_any_minister = yes # To keep ministers playable, regardless of having a noble family title or not
		has_variable = laamp_transition
	}
}

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

Where it is used

Every place in common/, events/ and history/ that calls is_playable_character — the first 120 of 564.

Decisions (111)

105 more

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