I just started working on my story, but am having trouble with setting a name. Although my startup code seems to be ok, when the user chooses a name, it doesn’t show up in the Stats. My startup code looks like this:
Your name is ${name}, is that right?
*choice
#Yes.
*set name "$!{name}"
My stats code is as follows:
*temp name
*set name “unknown”
*stat_chart
text Name
text Strength
text Charisma
opposed_pair Intelligence
Practical
percent Sanity
So the stats screen code currently makes a second variable called name as a *temp, which you don’t need, and sets it to “unknown”. But you already have *create name and *set name on your startup page. So your stats page just needs to look like this, I think:
Also, there is no real stat called ‘Practical’, since it’s the second half of an opposed pair. Practical is actually just the inverse of intelligence; it doesn’t exist on its own. To raise Practical, you lower Intelligence. So you’ll want to delete *create practical 50 from your startup page.
Also, be sure the indentation is correct on the *stat_chart. I hope that helps!