diff options
Diffstat (limited to 'support.lua')
-rw-r--r-- | support.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/support.lua b/support.lua index a4bdb50..e633fed 100644 --- a/support.lua +++ b/support.lua @@ -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
|