Page 1 of 1

Resources?

Posted: Thu May 17, 2012 6:21 am
by Sradac
What file and what is the path that defines resources? Ive looked around in the main modules .team but havent been able to locate it anywhere. Stamina, Mana, Psi, etc those kinds of resources. I wanted to try to play around with creating a new one for some ideas I have.

Re: Resources?

Posted: Thu May 17, 2012 11:09 am
by Calabria
It's a little spread out (because each resource is used in multiple ways), but, eg, there's a lot of code in tome/class/Actor.lua. Try searching for 'positive'.

Re: Resources?

Posted: Thu May 17, 2012 11:36 am
by darkgod
The definition itself is i load.lua