Difference between revisions of "Flags"

From Flexible Survival
Jump to: navigation, search
m (Preformat, update Available Flags list.)
m
Line 4: Line 4:
 
   
 
   
 
Example of flag usage in an if-block with string parsing:
 
Example of flag usage in an if-block with string parsing:
     [if tailed is present in [player]]You have a tail![else]You do not have a tail![end if]
+
     [if tailed present in [player]]You have a tail![else]You do not have a tail![end if]
 
   
 
   
 
These flags can be used in descriptions in conjunction with string parsing for your enjoyment.
 
These flags can be used in descriptions in conjunction with string parsing for your enjoyment.
     [if tails is present in [player]]Genesis's tails sway back and forth[else]Genesis's tail rests idly, draping below their rump.[end if]
+
     [if tails present in [player]]Genesis's tails sway back and forth.[else]Genesis's tail rests idly, draping below their rump.[end if]
 
   
 
   
 
Flag commands:
 
Flag commands:
Line 33: Line 33:
 
*Snout
 
*Snout
 
*Tailed
 
*Tailed
*Tails - more than one tail
+
*Tails - More than one tail
 
*Taur - Tauric body (i.e. - Centaur)
 
*Taur - Tauric body (i.e. - Centaur)
 
*Udder
 
*Udder
Line 40: Line 40:
 
== Parsing ==
 
== Parsing ==
  
[if ''flag'' is present in [''person'']]
+
[if ''flag'' present in [''target'']]
  
Example: [if Serpentine is present in [player]]
+
Example: [if Serpentine present in [player]]
  
 
[[Category:Code]][[Category:Help Files]]
 
[[Category:Code]][[Category:Help Files]]

Revision as of 20:49, 30 November 2013

Help File

Flags are generally used for string parsing.
 
Example of flag usage in an if-block with string parsing:
    [if tailed present in [player]]You have a tail![else]You do not have a tail![end if]
 
These flags can be used in descriptions in conjunction with string parsing for your enjoyment.
    [if tails present in [player]]Genesis's tails sway back and forth.[else]Genesis's tail rests idly, draping below their rump.[end if]
 
Flag commands:
    Flag <name of person/infection> - Lists flags of a person/infection.
    List flags - A list of the various flags.    

Available Flags

  • Barbed - Penis is barbed, usually feline
  • Beaked
  • Candy
  • Clawed
  • Feathered
  • Feral
  • Furred
  • Furry
  • Inorganic
  • Knotted - Penis has a coupling knot, usually canine
  • Latex
  • Legless
  • Multiarms
  • Multiheads
  • Pouch
  • Scaled
  • Serpentine - Snake body
  • Snout
  • Tailed
  • Tails - More than one tail
  • Taur - Tauric body (i.e. - Centaur)
  • Udder
  • Winged - Creature has wings, usually on torso

Parsing

[if flag present in [target]]

Example: [if Serpentine present in [player]]