1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-12-22 16:10:18 +01:00

move shrubbery from gloopblocks to homedecor

This commit is contained in:
Vanessa Ezekowitz 2015-07-28 07:37:57 -04:00
parent bc195552ed
commit 6aea902159
5 changed files with 72 additions and 0 deletions

View File

@ -3344,6 +3344,32 @@ minetest.register_craft( {
recipe = { { "homedecor:flower_pot_terracotta" } }
})
minetest.register_craft({
output = "homedecor:shrubbery 3",
recipe = {
{ "group:leaves", "group:leaves", "group:leaves" },
{ "group:leaves", "group:leaves", "group:leaves" },
{ "group:stick", "group:stick", "group:stick" }
}
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:shrubbery_large",
recipe = {
"homedecor:shrubbery"
}
})
minetest.register_craft({
type = "shapeless",
output = "homedecor:shrubbery",
recipe = {
"homedecor:shrubbery_large"
}
})
for i in ipairs(homedecor.banister_materials) do
local name = homedecor.banister_materials[i][1]

View File

@ -349,5 +349,51 @@ if minetest.get_modpath("bucket") then
})
end
minetest.register_node("homedecor:shrubbery_large", {
description = S("Shrubbery"),
drawtype = "allfaces_optional",
tiles = {"homedecor_shrubbery_top.png"},
paramtype = "light",
is_ground_content = false,
groups = {snappy=3, flammable=2},
sounds = default.node_sound_leaves_defaults(),
})
minetest.register_node("homedecor:shrubbery", {
description = S("Shrubbery"),
drawtype = "nodebox",
tiles = {
"homedecor_shrubbery_top.png",
"homedecor_shrubbery_bottom.png",
"homedecor_shrubbery_sides.png"
},
paramtype = "light",
is_ground_content = false,
groups = {snappy=3, flammable=2},
sounds = default.node_sound_leaves_defaults(),
node_box = {
type = "fixed",
fixed = {
{-0.312500,-0.500000,0.250000,-0.187500,-0.437500,0.375000}, --NodeBox 1
{0.187500,-0.500000,-0.125000,0.312500,-0.437500,0.000000}, --NodeBox 2
{0.000000,-0.500000,-0.312500,0.125000,-0.437500,-0.187500}, --NodeBox 3
{-0.375000,-0.500000,-0.062500,-0.250000,-0.437500,0.062500}, --NodeBox 4
{0.000000,-0.500000,-0.250000,0.125000,-0.437500,-0.125000}, --NodeBox 5
{0.187500,-0.437500,-0.187500,0.375000,-0.375000,0.062500}, --NodeBox 6
{-0.062500,-0.437500,0.125000,0.187500,-0.375000,0.375000}, --NodeBox 7
{-0.062500,-0.437500,-0.375000,0.187500,-0.375000,-0.062500}, --NodeBox 8
{-0.375000,-0.437500,0.187500,-0.125000,-0.375000,0.431179}, --NodeBox 9
{-0.437500,-0.437500,-0.125000,-0.187500,-0.375000,0.125000}, --NodeBox 10
{-0.437500,-0.375000,-0.437500,0.439966,-0.312500,0.420887}, --NodeBox 11
{-0.500000,-0.312500,-0.500000,0.500000,0.500000,0.500000}, --NodeBox 12
{0.000000,-0.500000,0.187500,0.125000,-0.437500,0.312500}, --NodeBox 13
}
}
})
minetest.register_alias("homedecor:well_top", "air")
minetest.register_alias("homedecor:well_base", "homedecor:well")
minetest.register_alias("gloopblocks:shrubbery", "homedecor:shrubbery")
minetest.register_alias("gloopblocks:shrubbery_large", "homedecor:shrubbery_large")

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 317 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 198 B