Added shrubbery. Call the Knights who say "ni".
parent
2487ca7270
commit
67b8066087
26
crafts.lua
26
crafts.lua
|
@ -357,3 +357,29 @@ minetest.register_craft({
|
|||
"default:grass_1"
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "gloopblocks: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 = "gloopblocks:shrubbery_large",
|
||||
recipe = {
|
||||
"gloopblocks:shrubbery"
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "gloopblocks:shrubbery",
|
||||
recipe = {
|
||||
"gloopblocks:shrubbery_large"
|
||||
}
|
||||
})
|
||||
|
||||
|
|
42
init.lua
42
init.lua
|
@ -11,6 +11,48 @@ Maintained by VanessaE.
|
|||
|
||||
-- Nodes
|
||||
|
||||
minetest.register_node("gloopblocks:shrubbery_large", {
|
||||
description = "Shrubbery",
|
||||
drawtype = "allfaces_optional",
|
||||
tiles = {"gloopblocks_shrubbery_top.png"},
|
||||
paramtype = "light",
|
||||
is_ground_content = false,
|
||||
groups = {snappy=3, flammable=2},
|
||||
sounds = default.node_sound_leaves_defaults(),
|
||||
})
|
||||
|
||||
minetest.register_node("gloopblocks:shrubbery", {
|
||||
description = "Shrubbery",
|
||||
drawtype = "nodebox",
|
||||
tiles = {
|
||||
"gloopblocks_shrubbery_top.png",
|
||||
"gloopblocks_shrubbery_bottom.png",
|
||||
"gloopblocks_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_node("gloopblocks:rainbow_block", {
|
||||
description = "Rainbow Block",
|
||||
tiles = {"gloopblocks_rainbow_block.png"},
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 762 B |
Binary file not shown.
After Width: | Height: | Size: 476 B |
Binary file not shown.
After Width: | Height: | Size: 346 B |
Loading…
Reference in New Issue