From 10a0e290ac07524dc129cc2b227b0f9e95df0f8e Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 16 Apr 2012 09:39:52 -0500 Subject: first commit --- scripts/globals.lua | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 scripts/globals.lua (limited to 'scripts/globals.lua') diff --git a/scripts/globals.lua b/scripts/globals.lua new file mode 100644 index 0000000..f5e2c7d --- /dev/null +++ b/scripts/globals.lua @@ -0,0 +1,19 @@ +--the directions +up=0 +right=1 +down=2 +left = 3 + +--the alliances. +enemy_neutral=0 +enemy_evil=1 +enemy_weapon=2 +enemy_superevil=3 + +--sync configuration vars +function this.sync(this) + this:set_physics(this.physics) + this:set_enemy(this.enemy) + this:set_controllable(this.controllable) + this:set_noclip(this.noclip) +end \ No newline at end of file -- cgit