Improve backward compatibility for scripts.
This changeset updates the single-Lua-state script interface to allow
scripts to be written in a manner compatible with the original Aquaria
engine. In particular:
- The "v = getVars()" boilerplate line at the top of each script has
been changed to read "if not v then v = {} end".
- The getVars() script function, added as part of the single Lua state
implementation, has been removed as it no longer serves any purpose.
- Scripts which previously included the "entityinclude.lua" file (which
was removed as part of the change to a single Lua state) have been
modified to once more include that file, but only when running under
an earlier version of the Aquaria engine. The entityinclude.lua file
itself has also been restored from the _unused subdirectory for use
by earlier versions of Aquaria.
All scripts have been updated accordingly; as of this changeset, the
scripts should work with a vanilla (pre-open-source) Aquaria build.
Originally committed to Icculus repository as three changesets:
r184:acfa5176c17c
r191:6225f572c3de
r194:0790cfdf0438
--- a/Aquaria/ScriptInterface.cpp Sun Oct 02 20:34:52 2011 +0900
+++ b/Aquaria/ScriptInterface.cpp Sun Oct 02 20:36:32 2011 +0900
@@ -129,11 +129,6 @@
// itself defines a number of global constants for use in scripts --
// see the "SCRIPT CONSTANTS" section toward the bottom of this file.)
//
-// It is customary to write "v = getVars()" (note that this "v" is
-// global, not local) at the top of each script to clarify what "v" is
-// used for; the getVars() function returns the current instance's local
-// variable table. However, this line is not absolutely necessary.
-//
// -- DO define instance functions in the global namespace.
//
// As an exception to the rule above, interface functions such as
@@ -223,6 +218,54 @@
// -- Never call interface functions from other functions.
// -- Always perform instance-specific setup in init(), not at file scope.
//
+// ====================
+// Compatibility notes:
+// ====================
+//
+// Due to the use of an instance variable table (the "v" global), scripts
+// written for this version of Aquaria will _not_ work with commercial
+// releases (at least through version 1.1.3) of the game; likewise, the
+// scripts from those commercial releases, and mods written to target
+// those releases, will not work with this engine.
+//
+// The latter problem is unfortunately an unsolvable one, in any practical
+// sense. Since the original engine created a new Lua state for each
+// script, scripts could create and modify global variables with impunity.
+// The mere act of loading such a script could wreak havoc on the single
+// Lua state used in the current engine, and attempting to work around
+// this would require at least the implementation of a custom Lua parser
+// to analyze and/or alter each script before it was passed to the Lua
+// interpreter.
+//
+// However, the former problem -- of writing scripts for this version of
+// the engine which also work on earlier versions -- can be solved with
+// a few extra lines of code at the top of each script. Since the new
+// engine initializes the "v" global before each call to a script,
+// including when the script is first loaded, scripts can check for the
+// existence of this variable and assign an empty table to it if needed,
+// such as with this line:
+//
+// if not v then v = {} end
+//
+// Additionally, the current engine provides built-in constants which
+// were formerly loaded from external files. To differentiate between
+// this and other versions of the engine, the script interface exports a
+// constant named AQUARIA_VERSION, generated directly from the program
+// version (shown on the title screen) as:
+// major*10000 + minor*100 + revision
+// For example, in version 1.1.3, AQUARIA_VERSION == 10103. In earlier
+// versions of the engine, the value of this constant will be nil, which
+// can be used as a trigger to load the constant definition file from
+// that version:
+//
+// if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
+//
+// Note that scripts should _not_ rely on AQUARIA_VERSION for the v = {}
+// assignment. The code "if not AQUARIA_VERSION then v = {} end" would
+// work correctly in a top-level script, but if executed from a script
+// used as an include file, the table created in the include file would
+// overwrite any existing table created by the file's caller.
+//
//============================================================================================
// S C R I P T C O M M A N D S
@@ -441,20 +484,14 @@
#define luaReturnVec3(x,y,z) do {lua_pushnumber(L, (x)); lua_pushnumber(L, (y)); lua_pushnumber(L, (z)); return 3;} while(0)
-luaFunc(getVars)
+// Set the global "v" to the instance's local variable table. Must be
+// called when starting a script.
+static void fixupLocalVars(lua_State *L)
{
lua_getglobal(L, "_threadvars");
lua_pushlightuserdata(L, L);
lua_gettable(L, -2);
lua_remove(L, -2);
- return 1;
-}
-
-// Set the global "v" to the instance's local variable table. Must be
-// called when starting a script.
-static void fixupLocalVars(lua_State *L)
-{
- l_getVars(L);
lua_setglobal(L, "v");
}
@@ -7093,11 +7130,10 @@
const char *name;
lua_CFunction func;
} luaFunctionTable[] = {
+
// override Lua's standard dofile(), so we can handle filename case issues.
{"dofile", l_dofile_caseinsensitive},
- luaRegister(getVars),
-
luaRegister(shakeCamera),
luaRegister(upgradeHealth),
@@ -8056,6 +8092,9 @@
const char *name;
lua_Number value;
} luaConstantTable[] = {
+
+ {"AQUARIA_VERSION", VERSION_MAJOR*10000 + VERSION_MINOR*100 + VERSION_REVISION},
+
// emotes
luaConstant(EMOTE_NAIJAEVILLAUGH),
luaConstant(EMOTE_NAIJAGIGGLE),
--- a/game_scripts/_mods/aquariaeditortutorial/mod-init.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/mod-init.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
loadMap("Template")
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/healthplant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/healthplant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- HEALTH PLANT
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/nautilus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/nautilus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- N A U T I L U S
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_editor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_editor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_editor01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_editor01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_editor02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_editor02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_editor03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_editor03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_end.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_end.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_entities01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_entities01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_entities02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_entities02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_entities03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_entities03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_intro.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_intro.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_nodes01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_nodes01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_nodes02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_nodes02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_nodes03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_nodes03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_nodes04.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_nodes04.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct04.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct04.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct05.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_obstruct05.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_sit.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_sit.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_sleep.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_sleep.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit04.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit04.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit05.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit05.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit06.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit06.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit07.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit07.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit08.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariaeditortutorial/scripts/node_tileedit08.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.started = false
v.n = 0
--- a/game_scripts/_mods/aquariatemplate/mod-init.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariatemplate/mod-init.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
loadMap("Template")
--- a/game_scripts/_mods/aquariatemplate/scripts/00_starter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/aquariatemplate/scripts/00_starter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
setupEntity(me)
--- a/game_scripts/_mods/guert_mod/mod-init.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/mod-init.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
--- a/game_scripts/_mods/guert_mod/scripts/nautilusprime.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/scripts/nautilusprime.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- N A U T I L U S P R I M E!!
--- a/game_scripts/_mods/guert_mod/scripts/node_learnbind.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/scripts/node_learnbind.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.n = 0
--- a/game_scripts/_mods/guert_mod/scripts/node_learnenergy.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/scripts/node_learnenergy.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.n = 0
--- a/game_scripts/_mods/guert_mod/scripts/node_nautilusprimeorbdrop.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/scripts/node_nautilusprimeorbdrop.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- last known coordinates of Nautilus Prime
v.lx = 0
--- a/game_scripts/_mods/guert_mod/scripts/node_openenergydoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/scripts/node_openenergydoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, false)
--- a/game_scripts/_mods/guert_mod/scripts/node_savepoint.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/scripts/node_savepoint.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/_mods/guert_mod/scripts/node_sit.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/scripts/node_sit.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/_mods/guert_mod/scripts/node_sleep.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/scripts/node_sleep.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/_mods/guert_mod/scripts/songs.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/scripts/songs.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
for i=0,999 do
learnSong( i )
--- a/game_scripts/_mods/guert_mod/tempo/00_starter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/00_starter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/_mods/guert_mod/tempo/anemone.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/anemone.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- A N E M O N E
--- a/game_scripts/_mods/guert_mod/tempo/anemone2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/anemone2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- A N E M O N E
--- a/game_scripts/_mods/guert_mod/tempo/anemone3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/anemone3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- A N E M O N E
--- a/game_scripts/_mods/guert_mod/tempo/anemone4.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/anemone4.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- A N E M O N E
--- a/game_scripts/_mods/guert_mod/tempo/biteymouth.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/biteymouth.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- B I T E Y M O U T H
--- a/game_scripts/_mods/guert_mod/tempo/empty.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/empty.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
entity_alpha(me, 0)
--- a/game_scripts/_mods/guert_mod/tempo/energybarrier.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/energybarrier.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- energy barrier
v.init_x = 0
--- a/game_scripts/_mods/guert_mod/tempo/energybarrierflicker.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/energybarrierflicker.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy barrier flickering
dofile("scripts/entities/energybarrier.lua")
--- a/game_scripts/_mods/guert_mod/tempo/energybarrieroff.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/energybarrieroff.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy barrier ... off
dofile("scripts/entities/energybarrier.lua")
--- a/game_scripts/_mods/guert_mod/tempo/energybarriersolid.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/energybarriersolid.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy barrier ... no flickering
dofile("scripts/entities/energybarrier.lua")
--- a/game_scripts/_mods/guert_mod/tempo/energydoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/energydoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy door
dofile("scripts/entities/doorcommon.lua")
--- a/game_scripts/_mods/guert_mod/tempo/energyorb.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/energyorb.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- ENERGY ORB
--- a/game_scripts/_mods/guert_mod/tempo/energyorbcracked.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/energyorbcracked.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- ENERGY ORB CRACKED
--- a/game_scripts/_mods/guert_mod/tempo/entityinclude.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/entityinclude.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- emotes
EMOTE_NAIJAEVILLAUGH = 0
--- a/game_scripts/_mods/guert_mod/tempo/jelly.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/jelly.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- J E L L Y - Original Flavour
--- a/game_scripts/_mods/guert_mod/tempo/jellysmall.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/jellysmall.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- JELLY SMALL
--- a/game_scripts/_mods/guert_mod/tempo/nauplius.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/nauplius.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- N A U P L I U S
--- a/game_scripts/_mods/guert_mod/tempo/nautilus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/nautilus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- N A U T I L U S
--- a/game_scripts/_mods/guert_mod/tempo/raspberry.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/raspberry.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- R A S P B E R R Y
--- a/game_scripts/_mods/guert_mod/tempo/rock0001.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/rock0001.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/_mods/guert_mod/tempo/rock0002.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/rock0002.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/_mods/guert_mod/tempo/rock0003.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/rock0003.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/_mods/guert_mod/tempo/rock0004.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/rock0004.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/_mods/guert_mod/tempo/rock0005.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/rock0005.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/_mods/guert_mod/tempo/rock0006.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/rock0006.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/_mods/guert_mod/tempo/rock0007.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/rock0007.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/_mods/guert_mod/tempo/rock2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/rock2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- R O C K 2
--- a/game_scripts/_mods/guert_mod/tempo/savepoint.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/savepoint.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- === SAVE POINT ===
function init(me)
--- a/game_scripts/_mods/guert_mod/tempo/seedcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/seedcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- SPORE SEED
--- a/game_scripts/_mods/guert_mod/tempo/seedflower.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/seedflower.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/seedcommon.lua")
--- a/game_scripts/_mods/guert_mod/tempo/singbulb.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/singbulb.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.bulb = 0
--- a/game_scripts/_mods/guert_mod/tempo/songleaf.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/guert_mod/tempo/songleaf.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S O N G L E A F
--- a/game_scripts/_mods/jukebox/mod-init.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/jukebox/mod-init.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
loadMap("jukebox")
--- a/game_scripts/_mods/jukebox/scripts/jukeboxinclude.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/jukebox/scripts/jukeboxinclude.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
SONG_LIST = {
"abyss",
--- a/game_scripts/_mods/jukebox/scripts/node_jukebox-next.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/jukebox/scripts/node_jukebox-next.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
dofile(appendUserDataPath("_mods/jukebox/scripts/jukeboxinclude.lua"))
--- a/game_scripts/_mods/jukebox/scripts/node_jukebox-previous.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/jukebox/scripts/node_jukebox-previous.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
dofile(appendUserDataPath("_mods/jukebox/scripts/jukeboxinclude.lua"))
--- a/game_scripts/_mods/jukebox/scripts/node_jukebox-quit.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/jukebox/scripts/node_jukebox-quit.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
dofile(appendUserDataPath("_mods/jukebox/scripts/jukeboxinclude.lua"))
--- a/game_scripts/_mods/jukebox/scripts/node_jukebox-random.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/jukebox/scripts/node_jukebox-random.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
dofile(appendUserDataPath("_mods/jukebox/scripts/jukeboxinclude.lua"))
--- a/game_scripts/_mods/jukebox/scripts/node_jukebox.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/_mods/jukebox/scripts/node_jukebox.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
dofile(appendUserDataPath("_mods/jukebox/scripts/jukeboxinclude.lua"))
--- a/game_scripts/scripts/entities/00_starter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/00_starter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/13_progression.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/13_progression.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.curNode = 1
--- a/game_scripts/scripts/entities/SunDoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/SunDoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/doorcommon.lua")
--- a/game_scripts/scripts/entities/_unused/13_mainarea.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/13_mainarea.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
--- THINK THIS FILE ISN'T USED ANYMORE!!!!
--- NOT UUUUUSED!
--- a/game_scripts/scripts/entities/_unused/abyssspikes.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/abyssspikes.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me, initDir)
--- a/game_scripts/scripts/entities/_unused/aleph.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/aleph.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/altar.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/altar.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.containedEntity = 0
v.naija = 0
--- a/game_scripts/scripts/entities/_unused/ancient-bulb.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/ancient-bulb.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.noteDown = -1
--- a/game_scripts/scripts/entities/_unused/ancient-plant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/ancient-plant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.glow = 0
--- a/game_scripts/scripts/entities/_unused/blasteregg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/blasteregg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.hatchTime = 10
v.plantedTime = 20
--- a/game_scripts/scripts/entities/_unused/blastermother.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/blastermother.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/blaster.lua")
v.motherChance = 100
--- a/game_scripts/scripts/entities/_unused/cc_enddemo.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/cc_enddemo.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/cc_lostincave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/cc_lostincave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.ix,v.iy = 0,0
--- a/game_scripts/scripts/entities/_unused/cc_missingmom.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/cc_missingmom.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
--crying in house
v.n = 0
--- a/game_scripts/scripts/entities/_unused/cc_wantgf.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/cc_wantgf.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/cf6-shot.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/cf6-shot.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.timer = 0
--- a/game_scripts/scripts/entities/_unused/childdrask.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/childdrask.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- CHILD DRASK
--- a/game_scripts/scripts/entities/_unused/childsharan.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/childsharan.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- CHILD SHARAN
--- a/game_scripts/scripts/entities/_unused/childteira.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/childteira.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- CHILD TEIRA
--- a/game_scripts/scripts/entities/_unused/collectiblebabycrib.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/collectiblebabycrib.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/_unused/collectibleturtleshell.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/collectibleturtleshell.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/_unused/creatorform1sunkencity.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/creatorform1sunkencity.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.hand = 0
--- a/game_scripts/scripts/entities/_unused/creatorform3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/creatorform3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- C R E A T O R , F O R M 3 (alpha)
--- a/game_scripts/scripts/entities/_unused/creepyface.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/creepyface.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- C R E E P Y F A C E
--- a/game_scripts/scripts/entities/_unused/currentswitch.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/currentswitch.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- current switches
dofile("scripts/entities/entityInclude.lua")
--- a/game_scripts/scripts/entities/_unused/currentswitchoff.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/currentswitchoff.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/currentswitch.lua")
--- a/game_scripts/scripts/entities/_unused/currentswitchon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/currentswitchon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/currentswitch.lua")
--- a/game_scripts/scripts/entities/_unused/dandelion-spore.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/dandelion-spore.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/draskpriestbattle.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/draskpriestbattle.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/efendu.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/efendu.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- kairam
--- a/game_scripts/scripts/entities/_unused/egg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/egg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- generic egg
local STATE_HATCH = 1000
--- a/game_scripts/scripts/entities/_unused/end-common.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/end-common.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.spirit = 0
v.n1 = 0
--- a/game_scripts/scripts/entities/_unused/energybossclimb.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/energybossclimb.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Energy Boss CLIMB
--- a/game_scripts/scripts/entities/_unused/energygod.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/energygod.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Energy God
--- a/game_scripts/scripts/entities/_unused/entityinclude.lua Sun Oct 02 20:34:52 2011 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,746 +0,0 @@
--- Copyright (C) 2007, 2010 - Bit-Blot
---
--- This file is part of Aquaria.
---
--- Aquaria is free software; you can redistribute it and/or
--- modify it under the terms of the GNU General Public License
--- as published by the Free Software Foundation; either version 2
--- of the License, or (at your option) any later version.
---
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
---
--- See the GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with this program; if not, write to the Free Software
--- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-
-v = getVars()
-
--- emotes
-EMOTE_NAIJAEVILLAUGH = 0
-EMOTE_NAIJAGIGGLE = 1
-EMOTE_NAIJALAUGH = 2
-EMOTE_NAIJASADSIGH = 3
-EMOTE_NAIJASIGH = 4
-EMOTE_NAIJAWOW = 5
-EMOTE_NAIJAUGH = 6
-EMOTE_NAIJALOW = 7
-EMOTE_NAIJALI = 8
-EMOTE_NAIJAEW = 9
-
--- Li expressions
-EXPRESSION_NORMAL = 0
-EXPRESSION_ANGRY = 1
-EXPRESSION_HAPPY = 2
-EXPRESSION_HURT = 3
-EXPRESSION_LAUGH = 4
-EXPRESSION_SURPRISE = 5
-
-OVERRIDE_NONE = 315
-
---actions
-ACTION_MENULEFT = 6
-ACTION_MENURIGHT = 7
-ACTION_MENUUP = 8
-ACTION_MENUDOWN = 9
-
-WATCH_QUIT = 1
-
-BEACON_HOMECAVE = 1
-BEACON_ENERGYTEMPLE = 2
-BEACON_MITHALAS = 3
-BEACON_FOREST = 4
-BEACON_LI = 5
-BEACON_SUNTEMPLE = 6
-BEACON_SONGCAVE = 7
-
-PLAT_WIN = 0
-PLAT_MAC = 1
-PLAT_LNX = 2
-
--- ingredient effect types
-IET_NONE = -1
-IET_HP = 0
-IET_DEFENSE = 1
-IET_SPEED = 2
-IET_RANDOM = 3
-IET_MAXHP = 4
-IET_INVINCIBLE = 5
-IET_TRIP = 6
-IET_REGEN = 7
-IET_LI = 8
-IET_FISHPOISON = 9
-IET_BITE = 10
-IET_EAT = 11
-IET_LIGHT = 12
-IET_YUM = 13
-IET_PETPOWER = 14
-IET_WEB = 15
-IET_ENERGY = 16
-IET_POISON = 17
-IET_BLIND = 18
-IET_ALLSTATUS = 19
-IET_MAX = 20
-
--- menu pages
-MENUPAGE_NONE = -1
-MENUPAGE_SONGS = 0
-MENUPAGE_FOOD = 1
-MENUPAGE_TREASURES = 2
-MENUPAGE_PETS = 3
-
--- Entity States
-STATE_DEAD = 0
-STATE_IDLE = 1
-STATE_PUSH = 2
-STATE_PUSHDELAY = 3
-STATE_PLANTED = 4
-STATE_TRANSFORM = 5
-STATE_PULLED = 6
-STATE_FOLLOWNAIJA = 7
-STATE_DEATHSCENE = 8
-STATE_ATTACK = 9
-STATE_CHARGE0 = 10
-STATE_CHARGE1 = 11
-STATE_CHARGE2 = 12
-STATE_CHARGE3 = 13
-STATE_WAIT = 20
-STATE_HUG = 21
-STATE_EATING = 22
-STATE_FOLLOW = 23
-STATE_TITLE = 24
-STATE_HATCH = 25
-STATE_CARRIED = 26
-
-STATE_HOSTILE = 100
-
-STATE_CLOSE = 200
-STATE_OPEN = 201
-STATE_CLOSED = 202
-STATE_OPENED = 203
-STATE_CHARGED = 300
-STATE_INHOLDER = 301
-STATE_DISABLED = 302
-STATE_FLICKER = 303
-STATE_ACTIVE = 304
-STATE_USED = 305
-STATE_BLOATED = 306
-STATE_DELAY = 307
-STATE_DONE = 309
-STATE_RAGE = 310
-STATE_CALM = 311
-STATE_DESCEND = 312
-STATE_SING = 313
-STATE_TRANSFORM = 314
-STATE_GROW = 315
-STATE_MATING = 316
-STATE_SHRINK = 317
-STATE_MOVE = 319
-STATE_TRANSITION = 320
-STATE_TRANSITION2 = 321
-STATE_TRAPPEDINCREATOR = 322
-STATE_GRAB = 323
-STATE_FIGURE = 324
-STATE_CUTSCENE = 325
-STATE_WAITFORCUTSCENE = 326
-STATE_FIRE = 327
-STATE_FIRING = 328
-STATE_PREP = 329
-STATE_INTRO = 330
-STATE_PUPPET = 331
-
-STATE_COLLECT = 400
-STATE_COLLECTED = 401
-STATE_COLLECTEDINHOUSE = 402
-
-
---STATE_ATTACK = 500
-STATE_STEP = 501
-STATE_AWAKEN = 502
-
-STATE_WEAK = 600
-STATE_BREAK = 601
-STATE_BROKEN = 602
-
-STATE_PULSE = 700
-STATE_ON = 701
-STATE_OFF = 702
-STATE_SEED = 703
-STATE_PLANTED = 704
-STATE_SK_RED = 705
-STATE_SK_GREEN = 706
-STATE_SK_BLUE = 707
-STATE_SK_YELLOW = 708
-STATE_WAITFORKISS = 710
-STATE_KISS = 711
-STATE_START = 712
-STATE_RACE = 714
-STATE_RESTART = 715
-STATE_APPEAR = 716
-
-STATE_MOVETOWEED = 2000
-STATE_PULLWEED = 2001
-STATE_DONEWEED = 2002
-
-ORIENT_NONE = -1
-ORIENT_LEFT = 0
-ORIENT_RIGHT = 1
-ORIENT_UP = 2
-ORIENT_DOWN = 3
-ORIENT_HORIZONTAL =4
-ORIENT_VERTICAL = 5
-
--- for entity_isNearObstruction
-OBSCHECK_RANGE = 0
-OBSCHECK_4DIR = 1
-OBSCHECK_DOWN = 2
-
-EV_WALLOUT = 0
-EV_WALLTRANS = 1
-EV_CLAMPING = 2
-EV_SWITCHCLAMP = 3
-EV_CLAMPTRANSF = 4
-EV_MOVEMENT = 5
-EV_COLLIDE = 6
-EV_TOUCHDMG = 7
-EV_FRICTION = 8
-EV_LOOKAT = 9
-EV_CRAWLING = 10
-EV_ENTITYDIED = 11
-EV_TYPEID = 12
-EV_COLLIDELEVEL = 13
-EV_BONELOCKED = 14
-EV_FLIPTOPATH = 15
-EV_NOINPUTNOVEL = 16
-EV_VINEPUSH = 17
-EV_BEASTBURST = 18
-EV_MINIMAP = 19
-EV_SOULSCREAMRADIUS = 20
-EV_WEBSLOW = 21
-EV_MAX = 22
-
-EVT_NONE = 0
-EVT_THERMALVENT = 1
-EVT_GLOBEJELLY = 2
-EVT_CELLWHITE = 3
-EVT_CELLRED = 4
-EVT_PET = 5
-EVT_DARKLISHOT = 6
-EVT_ROCK = 7
-EVT_FORESTGODVINE = 8
-EVT_CONTAINER = 9
-EVT_PISTOLSHRIMP = 10
-EVT_GATEWAYMUTANT = 11
-
-
--- PATH/node types
-PATH_NONE = 0
-PATH_CURRENT = 1
-PATH_STEAM = 2
-PATH_LI = 3
-PATH_SAVEPOINT = 4
-PATH_WARP = 5
-PATH_SPIRITPORTAL = 6
-PATH_BGSFXLOOP = 7
-PATH_RADARHIDE = 8
-PATH_COOK = 9
-PATH_WATERBUBBLE = 10
-PATH_GEM = 11
-PATH_SETING = 12
-PATH_SETENT = 13
-
--- Entity Types
-ET_AVATAR =0
-ET_ENEMY =1
-ET_PET =2
-ET_FLOCK =3
-ET_NEUTRAL =4
-ET_INGREDIENT =5
-
-EP_SOLID =0
-EP_MOVABLE =1
-EP_BATTERY =2
-EP_BLOCKER =3
-
--- Entity Behaviors
-BT_NORMAL =0
-BT_MOTHER =1
-BT_ACTIVEPET =2
-
--- ACTIVATION TYPES
-AT_NONE =-1
-AT_NORMAL =0
-AT_CLICK =0
-AT_RANGE =1
-
-WT_NORMAL = 0
-WT_SPIRIT = 1
-
-SPEED_NORMAL = 0
-SPEED_SLOW = 1
-SPEED_FAST = 2
-SPEED_VERYFAST = 3
-SPEED_MODSLOW = 4
-SPEED_VERYSLOW = 5
-SPEED_FAST2 = 6
-SPEED_LITOCAVE = 7
-
-BOUNCE_NONE = -1
-BOUNCE_SIMPLE = 0
-BOUNCE_REAL = 1
-
-LOOP_INFINITE = -1
-LOOP_INF = -1
-
-LAYER_BODY = 0
-LAYER_UPPERBODY = 1
-LAYER_HEAD = 2
-LAYER_OVERRIDE = 3
-
-SONG_NONE = -1
-SONG_HEAL = 0
-SONG_ENERGYFORM = 1
-SONG_SONGDOOR1 = 2
-SONG_SPIRITFORM = 3
-SONG_BIND = 4
-SONG_PULL = 4
-SONG_NATUREFORM = 5
-SONG_BEASTFORM = 6
-SONG_SHIELDAURA = 7
-SONG_SHIELD = 7
-SONG_SONGDOOR2 = 8
-SONG_DUALFORM = 9
-SONG_FISHFORM = 10
-SONG_LIGHTFORM = 11
-SONG_SUNFORM = 11
-SONG_LI = 12
-SONG_TIME = 13
-SONG_LANCE = 14
-SONG_MAP = 15
-SONG_ANIMA = 16
-SONG_MAX = 17
-
-BLEND_DEFAULT = 0
-BLEND_ADD = 1
-BLEND_ADDITIVE = 1
-
-SAY_NORMAL = 0
-SAY_QUEUE = 1
-SAY_INTERUPT = 2
-
---[[
-VO_BEGIN = 200
-FLAG_VO_TITLE = 200
-FLAG_VO_NAIJACAVE = 201
-FLAG_VO_SINGING = 202
-FLAG_VO_MINIMAP = 203
-FLAG_VO_SPEEDBOOST = 204
-FLAG_VO_VERSE = 205
-FLAG_VO_VEDHACAVE = 206
-FLAG_VO_SHIELDSONG = 207
-FLAG_VO_VEDHAEXPLORE = 208
-FLAG_VO_MEMORYCRYSTALS = 209
-FLAG_VO_SONGCAVEENTER = 210
-FLAG_VO_SONGDOOR = 211
-FLAG_VO_SONGCRYSTAL = 212
-FLAG_VO_ENERGYTEMPLEENTER = 213
-FLAG_VO_ENERGYFORM = 214
-FLAG_VO_ENERGYFORMSHOT = 215
-FLAG_VO_ENERGYFORMCHARGE = 216
-FLAG_VO_RETURNTONORMALFORM = 217
-FLAG_VO_ENERGYTEMPLEBOSSOVER = 218
-]]--
-
-ENDING_NAIJACAVE = 10
-ENDING_NAIJACAVEDONE = 11
-ENDING_SECRETCAVE = 12
-ENDING_MAINAREA = 13
-ENDING_DONE = 14
-
-
-FLAG_SONGCAVECRYSTAL = 20
-FLAG_TEIRA = 50
-FLAG_SHARAN = 51
-FLAG_DRASK = 52
-FLAG_VEDHA = 53
-
-FLAG_ENERGYTEMPLE01DOOR = 100
-FLAG_ENERGYDOOR02 = 101
-FLAG_ENERGYSLOT01 = 102
-FLAG_ENERGYSLOT02 = 103
-FLAG_ENERGYSLOT_MAINAREA = 104
-FLAG_MAINAREA_ENERGYTEMPLE_ROCK = 105
-FLAG_ENERGYSLOT_FIRST = 106
-FLAG_ENERGYDOOR03 = 107
-FLAG_ENERGYGODENCOUNTER = 108
-FLAG_ENERGYBOSSDEAD = 109
-FLAG_MAINAREA_ETENTER2 = 110
-FLAG_SUNTEMPLE_WATERLEVEL = 111
-FLAG_SUNTEMPLE_LIGHTCRYSTAL = 112
-FLAG_SUNKENCITY_PUZZLE = 113
-FLAG_SUNKENCITY_BOSS = 114
-FLAG_MITHALAS_THRONEROOM = 115
-FLAG_BOSS_MITHALA = 116
-FLAG_BOSS_FOREST = 117
-FLAG_FISHCAVE = 118
-FLAG_VISION_VEIL = 119
-FLAG_MITHALAS_PRIESTS = 120
-FLAG_FIRSTTRANSTURTLE = 121
-FLAG_13PROGRESSION = 122
-FLAG_FINAL = 123
-FLAG_SPIRIT_ERULIAN = 124
-FLAG_SPIRIT_KROTITE = 125
-FLAG_SPIRIT_DRASK = 126
-FLAG_SPIRIT_DRUNIAD = 127
-FLAG_BOSS_SUNWORM = 128
-FLAG_WHALELAMPPUZZLE = 129
-
-FLAG_TRANSTURTLE_VEIL01 = 130
-FLAG_TRANSTURTLE_OPENWATER06 = 131
-FLAG_TRANSTURTLE_FOREST04 = 132
-FLAG_TRANSTURTLE_OPENWATER03 = 133
-FLAG_TRANSTURTLE_FOREST05 = 134
-FLAG_TRANSTURTLE_MAINAREA = 135
-FLAG_TRANSTURTLE_SEAHORSE = 136
-FLAG_TRANSTURTLE_VEIL02 = 137
-FLAG_TRANSTURTLE_ABYSS03 = 138
-FLAG_TRANSTURTLE_FINALBOSS = 139
-
-FLAG_NAIJA_SWIM = 200
-FLAG_NAIJA_MINIMAP = 201
-FLAG_NAIJA_SPEEDBOOST = 202
-FLAG_NAIJA_MEMORYCRYSTAL = 203
-FLAG_NAIJA_SINGING = 204
-FLAG_NAIJA_LEAVESVEDHA = 205
-FLAG_NAIJA_SONGDOOR = 206
-FLAG_NAIJA_ENTERVEDHACAVE = 207
-FLAG_NAIJA_INTERACT = 208
-FLAG_NAIJA_ENTERSONGCAVE = 209
-FLAG_NAIJA_ENERGYFORMSHOT = 210
-FLAG_NAIJA_ENERGYFORMCHARGE = 211
-FLAG_NAIJA_RETURNTONORMALFORM = 212
-FLAG_NAIJA_ENERGYBARRIER = 213
-FLAG_NAIJA_SOLIDENERGYBARRIER = 214
-FLAG_NAIJA_ENTERENERGYTEMPLE = 215
-FLAG_NAIJA_OPENWATERS = 216
-FLAG_NAIJA_SINGING = 217
-FLAG_NAIJA_INGAMEMENU = 218
-FLAG_NAIJA_SINGINGHINT = 219
-FLAG_NAIJA_LOOK = 220
-FLAG_HINT_MINIMAP = 221
-FLAG_HINT_HEALTHPLANT = 222
-FLAG_HINT_SLEEP = 223
-FLAG_HINT_COLLECTIBLE = 224
-FLAG_HINT_IGFDEMO = 225
-FLAG_HINT_BEASTFORM1 = 226
-FLAG_HINT_BEASTFORM2 = 227
-FLAG_HINT_LISONG = 228
-FLAG_HINT_ENERGYTARGET = 229
-FLAG_HINT_NATUREFORMABILITY = 230
-FLAG_HINT_LICOMBAT = 231
-FLAG_HINT_COOKING = 232
-FLAG_NAIJA_FIRSTVINE = 233
-FLAG_SECRET01 = 234
-FLAG_SECRET02 = 235
-FLAG_SECRET03 = 236
-FLAG_DEEPWHALE = 237
-FLAG_OMPO = 238
-FLAG_HINT_SINGBULB = 239
-FLAG_ENDING = 240
-FLAG_NAIJA_BINDSHELL = 241
-FLAG_NAIJA_BINDROCK = 242
-FLAG_HINT_ROLLGEAR = 243
-FLAG_FIRSTHEALTHUPGRADE = 244
-FLAG_MAINAREA_TRANSTURTLE_ROCK = 245
-FLAG_SKIPSECRETCHECK = 246
-FLAG_SEAHORSEBESTTIME = 247
-FLAG_SEAHORSETIMETOBEAT = 248
-FLAG_HINT_BINDMERMEN = 249
-
-
-FLAG_CREATORVOICE = 250
-
-FLAG_HINT_DUALFORMCHANGE = 251
-FLAG_HINT_DUALFORMCHARGE = 252
-FLAG_HINT_HEALTHUPGRADE = 253
-
-FLAG_VISION_ENERGYTEMPLE = 300
-
-FLAG_COLLECTIBLE_START = 500
-FLAG_COLLECTIBLE_SONGCAVE = 500
-FLAG_COLLECTIBLE_ENERGYTEMPLE = 501
-FLAG_COLLECTIBLE_ENERGYSTATUE = 502
-FLAG_COLLECTIBLE_ENERGYBOSS = 503
-FLAG_COLLECTIBLE_NAIJACAVE = 504
-FLAG_COLLECTIBLE_CRABCOSTUME = 505
-FLAG_COLLECTIBLE_JELLYPLANT = 506
-FLAG_COLLECTIBLE_MITHALASPOT = 507
-FLAG_COLLECTIBLE_SEAHORSECOSTUME = 508
---FLAG_COLLECTIBLE_TURTLESHELL = 508
-FLAG_COLLECTIBLE_CHEST = 509
-FLAG_COLLECTIBLE_BANNER = 510
-FLAG_COLLECTIBLE_MITHALADOLL = 511
-FLAG_COLLECTIBLE_WALKERBABY = 512
-FLAG_COLLECTIBLE_SEEDBAG = 513
-FLAG_COLLECTIBLE_ARNASSISTATUE = 514
-FLAG_COLLECTIBLE_GEAR = 515
-FLAG_COLLECTIBLE_SUNKEY = 516
-FLAG_COLLECTIBLE_URCHINCOSTUME = 517
-FLAG_COLLECTIBLE_TEENCOSTUME = 518
-FLAG_COLLECTIBLE_MUTANTCOSTUME = 519
-FLAG_COLLECTIBLE_JELLYCOSTUME = 520
-FLAG_COLLECTIBLE_MITHALANCOSTUME = 521
-FLAG_COLLECTIBLE_ANEMONESEED = 522
-FLAG_COLLECTIBLE_BIOSEED = 523
-FLAG_COLLECTIBLE_TURTLEEGG = 524
-FLAG_COLLECTIBLE_SKULL = 525
-FLAG_COLLECTIBLE_TRIDENTHEAD = 526
-FLAG_COLLECTIBLE_SPORESEED = 527
-FLAG_COLLECTIBLE_UPSIDEDOWNSEED = 528
-FLAG_COLLECTIBLE_STONEHEAD = 529
-FLAG_COLLECTIBLE_STARFISH = 530
-FLAG_COLLECTIBLE_BLACKPEARL = 531
---FLAG_COLLECTIBLE_BABYCRIB = 532
-FLAG_COLLECTIBLE_END = 600
-
-FLAG_PET_ACTIVE = 600
-FLAG_PET_NAMESTART = 601
-FLAG_PET_NAUTILUS = 601
-FLAG_PET_DUMBO = 602
-FLAG_PET_BLASTER = 603
-FLAG_PET_PIRANHA = 604
-
-FLAG_UPGRADE_WOK = 620
--- does the player have access to 3 slots all the time?
-
-FLAG_COLLECTIBLE_NAUTILUSPRIME = 630
-FLAG_COLLECTIBLE_DUMBOEGG = 631
-FLAG_COLLECTIBLE_BLASTEREGG = 632
-FLAG_COLLECTIBLE_PIRANHAEGG = 633
-
-FLAG_ENTER_HOMEWATERS = 650
-FLAG_ENTER_SONGCAVE = 651
-FLAG_ENTER_ENERGYTEMPLE = 652
-FLAG_ENTER_OPENWATERS = 653
-FLAG_ENTER_HOMECAVE = 654
-FLAG_ENTER_FOREST = 655
-FLAG_ENTER_VEIL = 656
-FLAG_ENTER_MITHALAS = 657
-FLAG_ENTER_MERMOGCAVE = 658
-FLAG_ENTER_MITHALAS = 659
-FLAG_ENTER_SUNTEMPLE = 660
-FLAG_ENTER_ABYSS = 661
-FLAG_ENTER_SUNKENCITY = 662
-FLAG_ENTER_FORESTSPRITECAVE = 663
-FLAG_ENTER_FISHCAVE = 664
-FLAG_ENTER_MITHALASCATHEDRAL = 665
-FLAG_ENTER_TURTLECAVE = 666
-FLAG_ENTER_FROZENVEIL = 667
-FLAG_ENTER_ICECAVE = 668
-FLAG_ENTER_SEAHORSE = 669
-
-
-FLAG_MINIBOSS_START = 700
-FLAG_MINIBOSS_NAUTILUSPRIME = 700
-FLAG_MINIBOSS_KINGJELLY = 701
-FLAG_MINIBOSS_MERGOG = 702
-FLAG_MINIBOSS_CRAB = 703
-FLAG_MINIBOSS_OCTOMUN = 704
-FLAG_MINIBOSS_MANTISSHRIMP = 705
-FLAG_MINIBOSS_PRIESTS = 706
-FLAG_MINIBOSS_END = 720
-
-FLAG_MAMATURTLE_RESCUE1 = 750
-FLAG_MAMATURTLE_RESCUE2 = 751
-FLAG_MAMATURTLE_RESCUE3 = 752
-
-FLAG_SONGDOOR1 = 800
-FLAG_SEALOAFANNOYANCE = 801
-
-FLAG_SEAL_KING = 900
-FLAG_SEAL_QUEEN = 901
-FLAG_SEAL_PRINCE = 902
-
-FLAG_HEALTHUPGRADES = 950
-FLAG_HEALTHUPGRADES_END = 960
-
-FLAG_LI = 1000
-FLAG_LICOMBAT = 1001
-
-
-
-MAX_FLAGS = 1024
-
-ALPHA_NEARZERO = 0.001
-
-SUNKENCITY_START = 0
-SUNKENCITY_CLIMBDOWN = 1
-SUNKENCITY_RUNAWAY = 2
-SUNKENCITY_INHOLE = 3
-SUNKENCITY_GF = 4
-SUNKENCITY_BULLIES = 5
-SUNKENCITY_ANIMA = 6
-SUNKENCITY_BOSSWAIT = 7
-SUNKENCITY_CLAY1 = 8
-SUNKENCITY_CLAY2 = 9
-SUNKENCITY_CLAY3 = 10
-SUNKENCITY_CLAY4 = 11
-SUNKENCITY_CLAY5 = 12
-SUNKENCITY_CLAY6 = 13
-SUNKENCITY_CLAYDONE = 14
-SUNKENCITY_BOSSFIGHT = 15
-SUNKENCITY_BOSSDONE = 16
-SUNKENCITY_FINALTONGUE = 17
-
-FINAL_START = 0
-FINAL_SOMETHING = 1
-FINAL_FREEDLI = 2
-
-ANIM_NONE = 0
-ANIM_POS = 1
-ANIM_ROT = 2
-ANIM_ALL = 10
-
-FORM_NORMAL = 0
-FORM_ENERGY = 1
-FORM_BEAST = 2
-FORM_NATURE = 3
-FORM_SPIRIT = 4
-FORM_DUAL = 5
-FORM_FISH = 6
-FORM_LIGHT = 7
-FORM_SUN = 7
-FORM_MAX = 8
-
-VFX_SHOCK = 0
-VFX_RIPPLE = 1
-
-EAT_NONE = -1
-EAT_DEFAULT = 0
-EAT_FILE = 1
-EAT_MAX = 2
-
---[[
-DT_ENEMY = 0
-DT_ENEMY_ENERGYBLAST = 1
-DT_ENEMY_SHOCK = 2
-DT_ENEMY_BITE = 3
-DT_ENEMY_TRAP = 4
-DT_ENEMY_WEB = 5
-DT_ENEMY_BEAM = 6
-DT_ENEMY_GAS = 100
-DT_ENEMY_INK = 101
-DT_ENEMY_POISON = 102
-DT_ENEMY_ACTIVEPOISON = 103
-DT_ENEMY_CREATOR = 600
-DT_AVATAR = 1000
-DT_AVATAR_ENERGYBLAST = 1001
-DT_AVATAR_SHOCK = 1002
-DT_AVATAR_BITE = 1003
-DT_AVATAR_VOMIT = 1004
-DT_AVATAR_ACID = 1005
-DT_AVATAR_SPORECHILD = 1006
-DT_AVATAR_LIZAP = 1007
-DT_AVATAR_NATURE = 1008
-DT_AVATAR_ENERGYROLL = 1009
-DT_AVATAR_VINE = 1010
-DT_AVATAR_EAT = 1011
-DT_AVATAR_EAT_BASICSHOT = 1011
-DT_AVATAR_EAT_MAX = 1012
-DT_AVATAR_LANCEATTACH = 1013
-DT_AVATAR_LANCE = 1014
-DT_AVATAR_CREATORSHOT = 1015
-DT_AVATAR_DUALFORMLI = 1016
-DT_AVATAR_DUALFORMNAIJA = 1017
-DT_AVATAR_BUBBLE = 1018
-DT_AVATAR_SEED = 1019
-DT_AVATAR_PETNAUTILUS = 1020
-
-DT_AVATAR_END = 2000
-DT_TOUCH = 2000
-DT_CRUSH = 2001
-DT_SPIKES = 2002
-]]--
-
-DT_NONE = -1
-DT_ENEMY = 0
-DT_ENEMY_ENERGYBLAST = 1
-DT_ENEMY_SHOCK = 2
-DT_ENEMY_BITE = 3
-DT_ENEMY_TRAP = 4
-DT_ENEMY_WEB = 5
-DT_ENEMY_BEAM = 6
-DT_ENEMY_GAS = 7
-DT_ENEMY_INK = 8
-DT_ENEMY_POISON = 9
-DT_ENEMY_ACTIVEPOISON = 10
-DT_ENEMY_CREATOR = 11
-DT_ENEMY_MANTISBOMB = 12
-DT_ENEMY_MAX = 13
-DT_ENEMY_END = 13
-
-DT_AVATAR = 1000
-DT_AVATAR_ENERGYBLAST = 1001
-DT_AVATAR_SHOCK = 1002
-DT_AVATAR_BITE = 1003
-DT_AVATAR_VOMIT = 1004
-DT_AVATAR_ACID = 1005
-DT_AVATAR_SPORECHILD = 1006
-DT_AVATAR_LIZAP = 1007
-DT_AVATAR_NATURE = 1008
-DT_AVATAR_ENERGYROLL = 1009
-DT_AVATAR_VINE = 1010
-DT_AVATAR_EAT = 1011
-DT_AVATAR_EAT_BASICSHOT = 1011
-DT_AVATAR_EAT_MAX = 1012
-DT_AVATAR_LANCEATTACH = 1013
-DT_AVATAR_LANCE = 1014
-DT_AVATAR_CREATORSHOT = 1015
-DT_AVATAR_DUALFORMLI = 1016
-DT_AVATAR_DUALFORMNAIJA = 1017
-DT_AVATAR_BUBBLE = 1018
-DT_AVATAR_SEED = 1019
-DT_AVATAR_PET = 1020
-DT_AVATAR_PETNAUTILUS = 1021
-DT_AVATAR_PETBITE = 1022
-DT_AVATAR_MAX = 1030
-DT_AVATAR_END = 1030
-
-DT_TOUCH = 1031
-DT_CRUSH = 1032
-DT_SPIKES = 1033
-DT_STEAM = 1034
-
-
--- collide radius
--- must match value in ScriptedEntity::setupConversationEntity
-CR_DEFAULT = 40
-
-FRAME_TIME = 0.04
-
-FORMUPGRADE_ENERGY1 = 0
-FORMUPGRADE_ENERGY2 = 1
-FORMUPGRADE_BEAST = 2
-
-
-TILE_SIZE = 20
-
-function watchForVoice()
- while isStreamingVoice() do watch(FRAME_TIME) end
-end
-
-function entity_watchSwimToEntitySide(ent1, ent2)
- local xoff=entity_getCollideRadius(ent2)+64
- if entity_x(ent1) < entity_x(ent2) then
- xoff = -xoff
- end
- entity_swimToPosition(ent1, entity_x(ent2)+xoff, entity_y(ent2))
- entity_watchForPath(ent1)
- entity_idle(ent1)
- entity_clearVel(ent1)
- entity_flipToEntity(ent1, ent2)
- entity_flipToEntity(ent2, ent1)
-end
--- a/game_scripts/scripts/entities/_unused/fan.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/fan.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.flag = 0
local STATE_BUSTED = 1001
--- a/game_scripts/scripts/entities/_unused/fatso.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/fatso.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/forestghost.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/forestghost.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- forest ghost
--- a/game_scripts/scripts/entities/_unused/forestgodcrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/forestgodcrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- K I N G C R A B
--- a/game_scripts/scripts/entities/_unused/jellynew.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/jellynew.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- J E L L Y - Version 2.0 (alpha)
--- a/game_scripts/scripts/entities/_unused/kairam.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/kairam.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- kairam
--- a/game_scripts/scripts/entities/_unused/lesserwurm.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/lesserwurm.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- LESSER WURM
--- a/game_scripts/scripts/entities/_unused/lumite.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/lumite.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- L U M I T E
-- ================================================================================================
--- a/game_scripts/scripts/entities/_unused/lumitebreeder.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/lumitebreeder.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- L U M I T E
-- ================================================================================================
--- a/game_scripts/scripts/entities/_unused/mengil.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/mengil.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- MENGRIL
--- a/game_scripts/scripts/entities/_unused/metalobject.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/metalobject.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- METAL OBJECT
--- a/game_scripts/scripts/entities/_unused/minicrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/minicrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- K I N G C R A B
--- a/game_scripts/scripts/entities/_unused/mithalanfamily.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/mithalanfamily.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/ompo.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/ompo.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
local STATE_RUNOFF = 1000
--- a/game_scripts/scripts/entities/_unused/pathtest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/pathtest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- V E D H A
--- a/game_scripts/scripts/entities/_unused/peteggcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/peteggcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- song cave collectible
--- a/game_scripts/scripts/entities/_unused/plantcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/plantcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/poisonberry.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/poisonberry.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- R A S P B E R R Y
--- a/game_scripts/scripts/entities/_unused/prologue_energyboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/prologue_energyboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/prologue_mithala.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/prologue_mithala.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/_unused/queenhydra.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/queenhydra.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Q U E E N H Y D R A
--- a/game_scripts/scripts/entities/_unused/rotfish-blob.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/rotfish-blob.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- rotfish-blob
--- a/game_scripts/scripts/entities/_unused/rotfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/rotfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A U L
--- a/game_scripts/scripts/entities/_unused/sacrificebutton.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/sacrificebutton.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
entity_setEntityType(me, ET_NEUTRAL)
--- a/game_scripts/scripts/entities/_unused/sacrificevictim.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/sacrificevictim.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
setupEntity(me, "EnergyOrb")
--- a/game_scripts/scripts/entities/_unused/savepoint.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/savepoint.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- === SAVE POINT ===
function init(me)
--- a/game_scripts/scripts/entities/_unused/schoolfish1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/schoolfish1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- SCHOOL FISH 1 - Ze Grande Experimente!
--- a/game_scripts/scripts/entities/_unused/seaslug.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/seaslug.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S E A S L U G
--- a/game_scripts/scripts/entities/_unused/seaturtlebg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/seaturtlebg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- B A C K G R O U N D S E A T U R T L E
--- a/game_scripts/scripts/entities/_unused/skeletaltest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/skeletaltest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- skeletal test
--- a/game_scripts/scripts/entities/_unused/spikeball.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/spikeball.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- SPIKEBALL
--- a/game_scripts/scripts/entities/_unused/spikeyegg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/spikeyegg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- SPIKEBALL
--- a/game_scripts/scripts/entities/_unused/spikeyeggdown.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/spikeyeggdown.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/spikeyegg.lua")
--- a/game_scripts/scripts/entities/_unused/spikeyeggup.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/spikeyeggup.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/spikeyegg.lua")
--- a/game_scripts/scripts/entities/_unused/springplant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/springplant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- SPRING PLANT
--- a/game_scripts/scripts/entities/_unused/stresstest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/stresstest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
--DEFINE
--health 10
--- a/game_scripts/scripts/entities/_unused/studenta.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/studenta.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- studentA
function init()
--- a/game_scripts/scripts/entities/_unused/thermalvent.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/thermalvent.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.targetBone = 0
--- a/game_scripts/scripts/entities/_unused/transitfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/transitfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
setupConversationEntity("nawlfish")
--- a/game_scripts/scripts/entities/_unused/tungar.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/tungar.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- tungar
--- a/game_scripts/scripts/entities/_unused/weed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/weed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- SPRING PLANT
--- a/game_scripts/scripts/entities/_unused/zunna.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/_unused/zunna.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Z U N N A
--- a/game_scripts/scripts/entities/abaddon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/abaddon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.bone_tentacles = 0
--- a/game_scripts/scripts/entities/abyssoctopus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/abyssoctopus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.beam = 0
--- a/game_scripts/scripts/entities/aggrobaby.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/aggrobaby.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- AGGRO BABY
--- a/game_scripts/scripts/entities/aggroeggs.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/aggroeggs.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M O N E Y E
--- a/game_scripts/scripts/entities/aggrohopper.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/aggrohopper.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- AGGRO HOPPER
--- a/game_scripts/scripts/entities/airship.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/airship.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.attached = 0
--- a/game_scripts/scripts/entities/anemone.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/anemone.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- A N E M O N E
--- a/game_scripts/scripts/entities/anemone2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/anemone2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- A N E M O N E
--- a/game_scripts/scripts/entities/anemone3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/anemone3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- A N E M O N E
--- a/game_scripts/scripts/entities/anemone4.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/anemone4.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- A N E M O N E
--- a/game_scripts/scripts/entities/anglerfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/anglerfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.glow = 0
--- a/game_scripts/scripts/entities/architect.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/architect.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/armapillar.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/armapillar.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- A R M A P I L L A R (beta)
--- a/game_scripts/scripts/entities/arnassi-spirit.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/arnassi-spirit.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/babydeepshrimp.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/babydeepshrimp.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Rood Shrimp
--- a/game_scripts/scripts/entities/beluga-bubble.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/beluga-bubble.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/beluga.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/beluga.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/bevy.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/bevy.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- N A U T I L U S
--- a/game_scripts/scripts/entities/bigblaster.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/bigblaster.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- B L A S T E R
--- a/game_scripts/scripts/entities/bigmaul.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/bigmaul.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- BIG MAUL
--- a/game_scripts/scripts/entities/bigmouth.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/bigmouth.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- EEL
--- a/game_scripts/scripts/entities/bigmouthparasite.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/bigmouthparasite.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Rood Shrimp
--- a/game_scripts/scripts/entities/bioplant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/bioplant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- B I O P L A N T
--- a/game_scripts/scripts/entities/biteymouth.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/biteymouth.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- B I T E Y M O U T H
--- a/game_scripts/scripts/entities/blaster.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/blaster.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- B L A S T E R
--- a/game_scripts/scripts/entities/blazer.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/blazer.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- blazer
--- a/game_scripts/scripts/entities/bloodcell-common.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/bloodcell-common.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.glow = 0
--- a/game_scripts/scripts/entities/bloodcell-red.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/bloodcell-red.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/bloodcell-common.lua")
--- a/game_scripts/scripts/entities/bloodcell-white.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/bloodcell-white.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/bloodcell-common.lua")
--- a/game_scripts/scripts/entities/breakablecommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/breakablecommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/brokenpiece.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/brokenpiece.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.life = -1
--- a/game_scripts/scripts/entities/camopus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/camopus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/castlecrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/castlecrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.sx = 0
--- a/game_scripts/scripts/entities/cathedraldoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cathedraldoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.warpBone = 0
--- a/game_scripts/scripts/entities/cavefish1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cavefish1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/cavefishcommon.lua")
--- a/game_scripts/scripts/entities/cavefish2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cavefish2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/cavefishcommon.lua")
--- a/game_scripts/scripts/entities/cavefish3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cavefish3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/cavefishcommon.lua")
--- a/game_scripts/scripts/entities/cavefish4.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cavefish4.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/cavefishcommon.lua")
--- a/game_scripts/scripts/entities/cavefishcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cavefishcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A U L
--- a/game_scripts/scripts/entities/cc_cat.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_cat.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- get beat up by CC_BeatCat
v.n = 0
--- a/game_scripts/scripts/entities/cc_endofgame.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_endofgame.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
setupEntity(me)
--- a/game_scripts/scripts/entities/cc_father.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_father.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/cc_final.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_final.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.singDelay = 0
--- a/game_scripts/scripts/entities/cc_getrocked.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_getrocked.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.spawnedEnemies = false
--- a/game_scripts/scripts/entities/cc_gf.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_gf.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- moves around
-- follows dropped flowers
--- a/game_scripts/scripts/entities/cc_kid.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_kid.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- throw rocks
v.n = 0
--- a/game_scripts/scripts/entities/cc_mother.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_mother.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- sings while animating
--- a/game_scripts/scripts/entities/cc_statuehead.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_statuehead.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
setupEntity(me, "MissingImage")
--- a/game_scripts/scripts/entities/cc_sunkencity.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cc_sunkencity.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/cellgenerator.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cellgenerator.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- C E L L G E N E R A T O R
--- a/game_scripts/scripts/entities/chestmonster.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/chestmonster.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/chomper.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/chomper.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- C H O M P E R
--- a/game_scripts/scripts/entities/clam.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/clam.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/clay.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/clay.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- CLAY
--- a/game_scripts/scripts/entities/claystatue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/claystatue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/clockworkcrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/clockworkcrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- K I N G C R A B
--- a/game_scripts/scripts/entities/clockworkfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/clockworkfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A U L
--- a/game_scripts/scripts/entities/collectibleanemoneseed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleanemoneseed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblearnassistatue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblearnassistatue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblebanner.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblebanner.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblebioseed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblebioseed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectibleblackpearl.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleblackpearl.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectibleblasteregg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleblasteregg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/collectiblechest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblechest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblecrabcostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblecrabcostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- mithalas collectible: crab costume
--- a/game_scripts/scripts/entities/collectibledumboegg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibledumboegg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/collectibleenergyboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleenergyboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectibleenergystatue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleenergystatue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectibleenergytemple.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleenergytemple.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy temple collectible: energy temple costume
--- a/game_scripts/scripts/entities/collectiblegear.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblegear.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblejellycostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblejellycostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- mithalas collectible: crab costume
--- a/game_scripts/scripts/entities/collectiblejellyplant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblejellyplant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblemithaladoll.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblemithaladoll.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblemithalancostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblemithalancostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- mithalas collectible: mithalan costume
--- a/game_scripts/scripts/entities/collectiblemithalaspot.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblemithalaspot.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblemutantcostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblemutantcostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- mithalas collectible: mithalan costume
--- a/game_scripts/scripts/entities/collectiblenaijacave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblenaijacave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblenautilusprime.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblenautilusprime.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblepiranhaegg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblepiranhaegg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/collectibleseahorsecostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleseahorsecostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy temple collectible: energy temple costume
--- a/game_scripts/scripts/entities/collectibleseedbag.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleseedbag.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectibleskull.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleskull.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblesongcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblesongcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblesporeseed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblesporeseed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblestarfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblestarfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblestonehead.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblestonehead.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectiblesunkey.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblesunkey.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectibleteencostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleteencostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- abyss collectible: teen costume
--- a/game_scripts/scripts/entities/collectibletridenthead.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibletridenthead.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectibleturtleegg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleturtleegg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectibleupsidedownseed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleupsidedownseed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/collectibleurchincostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectibleurchincostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- veil collectible: urchin costume
--- a/game_scripts/scripts/entities/collectiblewalkerbaby.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/collectiblewalkerbaby.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- song cave collectible
--- a/game_scripts/scripts/entities/core.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/core.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.node = 0
--- a/game_scripts/scripts/entities/coward.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/coward.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.drop = 1
--- a/game_scripts/scripts/entities/crabboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/crabboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- BIG MAUL
--- a/game_scripts/scripts/entities/crawlvirus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/crawlvirus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- R A S P B E R R Y
--- a/game_scripts/scripts/entities/crawpappy.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/crawpappy.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A U L
--- a/game_scripts/scripts/entities/creatorform1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/creatorform1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/creatorform2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/creatorform2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/creatorform4.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/creatorform4.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- C R E A T O R , F O R M 4 (beta)
--- a/game_scripts/scripts/entities/creatorform5.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/creatorform5.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/creatorform6.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/creatorform6.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/creatorshadow.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/creatorshadow.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/creatorsunkencity.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/creatorsunkencity.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.hand = 0
--- a/game_scripts/scripts/entities/crotoid.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/crotoid.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A U L
--- a/game_scripts/scripts/entities/crystalholder.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/crystalholder.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- CrystalHolder
--- a/game_scripts/scripts/entities/cursorswarmer.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/cursorswarmer.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/dandelion.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/dandelion.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/dark-li-shot.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/dark-li-shot.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.died = false
--- a/game_scripts/scripts/entities/darkjelly.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/darkjelly.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- DARK JELLY
--- a/game_scripts/scripts/entities/darkjellyfg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/darkjellyfg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- DARK JELLY
--- a/game_scripts/scripts/entities/deepcrawley.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/deepcrawley.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- D E E P C R A W L E Y
--- a/game_scripts/scripts/entities/deepeel.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/deepeel.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- EEL
--- a/game_scripts/scripts/entities/deepjelly.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/deepjelly.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- JELLY SMALL
--- a/game_scripts/scripts/entities/deepurchin.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/deepurchin.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.glow = 0
--- a/game_scripts/scripts/entities/deepwhale.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/deepwhale.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.seen = false
--- a/game_scripts/scripts/entities/doorcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/doorcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- DOOR COMMON
v.init_x = 0
--- a/game_scripts/scripts/entities/drask-final.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/drask-final.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/finalspiritcommon.lua")
--- a/game_scripts/scripts/entities/drask-statue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/drask-statue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/drask.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/drask.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/druniad-final.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/druniad-final.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/finalspiritcommon.lua")
--- a/game_scripts/scripts/entities/druniad.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/druniad.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/duoeye.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/duoeye.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- Duoeye
--- a/game_scripts/scripts/entities/eel.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eel.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- EEL
--- a/game_scripts/scripts/entities/ekko.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/ekko.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- E C C O
--- a/game_scripts/scripts/entities/ekkrit.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/ekkrit.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- EEL
--- a/game_scripts/scripts/entities/electriceel.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/electriceel.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- ELECTRIC EEL
--- a/game_scripts/scripts/entities/empty.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/empty.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
entity_alpha(me, 0)
--- a/game_scripts/scripts/entities/energybarrier.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energybarrier.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- energy barrier
v.init_x = 0
--- a/game_scripts/scripts/entities/energybarrierflicker.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energybarrierflicker.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy barrier flickering
dofile("scripts/entities/energybarrier.lua")
--- a/game_scripts/scripts/entities/energybarrieroff.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energybarrieroff.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy barrier ... off
dofile("scripts/entities/energybarrier.lua")
--- a/game_scripts/scripts/entities/energybarriersolid.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energybarriersolid.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy barrier ... no flickering
dofile("scripts/entities/energybarrier.lua")
--- a/game_scripts/scripts/entities/energyboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energyboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Energy Boss
--- a/game_scripts/scripts/entities/energydoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energydoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy door
dofile("scripts/entities/doorcommon.lua")
--- a/game_scripts/scripts/entities/energygodspirit.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energygodspirit.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/energylamp.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energylamp.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/energyorb.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energyorb.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- ENERGY ORB
--- a/game_scripts/scripts/entities/energyorbcracked.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/energyorbcracked.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- ENERGY ORB CRACKED
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/game_scripts/scripts/entities/entityinclude.lua Sun Oct 02 20:36:32 2011 +0900
@@ -0,0 +1,746 @@
+-- Copyright (C) 2007, 2010 - Bit-Blot
+--
+-- This file is part of Aquaria.
+--
+-- Aquaria is free software; you can redistribute it and/or
+-- modify it under the terms of the GNU General Public License
+-- as published by the Free Software Foundation; either version 2
+-- of the License, or (at your option) any later version.
+--
+-- This program is distributed in the hope that it will be useful,
+-- but WITHOUT ANY WARRANTY; without even the implied warranty of
+-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+--
+-- See the GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with this program; if not, write to the Free Software
+-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+if not v then v = {} end
+
+-- emotes
+EMOTE_NAIJAEVILLAUGH = 0
+EMOTE_NAIJAGIGGLE = 1
+EMOTE_NAIJALAUGH = 2
+EMOTE_NAIJASADSIGH = 3
+EMOTE_NAIJASIGH = 4
+EMOTE_NAIJAWOW = 5
+EMOTE_NAIJAUGH = 6
+EMOTE_NAIJALOW = 7
+EMOTE_NAIJALI = 8
+EMOTE_NAIJAEW = 9
+
+-- Li expressions
+EXPRESSION_NORMAL = 0
+EXPRESSION_ANGRY = 1
+EXPRESSION_HAPPY = 2
+EXPRESSION_HURT = 3
+EXPRESSION_LAUGH = 4
+EXPRESSION_SURPRISE = 5
+
+OVERRIDE_NONE = 315
+
+--actions
+ACTION_MENULEFT = 6
+ACTION_MENURIGHT = 7
+ACTION_MENUUP = 8
+ACTION_MENUDOWN = 9
+
+WATCH_QUIT = 1
+
+BEACON_HOMECAVE = 1
+BEACON_ENERGYTEMPLE = 2
+BEACON_MITHALAS = 3
+BEACON_FOREST = 4
+BEACON_LI = 5
+BEACON_SUNTEMPLE = 6
+BEACON_SONGCAVE = 7
+
+PLAT_WIN = 0
+PLAT_MAC = 1
+PLAT_LNX = 2
+
+-- ingredient effect types
+IET_NONE = -1
+IET_HP = 0
+IET_DEFENSE = 1
+IET_SPEED = 2
+IET_RANDOM = 3
+IET_MAXHP = 4
+IET_INVINCIBLE = 5
+IET_TRIP = 6
+IET_REGEN = 7
+IET_LI = 8
+IET_FISHPOISON = 9
+IET_BITE = 10
+IET_EAT = 11
+IET_LIGHT = 12
+IET_YUM = 13
+IET_PETPOWER = 14
+IET_WEB = 15
+IET_ENERGY = 16
+IET_POISON = 17
+IET_BLIND = 18
+IET_ALLSTATUS = 19
+IET_MAX = 20
+
+-- menu pages
+MENUPAGE_NONE = -1
+MENUPAGE_SONGS = 0
+MENUPAGE_FOOD = 1
+MENUPAGE_TREASURES = 2
+MENUPAGE_PETS = 3
+
+-- Entity States
+STATE_DEAD = 0
+STATE_IDLE = 1
+STATE_PUSH = 2
+STATE_PUSHDELAY = 3
+STATE_PLANTED = 4
+STATE_TRANSFORM = 5
+STATE_PULLED = 6
+STATE_FOLLOWNAIJA = 7
+STATE_DEATHSCENE = 8
+STATE_ATTACK = 9
+STATE_CHARGE0 = 10
+STATE_CHARGE1 = 11
+STATE_CHARGE2 = 12
+STATE_CHARGE3 = 13
+STATE_WAIT = 20
+STATE_HUG = 21
+STATE_EATING = 22
+STATE_FOLLOW = 23
+STATE_TITLE = 24
+STATE_HATCH = 25
+STATE_CARRIED = 26
+
+STATE_HOSTILE = 100
+
+STATE_CLOSE = 200
+STATE_OPEN = 201
+STATE_CLOSED = 202
+STATE_OPENED = 203
+STATE_CHARGED = 300
+STATE_INHOLDER = 301
+STATE_DISABLED = 302
+STATE_FLICKER = 303
+STATE_ACTIVE = 304
+STATE_USED = 305
+STATE_BLOATED = 306
+STATE_DELAY = 307
+STATE_DONE = 309
+STATE_RAGE = 310
+STATE_CALM = 311
+STATE_DESCEND = 312
+STATE_SING = 313
+STATE_TRANSFORM = 314
+STATE_GROW = 315
+STATE_MATING = 316
+STATE_SHRINK = 317
+STATE_MOVE = 319
+STATE_TRANSITION = 320
+STATE_TRANSITION2 = 321
+STATE_TRAPPEDINCREATOR = 322
+STATE_GRAB = 323
+STATE_FIGURE = 324
+STATE_CUTSCENE = 325
+STATE_WAITFORCUTSCENE = 326
+STATE_FIRE = 327
+STATE_FIRING = 328
+STATE_PREP = 329
+STATE_INTRO = 330
+STATE_PUPPET = 331
+
+STATE_COLLECT = 400
+STATE_COLLECTED = 401
+STATE_COLLECTEDINHOUSE = 402
+
+
+--STATE_ATTACK = 500
+STATE_STEP = 501
+STATE_AWAKEN = 502
+
+STATE_WEAK = 600
+STATE_BREAK = 601
+STATE_BROKEN = 602
+
+STATE_PULSE = 700
+STATE_ON = 701
+STATE_OFF = 702
+STATE_SEED = 703
+STATE_PLANTED = 704
+STATE_SK_RED = 705
+STATE_SK_GREEN = 706
+STATE_SK_BLUE = 707
+STATE_SK_YELLOW = 708
+STATE_WAITFORKISS = 710
+STATE_KISS = 711
+STATE_START = 712
+STATE_RACE = 714
+STATE_RESTART = 715
+STATE_APPEAR = 716
+
+STATE_MOVETOWEED = 2000
+STATE_PULLWEED = 2001
+STATE_DONEWEED = 2002
+
+ORIENT_NONE = -1
+ORIENT_LEFT = 0
+ORIENT_RIGHT = 1
+ORIENT_UP = 2
+ORIENT_DOWN = 3
+ORIENT_HORIZONTAL =4
+ORIENT_VERTICAL = 5
+
+-- for entity_isNearObstruction
+OBSCHECK_RANGE = 0
+OBSCHECK_4DIR = 1
+OBSCHECK_DOWN = 2
+
+EV_WALLOUT = 0
+EV_WALLTRANS = 1
+EV_CLAMPING = 2
+EV_SWITCHCLAMP = 3
+EV_CLAMPTRANSF = 4
+EV_MOVEMENT = 5
+EV_COLLIDE = 6
+EV_TOUCHDMG = 7
+EV_FRICTION = 8
+EV_LOOKAT = 9
+EV_CRAWLING = 10
+EV_ENTITYDIED = 11
+EV_TYPEID = 12
+EV_COLLIDELEVEL = 13
+EV_BONELOCKED = 14
+EV_FLIPTOPATH = 15
+EV_NOINPUTNOVEL = 16
+EV_VINEPUSH = 17
+EV_BEASTBURST = 18
+EV_MINIMAP = 19
+EV_SOULSCREAMRADIUS = 20
+EV_WEBSLOW = 21
+EV_MAX = 22
+
+EVT_NONE = 0
+EVT_THERMALVENT = 1
+EVT_GLOBEJELLY = 2
+EVT_CELLWHITE = 3
+EVT_CELLRED = 4
+EVT_PET = 5
+EVT_DARKLISHOT = 6
+EVT_ROCK = 7
+EVT_FORESTGODVINE = 8
+EVT_CONTAINER = 9
+EVT_PISTOLSHRIMP = 10
+EVT_GATEWAYMUTANT = 11
+
+
+-- PATH/node types
+PATH_NONE = 0
+PATH_CURRENT = 1
+PATH_STEAM = 2
+PATH_LI = 3
+PATH_SAVEPOINT = 4
+PATH_WARP = 5
+PATH_SPIRITPORTAL = 6
+PATH_BGSFXLOOP = 7
+PATH_RADARHIDE = 8
+PATH_COOK = 9
+PATH_WATERBUBBLE = 10
+PATH_GEM = 11
+PATH_SETING = 12
+PATH_SETENT = 13
+
+-- Entity Types
+ET_AVATAR =0
+ET_ENEMY =1
+ET_PET =2
+ET_FLOCK =3
+ET_NEUTRAL =4
+ET_INGREDIENT =5
+
+EP_SOLID =0
+EP_MOVABLE =1
+EP_BATTERY =2
+EP_BLOCKER =3
+
+-- Entity Behaviors
+BT_NORMAL =0
+BT_MOTHER =1
+BT_ACTIVEPET =2
+
+-- ACTIVATION TYPES
+AT_NONE =-1
+AT_NORMAL =0
+AT_CLICK =0
+AT_RANGE =1
+
+WT_NORMAL = 0
+WT_SPIRIT = 1
+
+SPEED_NORMAL = 0
+SPEED_SLOW = 1
+SPEED_FAST = 2
+SPEED_VERYFAST = 3
+SPEED_MODSLOW = 4
+SPEED_VERYSLOW = 5
+SPEED_FAST2 = 6
+SPEED_LITOCAVE = 7
+
+BOUNCE_NONE = -1
+BOUNCE_SIMPLE = 0
+BOUNCE_REAL = 1
+
+LOOP_INFINITE = -1
+LOOP_INF = -1
+
+LAYER_BODY = 0
+LAYER_UPPERBODY = 1
+LAYER_HEAD = 2
+LAYER_OVERRIDE = 3
+
+SONG_NONE = -1
+SONG_HEAL = 0
+SONG_ENERGYFORM = 1
+SONG_SONGDOOR1 = 2
+SONG_SPIRITFORM = 3
+SONG_BIND = 4
+SONG_PULL = 4
+SONG_NATUREFORM = 5
+SONG_BEASTFORM = 6
+SONG_SHIELDAURA = 7
+SONG_SHIELD = 7
+SONG_SONGDOOR2 = 8
+SONG_DUALFORM = 9
+SONG_FISHFORM = 10
+SONG_LIGHTFORM = 11
+SONG_SUNFORM = 11
+SONG_LI = 12
+SONG_TIME = 13
+SONG_LANCE = 14
+SONG_MAP = 15
+SONG_ANIMA = 16
+SONG_MAX = 17
+
+BLEND_DEFAULT = 0
+BLEND_ADD = 1
+BLEND_ADDITIVE = 1
+
+SAY_NORMAL = 0
+SAY_QUEUE = 1
+SAY_INTERUPT = 2
+
+--[[
+VO_BEGIN = 200
+FLAG_VO_TITLE = 200
+FLAG_VO_NAIJACAVE = 201
+FLAG_VO_SINGING = 202
+FLAG_VO_MINIMAP = 203
+FLAG_VO_SPEEDBOOST = 204
+FLAG_VO_VERSE = 205
+FLAG_VO_VEDHACAVE = 206
+FLAG_VO_SHIELDSONG = 207
+FLAG_VO_VEDHAEXPLORE = 208
+FLAG_VO_MEMORYCRYSTALS = 209
+FLAG_VO_SONGCAVEENTER = 210
+FLAG_VO_SONGDOOR = 211
+FLAG_VO_SONGCRYSTAL = 212
+FLAG_VO_ENERGYTEMPLEENTER = 213
+FLAG_VO_ENERGYFORM = 214
+FLAG_VO_ENERGYFORMSHOT = 215
+FLAG_VO_ENERGYFORMCHARGE = 216
+FLAG_VO_RETURNTONORMALFORM = 217
+FLAG_VO_ENERGYTEMPLEBOSSOVER = 218
+]]--
+
+ENDING_NAIJACAVE = 10
+ENDING_NAIJACAVEDONE = 11
+ENDING_SECRETCAVE = 12
+ENDING_MAINAREA = 13
+ENDING_DONE = 14
+
+
+FLAG_SONGCAVECRYSTAL = 20
+FLAG_TEIRA = 50
+FLAG_SHARAN = 51
+FLAG_DRASK = 52
+FLAG_VEDHA = 53
+
+FLAG_ENERGYTEMPLE01DOOR = 100
+FLAG_ENERGYDOOR02 = 101
+FLAG_ENERGYSLOT01 = 102
+FLAG_ENERGYSLOT02 = 103
+FLAG_ENERGYSLOT_MAINAREA = 104
+FLAG_MAINAREA_ENERGYTEMPLE_ROCK = 105
+FLAG_ENERGYSLOT_FIRST = 106
+FLAG_ENERGYDOOR03 = 107
+FLAG_ENERGYGODENCOUNTER = 108
+FLAG_ENERGYBOSSDEAD = 109
+FLAG_MAINAREA_ETENTER2 = 110
+FLAG_SUNTEMPLE_WATERLEVEL = 111
+FLAG_SUNTEMPLE_LIGHTCRYSTAL = 112
+FLAG_SUNKENCITY_PUZZLE = 113
+FLAG_SUNKENCITY_BOSS = 114
+FLAG_MITHALAS_THRONEROOM = 115
+FLAG_BOSS_MITHALA = 116
+FLAG_BOSS_FOREST = 117
+FLAG_FISHCAVE = 118
+FLAG_VISION_VEIL = 119
+FLAG_MITHALAS_PRIESTS = 120
+FLAG_FIRSTTRANSTURTLE = 121
+FLAG_13PROGRESSION = 122
+FLAG_FINAL = 123
+FLAG_SPIRIT_ERULIAN = 124
+FLAG_SPIRIT_KROTITE = 125
+FLAG_SPIRIT_DRASK = 126
+FLAG_SPIRIT_DRUNIAD = 127
+FLAG_BOSS_SUNWORM = 128
+FLAG_WHALELAMPPUZZLE = 129
+
+FLAG_TRANSTURTLE_VEIL01 = 130
+FLAG_TRANSTURTLE_OPENWATER06 = 131
+FLAG_TRANSTURTLE_FOREST04 = 132
+FLAG_TRANSTURTLE_OPENWATER03 = 133
+FLAG_TRANSTURTLE_FOREST05 = 134
+FLAG_TRANSTURTLE_MAINAREA = 135
+FLAG_TRANSTURTLE_SEAHORSE = 136
+FLAG_TRANSTURTLE_VEIL02 = 137
+FLAG_TRANSTURTLE_ABYSS03 = 138
+FLAG_TRANSTURTLE_FINALBOSS = 139
+
+FLAG_NAIJA_SWIM = 200
+FLAG_NAIJA_MINIMAP = 201
+FLAG_NAIJA_SPEEDBOOST = 202
+FLAG_NAIJA_MEMORYCRYSTAL = 203
+FLAG_NAIJA_SINGING = 204
+FLAG_NAIJA_LEAVESVEDHA = 205
+FLAG_NAIJA_SONGDOOR = 206
+FLAG_NAIJA_ENTERVEDHACAVE = 207
+FLAG_NAIJA_INTERACT = 208
+FLAG_NAIJA_ENTERSONGCAVE = 209
+FLAG_NAIJA_ENERGYFORMSHOT = 210
+FLAG_NAIJA_ENERGYFORMCHARGE = 211
+FLAG_NAIJA_RETURNTONORMALFORM = 212
+FLAG_NAIJA_ENERGYBARRIER = 213
+FLAG_NAIJA_SOLIDENERGYBARRIER = 214
+FLAG_NAIJA_ENTERENERGYTEMPLE = 215
+FLAG_NAIJA_OPENWATERS = 216
+FLAG_NAIJA_SINGING = 217
+FLAG_NAIJA_INGAMEMENU = 218
+FLAG_NAIJA_SINGINGHINT = 219
+FLAG_NAIJA_LOOK = 220
+FLAG_HINT_MINIMAP = 221
+FLAG_HINT_HEALTHPLANT = 222
+FLAG_HINT_SLEEP = 223
+FLAG_HINT_COLLECTIBLE = 224
+FLAG_HINT_IGFDEMO = 225
+FLAG_HINT_BEASTFORM1 = 226
+FLAG_HINT_BEASTFORM2 = 227
+FLAG_HINT_LISONG = 228
+FLAG_HINT_ENERGYTARGET = 229
+FLAG_HINT_NATUREFORMABILITY = 230
+FLAG_HINT_LICOMBAT = 231
+FLAG_HINT_COOKING = 232
+FLAG_NAIJA_FIRSTVINE = 233
+FLAG_SECRET01 = 234
+FLAG_SECRET02 = 235
+FLAG_SECRET03 = 236
+FLAG_DEEPWHALE = 237
+FLAG_OMPO = 238
+FLAG_HINT_SINGBULB = 239
+FLAG_ENDING = 240
+FLAG_NAIJA_BINDSHELL = 241
+FLAG_NAIJA_BINDROCK = 242
+FLAG_HINT_ROLLGEAR = 243
+FLAG_FIRSTHEALTHUPGRADE = 244
+FLAG_MAINAREA_TRANSTURTLE_ROCK = 245
+FLAG_SKIPSECRETCHECK = 246
+FLAG_SEAHORSEBESTTIME = 247
+FLAG_SEAHORSETIMETOBEAT = 248
+FLAG_HINT_BINDMERMEN = 249
+
+
+FLAG_CREATORVOICE = 250
+
+FLAG_HINT_DUALFORMCHANGE = 251
+FLAG_HINT_DUALFORMCHARGE = 252
+FLAG_HINT_HEALTHUPGRADE = 253
+
+FLAG_VISION_ENERGYTEMPLE = 300
+
+FLAG_COLLECTIBLE_START = 500
+FLAG_COLLECTIBLE_SONGCAVE = 500
+FLAG_COLLECTIBLE_ENERGYTEMPLE = 501
+FLAG_COLLECTIBLE_ENERGYSTATUE = 502
+FLAG_COLLECTIBLE_ENERGYBOSS = 503
+FLAG_COLLECTIBLE_NAIJACAVE = 504
+FLAG_COLLECTIBLE_CRABCOSTUME = 505
+FLAG_COLLECTIBLE_JELLYPLANT = 506
+FLAG_COLLECTIBLE_MITHALASPOT = 507
+FLAG_COLLECTIBLE_SEAHORSECOSTUME = 508
+--FLAG_COLLECTIBLE_TURTLESHELL = 508
+FLAG_COLLECTIBLE_CHEST = 509
+FLAG_COLLECTIBLE_BANNER = 510
+FLAG_COLLECTIBLE_MITHALADOLL = 511
+FLAG_COLLECTIBLE_WALKERBABY = 512
+FLAG_COLLECTIBLE_SEEDBAG = 513
+FLAG_COLLECTIBLE_ARNASSISTATUE = 514
+FLAG_COLLECTIBLE_GEAR = 515
+FLAG_COLLECTIBLE_SUNKEY = 516
+FLAG_COLLECTIBLE_URCHINCOSTUME = 517
+FLAG_COLLECTIBLE_TEENCOSTUME = 518
+FLAG_COLLECTIBLE_MUTANTCOSTUME = 519
+FLAG_COLLECTIBLE_JELLYCOSTUME = 520
+FLAG_COLLECTIBLE_MITHALANCOSTUME = 521
+FLAG_COLLECTIBLE_ANEMONESEED = 522
+FLAG_COLLECTIBLE_BIOSEED = 523
+FLAG_COLLECTIBLE_TURTLEEGG = 524
+FLAG_COLLECTIBLE_SKULL = 525
+FLAG_COLLECTIBLE_TRIDENTHEAD = 526
+FLAG_COLLECTIBLE_SPORESEED = 527
+FLAG_COLLECTIBLE_UPSIDEDOWNSEED = 528
+FLAG_COLLECTIBLE_STONEHEAD = 529
+FLAG_COLLECTIBLE_STARFISH = 530
+FLAG_COLLECTIBLE_BLACKPEARL = 531
+--FLAG_COLLECTIBLE_BABYCRIB = 532
+FLAG_COLLECTIBLE_END = 600
+
+FLAG_PET_ACTIVE = 600
+FLAG_PET_NAMESTART = 601
+FLAG_PET_NAUTILUS = 601
+FLAG_PET_DUMBO = 602
+FLAG_PET_BLASTER = 603
+FLAG_PET_PIRANHA = 604
+
+FLAG_UPGRADE_WOK = 620
+-- does the player have access to 3 slots all the time?
+
+FLAG_COLLECTIBLE_NAUTILUSPRIME = 630
+FLAG_COLLECTIBLE_DUMBOEGG = 631
+FLAG_COLLECTIBLE_BLASTEREGG = 632
+FLAG_COLLECTIBLE_PIRANHAEGG = 633
+
+FLAG_ENTER_HOMEWATERS = 650
+FLAG_ENTER_SONGCAVE = 651
+FLAG_ENTER_ENERGYTEMPLE = 652
+FLAG_ENTER_OPENWATERS = 653
+FLAG_ENTER_HOMECAVE = 654
+FLAG_ENTER_FOREST = 655
+FLAG_ENTER_VEIL = 656
+FLAG_ENTER_MITHALAS = 657
+FLAG_ENTER_MERMOGCAVE = 658
+FLAG_ENTER_MITHALAS = 659
+FLAG_ENTER_SUNTEMPLE = 660
+FLAG_ENTER_ABYSS = 661
+FLAG_ENTER_SUNKENCITY = 662
+FLAG_ENTER_FORESTSPRITECAVE = 663
+FLAG_ENTER_FISHCAVE = 664
+FLAG_ENTER_MITHALASCATHEDRAL = 665
+FLAG_ENTER_TURTLECAVE = 666
+FLAG_ENTER_FROZENVEIL = 667
+FLAG_ENTER_ICECAVE = 668
+FLAG_ENTER_SEAHORSE = 669
+
+
+FLAG_MINIBOSS_START = 700
+FLAG_MINIBOSS_NAUTILUSPRIME = 700
+FLAG_MINIBOSS_KINGJELLY = 701
+FLAG_MINIBOSS_MERGOG = 702
+FLAG_MINIBOSS_CRAB = 703
+FLAG_MINIBOSS_OCTOMUN = 704
+FLAG_MINIBOSS_MANTISSHRIMP = 705
+FLAG_MINIBOSS_PRIESTS = 706
+FLAG_MINIBOSS_END = 720
+
+FLAG_MAMATURTLE_RESCUE1 = 750
+FLAG_MAMATURTLE_RESCUE2 = 751
+FLAG_MAMATURTLE_RESCUE3 = 752
+
+FLAG_SONGDOOR1 = 800
+FLAG_SEALOAFANNOYANCE = 801
+
+FLAG_SEAL_KING = 900
+FLAG_SEAL_QUEEN = 901
+FLAG_SEAL_PRINCE = 902
+
+FLAG_HEALTHUPGRADES = 950
+FLAG_HEALTHUPGRADES_END = 960
+
+FLAG_LI = 1000
+FLAG_LICOMBAT = 1001
+
+
+
+MAX_FLAGS = 1024
+
+ALPHA_NEARZERO = 0.001
+
+SUNKENCITY_START = 0
+SUNKENCITY_CLIMBDOWN = 1
+SUNKENCITY_RUNAWAY = 2
+SUNKENCITY_INHOLE = 3
+SUNKENCITY_GF = 4
+SUNKENCITY_BULLIES = 5
+SUNKENCITY_ANIMA = 6
+SUNKENCITY_BOSSWAIT = 7
+SUNKENCITY_CLAY1 = 8
+SUNKENCITY_CLAY2 = 9
+SUNKENCITY_CLAY3 = 10
+SUNKENCITY_CLAY4 = 11
+SUNKENCITY_CLAY5 = 12
+SUNKENCITY_CLAY6 = 13
+SUNKENCITY_CLAYDONE = 14
+SUNKENCITY_BOSSFIGHT = 15
+SUNKENCITY_BOSSDONE = 16
+SUNKENCITY_FINALTONGUE = 17
+
+FINAL_START = 0
+FINAL_SOMETHING = 1
+FINAL_FREEDLI = 2
+
+ANIM_NONE = 0
+ANIM_POS = 1
+ANIM_ROT = 2
+ANIM_ALL = 10
+
+FORM_NORMAL = 0
+FORM_ENERGY = 1
+FORM_BEAST = 2
+FORM_NATURE = 3
+FORM_SPIRIT = 4
+FORM_DUAL = 5
+FORM_FISH = 6
+FORM_LIGHT = 7
+FORM_SUN = 7
+FORM_MAX = 8
+
+VFX_SHOCK = 0
+VFX_RIPPLE = 1
+
+EAT_NONE = -1
+EAT_DEFAULT = 0
+EAT_FILE = 1
+EAT_MAX = 2
+
+--[[
+DT_ENEMY = 0
+DT_ENEMY_ENERGYBLAST = 1
+DT_ENEMY_SHOCK = 2
+DT_ENEMY_BITE = 3
+DT_ENEMY_TRAP = 4
+DT_ENEMY_WEB = 5
+DT_ENEMY_BEAM = 6
+DT_ENEMY_GAS = 100
+DT_ENEMY_INK = 101
+DT_ENEMY_POISON = 102
+DT_ENEMY_ACTIVEPOISON = 103
+DT_ENEMY_CREATOR = 600
+DT_AVATAR = 1000
+DT_AVATAR_ENERGYBLAST = 1001
+DT_AVATAR_SHOCK = 1002
+DT_AVATAR_BITE = 1003
+DT_AVATAR_VOMIT = 1004
+DT_AVATAR_ACID = 1005
+DT_AVATAR_SPORECHILD = 1006
+DT_AVATAR_LIZAP = 1007
+DT_AVATAR_NATURE = 1008
+DT_AVATAR_ENERGYROLL = 1009
+DT_AVATAR_VINE = 1010
+DT_AVATAR_EAT = 1011
+DT_AVATAR_EAT_BASICSHOT = 1011
+DT_AVATAR_EAT_MAX = 1012
+DT_AVATAR_LANCEATTACH = 1013
+DT_AVATAR_LANCE = 1014
+DT_AVATAR_CREATORSHOT = 1015
+DT_AVATAR_DUALFORMLI = 1016
+DT_AVATAR_DUALFORMNAIJA = 1017
+DT_AVATAR_BUBBLE = 1018
+DT_AVATAR_SEED = 1019
+DT_AVATAR_PETNAUTILUS = 1020
+
+DT_AVATAR_END = 2000
+DT_TOUCH = 2000
+DT_CRUSH = 2001
+DT_SPIKES = 2002
+]]--
+
+DT_NONE = -1
+DT_ENEMY = 0
+DT_ENEMY_ENERGYBLAST = 1
+DT_ENEMY_SHOCK = 2
+DT_ENEMY_BITE = 3
+DT_ENEMY_TRAP = 4
+DT_ENEMY_WEB = 5
+DT_ENEMY_BEAM = 6
+DT_ENEMY_GAS = 7
+DT_ENEMY_INK = 8
+DT_ENEMY_POISON = 9
+DT_ENEMY_ACTIVEPOISON = 10
+DT_ENEMY_CREATOR = 11
+DT_ENEMY_MANTISBOMB = 12
+DT_ENEMY_MAX = 13
+DT_ENEMY_END = 13
+
+DT_AVATAR = 1000
+DT_AVATAR_ENERGYBLAST = 1001
+DT_AVATAR_SHOCK = 1002
+DT_AVATAR_BITE = 1003
+DT_AVATAR_VOMIT = 1004
+DT_AVATAR_ACID = 1005
+DT_AVATAR_SPORECHILD = 1006
+DT_AVATAR_LIZAP = 1007
+DT_AVATAR_NATURE = 1008
+DT_AVATAR_ENERGYROLL = 1009
+DT_AVATAR_VINE = 1010
+DT_AVATAR_EAT = 1011
+DT_AVATAR_EAT_BASICSHOT = 1011
+DT_AVATAR_EAT_MAX = 1012
+DT_AVATAR_LANCEATTACH = 1013
+DT_AVATAR_LANCE = 1014
+DT_AVATAR_CREATORSHOT = 1015
+DT_AVATAR_DUALFORMLI = 1016
+DT_AVATAR_DUALFORMNAIJA = 1017
+DT_AVATAR_BUBBLE = 1018
+DT_AVATAR_SEED = 1019
+DT_AVATAR_PET = 1020
+DT_AVATAR_PETNAUTILUS = 1021
+DT_AVATAR_PETBITE = 1022
+DT_AVATAR_MAX = 1030
+DT_AVATAR_END = 1030
+
+DT_TOUCH = 1031
+DT_CRUSH = 1032
+DT_SPIKES = 1033
+DT_STEAM = 1034
+
+
+-- collide radius
+-- must match value in ScriptedEntity::setupConversationEntity
+CR_DEFAULT = 40
+
+FRAME_TIME = 0.04
+
+FORMUPGRADE_ENERGY1 = 0
+FORMUPGRADE_ENERGY2 = 1
+FORMUPGRADE_BEAST = 2
+
+
+TILE_SIZE = 20
+
+function watchForVoice()
+ while isStreamingVoice() do watch(FRAME_TIME) end
+end
+
+function entity_watchSwimToEntitySide(ent1, ent2)
+ local xoff=entity_getCollideRadius(ent2)+64
+ if entity_x(ent1) < entity_x(ent2) then
+ xoff = -xoff
+ end
+ entity_swimToPosition(ent1, entity_x(ent2)+xoff, entity_y(ent2))
+ entity_watchForPath(ent1)
+ entity_idle(ent1)
+ entity_clearVel(ent1)
+ entity_flipToEntity(ent1, ent2)
+ entity_flipToEntity(ent2, ent1)
+end
--- a/game_scripts/scripts/entities/eric_13.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eric_13.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/eric_energyboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eric_energyboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/eric_erulian.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eric_erulian.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/eric_forestgod.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eric_forestgod.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/eric_mithala.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eric_mithala.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/eric_mutantnaija.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eric_mutantnaija.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/eric_sunkenmom.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eric_sunkenmom.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/erulian-final.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/erulian-final.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/finalspiritcommon.lua")
--- a/game_scripts/scripts/entities/erulianghost.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/erulianghost.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- energy door
function init(me)
--- a/game_scripts/scripts/entities/eviljelly.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eviljelly.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- JELLY SMALL
--- a/game_scripts/scripts/entities/eyespiral.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/eyespiral.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/falsebg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/falsebg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
setupEntity(me)
--- a/game_scripts/scripts/entities/final-mutant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/final-mutant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/finaldoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/finaldoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy door
dofile("scripts/entities/doorcommon.lua")
--- a/game_scripts/scripts/entities/finalspiritcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/finalspiritcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/finaltongue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/finaltongue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy door
dofile("scripts/entities/doorcommon.lua")
--- a/game_scripts/scripts/entities/fishcaveglow.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/fishcaveglow.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/flatfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/flatfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.target = 0
--- a/game_scripts/scripts/entities/flea.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/flea.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Flea
--- a/game_scripts/scripts/entities/floating-city.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/floating-city.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/forestgod.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/forestgod.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
local STATE_EYESOPEN = 1000
local STATE_DIE = 1001
--- a/game_scripts/scripts/entities/forestgodseed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/forestgodseed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ===============================================================================================
-- SPORE CHILD
--- a/game_scripts/scripts/entities/forestgodvine.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/forestgodvine.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.timer = 0
v.growTime = 0.2
--- a/game_scripts/scripts/entities/forestgodvinehead.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/forestgodvinehead.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.timer = 0
v.growTime = 0.1
--- a/game_scripts/scripts/entities/forestsprite.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/forestsprite.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/formupgradeenergy1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/formupgradeenergy1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.charge = 0
v.delay = 1
--- a/game_scripts/scripts/entities/formupgradeenergy2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/formupgradeenergy2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.charge = 0
v.delay = 1
--- a/game_scripts/scripts/entities/froog.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/froog.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- FROOG
--- a/game_scripts/scripts/entities/gateway.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/gateway.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.t = 0
--- a/game_scripts/scripts/entities/gear.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/gear.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/gearcommon.lua")
--- a/game_scripts/scripts/entities/gearcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/gearcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.rotSpd = 0.0
v.n = 0
--- a/game_scripts/scripts/entities/gearfast.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/gearfast.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/gearcommon.lua")
--- a/game_scripts/scripts/entities/gearmed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/gearmed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/gearcommon.lua")
--- a/game_scripts/scripts/entities/gearslow.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/gearslow.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/gearcommon.lua")
--- a/game_scripts/scripts/entities/globecrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/globecrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- G L O B E C R A B
--- a/game_scripts/scripts/entities/grabbyarm.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/grabbyarm.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- G R A B B Y A R M (beta)
--- a/game_scripts/scripts/entities/greenseadragon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/greenseadragon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.dir = 0
v.dirTimer = 0
--- a/game_scripts/scripts/entities/groundshocker.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/groundshocker.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- G R O U N D S H O C K E R
--- a/game_scripts/scripts/entities/groundshockerattackcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/groundshockerattackcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- G R O U N D S H O C K E R A T T A C K
--- a/game_scripts/scripts/entities/groundshockerattackl.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/groundshockerattackl.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- G R O U N D S H O C K E R A T T A C K -- L E F T
--- a/game_scripts/scripts/entities/groundshockerattackr.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/groundshockerattackr.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- G R O U N D S H O C K E R A T T A C K -- R I G H T
--- a/game_scripts/scripts/entities/groundshockershell.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/groundshockershell.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.myWeight = 432
v.onSurface = 0
--- a/game_scripts/scripts/entities/grouper.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/grouper.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/guardian.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/guardian.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.attackDelay = 2
--- a/game_scripts/scripts/entities/hardbeetle.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/hardbeetle.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- H A R D B E E T L E
--- a/game_scripts/scripts/entities/hatchetfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/hatchetfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- H A T C H E T F I S H
--- a/game_scripts/scripts/entities/healthplant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/healthplant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- HEALTH PLANT
--- a/game_scripts/scripts/entities/healthupgrade0.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/healthupgrade0.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/healthupgradetemplate.lua")
--- a/game_scripts/scripts/entities/healthupgrade1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/healthupgrade1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/healthupgradetemplate.lua")
--- a/game_scripts/scripts/entities/healthupgrade2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/healthupgrade2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/healthupgradetemplate.lua")
--- a/game_scripts/scripts/entities/healthupgrade3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/healthupgrade3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/healthupgradetemplate.lua")
--- a/game_scripts/scripts/entities/healthupgrade4.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/healthupgrade4.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/healthupgradetemplate.lua")
--- a/game_scripts/scripts/entities/hellbeast.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/hellbeast.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.bone_tongue = 0
v.bone_hand = 0
--- a/game_scripts/scripts/entities/horror.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/horror.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/horseshoe.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/horseshoe.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/huggy.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/huggy.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- H U G G Y
--- a/game_scripts/scripts/entities/hydrawurm.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/hydrawurm.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- H Y D R A W U R M
--- a/game_scripts/scripts/entities/icechunkcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/icechunkcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- I C E C H U N K C O M M O N S C R I P T
--- a/game_scripts/scripts/entities/icechunklarge.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/icechunklarge.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- L A R G E I C E C H U N K
--- a/game_scripts/scripts/entities/icechunkmedium.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/icechunkmedium.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- M E D I U M I C E C H U N K
--- a/game_scripts/scripts/entities/icechunksmall.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/icechunksmall.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- S M A L L I C E C H U N K
--- a/game_scripts/scripts/entities/icecrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/icecrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- I C E C R A B
--- a/game_scripts/scripts/entities/icejelly.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/icejelly.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- J E L L Y - I C E
--- a/game_scripts/scripts/entities/iceshrimp.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/iceshrimp.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Ice Shrimp
--- a/game_scripts/scripts/entities/jelly.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/jelly.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- J E L L Y - Original Flavour
--- a/game_scripts/scripts/entities/jellyshock.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/jellyshock.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- JELLY
--- a/game_scripts/scripts/entities/jellysmall.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/jellysmall.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- JELLY SMALL
--- a/game_scripts/scripts/entities/jellyzap.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/jellyzap.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Z A P J E L L Y (beta)
--- a/game_scripts/scripts/entities/kappa.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/kappa.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.glow = 0
--- a/game_scripts/scripts/entities/kingcrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/kingcrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- K I N G C R A B
--- a/game_scripts/scripts/entities/kingjelly.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/kingjelly.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.core = 0
v.ring = 0
--- a/game_scripts/scripts/entities/krill.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/krill.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Krill
--- a/game_scripts/scripts/entities/krilleggs.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/krilleggs.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- KRILL EGG
--- a/game_scripts/scripts/entities/krotite-end.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/krotite-end.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/krotite-final.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/krotite-final.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/FinalSpiritCommon.lua")
--- a/game_scripts/scripts/entities/krotiteerulianbattle01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/krotiteerulianbattle01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/krotiteontheway.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/krotiteontheway.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/krotitevskrotite.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/krotitevskrotite.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/krotiteworshipper.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/krotiteworshipper.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/leach.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/leach.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- L E A C H
--- a/game_scripts/scripts/entities/leopardshark.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/leopardshark.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.attackDelay = 0
v.dir = 1
--- a/game_scripts/scripts/entities/li.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/li.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Merman / Thin
--- a/game_scripts/scripts/entities/licage.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/licage.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/lightcrystal.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/lightcrystal.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,6 +17,6 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/LightCrystalCommon.lua")
\ No newline at end of file
--- a/game_scripts/scripts/entities/lightcrystalcharged.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/lightcrystalcharged.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- LIGHT CRYSTAL
--- a/game_scripts/scripts/entities/lightcrystalcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/lightcrystalcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- LIGHT CRYSTAL
--- a/game_scripts/scripts/entities/lihelmet.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/lihelmet.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
local STATE_BEFOREMEET = 1005
--- a/game_scripts/scripts/entities/lionfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/lionfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- L I O N F I S H
--- a/game_scripts/scripts/entities/lipuppet.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/lipuppet.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.bone_head = 0
--- a/game_scripts/scripts/entities/loper.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/loper.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A U L
--- a/game_scripts/scripts/entities/lucien-baby.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/lucien-baby.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/lucien.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/lucien.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/luciengf.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/luciengf.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/mamaturtle.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mamaturtle.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A M A T U R T L E
--- a/game_scripts/scripts/entities/mantis-bomb.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mantis-bomb.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/mantis.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mantis.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A N T I S
--- a/game_scripts/scripts/entities/maul.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/maul.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A U L
--- a/game_scripts/scripts/entities/merchild.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/merchild.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/mergog.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mergog.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
local STATE_FIREPREP = 1000
local STATE_BEAMPREP = 1001
--- a/game_scripts/scripts/entities/merman.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/merman.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/mermanthin.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mermanthin.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Merman / Thin
--- a/game_scripts/scripts/entities/mermog.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mermog.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- AGGRO HOPPER
--- a/game_scripts/scripts/entities/mermoth.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mermoth.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- AGGRO HOPPER
--- a/game_scripts/scripts/entities/merwoman.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/merwoman.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/metaray.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/metaray.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M E T A R A Y
--- a/game_scripts/scripts/entities/mia.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mia.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.head = 0
--- a/game_scripts/scripts/entities/miaghost.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/miaghost.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/minnow.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/minnow.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/naijaswarmercommon.lua")
--- a/game_scripts/scripts/entities/mithalasurn.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mithalasurn.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/breakablecommon.lua")
--- a/game_scripts/scripts/entities/moloch.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/moloch.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- MOLOCH
--- a/game_scripts/scripts/entities/momeyes.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/momeyes.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.beam = 0
--- a/game_scripts/scripts/entities/moneye.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/moneye.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M O N E Y E
--- a/game_scripts/scripts/entities/moneyebreeder.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/moneyebreeder.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M O N E Y E
--- a/game_scripts/scripts/entities/monkey.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/monkey.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
local STATE_CLIMBUP = 1000
--- a/game_scripts/scripts/entities/moray.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/moray.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.attackDelay = 1
--- a/game_scripts/scripts/entities/mosshead.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mosshead.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.tongueTarget = 0
--- a/game_scripts/scripts/entities/mutantnaija.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mutantnaija.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/mutileye.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mutileye.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M U T I L E Y E (alpha)
--- a/game_scripts/scripts/entities/mutilus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/mutilus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- N A U T I L U S
--- a/game_scripts/scripts/entities/naijababyghost.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/naijababyghost.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/naijachild.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/naijachild.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/naijachildghost.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/naijachildghost.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/naijaswarmercommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/naijaswarmercommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/natureformflowers.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/natureformflowers.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- SPORE SEED
--- a/game_scripts/scripts/entities/nauplius.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nauplius.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- N A U P L I U S
--- a/game_scripts/scripts/entities/nautilus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nautilus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- N A U T I L U S
--- a/game_scripts/scripts/entities/nautilusprime.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nautilusprime.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- N A U T I L U S P R I M E!!
--- a/game_scripts/scripts/entities/newtblaster.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/newtblaster.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- NEWT BLASTER
--- a/game_scripts/scripts/entities/nudi.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nudi.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- NUDI
--- a/game_scripts/scripts/entities/nudibranch0.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nudibranch0.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/nudibranchtemplate.lua")
--- a/game_scripts/scripts/entities/nudibranch1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nudibranch1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/nudibranchtemplate.lua")
--- a/game_scripts/scripts/entities/nudibranch2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nudibranch2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/nudibranchtemplate.lua")
--- a/game_scripts/scripts/entities/nudibranch3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nudibranch3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/nudibranchtemplate.lua")
--- a/game_scripts/scripts/entities/nudibranchtemplate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nudibranchtemplate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.noteDown = -1
--- a/game_scripts/scripts/entities/nudicommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nudicommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- NUDI
--- a/game_scripts/scripts/entities/nudinoshell.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/nudinoshell.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- NUDI NO SHELL
--- a/game_scripts/scripts/entities/oarfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/oarfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- OARFISH
--- a/game_scripts/scripts/entities/octomun.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/octomun.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.body = 0
--- a/game_scripts/scripts/entities/orbholder.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/orbholder.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- orb holder
v.energyOrb = 0
--- a/game_scripts/scripts/entities/orbiter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/orbiter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.dir = 0
--- a/game_scripts/scripts/entities/originalraspberry.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/originalraspberry.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- R A S P B E R R Y
--- a/game_scripts/scripts/entities/otter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/otter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.ing = 0
--- a/game_scripts/scripts/entities/parrot.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/parrot.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.dir = 0
--- a/game_scripts/scripts/entities/pet_blaster.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/pet_blaster.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- P E T N A U T I L U S
--- a/game_scripts/scripts/entities/pet_dumbo.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/pet_dumbo.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- P E T D U M BO
--- a/game_scripts/scripts/entities/pet_nautilus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/pet_nautilus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- P E T N A U T I L U S
--- a/game_scripts/scripts/entities/pet_piranha.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/pet_piranha.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- P E T N A U T I L U S
--- a/game_scripts/scripts/entities/phonograph.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/phonograph.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- PHONOGRAPH
--- a/game_scripts/scripts/entities/piranha.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/piranha.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A U L
--- a/game_scripts/scripts/entities/pistolshrimp.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/pistolshrimp.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.dir = 0
--- a/game_scripts/scripts/entities/plasmaworm.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/plasmaworm.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- EEL
--- a/game_scripts/scripts/entities/plasmawormbg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/plasmawormbg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- P L A S M A W O R M B G
--- a/game_scripts/scripts/entities/predatorytunicate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/predatorytunicate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.jaw = 0
--- a/game_scripts/scripts/entities/priest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/priest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Merman / Thin
--- a/game_scripts/scripts/entities/priestnormal.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/priestnormal.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/pufferfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/pufferfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.small = 32
--- a/game_scripts/scripts/entities/pullplantcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/pullplantcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/pullplantnormal.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/pullplantnormal.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/pullplantcommon.lua")
--- a/game_scripts/scripts/entities/queen-statue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/queen-statue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/raspberry.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/raspberry.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- R A S P B E R R Y
--- a/game_scripts/scripts/entities/rednautilus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rednautilus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- N A U T I L U S
--- a/game_scripts/scripts/entities/rock0001.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rock0001.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/scripts/entities/rock0002.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rock0002.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/scripts/entities/rock0003.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rock0003.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/scripts/entities/rock0004.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rock0004.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/scripts/entities/rock0005.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rock0005.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/scripts/entities/rock0006.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rock0006.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/scripts/entities/rock0007.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rock0007.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/scripts/entities/rock2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rock2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- R O C K 2
--- a/game_scripts/scripts/entities/rockhead.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rockhead.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M A U L
--- a/game_scripts/scripts/entities/roodshrimp.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/roodshrimp.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Rood Shrimp
--- a/game_scripts/scripts/entities/rotbaby-form1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rotbaby-form1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.evolveTimer = 0
--- a/game_scripts/scripts/entities/rotbaby-form2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rotbaby-form2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.evolveTimer = 0
--- a/game_scripts/scripts/entities/rotbaby-form3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rotbaby-form3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.lungeDelay = 3
--- a/game_scripts/scripts/entities/rotcore.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rotcore.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
local STATE_MOVING = 1001
--- a/game_scripts/scripts/entities/rotcrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rotcrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- R O T C R A B
--- a/game_scripts/scripts/entities/rotworm.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rotworm.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- entity specific
local STATE_GOTOHOLE = 1001
--- a/game_scripts/scripts/entities/roundvirus-bg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/roundvirus-bg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/roundvirus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/roundvirus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/rukh.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/rukh.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- R U K H
--- a/game_scripts/scripts/entities/scavenger.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/scavenger.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.chargeTimer = 0
--- a/game_scripts/scripts/entities/scooter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/scooter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S C O O T E R
--- a/game_scripts/scripts/entities/seahorse.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seahorse.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
--SeaHorse
--- a/game_scripts/scripts/entities/seahorse2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seahorse2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
--SeaHorse
--- a/game_scripts/scripts/entities/seahorse3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seahorse3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
--SeaHorse
--- a/game_scripts/scripts/entities/seahorse4.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seahorse4.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
--SeaHorse
--- a/game_scripts/scripts/entities/seahorse5.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seahorse5.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
--SeaHorse
--- a/game_scripts/scripts/entities/seahorse6.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seahorse6.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
--SeaHorse
--- a/game_scripts/scripts/entities/seahorsebaby.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seahorsebaby.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- S E A H O R S E B A B Y
--- a/game_scripts/scripts/entities/seahorsecommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seahorsecommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
--SeaHorse
--- a/game_scripts/scripts/entities/seal-king.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seal-king.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/sealtemplate.lua")
--- a/game_scripts/scripts/entities/seal-prince.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seal-prince.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/sealtemplate.lua")
--- a/game_scripts/scripts/entities/seal-queen.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seal-queen.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/sealtemplate.lua")
--- a/game_scripts/scripts/entities/seaturtle.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seaturtle.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S E A T U R T L E (beta)
--- a/game_scripts/scripts/entities/seaturtlebaby-special1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seaturtlebaby-special1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- B A B Y S E A T U R T L E
--- a/game_scripts/scripts/entities/seaturtlebaby-special2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seaturtlebaby-special2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- B A B Y S E A T U R T L E
--- a/game_scripts/scripts/entities/seaturtlebaby-special3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seaturtlebaby-special3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- B A B Y S E A T U R T L E
--- a/game_scripts/scripts/entities/seaturtlebaby.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seaturtlebaby.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- B A B Y S E A T U R T L E
--- a/game_scripts/scripts/entities/seaturtlebig.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seaturtlebig.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- B I G S E A T U R T L E
--- a/game_scripts/scripts/entities/seaturtlecommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seaturtlecommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S E A T U R T L E C O M M O N
--- a/game_scripts/scripts/entities/seaturtlesmall.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seaturtlesmall.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- S M A L L S E A T U R T L E
--- a/game_scripts/scripts/entities/seawolf.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seawolf.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/seedcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seedcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- SPORE SEED
--- a/game_scripts/scripts/entities/seedflower.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seedflower.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/seedcommon.lua")
--- a/game_scripts/scripts/entities/seedubervine.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/seedubervine.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/seedcommon.lua")
--- a/game_scripts/scripts/entities/shark.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/shark.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.attackDelay = 0
v.dir = 1
--- a/game_scripts/scripts/entities/shocker.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/shocker.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- SHOCKER
--- a/game_scripts/scripts/entities/shrimp.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/shrimp.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- Rood Shrimp
--- a/game_scripts/scripts/entities/simon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/simon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- Simon Says: "Eight Eyed Monster!"
-- BOROMAL
--- a/game_scripts/scripts/entities/singbulb.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/singbulb.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.bulb = 0
--- a/game_scripts/scripts/entities/skeeter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/skeeter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/slendereel.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/slendereel.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- EEL
--- a/game_scripts/scripts/entities/slippergenerator.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/slippergenerator.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S L I P P E R L O B S T E R
--- a/game_scripts/scripts/entities/slipperlobster.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/slipperlobster.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S L I P P E R L O B S T E R
--- a/game_scripts/scripts/entities/snailgear.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/snailgear.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- SNAIL GEAR
--- a/game_scripts/scripts/entities/songdoor1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songdoor1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy door
dofile("scripts/entities/songdoorcommon.lua")
--- a/game_scripts/scripts/entities/songdoorcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songdoorcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- energy door
v.glow = 0
--- a/game_scripts/scripts/entities/songlamp0.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songlamp0.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/songlampcommon.lua")
--- a/game_scripts/scripts/entities/songlamp1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songlamp1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/songlampcommon.lua")
--- a/game_scripts/scripts/entities/songlamp2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songlamp2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/songlampcommon.lua")
--- a/game_scripts/scripts/entities/songlamp3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songlamp3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/songlampcommon.lua")
--- a/game_scripts/scripts/entities/songlamp4.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songlamp4.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/songlampcommon.lua")
--- a/game_scripts/scripts/entities/songlamp5.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songlamp5.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/songlampcommon.lua")
--- a/game_scripts/scripts/entities/songlamp6.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songlamp6.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/songlampcommon.lua")
--- a/game_scripts/scripts/entities/songlamp7.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songlamp7.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/songlampcommon.lua")
--- a/game_scripts/scripts/entities/songlampcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songlampcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.note = 0
--- a/game_scripts/scripts/entities/songleaf.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songleaf.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S O N G L E A F
--- a/game_scripts/scripts/entities/songspore.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songspore.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- SONG SPORE
--- a/game_scripts/scripts/entities/songstalk.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/songstalk.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- SONG STALK
--- a/game_scripts/scripts/entities/spidercrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/spidercrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- NEWT BLASTER
--- a/game_scripts/scripts/entities/spikyball.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/spikyball.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/spikyblocker.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/spikyblocker.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/spinycrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/spinycrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.glow = 0
--- a/game_scripts/scripts/entities/splitter1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/splitter1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- JELLY
--- a/game_scripts/scripts/entities/splitter2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/splitter2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M O N E Y E
--- a/game_scripts/scripts/entities/spookfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/spookfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S P O O K F I S H (pre-alpha)
--- a/game_scripts/scripts/entities/spooter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/spooter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S P O O T E R (I C E S C O O T E R)
--- a/game_scripts/scripts/entities/sporechild.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sporechild.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ===============================================================================================
-- SPORE CHILD
--- a/game_scripts/scripts/entities/sporechildflower.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sporechildflower.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/sporechildflowertemplate.lua")
--- a/game_scripts/scripts/entities/sporechildflowerportal.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sporechildflowerportal.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/sporechildflowertemplate.lua")
--- a/game_scripts/scripts/entities/sporechildflowerred.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sporechildflowerred.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/sporechildflowertemplate.lua")
--- a/game_scripts/scripts/entities/sporefungus0001.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sporefungus0001.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/sporefungus.lua")
--- a/game_scripts/scripts/entities/sporeplant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sporeplant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S P O R E G E N E R A T O R
--- a/game_scripts/scripts/entities/squeezer.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/squeezer.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S Q U E E Z E R
--- a/game_scripts/scripts/entities/squiddy.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/squiddy.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S Q U I D D Y
--- a/game_scripts/scripts/entities/starmie1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/starmie1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- S T A R M I E 1 (YELLOWISH)
--- a/game_scripts/scripts/entities/starmie2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/starmie2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- S T A R M I E 2 (PURPLEISH)
--- a/game_scripts/scripts/entities/starmiecommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/starmiecommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- S T A R M I E C O M M O N S C R I P T
--- a/game_scripts/scripts/entities/statuehead.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/statuehead.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/rocktemplate.lua")
--- a/game_scripts/scripts/entities/strangecreature.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/strangecreature.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/suncontainer.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/suncontainer.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/breakablecommon.lua")
--- a/game_scripts/scripts/entities/sunkencrate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sunkencrate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/breakablecommon.lua")
--- a/game_scripts/scripts/entities/sunkendad.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sunkendad.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.attackTimer = 0
v.n = 0
--- a/game_scripts/scripts/entities/sunkendoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sunkendoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--v.hits = 0
--- a/game_scripts/scripts/entities/sunkenmom.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sunkenmom.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.dad = 0
--- a/game_scripts/scripts/entities/sunworm.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/sunworm.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- entity specific
--- a/game_scripts/scripts/entities/swordfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/swordfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.attackDelay = 0
--- a/game_scripts/scripts/entities/tabar.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/tabar.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.soundDelay = 0
--- a/game_scripts/scripts/entities/templestatue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/templestatue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- TEMPLE STATUE
--- a/game_scripts/scripts/entities/tigershark.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/tigershark.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.attackDelay = 0
v.dir = 1
--- a/game_scripts/scripts/entities/timerock.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/timerock.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/titletextcenter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/titletextcenter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/titletextcommon.lua")
--- a/game_scripts/scripts/entities/titletextcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/titletextcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.delay = 0.2
v.b1 = 0
--- a/game_scripts/scripts/entities/titletextleft.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/titletextleft.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/titletextcommon.lua")
--- a/game_scripts/scripts/entities/toad.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/toad.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- AGGRO HOPPER
--- a/game_scripts/scripts/entities/transturtle.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/transturtle.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- regular areas
local TURTLE_REGULAR = 0
--- a/game_scripts/scripts/entities/triffle.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/triffle.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/trillious.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/trillious.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- T R I L L I O U S
--- a/game_scripts/scripts/entities/tromulo.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/tromulo.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- Tromulo
--- a/game_scripts/scripts/entities/turret.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/turret.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- T U R R E T
--- a/game_scripts/scripts/entities/turtle.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/turtle.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- TURTLE
--- a/game_scripts/scripts/entities/turtlecommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/turtlecommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- TURTLE
--- a/game_scripts/scripts/entities/turtlenoshell.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/turtlenoshell.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- TURTLE NO SHELL
--- a/game_scripts/scripts/entities/ubervine.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/ubervine.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/ubervinecommon.lua")
--- a/game_scripts/scripts/entities/ubervinecommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/ubervinecommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- SPORE SEED
--- a/game_scripts/scripts/entities/ubervineunlimited.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/ubervineunlimited.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/entities/ubervinecommon.lua")
--- a/game_scripts/scripts/entities/upgrade-wok.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/upgrade-wok.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.cantPickupTimer = 3
--- a/game_scripts/scripts/entities/upsidedownjelly.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/upsidedownjelly.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.soundDelay = 0.1
--- a/game_scripts/scripts/entities/vine.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/vine.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- SPORE SEED
--- a/game_scripts/scripts/entities/vinedoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/vinedoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- energy door
dofile("scripts/entities/doorcommon.lua")
--- a/game_scripts/scripts/entities/walker.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/walker.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- W A L K E R (alpha)
--- a/game_scripts/scripts/entities/weird-alec.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/weird-alec.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/weird-derek.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/weird-derek.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/entities/whelk.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/whelk.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- WHELK
--- a/game_scripts/scripts/entities/whelkcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/whelkcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- WHELK
--- a/game_scripts/scripts/entities/whelknoshell.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/whelknoshell.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- ================================================================================================
-- WHELK NO SHELL
--- a/game_scripts/scripts/entities/wisker.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/wisker.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- WISKER
--- a/game_scripts/scripts/entities/wisp.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/wisp.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.mld = 0.2
--- a/game_scripts/scripts/entities/youngli.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/youngli.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
local ANIMLAYER_LI = 0
local ANIMLAYER_BOAT = 1
--- a/game_scripts/scripts/entities/zygote.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/entities/zygote.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- ================================================================================================
-- M O N E Y E
--- a/game_scripts/scripts/global/menu-treasures.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/global/menu-treasures.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
local function hitWatch(tlen)
local h = entity_getHealth(getNaija())
--- a/game_scripts/scripts/include/collectiblecostumetemplate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/include/collectiblecostumetemplate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
-- generic collectible costume
--- a/game_scripts/scripts/include/collectibletemplate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/include/collectibletemplate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- COLLECTIBLE ITEM
--- a/game_scripts/scripts/include/energyslottemplate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/include/energyslottemplate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
local chargeIDOffset = 5000
--- a/game_scripts/scripts/include/healthupgradetemplate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/include/healthupgradetemplate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
local NOTE_TIME = 2.5
--- a/game_scripts/scripts/include/nodecollectibletemplate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/include/nodecollectibletemplate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function v.commonInit(me, object, flag)
if isFlag(flag, 1) then
--- a/game_scripts/scripts/include/rocktemplate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/include/rocktemplate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.myWeight = 0
--- a/game_scripts/scripts/include/sealtemplate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/include/sealtemplate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.flag = 0
v.node = 0
--- a/game_scripts/scripts/include/sporechildflowertemplate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/include/sporechildflowertemplate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.openTimer = 8
--- a/game_scripts/scripts/include/sporefungus.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/include/sporefungus.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.delayMax = 2
v.delay = v.delayMax
--- a/game_scripts/scripts/maps/_unused/map_intro.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/map_intro.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/finalcommon.lua")
--- a/game_scripts/scripts/maps/_unused/node_altarswitch.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_altarswitch.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.altar = 0
function init(me)
--- a/game_scripts/scripts/maps/_unused/node_beacon_li_off.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_beacon_li_off.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_beacon_songcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_beacon_songcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_block.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_block.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/_unused/node_collectiblebabycrib.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_collectiblebabycrib.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/_unused/node_collectiblecrabcostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_collectiblecrabcostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/_unused/node_collectibleenergytemple.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_collectibleenergytemple.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/_unused/node_collectiblemithalancostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_collectiblemithalancostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/_unused/node_collectiblepiranhaegg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_collectiblepiranhaegg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/_unused/node_collectibleteencostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_collectibleteencostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/_unused/node_collectibleturtleshell.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_collectibleturtleshell.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/_unused/node_collectibleurchincostume.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_collectibleurchincostume.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/_unused/node_costumetest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_costumetest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/_unused/node_creatorvoice.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_creatorvoice.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.done = false
--- a/game_scripts/scripts/maps/_unused/node_doordance.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_doordance.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.door = 0
--- a/game_scripts/scripts/maps/_unused/node_eatompo.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_eatompo.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.boss = 0
--- a/game_scripts/scripts/maps/_unused/node_endenergytemple.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_endenergytemple.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.naija = 0
function init(me)
--- a/game_scripts/scripts/maps/_unused/node_energyboss_done.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_energyboss_done.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.naija = 0
--- a/game_scripts/scripts/maps/_unused/node_energyboss_enter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_energyboss_enter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.naija = 0
v.door = 0
--- a/game_scripts/scripts/maps/_unused/node_energygod.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_energygod.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.energyGod = 0
--- a/game_scripts/scripts/maps/_unused/node_entersongcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_entersongcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_formbarrier.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_formbarrier.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_foundsecret01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_foundsecret01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.done = false
--- a/game_scripts/scripts/maps/_unused/node_foundsecret02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_foundsecret02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.done = false
--- a/game_scripts/scripts/maps/_unused/node_foundsecret03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_foundsecret03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.done = false
--- a/game_scripts/scripts/maps/_unused/node_givealltreasures.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_givealltreasures.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.done = false
--- a/game_scripts/scripts/maps/_unused/node_hint_igfdemo.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_hint_igfdemo.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_hurtnaija.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_hurtnaija.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.timer = 0
v.interval = 1
--- a/game_scripts/scripts/maps/_unused/node_jumptitle.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_jumptitle.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.done = 0
--- a/game_scripts/scripts/maps/_unused/node_killboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_killboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/_unused/node_mainarea_right.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_mainarea_right.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_memorycrystalscene.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_memorycrystalscene.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_naija_energybarrier.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_naija_energybarrier.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_naija_entervedhacave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_naija_entervedhacave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_naija_leavesvedha.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_naija_leavesvedha.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_naija_minimap.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_naija_minimap.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_naija_solidenergybarrier.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_naija_solidenergybarrier.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_prologue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_prologue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/_unused/node_pullsong.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_pullsong.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
function init(me)
--- a/game_scripts/scripts/maps/_unused/node_seeompo.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_seeompo.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.ompo = 0
v.n = 0
--- a/game_scripts/scripts/maps/_unused/node_slowmotest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_slowmotest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.slow = false
function init(me)
--- a/game_scripts/scripts/maps/_unused/node_songnotedonetest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_songnotedonetest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_songsporespawn.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_songsporespawn.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.spawnTimer = 0
--- a/game_scripts/scripts/maps/_unused/node_spawnompo.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_spawnompo.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.ompo = 0
v.n = 0
--- a/game_scripts/scripts/maps/_unused/node_spikes.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_spikes.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/_unused/node_sunkencityboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_sunkencityboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.spawned = false
v.dad = 0
--- a/game_scripts/scripts/maps/_unused/node_swimtobg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_swimtobg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/_unused/node_temp_energyboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_temp_energyboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, false)
--- a/game_scripts/scripts/maps/_unused/node_testwheel.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_testwheel.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_thronenormal.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_thronenormal.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/_unused/node_vedhacave1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_vedhacave1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
vedha = 0
--- a/game_scripts/scripts/maps/_unused/node_vision_energytemple.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_vision_energytemple.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/_unused/node_waterleveltest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_waterleveltest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.oldWaterLevel = 0
v.waterLevelCounter = 0
--- a/game_scripts/scripts/maps/_unused/node_whaleorbholder.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_whaleorbholder.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.orb = 0
--- a/game_scripts/scripts/maps/_unused/node_zoomout.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/_unused/node_zoomout.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.naijain = false
v.n = 0
--- a/game_scripts/scripts/maps/finalcommon.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/finalcommon.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/map_energytemple05.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_energytemple05.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.leave = true
--- a/game_scripts/scripts/maps/map_energytemplevision.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_energytemplevision.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/finalcommon.lua")
--- a/game_scripts/scripts/maps/map_eric.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_eric.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
--- a/game_scripts/scripts/maps/map_final01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_final01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/finalcommon.lua")
--- a/game_scripts/scripts/maps/map_final02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_final02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/finalcommon.lua")
--- a/game_scripts/scripts/maps/map_final03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_final03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/finalcommon.lua")
--- a/game_scripts/scripts/maps/map_finalboss02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_finalboss02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/finalcommon.lua")
--- a/game_scripts/scripts/maps/map_finalescape.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_finalescape.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.doit = true
v.doexit = true
--- a/game_scripts/scripts/maps/map_forest04.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_forest04.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.leave = true
--- a/game_scripts/scripts/maps/map_forestvision.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_forestvision.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
setCutscene(1,1)
--- a/game_scripts/scripts/maps/map_lucien.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_lucien.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.doScene = true
v.debugEnd = false
--- a/game_scripts/scripts/maps/map_mainarea.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_mainarea.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
--[[
--- a/game_scripts/scripts/maps/map_mithalas02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_mithalas02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.leave = true
--- a/game_scripts/scripts/maps/map_mithalasvision.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_mithalasvision.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/finalcommon.lua")
--- a/game_scripts/scripts/maps/map_naijacave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_naijacave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
if isStory(0) then
--- a/game_scripts/scripts/maps/map_secret03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_secret03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
--function ASDFASFD end end end end
--- a/game_scripts/scripts/maps/map_songcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_songcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.leave = true
--- a/game_scripts/scripts/maps/map_suntemple.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_suntemple.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
if isFlag(FLAG_SUNTEMPLE_WATERLEVEL, 0) then
--- a/game_scripts/scripts/maps/map_sunvision.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_sunvision.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.test = false
--- a/game_scripts/scripts/maps/map_thirteenlair.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_thirteenlair.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
local function foundSecrets()
--return true
--- a/game_scripts/scripts/maps/map_vedhacave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_vedhacave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
setElementLayerVisible(7, false)
--- a/game_scripts/scripts/maps/map_veil01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_veil01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
function init()
local n = getNaija()
--- a/game_scripts/scripts/maps/map_veil02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/map_veil02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
function init()
local n = getNaija()
--- a/game_scripts/scripts/maps/node_13encounter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_13encounter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.mia = 0
--- a/game_scripts/scripts/maps/node_autogetli.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_autogetli.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_beacon_energytemple_off.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_beacon_energytemple_off.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_beacon_forest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_beacon_forest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_beacon_forest_off.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_beacon_forest_off.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_beacon_homecave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_beacon_homecave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_beacon_homecave_off.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_beacon_homecave_off.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_beacon_li.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_beacon_li.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_beacon_mithalas.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_beacon_mithalas.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_beacon_mithalas_off.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_beacon_mithalas_off.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_beacon_songcave_off.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_beacon_songcave_off.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_big-anemone.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_big-anemone.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_clearcontrolhints.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_clearcontrolhints.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
function init(me)
end
--- a/game_scripts/scripts/maps/node_clearnotesonsing.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_clearnotesonsing.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.notes = 0
--- a/game_scripts/scripts/maps/node_clicktocook.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_clicktocook.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_closefinaldoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_closefinaldoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.ent = 0
--- a/game_scripts/scripts/maps/node_collectibleanemoneseed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibleanemoneseed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblearnassistatue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblearnassistatue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblebanner.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblebanner.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblebioseed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblebioseed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibleblackpearl.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibleblackpearl.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibleblasteregg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibleblasteregg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblechest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblechest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibledumboegg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibledumboegg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibleenergyboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibleenergyboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibleenergystatue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibleenergystatue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblegear.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblegear.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblejellyplant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblejellyplant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblemithaladoll.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblemithaladoll.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblemithalaspot.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblemithalaspot.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblenaijacave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblenaijacave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblenautilusprime.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblenautilusprime.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibleseedbag.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibleseedbag.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibleskull.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibleskull.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblesongcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblesongcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblesporeseed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblesporeseed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblestarfish.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblestarfish.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblestonehead.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblestonehead.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblesunkey.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblesunkey.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibletridenthead.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibletridenthead.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibleturtleegg.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibleturtleegg.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectibleupsidedownseed.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectibleupsidedownseed.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_collectiblewalkerbaby.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_collectiblewalkerbaby.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/include/nodecollectibletemplate.lua")
--- a/game_scripts/scripts/maps/node_endofdemo.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_endofdemo.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.done = false
--- a/game_scripts/scripts/maps/node_energybossslot.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energybossslot.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
-- activate a temp barrier with a faulty orb
--- a/game_scripts/scripts/maps/node_energydoor02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energydoor02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.doorID = 9
v.holderID = 6
--- a/game_scripts/scripts/maps/node_energydoor03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energydoor03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.doorID = 14
v.holderID = 10
--- a/game_scripts/scripts/maps/node_energygodencounter.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energygodencounter.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.energyGod = 0
v.naija = 0
--- a/game_scripts/scripts/maps/node_energypass.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energypass.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_energyslot01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energyslot01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.doorID = 5
v.holderID = 3
--- a/game_scripts/scripts/maps/node_energyslot02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energyslot02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.doorID = 13
v.holderID = 4
--- a/game_scripts/scripts/maps/node_energyslot_mainarea.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energyslot_mainarea.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.doorID = 27
v.holderID = 28
--- a/game_scripts/scripts/maps/node_energytemple01door.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energytemple01door.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, false)
--- a/game_scripts/scripts/maps/node_energytemple_firstslot.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_energytemple_firstslot.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, false)
--- a/game_scripts/scripts/maps/node_enter_abyss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_abyss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_enter_energytemple.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_energytemple.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_fishcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_fishcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_forest.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_forest.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_forestspritecave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_forestspritecave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_frozenveil.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_frozenveil.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_homecave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_homecave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_homewaters.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_homewaters.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_icecave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_icecave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_mermogcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_mermogcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_mithalas.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_mithalas.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_mithalascathedral.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_mithalascathedral.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_openwaters.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_openwaters.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_seahorse.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_seahorse.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_songcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_songcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_sunkencity.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_sunkencity.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_enter_suntemple.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_suntemple.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_theveil.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_theveil.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_enter_turtlecave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_enter_turtlecave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_fallenmithalastatue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_fallenmithalastatue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
if not isDemo() then
--- a/game_scripts/scripts/maps/node_finalbossdeath.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_finalbossdeath.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.ent = 0
v.incut = false
--- a/game_scripts/scripts/maps/node_finalrockfall.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_finalrockfall.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.delay = 0
--- a/game_scripts/scripts/maps/node_fishcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_fishcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.door = 0
v.n1 = 0
--- a/game_scripts/scripts/maps/node_fishpass.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_fishpass.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_forestbossfadeout.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_forestbossfadeout.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_gasp.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_gasp.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_hint_beastform1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_beastform1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_beastform2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_beastform2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_bindmermen.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_bindmermen.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_cooking.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_cooking.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_hint_dualformchange.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_dualformchange.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_dualformcharge.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_dualformcharge.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_energytarget.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_energytarget.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_healthplant.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_healthplant.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_healthupgrade.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_healthupgrade.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_licombat.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_licombat.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_lisong.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_lisong.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_hint_minimap.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_minimap.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_natureformability.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_natureformability.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_rollgear.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_rollgear.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_hint_rollgearagain.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_rollgearagain.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_hint_singbulb.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_hint_singbulb.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_ingredients.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_ingredients.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.n = 0
--- a/game_scripts/scripts/maps/node_killcreator.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_killcreator.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
if isDeveloperKeys() then
--- a/game_scripts/scripts/maps/node_killentity.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_killentity.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_kingjellyactivate.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_kingjellyactivate.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.done = false
--- a/game_scripts/scripts/maps/node_launchoutofsuntemple.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_launchoutofsuntemple.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
function init(me)
--- a/game_scripts/scripts/maps/node_mainarea_energytemple_rock.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_mainarea_energytemple_rock.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
if isFlag(FLAG_MAINAREA_ENERGYTEMPLE_ROCK, 1) then
--- a/game_scripts/scripts/maps/node_mainarea_etenter2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_mainarea_etenter2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.doorID = 178
v.holderID = 179
--- a/game_scripts/scripts/maps/node_mainarea_transturtle_rock.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_mainarea_transturtle_rock.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
if isFlag(FLAG_MAINAREA_TRANSTURTLE_ROCK, 1) then
--- a/game_scripts/scripts/maps/node_miasecretend.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_miasecretend.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.done = false
--- a/game_scripts/scripts/maps/node_mithalas.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_mithalas.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_naija_bindrock.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_bindrock.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_bindshell.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_bindshell.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_energyformcharge.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_energyformcharge.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_energyformshot.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_energyformshot.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_enterenergytemple.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_enterenergytemple.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_entersongcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_entersongcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_forestspritecave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_forestspritecave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_look.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_look.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_mithalasend.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_mithalasend.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_openwaters.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_openwaters.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_returntonormalform.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_returntonormalform.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_singing.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_singing.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_songdoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_songdoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_naija_speedboost.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_naija_speedboost.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_normalpass.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_normalpass.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_npchint.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_npchint.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_opendoorfromlamp.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_opendoorfromlamp.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.lamp = 0
v.door = 0
--- a/game_scripts/scripts/maps/node_openenergydoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_openenergydoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, false)
--- a/game_scripts/scripts/maps/node_openfinaldoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_openfinaldoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.done = false
--- a/game_scripts/scripts/maps/node_opensunkendoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_opensunkendoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.door = 0
v.linode = 0
--- a/game_scripts/scripts/maps/node_pickupgems.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_pickupgems.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.n = 0
--- a/game_scripts/scripts/maps/node_priestbrain.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_priestbrain.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.started = false
--- a/game_scripts/scripts/maps/node_pushdown.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_pushdown.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_pushleft.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_pushleft.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_pushright.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_pushright.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_pushup.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_pushup.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_savepoint.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_savepoint.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_seahorserace.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_seahorserace.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.minNode = 1
v.maxNodes = 7
--- a/game_scripts/scripts/maps/node_secret01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_secret01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
--function bASDFASDF () ()A {}}A SDFASJDF end end end
--- a/game_scripts/scripts/maps/node_secret02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_secret02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
--function bASDFASDF () ()A {}}A SDFASJDF end end end
--- a/game_scripts/scripts/maps/node_secret03.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_secret03.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
--function bASDFASDF () ()A {}}A SDFASJDF end end end
--- a/game_scripts/scripts/maps/node_see13firsttime.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_see13firsttime.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.mia = 0
--- a/game_scripts/scripts/maps/node_seehealthup.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_seehealthup.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.done = false
--- a/game_scripts/scripts/maps/node_seelibody.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_seelibody.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.done = false
--- a/game_scripts/scripts/maps/node_shownote1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_shownote1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/node_shownote_common.lua")
--- a/game_scripts/scripts/maps/node_shownote3.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_shownote3.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/node_shownote_common.lua")
--- a/game_scripts/scripts/maps/node_shownote5.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_shownote5.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/node_shownote_common.lua")
--- a/game_scripts/scripts/maps/node_shownote7.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_shownote7.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
dofile("scripts/maps/node_shownote_common.lua")
--- a/game_scripts/scripts/maps/node_shownote_common.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_shownote_common.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.myNote = 0
v.noteQuad = 0
--- a/game_scripts/scripts/maps/node_singinghint.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_singinghint.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_sit.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_sit.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_sleep.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_sleep.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_songcavecrystal.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_songcavecrystal.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
--[[
--- a/game_scripts/scripts/maps/node_songdoormural.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_songdoormural.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.giggled = false
--- a/game_scripts/scripts/maps/node_spawncrabboss.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_spawncrabboss.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.mergog = 0
--- a/game_scripts/scripts/maps/node_spawnli.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_spawnli.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
if (isFlag(FLAG_LI, 0) and isMapName("VEIL01"))
--- a/game_scripts/scripts/maps/node_spawnmergog.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_spawnmergog.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.mergog = 0
--- a/game_scripts/scripts/maps/node_spawnnautilusprime.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_spawnnautilusprime.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.nauty = 0
--- a/game_scripts/scripts/maps/node_spawnoctomun.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_spawnoctomun.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.boss = 0
--- a/game_scripts/scripts/maps/node_spawnspores.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_spawnspores.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,7 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
v.n = 0
v.sz = 64
--- a/game_scripts/scripts/maps/node_sunkencityboss2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_sunkencityboss2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.spawned = false
v.dad = 0
--- a/game_scripts/scripts/maps/node_sunkencityclosedoor.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_sunkencityclosedoor.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.didInit = false
v.done = false
--- a/game_scripts/scripts/maps/node_sunkencityskip.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_sunkencityskip.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
if isDeveloperKeys() then
--- a/game_scripts/scripts/maps/node_suntemple_gear1.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_suntemple_gear1.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.running = false
v.t = 12
--- a/game_scripts/scripts/maps/node_suntemple_gear2.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_suntemple_gear2.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.running = false
v.t = 12
--- a/game_scripts/scripts/maps/node_suntemple_lightcrystal.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_suntemple_lightcrystal.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
end
--- a/game_scripts/scripts/maps/node_sunwormcavebrain.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_sunwormcavebrain.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.h1 = 0
v.h2 = 0
--- a/game_scripts/scripts/maps/node_sunwormpush.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_sunwormpush.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.s = 0
--- a/game_scripts/scripts/maps/node_throne.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_throne.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.door = 0
function init(me)
--- a/game_scripts/scripts/maps/node_title.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_title.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
--SCRIPT_OFF
--- a/game_scripts/scripts/maps/node_title_continue.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_title_continue.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_title_mods.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_title_mods.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_title_newgame.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_title_newgame.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_title_options.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_title_options.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_title_quit.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_title_quit.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, true)
--- a/game_scripts/scripts/maps/node_title_replayintro.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_title_replayintro.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init(me)
node_setCursorActivation(me, (not isDemo()))
--- a/game_scripts/scripts/maps/node_updatemusic.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_updatemusic.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_vision_veil.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_vision_veil.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
--- a/game_scripts/scripts/maps/node_whalelamppuzzlebrain.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_whalelamppuzzlebrain.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.door = 0
--- a/game_scripts/scripts/maps/node_whaleorbgrab.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_whaleorbgrab.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.orb = 0
--- a/game_scripts/scripts/maps/node_whalespawnorb.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_whalespawnorb.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.orb = 0
--- a/game_scripts/scripts/maps/node_zoomoutfar.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/node_zoomoutfar.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
v.n = 0
v.wasIn = false
--- a/game_scripts/scripts/maps/premap_licave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/premap_licave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
--if isFlag(FLAG_VISION_ENERGYTEMPLE, 0) and not(hasSong(SONG_ENERGYFORM) or hasSong(SONG_BIND)) then
--- a/game_scripts/scripts/maps/premap_mainarea.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/premap_mainarea.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
--if isFlag(FLAG_VISION_ENERGYTEMPLE, 0) and not(hasSong(SONG_ENERGYFORM) or hasSong(SONG_BIND)) then
--- a/game_scripts/scripts/maps/premap_trainingcave.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/premap_trainingcave.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
if isFlag(FLAG_VISION_ENERGYTEMPLE, 1) then
--- a/game_scripts/scripts/maps/premap_veil01.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/premap_veil01.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
if isFlag("leftWater", 0) then
--- a/game_scripts/scripts/maps/premap_veil02.lua Sun Oct 02 20:34:52 2011 +0900
+++ b/game_scripts/scripts/maps/premap_veil02.lua Sun Oct 02 20:36:32 2011 +0900
@@ -17,7 +17,8 @@
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-v = getVars()
+if not v then v = {} end
+if not AQUARIA_VERSION then dofile("scripts/entities/entityinclude.lua") end
function init()
if isFlag("leftWater", 0) then