From 81d64a1d5b8de4614ffdd5f1a907ad14e81c4383 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Sat, 11 May 2013 00:13:41 +0000 Subject: [PATCH] Zones can now be defined inside an addons /data folder and called upon like that: "addonname+zonename" git-svn-id: http://svn.net-core.org/repos/t-engine4@6705 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/engines/default/engine/Zone.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/game/engines/default/engine/Zone.lua b/game/engines/default/engine/Zone.lua index 31c14540f6..7c7814b062 100644 --- a/game/engines/default/engine/Zone.lua +++ b/game/engines/default/engine/Zone.lua @@ -81,6 +81,7 @@ function _M:updateBaseLevel() end end +--- Returns the base folder containing the zone function _M:getBaseName() local name = self.short_name local base = "/data" -- GitLab