forked from mtcontrib/unifieddyes
use current intllib API
This commit is contained in:
parent
ef9c129aa2
commit
127caef5b3
@ -1,2 +1,4 @@
|
|||||||
default
|
default
|
||||||
dye
|
dye
|
||||||
|
intllib?
|
||||||
|
|
||||||
|
8
init.lua
8
init.lua
@ -31,14 +31,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
|
|
||||||
-- Boilerplate to support localized strings if intllib mod is installed.
|
-- Boilerplate to support localized strings if intllib mod is installed.
|
||||||
local S
|
local S
|
||||||
if (minetest.get_modpath("intllib")) then
|
if minetest.get_modpath("intllib") then
|
||||||
dofile(minetest.get_modpath("intllib").."/intllib.lua")
|
S = intllib.Getter()
|
||||||
S = intllib.Getter(minetest.get_current_modname())
|
|
||||||
else
|
else
|
||||||
S = function ( s ) return s end
|
S = function(s) return s end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- Items/recipes needed to generate the few base colors that are not
|
-- Items/recipes needed to generate the few base colors that are not
|
||||||
-- provided by the standard dyes mod.
|
-- provided by the standard dyes mod.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user