master
IIIullaIII 2020-05-07 17:31:42 +02:00
parent e3228a4d64
commit 6e4d81f54e
1 changed files with 15 additions and 2 deletions

View File

@ -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