I started doind the stats, and I only have this for now… almost have…
When I try to run the game to see if it’s working, it says that there is a “syntax error” (line 36), someone can point the error for me, because I can’t see it?!?
thanks
===========================================================================
choicescript.txt
*stat_chart
text Name
percent Health
percent Strength
percent Agility
percent Intelligence
percent Luck
opposed_pair Close Combat
Range Combat
opposed_pair Virtuous
Fearsome
text Powers/Skills
text Gadgets
text Drawbacks
text Profession
===========================================================================
mygame.js
// Specify the default starting stats here
stats = {
name:
,health: 100 (the error should be here)
,strength: 50
,agility: 50
,intelligence: 50
,luck: 50
,close_combat: 50
,virtuous: 50
,powers:
,gadgets:
,drawbacks:
,profession:
};
// Specify the stats to use in debug mode
debugStats = {
name:
,health: 100
,strength: 50
,agility: 50
,intelligence: 50
,luck: 50
,close_combat: 50
,virtuous: 50
,powers:
,gadgets:
,drawbacks:
,profession:
};
// or just use defaults
// debugStats = stats