update
This commit is contained in:
parent
e3228a4d64
commit
6e4d81f54e
@ -1,5 +1,18 @@
|
||||
--aliases
|
||||
--minetest.get_modpath("cannabis")
|
||||
cannabis = {} -- A global Object for the mod
|
||||
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")
|
||||
|
||||
--tools
|
||||
|
Loading…
x
Reference in New Issue
Block a user