Difference between revisions of "Text Variables"

From SkyCorp Global
(Boolean evaluation)
Line 123: Line 123:
 
|-
 
|-
 
|<nowiki>[[IS xxx yyy]]</nowiki>
 
|<nowiki>[[IS xxx yyy]]</nowiki>
|True if the player's [[body part]] xxx is [[Animal Type]] yyy.
+
|True if the player's [[body part]] xxx is [[TF Type]] yyy.
 
|-
 
|-
 
|<nowiki>[[VAGINA]]</nowiki>
 
|<nowiki>[[VAGINA]]</nowiki>

Revision as of 03:15, 11 May 2016

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.
[[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)
[[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]]


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.
[[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

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.