summaryrefslogtreecommitdiff
path: root/technic_worldgen/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'technic_worldgen/init.lua')
-rw-r--r--technic_worldgen/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/technic_worldgen/init.lua b/technic_worldgen/init.lua
index caf0f89..16334ff 100644
--- a/technic_worldgen/init.lua
+++ b/technic_worldgen/init.lua
@@ -1,5 +1,12 @@
local modpath = minetest.get_modpath("technic_worldgen")
+technic.worldgen = {}
+if intllib then
+ technic.worldgen.gettext = intllib.Getter()
+else
+ technic.worldgen.gettext = function(s) return s end
+end
+
dofile(modpath.."/nodes.lua")
dofile(modpath.."/oregen.lua")
dofile(modpath.."/crafts.lua")