Mod Flowerpots added to register.
This commit is contained in:
parent
f720592e41
commit
3d6a58df45
2
mod.conf
2
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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user