Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-03-03 | Use callbacks for items, monsters and status effects | Thorbjørn Lindeijer | 1 | -0/+3 | |
Previously, global function names were defined in the respective XML definitions of items, monsters and status effects. This was reasonable when they all had the same state, but now they're sharing the single global Lua state. Now the Lua API provides access to the ItemClass, MonsterClass and StatusEffect instances, on which callbacks for both standard and custom events can be explicitly set. Reviewed-by: Erik Schilling | |||||
2012-03-02 | A bunch of cleanups to example Lua scripts | Thorbjørn Lindeijer | 1 | -11/+5 | |
Mostly removed bulky copyright headers and fixed indentation and line length. Reviewed-by: Yohann Ferreira Reviewed-by: Erik Schilling | |||||
2012-02-25 | Merged the example client and server data | Thorbjørn Lindeijer | 1 | -0/+17 | |
It's easier to just talk about world data and to modify it as a whole. If there is really a need to separate it, a project can still choose to do that (and in whatever suitable way). There is no need to enforce this separation or to do it in our example. Reviewed-by: Erik Schilling |