What you can write on a label
What this page is for
Section titled “What this page is for”A token is a word in curly braces. Bound Text in mode Text, the Header and Content of a Bound Tooltip, dialogues and scheme texts all use one token language. It is read in this machine’s language and is empty where the player may not know the value. This page lists the roots, the members of each kind of subject, and the conditions for Bound State. The general rules are on Texts, tokens and pacing.
The roots
Section titled “The roots”| Token | Is |
|---|---|
{this} |
The subject of the Subject Source above, of any kind. Alone it prints its shown name. {this.Name}, {this.Holder.FullName}. |
{player} |
This machine’s player: {player.Name}, {player.Gold}. |
{world} |
The world: Day, Year, DayOfYear, Month, DayOfMonth, Date, MonthName, Weekday, Season, and the World variables. |
{target} |
For a character subject, that character. A running scheme row also has {conspirator} and {scheme...}. An offered scheme has its conspirator and target. |
More forms work on top of them:
- A link through objects:
{target.Clan.Head.Age}. - A modifier:
{target.Name|upper}. - A condition:
{if target.Age >= 18}adult{else}child{end}. - A plural:
{plural target.SpouseCount}{one}wife{other}wives{end}.
A token that names nothing is printed as written, so you can spot it. A value that is not there is empty. A character’s, clan’s and family’s variables, such as Gold, work by name on top of the members: {this.Gold}. A variable of the same name as a built-in member wins for the added members (Relation, OpinionOfMe, HeirRelation, IsMe on a character; Description, LivingCount, AttitudeToMe on a clan; Description, MemberCount, LivingCount on a family).
The members of each kind
Section titled “The members of each kind”The Inspector’s “{this…}” button on a Bound Text offers the same tables. Names are not case sensitive.
| Subject | Members |
|---|---|
| Character, values | Name, FullName, Age, AgeGroup, Gender, Culture, Role, Title, PersonalRole, PersonalTitle, Spouses, SpouseCount, Traits, Birthday, Ambition, Patronym |
| Character, other characters and groups | Spouse, Father, Mother, EldestChild, Heir, PersonalHeir, AmbitionTarget, Clan, Family, BirthFamily |
| Character, yes or no | Alive, Dead, Male, Female, Player, AI, Married, Widowed |
| Character, for the viewer | Relation (“Your Father”; empty when not related), OpinionOfMe, IsMe (the viewer plays this character), HeirRelation (what the heir is to this character, such as “Son” or “Chosen heir”; empty with no heir) |
| Clan | Name, Head, Voice, Leader, Founder, Ambition, AmbitionClan, AmbitionTarget, Overlord, TopOverlord, Subjects, Motto, Founded, MemberCount, LivingCount, Story, Relations, Chronicle, LastChronicle, Culture, Description, AttitudeToMe, Disbanded, StandsAlone |
| Family | Name, Head, HouseHead, BranchOf, House, Branches, Culture, Description, MemberCount, LivingCount |
| Running scheme | Name, Description, Objective (empty when it does not run), Conspirator, Target, Accomplices, IsRunning, IsPaused, SuccessChance and DiscoveryRisk (percent; empty while not known), Progress (percent; empty while the run states none), NextObjective, Log, LastLog, Report |
| Offered scheme | CanStart (every requirement met), Known, Hidden (a requirement hides it), Reasons (why it cannot start, one line each), Warnings, Scheme; then every member of a running scheme |
| Policy | Name, Description |
| Role | Name, Description, Title (the male form), Rank, IsCourt |
| Culture | Name, Description, Group |
| Trait | Name, Description |
| Value (variable) | Name, Value (empty when the reader may not know it), Known |
| Court seat | Role, Holder (the first living holder; empty when vacant), Holders, Seats, Vacant (yes when nobody living holds it), Clan |
| Notice | Text (the ready sentence), Actor, Other, Clan, Scheme, Day (as a date) |
| Flag | Title, ShortText, Importance (0 low, 1 medium, 2 high), NeedsAnswer, DaysLeft (-1 for never), Count, Day, Speaker, Scheme |
A list of characters (Spouses, Accomplices, Holders) prints its names. .Count, .First and .Last work on it.
Progress, NextObjective, Log, LastLog and Report on a scheme, and Importance, Day, Speaker and Scheme on a flag, are in the code but not in the guide’s tables.
A token or a part
Section titled “A token or a part”Bound Text in mode Part shows one named piece of the subject with no token. A text with {this...} does the same and more. Some parts have no token member, for example Category, Chance Tier, Relation Term, the Slot parts and Flag Age. UI components lists every part.
Conditions for Bound State
Section titled “Conditions for Bound State”Write a condition without braces:
this.Age >= 18player.Gold > 100not this.Alivethis.CanStartthis.Vacantthis.Clan.MemberCount > 3target has trait Greedy
Combine them with and, or, not and brackets. A value alone is true when it is set.
Two rules protect the player:
- A condition that cannot be read counts as true. A typo never locks the player out. It is reported once in the Console as a warning that the condition cannot be read and counts as met.
- A comparison with a value that does not exist is false.
An empty condition is true. The guide adds that the Inspector’s own examples put braces around a token ({target.Age} >= 18) and that this parses too.
Mistakes and messages
Section titled “Mistakes and messages”- A member that does not exist for the kind of the subject. The token is printed as written, and the “{this…}” button warns about it.
- A condition that is always on. A typo makes it count as true. Look for the warning in the Console.
- Opinion labels on your own panel.
{this.OpinionOfMe}means something on a character who is not you. Hide it with a Bound State, Check = Is My Player, Invert on.
How it connects
Section titled “How it connects”- Texts, tokens and pacing is the full token language.
- UI components has Bound Text and Bound State.
- UI recipes uses these tokens in small screens.
- IntrigueUI from code binds the same texts from code with
BindandBindFlag.