From 34ac0d64e23f2b2d3981dbb0ea72157f334805dd Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Sun, 26 Feb 2012 22:06:10 +0100 Subject: Merged all the different Lua states into one No more Lua state for each status effect, monster, item effect or map. All scripts are loaded into the same state. This should be more efficient overall and make it easier to implement dynamic reloading of the scripts in the future. Now, this introduces the problem of name collisions between different Lua scripts. For now this is solved by using more specific function names, like 'tick_plague' and 'tick_jump' rather than just 'tick'. The plan is however to get rid of these globals, and register these callbacks from the script, so that they can be local functions without the danger of colliding with other scripts. Reviewed-by: Erik Schilling Reviewed-by: Yohann Ferreira --- docs/manaserv.xml.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/manaserv.xml.example b/docs/manaserv.xml.example index b742c46..a2171e9 100644 --- a/docs/manaserv.xml.example +++ b/docs/manaserv.xml.example @@ -297,7 +297,7 @@ -