From b4e9ef269bbef44b7d05443703d7172f667c6b81 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Wed, 20 Mar 2013 16:22:59 +0100 Subject: [PATCH] Make grass buildable_to --- mods/default/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mods/default/init.lua b/mods/default/init.lua index 514feb8d..cc273667 100644 --- a/mods/default/init.lua +++ b/mods/default/init.lua @@ -1004,6 +1004,7 @@ minetest.register_node("default:junglegrass", { wield_image = "default_junglegrass.png", paramtype = "light", walkable = false, + buildable_to = true, groups = {snappy=3,flammable=2,attached_node=1}, sounds = default.node_sound_leaves_defaults(), selection_box = { @@ -1841,6 +1842,7 @@ minetest.register_node("default:grass_1", { wield_image = "default_grass_3.png", paramtype = "light", walkable = false, + buildable_to = true, groups = {snappy=3,flammable=3,attached_node=1}, sounds = default.node_sound_leaves_defaults(), selection_box = { @@ -1863,6 +1865,7 @@ minetest.register_node("default:grass_2", { wield_image = "default_grass_2.png", paramtype = "light", walkable = false, + buildable_to = true, drop = "default:grass_1", groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1}, sounds = default.node_sound_leaves_defaults(), @@ -1879,6 +1882,7 @@ minetest.register_node("default:grass_3", { wield_image = "default_grass_3.png", paramtype = "light", walkable = false, + buildable_to = true, drop = "default:grass_1", groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1}, sounds = default.node_sound_leaves_defaults(), @@ -1896,6 +1900,7 @@ minetest.register_node("default:grass_4", { wield_image = "default_grass_4.png", paramtype = "light", walkable = false, + buildable_to = true, drop = "default:grass_1", groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1}, sounds = default.node_sound_leaves_defaults(), @@ -1913,6 +1918,7 @@ minetest.register_node("default:grass_5", { wield_image = "default_grass_5.png", paramtype = "light", walkable = false, + buildable_to = true, drop = "default:grass_1", groups = {snappy=3,flammable=3,attached_node=1,not_in_creative_inventory=1}, sounds = default.node_sound_leaves_defaults(), -- 2.25.1