mirror of
https://github.com/rubenwardy/food.git
synced 2024-11-10 20:30:24 +01:00
Update support.lua
This commit is contained in:
parent
203ae5d420
commit
ebb81cce88
|
@ -9,6 +9,12 @@
|
||||||
-- ======================================
|
-- ======================================
|
||||||
|
|
||||||
print "Food [Support] - Initialising"
|
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)
|
function node_implement(modname,n_ext,n_int,resultfunc)
|
||||||
if not minetest.get_modpath(modname) then
|
if not minetest.get_modpath(modname) then
|
||||||
-- Mod is NOT installed
|
-- Mod is NOT installed
|
||||||
|
|
Loading…
Reference in New Issue
Block a user