Text Variables: Difference between revisions

From SkyCorp Global
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


For example "I hear your name is <nowiki>[[NAME]]</nowiki>", will be translated to "I hear your name is Mark" (assuming the player's name is Mark)
For example "I hear your name is <nowiki>[[NAME]]</nowiki>", 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.
{| class="wikitable"
{| class="wikitable"
!Variable
!Variable
Line 103: Line 109:
|
|
|}
|}
== Boolean evaluation ==
These variables evaluate to either 'true' or 'false'.
{| class="wikitable"
!Variable
!Description
|-
|<nowiki>[[WEARING xxx]]</nowiki>
|True if the player is wearing an item of clothing in the relevant [[clothing slot]].
|-
|<nowiki>[[IS xxx yyy]]</nowiki>
|True if the player's [[body part]] xxx is [[animal type]] yyy.
|-
|<nowiki>[[VAGINA]]</nowiki>
|True if player has a vagina
|-
|<nowiki>[[PENIS]]</nowiki>
|True if player has a penis
|-
|<nowiki>[[BREASTS]]</nowiki>
|True if player has at least A breasts
|-
|<nowiki>[[SLUGGIRLLEGS]]</nowiki>
|True if player has slug girl legs
|-
|<nowiki>[[HAS ARMS]]</nowiki>
|True if player has arms (not slug girl)
|-
|<nowiki>[[HAS TAIL]]</nowiki>
|True if player has a tail
|-
|<nowiki>[[USELESS HANDS]]</nowiki>
|True if player has hands, but they are useless (ie, cow hooves)
|-
|<nowiki>[[HIGH ACCEPTANCE]]</nowiki>
|True if player has acceptance >= 70
|-
|<nowiki>[[MEDIUM ACCEPTANCE]]</nowiki>
|True if player has acceptance >= 40
|-
|<nowiki>[[EXPOSED]]</nowiki>
|True if player has exposure >= 100
|-
|<nowiki>[[LACTATING]]</nowiki>
|True if player is lactating
|-
|<nowiki>[[HAS UDDER]]</nowiki>
|True if player has any udder
|-
|<nowiki>[[CAT]]</nowiki>
|True if player is (fully) catgirl
|-
|<nowiki>[[HEAT]]</nowiki>
|True if player is currently in heat
|-
|<nowiki>[[MULTIBREAST]]</nowiki>
|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:
<code><nowiki>[[IF [[HAS ARMS]]]]"Check out these arms," you say.[[ENDIF]]</nowiki></code> will only display if the player has arms.
You can also use Else to do something else if the condition evaluates to false:
<code><nowiki>[[IF [[HAS ARMS]]]]"Check out these arms,"[[ELSE]]"I wish I had arms,"[[ENDIF]] you say.</nowiki></code>
Finally, you can also use Else If:
<code><nowiki>You are feeling [[IF [[HIGH ACCEPTANCE]]]]excited[[ELSE IF [[MEDIUM ACCEPTANCE]]]]cautious[[ELSE]]mortified[[ENDIF]] by your new form.</nowiki></code>

Revision as of 04:02, 9 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 animal 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.