summaryrefslogtreecommitdiff
path: root/moreores/init.lua
diff options
context:
space:
mode:
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-03-10 19:44:56 -0400
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>2019-03-10 19:44:56 -0400
commit18fc18b5aece7aae1caafd38a2c742af7974348c (patch)
tree460b6c6ab31c621cd437d04aa7443e5bb343d718 /moreores/init.lua
parentb21c3d368077aa3a1c42ff1582cda6263c018585 (diff)
downloaddreambuilder_modpack-18fc18b5aece7aae1caafd38a2c742af7974348c.tar
dreambuilder_modpack-18fc18b5aece7aae1caafd38a2c742af7974348c.tar.gz
dreambuilder_modpack-18fc18b5aece7aae1caafd38a2c742af7974348c.tar.bz2
dreambuilder_modpack-18fc18b5aece7aae1caafd38a2c742af7974348c.tar.xz
dreambuilder_modpack-18fc18b5aece7aae1caafd38a2c742af7974348c.zip
update cottages, digilines, locks, maptools, moreblocks, technic,
and travelnet
Diffstat (limited to 'moreores/init.lua')
-rw-r--r--moreores/init.lua11
1 files changed, 4 insertions, 7 deletions
diff --git a/moreores/init.lua b/moreores/init.lua
index 08bc0a6..e389778 100644
--- a/moreores/init.lua
+++ b/moreores/init.lua
@@ -10,15 +10,12 @@ Licensed under the zlib license. See LICENSE.md for more information.
moreores = {}
-local S
-if minetest.get_modpath("intllib") then
- S = intllib.Getter()
-else
- S = function(s) return s end
-end
-
local modpath = minetest.get_modpath("moreores")
+local S, NS = dofile(modpath .. "/intllib.lua")
+moreores.S = S
+moreores.NS = NS
+
dofile(modpath .. "/_config.txt")
-- `mg` mapgen support