Make grass buildable_to

This commit is contained in:
PilzAdam 2013-03-20 16:22:59 +01:00
parent 4e20ed6153
commit b4e9ef269b

View File

@ -1004,6 +1004,7 @@ minetest.register_node("default:junglegrass", {
wield_image = "default_junglegrass.png", wield_image = "default_junglegrass.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
groups = {snappy=3,flammable=2,attached_node=1}, groups = {snappy=3,flammable=2,attached_node=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
@ -1841,6 +1842,7 @@ minetest.register_node("default:grass_1", {
wield_image = "default_grass_3.png", wield_image = "default_grass_3.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
groups = {snappy=3,flammable=3,attached_node=1}, groups = {snappy=3,flammable=3,attached_node=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
selection_box = { selection_box = {
@ -1863,6 +1865,7 @@ minetest.register_node("default:grass_2", {
wield_image = "default_grass_2.png", wield_image = "default_grass_2.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "default:grass_1", drop = "default:grass_1",
groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1}, groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
@ -1879,6 +1882,7 @@ minetest.register_node("default:grass_3", {
wield_image = "default_grass_3.png", wield_image = "default_grass_3.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "default:grass_1", drop = "default:grass_1",
groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1}, groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
@ -1896,6 +1900,7 @@ minetest.register_node("default:grass_4", {
wield_image = "default_grass_4.png", wield_image = "default_grass_4.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "default:grass_1", drop = "default:grass_1",
groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1}, groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
@ -1913,6 +1918,7 @@ minetest.register_node("default:grass_5", {
wield_image = "default_grass_5.png", wield_image = "default_grass_5.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
buildable_to = true,
drop = "default:grass_1", drop = "default:grass_1",
groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1}, groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),