Hello, I am trying to configure my stats screen. It is working fine for words and displaying simple numbers and percentages. However I am having trouble with some “Weird Values” as the instructional page on the site calls them. There are five weird variables. The expected preset words do not appear for the heart, style and wounds variables but they DO for the rebellion and vengeance variables. This must mean I have done something wrong for only the 3 wrong weird values.
This is my choicescript_stats.txt file:
*if rebellion_text = 0
*set rebellion_text “Icon of the Rebellion”
*goto chart
*elseif rebellion_text = 1
*set rebellion_text “Quellar of the Rebellion”
*goto chart
*elseif rebellion_text = 2
*set rebellion_text “Unable to Take a Side”
*goto chart
*else
*set rebellion_text “Uninvolved”
*if vengeance_text = 0
*set vengeance_text “Unavenged”
*goto chart
*else
*set vengeance_text “Avenged”
*if heart_text = 0
*set heart_text “”
*goto chart
*elseif heart_text = 1
*set heart_text “In Love”
*goto chart
*else
*set heart_text “Heartbroken”
*if style_text = 0
*set style_text “Wizard Staff”
*goto chart
*elseif style_text = 1
*set style_text “Bow and Arrow”
*goto chart
*elseif style_text = 2
*set style_text “Two Handed Blade”
*goto chart
*elseif style_text = 3
*set style_text “Sword and Shield”
*goto chart
*elseif style_text = 4
*set style_text “Dual Blades”
*goto chart
*elseif style_text = 5
*set style_text “Net and Trident”
*goto chart
*elseif style_text = 6
*set style_text “Spear”
*goto chart
*else
*set style_text “Hand to Hand”
*if wounds_text = 0
*set wounds_text “Uninjured”
*goto chart
*elseif wounds_text = 1
*set wounds_text “Scarred”
*goto chart
*elseif wounds_text = 2
*set wounds_text “Injured”
*goto chart
*elseif wounds_text = 3
*set wounds_text “Seriously Injured”
*goto chart
*else
*set wounds_text “Dying”
*label chart
*stat_chart
text Name
text Gender
text Age
percent Leadership
percent Intelligence
percent Attractiveness
percent Strength
percent Dexterity
percent Magic
percent Cunning
percent Constitution
percent Luck
percent Likability
percent Spontaneity
percent Valour
opposed_pair Pride
Humility
opposed_pair Disdain
Empathy
text wounds_text Wounds
text Rank
text style_text Fighting Style
text ally_name Ally Name
percent ally_loyalty Ally loyalty
text heart_text Heart
text rebellion_text Rebellion
text vengeance_text Vengeance
The incorrect weird values display as:
Fighting Style 7
Heart 0
Wounds 0
This is how I specified them in the mygame.js file.
Please note that NO error messages appear, it is just displayed incorrectly.
Can you spot something wrong because I can’t?
EDIT: Once again there are spaces on some lines which don’t seem to appear here, like text name that should be viewed as " text name".