update
This commit is contained in:
parent
e3228a4d64
commit
6e4d81f54e
@ -1,5 +1,18 @@
|
|||||||
--aliases
|
cannabis = {} -- A global Object for the mod
|
||||||
--minetest.get_modpath("cannabis")
|
cannabis.path = minetest.get_modpath("cannabis") -- The path of the mod
|
||||||
|
local path = cannabis.path
|
||||||
|
|
||||||
|
-- Get Boilerplate to translate
|
||||||
|
local S
|
||||||
|
if(minetest.get_translator) then
|
||||||
|
S = minetest.get_translator(minetest.get_current_modname())
|
||||||
|
|
||||||
|
else
|
||||||
|
S = function ( s ) return s end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
cannabis.S = S
|
||||||
minetest.register_alias("canapa","cannabis:canapa")
|
minetest.register_alias("canapa","cannabis:canapa")
|
||||||
|
|
||||||
--tools
|
--tools
|
||||||
|
Loading…
x
Reference in New Issue
Block a user