Skip to content
Snippets Groups Projects
Commit bdd22db3 authored by kwolekr's avatar kwolekr
Browse files

Add is_ground_content setting to grass_1, apple, and dry shrubs

parent 51de4236
No related branches found
No related tags found
No related merge requests found
...@@ -1167,6 +1167,7 @@ minetest.register_node("default:sapling", { ...@@ -1167,6 +1167,7 @@ minetest.register_node("default:sapling", {
wield_image = "default_sapling.png", wield_image = "default_sapling.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
is_ground_content = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3} fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
...@@ -1184,6 +1185,7 @@ minetest.register_node("default:apple", { ...@@ -1184,6 +1185,7 @@ minetest.register_node("default:apple", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
walkable = false, walkable = false,
is_ground_content = true,
selection_box = { selection_box = {
type = "fixed", type = "fixed",
fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2} fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
...@@ -1207,6 +1209,7 @@ minetest.register_node("default:dry_shrub", { ...@@ -1207,6 +1209,7 @@ minetest.register_node("default:dry_shrub", {
wield_image = "default_dry_shrub.png", wield_image = "default_dry_shrub.png",
paramtype = "light", paramtype = "light",
walkable = false, walkable = false,
is_ground_content = true,
buildable_to = true, 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(),
...@@ -1225,6 +1228,7 @@ minetest.register_node("default:grass_1", { ...@@ -1225,6 +1228,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,
is_ground_content = true,
buildable_to = true, buildable_to = true,
groups = {snappy=3,flammable=3,flora=1,attached_node=1}, groups = {snappy=3,flammable=3,flora=1,attached_node=1},
sounds = default.node_sound_leaves_defaults(), sounds = default.node_sound_leaves_defaults(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment