Thread:LadyAlys/@comment-5379369-20140306080242/@comment-24150802-20140921054953

I ended up rewriting the whole thing in JavaScript, which works much better for this sort of code: https://oldgods.net/habitrpg/equipment_table_creator.html

View source for the github location. Steal and reuse as desired. :)