- Added a wrapper for StatModifier, mostly so that it can be used to expose the modifiers in the wrapper for StatModifiers.
- Added some better error handling for Lua errors, no longer calls a panic function which needs a longjmp to escape from, now throws an exception.
- Added an assert function for Lua.
- Changed all tests to make use of a wrapped Lua.call macro which will display the file and line when there is an error during a Lua call.
- Improved various aspects of the LuaState code.
- For some reason had to change from using __COUNTER__ to manually giving each class its own LUA_ID. As when the classes were being registered with their counter as well, the counter was always returning 0.
- Added more docs to stat modifiers wrapper.
- Extended the wrapper stats class and added docs.
- Added an interface for the stat modifiers which the stat modifiers and stats classes both extend from now. This allows for the Lua wrappers to wrap them both better, also is just better.
- Added docs for Lua Tile wrapper.
- Fixed tests.