Difference between revisions of "Community Custom Stats"

From Flexible Survival
Jump to: navigation, search
(Colors)
(This feature is deprecated (and has been for longer than anyone remembers))
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A list of custom stats for use in description. Stats should be placed somewhere under "custom/" whenever possible. If you're depending on something to be there, make sure to check for an existing value, and set if needed
+
A list of custom stats for use in description. Stats should be placed somewhere under "public/" whenever possible. If you're depending on something to be there, make sure to check for an existing value, and set if needed. Previously, it was recommended that stats be put into a "custom/" directory, but recent security changes have locked access to all directories other than "public/."
 
 
A list of custom stats for use in description. Stats should be placed somewhere under "custom/" whenever possible. If you're depending on something to be there, make sure to check for an existing value, and set if needed.
 
  
 
== Colors ==
 
== Colors ==
Line 7: Line 5:
 
<b> Eyecolor </b>
 
<b> Eyecolor </b>
 
<br>The player's eyecolor.
 
<br>The player's eyecolor.
#Stored in: custom/eyecolor
+
#Stored in: public/eyecolor
 
#Expected Value: short string (bright blue, deep brown, hazel, etc)
 
#Expected Value: short string (bright blue, deep brown, hazel, etc)
#Use: Shi has a [eyecolor] shirt matching her [eyecolor] eyes.
+
#Use: They have a [eyecolor] shirt matching their [eyecolor] eyes.
  
 
<b> Haircolor </b>
 
<b> Haircolor </b>
 
<br>The player's haircolor.
 
<br>The player's haircolor.
#Stored in: custom/haircolor
+
#Stored in: public/haircolor
 
#Expected Value: short string (dirty blond, brown, pink, etc)
 
#Expected Value: short string (dirty blond, brown, pink, etc)
 
#Use: Hir eyes are hidden by [haircolor] bangs.
 
#Use: Hir eyes are hidden by [haircolor] bangs.
Line 19: Line 17:
 
<b> Favorite color </b>
 
<b> Favorite color </b>
 
<br>The player's favorite color.
 
<br>The player's favorite color.
#Stored in: custom/favcolor
+
#Stored in: public/favcolor
 
#Expected Value: short string (blue, pink, hazel, etc)
 
#Expected Value: short string (blue, pink, hazel, etc)
 
#Use: Shi's wearing a three-piece suit with a [favcolor] tie.
 
#Use: Shi's wearing a three-piece suit with a [favcolor] tie.
Line 27: Line 25:
 
<b> Mood </b>
 
<b> Mood </b>
 
<br> Current mood of the player.
 
<br> Current mood of the player.
#Stored in: custom/mood
+
#Stored in: public/mood
 
#Expected Value: short string (happy, grumpy, horny, etc)
 
#Expected Value: short string (happy, grumpy, horny, etc)
 
#Use: Shi has a [mood] look on hir face.
 
#Use: Shi has a [mood] look on hir face.
  
[[Category::Guides]]
+
[[Category:Deprecated Features]]
 +
[[Category:Articles to delete]]

Latest revision as of 19:02, 29 October 2018

A list of custom stats for use in description. Stats should be placed somewhere under "public/" whenever possible. If you're depending on something to be there, make sure to check for an existing value, and set if needed. Previously, it was recommended that stats be put into a "custom/" directory, but recent security changes have locked access to all directories other than "public/."

Colors

Eyecolor
The player's eyecolor.

  1. Stored in: public/eyecolor
  2. Expected Value: short string (bright blue, deep brown, hazel, etc)
  3. Use: They have a [eyecolor] shirt matching their [eyecolor] eyes.

Haircolor
The player's haircolor.

  1. Stored in: public/haircolor
  2. Expected Value: short string (dirty blond, brown, pink, etc)
  3. Use: Hir eyes are hidden by [haircolor] bangs.

Favorite color
The player's favorite color.

  1. Stored in: public/favcolor
  2. Expected Value: short string (blue, pink, hazel, etc)
  3. Use: Shi's wearing a three-piece suit with a [favcolor] tie.

Other

Mood
Current mood of the player.

  1. Stored in: public/mood
  2. Expected Value: short string (happy, grumpy, horny, etc)
  3. Use: Shi has a [mood] look on hir face.