diff --git a/mod.conf b/mod.conf index 254869c..9b82852 100644 --- a/mod.conf +++ b/mod.conf @@ -1,3 +1,3 @@ name = herbs depends = default, flowers -optional_depends = hunger_ng, techage, signs_bot +optional_depends = hunger_ng, techage, signs_bot, flowerpot diff --git a/register_mods.lua b/register_mods.lua index b2f4a3c..54dacbd 100644 --- a/register_mods.lua +++ b/register_mods.lua @@ -43,3 +43,20 @@ if(minetest.get_modpath("signs_bot")) then end end + +if(minetest.get_modpath("flowerpot")) then + local reg = flowerpot.register_node + + for key, value in pairs(hb.mushroomdatas) do + reg(modname .. : .. value[1]) + minetest.log("action",hb.modname .. " registers " .. modname..":" .. value[1] .. " @signs_bot.") + + end + + for key, value in pairs(hb.flowerdatas) do + reg(modname .. ":" .. value[1]) + minetest.log("action",hb.modname .. " registers " .. modname..":" .. value[1] .. " @signs_bot.") + + end + +end