I have never coded in my life but I’m slowly getting the hang of it
I’m using ChoiceScript IDE as many suggested and it’s made things so much easier but I still can’t seem to get the stats to change. I’ve tried,
First thing’s first: is “Tactless” and “Prudent” capitalized that way in your startup.txt and stats screen? Capitalizing stats/variables can get messy sometimes…
Second thing second, do you have a *create prudent 0 and *create tactless 0 in your startup file? (replacing 0 with whatever number you want to start those stats with.)
Also, do you intend tactless and prudent to be two different stats, or a single, bipolar stat? In other words, do you want, when losing tactless, to gain prudent?
So as you have it, there is no such thing as “Tactless.” That’s just a thing to help you think about it.
You should raise Prudent and lower Prudent. Don’t touch Tactless. It doesn’t exist. That’s how bipolar stats work. The stat immediately after “opposed_pair” is the real stat.
I would *create mainweapon "" in the startup, then when you choose it:
Which weapon will you pick?
*choice
#The sword.
*set mainweapon "sword"
Then to check it later:
You pull out your weapon.
*if mainweapon = "sword"
You slash the enemies with your sword.
*if mainweapon = "shield"
You use your shield to defend yourself.
I hope that makes sense!
(You can also do it so that there are true/false variables in the startup: *create mainweapon_sword false and *create mainweapon_shield false–then when the MC picks the weapon, set whichever one it is to true!)