Update support.lua

This commit is contained in:
Andrew Ward 2013-01-10 21:15:30 +00:00
parent 203ae5d420
commit ebb81cce88
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,12 @@
-- ======================================
print "Food [Support] - Initialising"
--NODE_IMPLEMENT() Gets an item from another mod softly
-- modname: the name of the mod that the item will be got from
-- n_ext: the name of the item that we want to get
-- n_int: the name we want to save the item so we can load it as an ingredient
-- resultfunc: if the mod does not exist, then do this function
function node_implement(modname,n_ext,n_int,resultfunc)
if not minetest.get_modpath(modname) then
-- Mod is NOT installed