Scripted trigger
is_playable_character
is_playable_character = yesgame/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
or
tgp_is_any_minister = yesor
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)
- Adopt … Traditions
- Adopt Meritocratic Government
- Anoint an Artifact with Holy Myron
- Attend Children's Examination
- Become a Meritocratic Khanate
- Become Greatest of Khans
105 more
- Become Nomadic
- Become the Greatest of All Khans
- Become the Saoshyant
- Begin the Restoration War
- Blend … and … Traditions
- Borrow Gold from Military Order
- Break With the Old Ways
- Call for Confederation
- Champion the Faith of the Country Basques
- Change … Aspirations
- Clear Ground for a Legendary Building
- Consolidate Bene-Israel
- Convert to … through your People
- Convert to Local Culture
- Create Cadet Branch
- Dismantle German Pretenders
- Dismantle Greek Pretenders
- Dismantle the Papacy
- Educate your Clerical Court
- Elevate Confederation
- Elevate the Kingdom of Mann & the Isles
- Embrace English Culture
- Embrace Outremer Culture
- Embrace Responsibilities
- Embrace Tengriism
- Escape from Prison
- Establish … Stronghold
- Establish Iconoclast Patriarchate
- Establish the Darussalam
- Establish the Yamagate in Samarkand
- Evangelize Personal Tenet
- Exoticize a Grand Hall
- Forge the Jomsvikings
- Form the Cossack Kingdom
- Form the Outremer Empire
- Form the Sultanate of Rum
- Forsake Nomadism
- Found a Ryukyuan Empire
- Found Kingdom of Bosnia
- Found Military Order
- Found Monastic Order
- Found the Capital of the Rus'
- Found the Empire of Brunei
- Found the Empire of Hindustan
- Found the Kingdom of Albania
- Found the Kingdom of Aragon
- Found the Majapahit Empire
- Found the Siam Kingdom
- Found the Viet Empire
- Governorship Confirmation
- Have the Realm Embrace Local Traditions
- Hold Mystical Communion
- Home of the Rivers
- Kindle Royal Fire
- Master the Art of Command
- Mend the Great Schism Through Conquest
- Mend the Great Schism Through Diplomacy
- Move into Conquered Lands
- Move the … Court
- Order Mass Eviction
- Patronize Monastic Movement
- Persecute Tenet
- Petition the …
- Petition the Ceremonial Monarch
- Proclaim Terra Mariana
- Promote … Traditions
- Promote Christian Settlements
- Rebuke Roman Revanchism for Sicily
- Reclaim Constantinople
- Reclaim Rome
- Recruit for a Court Position
- Reform the …
- Reform the Great Khaganate
- Reject Inheritance
- Restore Carolingian Borders
- Restore Carthage
- Restore Ecumenical Patriarchate
- Restore Israel
- Restore Pope in Rome
- Restore the …
- Restore the … High Priesthood
- Restore the Holy Roman Empire
- Restore the Kingdom of Cornwall
- Restore the Papacy
- Restore the Roman Empire
- Restore the Roman Empire
- Restore the Roman Empire
- Restore the Sunni Caliphate
- Retire from Heading the … House
- Return to the Steppe
- Revive Greater Armenia
- Revoke Order Lease
- Secure the High Kingdom of the North Sea
- Secure the Mediterranean
- Settle the Steppe
- Spread … to your People
- Study the …
- Study the Confucian Classics
- Unify Italy
- Unify the Burgundies
- Unite the Miaphysite Churches
- Visit a Silk Road Market
- Withdraw from Governorship
- Withdraw Funds from Treasury
- Write Muwashshah Poem
Character interactions (9)
- … Imprison
- ai_make_concubine_interaction
- Ask for Clerical Influence
- Ask for Gold
- Befriend (Scheme)
- Beseech Claim
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.