I was wondering if you could help me with a problem in my Choicescript. I have looked at all the pages on setting my Stats but there seems to be a problem when I try to make them work. Here is what I did but it seems to tell me Strength undefined.
In mygames.js :
// Specify the default starting stats here
stats = {
Strength: 20
,Stamina: 20
,Speed: 20
,Intelligence: 20
,Charisma: 20
,Endurnce: ((Strength + Stamina)/2)
,Reaction: ((Stamina + Speed)/2)
,Learning: ((Speed + Intelligence)/2)
,Presence: ((Intelligence + Charisma)/2)
,Angel: 0
,John: 0
,Lisa: 0
,Max: 0
,Mike: 0
};
// Specify the stats to use in debug mode
debugStats = {
Strength: 20
,Stamina: 20
,Speed: 20
,Intelligence: 20
,Charisma: 20
,Endurnce: ((Strength + Stamina)/2)
,Reaction: ((Stamina + Speed)/2)
,Learning: ((Speed + Intelligence)/2)
,Presence: ((Intelligence + Charisma)/2)
,Angel: 0
,John: 0
,Lisa: 0
,Max: 0
,Mike: 0
};
// or just use defaults
// debugStats = stats
In my startup.txt
*stat_chart
text Name
text Gender
text Strength
text Stamina
text Speed
text Intelligence
text Charisma
percent Angel
percent John
percent Lisa
percent Max
percent Mike
Your help will be appreciated.