Cleaning Code

The add-on is mostly completed. The biggest thing that needs to be finished is getting the math correct and we're still waiting on the doctors to get back to us to help us with that. Now we're starting to clean the code up and make sure everything is completely functional. I realized that if this add-on is going to be useable past level 20 that it would be extremely unruly to have the food values stored in the same file as the add-on's main logic functions. I also realized that because of localization issues I needed to get the item id and use that as the identifier for the array instead of the food name. Food has been done for up to level 20 and drinks are next up on the list. Then I want to start adding in the item id's for the food for the rest of the game.

Loading Google+ Comments ...