diff options
author | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-03-10 19:44:56 -0400 |
---|---|---|
committer | Vanessa Dannenberg <vanessa.e.dannenberg@gmail.com> | 2019-03-10 19:44:56 -0400 |
commit | 18fc18b5aece7aae1caafd38a2c742af7974348c (patch) | |
tree | 460b6c6ab31c621cd437d04aa7443e5bb343d718 /moreblocks/init.lua | |
parent | b21c3d368077aa3a1c42ff1582cda6263c018585 (diff) | |
download | dreambuilder_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 'moreblocks/init.lua')
-rw-r--r-- | moreblocks/init.lua | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/moreblocks/init.lua b/moreblocks/init.lua index ad5ad25..7627f7d 100644 --- a/moreblocks/init.lua +++ b/moreblocks/init.lua @@ -10,20 +10,12 @@ Licensed under the zlib license. See LICENSE.md for more information. moreblocks = {} -local S -if minetest.global_exists("intllib") then - if intllib.make_gettext_pair then - S = intllib.make_gettext_pair() - else - S = intllib.Getter() - end -else - S = function(s) return s end -end -moreblocks.intllib = S - local modpath = minetest.get_modpath("moreblocks") +local S, NS = dofile(modpath .. "/intllib.lua") +moreblocks.S = S +moreblocks.NS = NS + dofile(modpath .. "/config.lua") dofile(modpath .. "/circular_saw.lua") dofile(modpath .. "/stairsplus/init.lua") |