New Resource Tutorial
Posted: Mon Mar 25, 2013 12:26 am
This addon comprises the files necessary to create your own custom resource. Check init.lua for instructions. Feedback welcome! (i.e. do you understand everything, do I need to explain things more, etc.)
http://te4.org/games/addons/tome/resource-tutorial
It may be difficult to understand all the code and all the possibilities, but it will definitely work for you to easily add a simple resource. I use the exact same code for my own custom resource for my new class, the Glutton (http://te4.org/games/addons/tome/glutton)!
1.0.1: cleaned up the code, and the tooltip now works!
1.0.2: added a customIncMyResource that manages modifications to talent cost, which simplified much of the code.
http://te4.org/games/addons/tome/resource-tutorial
It may be difficult to understand all the code and all the possibilities, but it will definitely work for you to easily add a simple resource. I use the exact same code for my own custom resource for my new class, the Glutton (http://te4.org/games/addons/tome/glutton)!
1.0.1: cleaned up the code, and the tooltip now works!
1.0.2: added a customIncMyResource that manages modifications to talent cost, which simplified much of the code.