Also, I am using objects to represent attacks (because each attack has its own set of stats and stuff, so i thought that would be the best way to do it) and, as it is a pokemon game i am making, each attack has its own pp/mpp stat thing. I'm wondering how i can make this appear in my stats panel?
Attack Stats Code:
//...
statpanel("Attacks")
stat(src.attacks)
//...
obj/attack
var/attacktype
var/power
var/accuracy
var/hittype
var/pp
var/mpp
Tackle
attacktype = "Normal"
power = 35
accuracy = 95
hittype = "Physical"
pp = 10
mpp = 10
How would i make it appear as:
Tackle 10/10
... ...
etc etc/etc
?
To display a stat next to an object, change the objects 'suffix' variable.