make horsetail ferns buildable_to

This commit is contained in:
Vanessa Ezekowitz 2014-08-12 23:50:37 -04:00
parent f3cdd1b7a1
commit c736a719eb

View File

@ -32,6 +32,7 @@ minetest.register_node("ferns:horsetail_01", {
tiles = {"ferns_horsetail_01.png"}, tiles = {"ferns_horsetail_01.png"},
inventory_image = "ferns_horsetail_01.png", inventory_image = "ferns_horsetail_01.png",
walkable = false, walkable = false,
buildable_to = true,
groups = {snappy=3,flammable=2,attached_node=1,horsetail=1}, groups = {snappy=3,flammable=2,attached_node=1,horsetail=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
@ -45,6 +46,7 @@ minetest.register_node("ferns:horsetail_02", {
paramtype = "light", paramtype = "light",
tiles = {"ferns_horsetail_02.png"}, tiles = {"ferns_horsetail_02.png"},
walkable = false, walkable = false,
buildable_to = true,
groups = {snappy=3,flammable=2,attached_node=1,horsetail=1,not_in_creative_inventory=1}, groups = {snappy=3,flammable=2,attached_node=1,horsetail=1,not_in_creative_inventory=1},
drop = "ferns:horsetail_04", drop = "ferns:horsetail_04",
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
@ -58,6 +60,7 @@ minetest.register_node("ferns:horsetail_03", {
paramtype = "light", paramtype = "light",
tiles = {"ferns_horsetail_03.png"}, tiles = {"ferns_horsetail_03.png"},
walkable = false, walkable = false,
buildable_to = true,
groups = {snappy=3,flammable=2,attached_node=1,horsetail=1,not_in_creative_inventory=1}, groups = {snappy=3,flammable=2,attached_node=1,horsetail=1,not_in_creative_inventory=1},
drop = "ferns:horsetail_04", drop = "ferns:horsetail_04",
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
@ -73,6 +76,7 @@ minetest.register_node("ferns:horsetail_04", { -- the one in inventory
tiles = {"ferns_horsetail_04.png"}, tiles = {"ferns_horsetail_04.png"},
inventory_image = "ferns_horsetail_04.png", inventory_image = "ferns_horsetail_04.png",
walkable = false, walkable = false,
buildable_to = true,
groups = {snappy=3,flammable=2,attached_node=1,horsetail=1}, groups = {snappy=3,flammable=2,attached_node=1,horsetail=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
@ -171,4 +175,4 @@ plantslib:register_generate_plant({
}, },
"abstract_ferns.grow_horsetail" "abstract_ferns.grow_horsetail"
) )
end end