Skip to content

Commit

Permalink
Add is_ground_content setting for newer decoration nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
kwolekr committed Nov 30, 2013
1 parent 51de423 commit 0c87556
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions mods/default/nodes.lua
Expand Up @@ -1167,6 +1167,7 @@ minetest.register_node("default:sapling", {
wield_image = "default_sapling.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
selection_box = {
type = "fixed",
fixed = {-0.3, -0.5, -0.3, 0.3, 0.35, 0.3}
Expand All @@ -1184,6 +1185,7 @@ minetest.register_node("default:apple", {
paramtype = "light",
sunlight_propagates = true,
walkable = false,
is_ground_content = true,
selection_box = {
type = "fixed",
fixed = {-0.2, -0.5, -0.2, 0.2, 0, 0.2}
Expand All @@ -1207,6 +1209,7 @@ minetest.register_node("default:dry_shrub", {
wield_image = "default_dry_shrub.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
buildable_to = true,
groups = {snappy=3,flammable=3,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
Expand All @@ -1225,6 +1228,7 @@ minetest.register_node("default:grass_1", {
wield_image = "default_grass_3.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
buildable_to = true,
groups = {snappy=3,flammable=3,flora=1,attached_node=1},
sounds = default.node_sound_leaves_defaults(),
Expand All @@ -1248,6 +1252,7 @@ minetest.register_node("default:grass_2", {
wield_image = "default_grass_2.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
buildable_to = true,
is_ground_content = true,
drop = "default:grass_1",
Expand All @@ -1266,6 +1271,7 @@ minetest.register_node("default:grass_3", {
wield_image = "default_grass_3.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
buildable_to = true,
is_ground_content = true,
drop = "default:grass_1",
Expand All @@ -1285,6 +1291,7 @@ minetest.register_node("default:grass_4", {
wield_image = "default_grass_4.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
buildable_to = true,
is_ground_content = true,
drop = "default:grass_1",
Expand All @@ -1304,6 +1311,7 @@ minetest.register_node("default:grass_5", {
wield_image = "default_grass_5.png",
paramtype = "light",
walkable = false,
is_ground_content = true,
buildable_to = true,
is_ground_content = true,
drop = "default:grass_1",
Expand Down

0 comments on commit 0c87556

Please sign in to comment.