Mod Flowerpots added to register.

This commit is contained in:
acm 2023-03-05 16:00:32 +01:00
parent f720592e41
commit 3d6a58df45
2 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,3 @@
name = herbs name = herbs
depends = default, flowers depends = default, flowers
optional_depends = hunger_ng, techage, signs_bot optional_depends = hunger_ng, techage, signs_bot, flowerpot

View File

@ -43,3 +43,20 @@ if(minetest.get_modpath("signs_bot")) then
end end
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