Text Variables
This page lists variables that will be substituted in provided text.
For example "I hear your name is [[NAME]]", will be translated to "I hear your name is Mark" (assuming the player's name is Mark)
Text substitution variables
These variables evaluate to text strings.
Variable | Description | Sample Output |
---|---|---|
[[DICK DESCRIPTION]] | ||
[[VAGINA DESCRIPTION]] | ||
[[BELLY DESCRIPTION]] | ||
[[NAME]] | ||
[[SHIRT DESCRIPTION]] | Shirt description (or any clothing in torso slot) | |
[[SHIRT DESCRIPTION RAW]] | Shirt description (or any clothing in torso slot) -- ONLY describe shirt | |
[[PANTS DESCRIPTION]] | Pants description (or any clothing in legs slot) | |
[[LEGS DESCRIPTION]] | Specifically does not mention clothing. OK for use with sluggirls | |
[[HANDS DESCRIPTION]] | Specifically does not mention clothing. | |
[[FEET DESCRIPTION]] | Specifically does not mention clothing. | |
[[EARS DESCRIPTION]] | Specifically does not mention clothing. | |
[[ARMS DESCRIPTION]] | Specifically does not mention clothing. | |
[[TAIL DESCRIPTION]] | Specifically does not mention clothing. | |
[[WINGS DESCRIPTION]] | Specifically does not mention clothing. | |
[[UDDER DESCRIPTION]] | Specifically does not mention clothing. | |
[[NOSE DESCRIPTION]] | Specifically does not mention clothing. | |
[[MOUTH DESCRIPTION]] | Specifically does not mention clothing. | |
[[TEETH DESCRIPTION]] | Specifically does not mention clothing. | |
[[EYES DESCRIPTION]] | Specifically does not mention clothing. Introduced in r30. | |
[[NIPPLES DESCRIPTION]] | Breast nipples description. Will be considered teats if the player is wielding an udder | |
[[BUTT DESCRIPTION]] | Butt description (or any clothing in torso slot) | |
[[NAKED BUTT DESCRIPTION]] | Butt description, not including clothing. Introduced in r31. | |
[[EXPOSED BODY PART DESCRIPTION]] | An obviously TF'ed body part. Note, this will change ALL text to look at that one specific body part. So use the variants if you want randomness | |
[[EXPOSED BODY PART 2 DESCRIPTION]] | An obviously TF'ed body part. Note, this will change ALL text to look at that one specific body part. So use the variants if you want randomness | |
[[EXPOSED BODY PART 3 DESCRIPTION]] | An obviously TF'ed body part. Note, this will change ALL text to look at that one specific body part. So use the variants if you want randomness | |
[[BREAST DESCRIPTION]] | ||
[[MOVE]] | The type of player movement based on the map room -- currently limited to either 'walk' or 'swim' but will eventually include species specific movement types. Introduced in r31. | |
[[SPECIES]] | The name of the species that the player is mostly, with heavier weighting toward transformation severity / unhideable TFs. Introduced in r31. | |
[[TEASE BODY PART]] | The most obvious thing the player can be teased about regarding their new body. Ie, an udder for a cow, etc. Introduced in r31. | |
[[TEASE BODY PART 2]] | Tease system - the second most obvious thing the player can be teased about regarding their new body. Ie, large milky breasts for a cow, etc. Introduced in r31. | |
[[TEASE BODY PART 3]] | Tease system - the second most obvious thing the player can be teased about regarding their new body. Ie, cow tail & large butt milky breasts for a cow, etc. Introduced in r31. | |
[[TEASE NAME]] | Tease system - a pet name for the player based on their species. Introduced in r31. | |
[[TEASE NAME 2]] | Tease system - a pet name for the player based on their species. Introduced in r31. | |
[[TEASE NAME 3]] | Tease system - a pet name for the player based on their species. Introduced in r31. | |
[[SHORT TEASE]] | Tease system - a short pet name for the player based on their species. Introduced in r31. | |
[[PLAYER HIM]] | Pronouns based on what the player looks like (not necessarily what the player considers themselves). Introduced in r32. | |
[[PLAYER HE]] | Pronouns based on what the player looks like (not necessarily what the player considers themselves). Introduced in r32. | |
[[PLAYER HIS]] | Pronouns based on what the player looks like (not necessarily what the player considers themselves). Introduced in r32. | |
[[ALT VOCAL]] | Alternate vocal -- if player can't use words, what can they use? Should if check has an alt voice first before using this. | |
[[HAIR DESCRIPTION]] | Player's hair / top of head description. This isn't implemented by most TF's currently, so it's advised you avoid using this for now. Introduced in r37. | |
[[NAKED BODY PART DESCRIPTION]] | Gets description of a naked part of the player (ie breasts/dick/vagina if exposed). Introduced in r38. | |
[[PARAMETER]] | An arbitrary parameter passed by code that is relevant to the text. Introduced in r38. |
Boolean evaluation
These variables evaluate to either 'true' or 'false'.
Variable | Description |
---|---|
[[WEARING xxx]] | True if the player is wearing an item of clothing in the relevant clothing slot. |
[[IS xxx yyy]] | True if the player's body part xxx is TF Type yyy. |
[[SPECIES xxx]] | True if the player's overall species (see SPECIES variable in the text substitution section for details) is mostly species xxx. It's generally better to use the IS syntax above since players could be having body parts of multiple types. Introduced in r37. |
[[VAGINA]] | True if player has a vagina |
[[PENIS]] | True if player has a penis |
[[BREASTS]] | True if player has at least A breasts |
[[SLUGGIRLLEGS]] | True if player has slug girl legs |
[[HAS ARMS]] | True if player has arms (not slug girl) |
[[HAS TAIL]] | True if player has a tail |
[[USELESS HANDS]] | True if player has hands, but they are useless (ie, cow hooves) |
[[HIGH ACCEPTANCE]] | True if player has acceptance >= 70 |
[[MEDIUM ACCEPTANCE]] | True if player has acceptance >= 40 |
[[EXPOSED]] | True if player has exposure >= 100 |
[[LACTATING]] | True if player is lactating |
[[HAS UDDER]] | True if player has any udder |
[[CAT]] | True if player is (fully) catgirl |
[[HEAT]] | True if player is currently in heat |
[[MULTIBREAST]] | True if player has more than one row of breasts |
[[LOW WEIGHT]] | True if player has low overweight score |
[[HUMAN VOICE]] | False if player has a voice so distorted they cannot communicate in English |
[[ALT VOICE]] | True if player has a voice so distorted they cannot communicate in english |
[[BOUND]] | True if player's wrists are bound |
[[MUSK]] | True if player is currently emitting musk (currently only used for wyverness TF) |
[[NAKED]] | True if player has exposed breasts or genitals (r38) |
Conditional Text
You can use an if statement to show text based on a condition. For example:
[[IF [[HAS ARMS]]]]"Check out these arms," you say.[[ENDIF]]
will only display if the player has arms.
You can also use Else to do something else if the condition evaluates to false:
[[IF [[HAS ARMS]]]]"Check out these arms,"[[ELSE]]"I wish I had arms,"[[ENDIF]] you say.
Finally, you can also use Else If:
You are feeling [[IF [[HIGH ACCEPTANCE]]]]excited[[ELSE IF [[MEDIUM ACCEPTANCE]]]]cautious[[ELSE]]mortified[[ENDIF]] by your new form.