From 23729b012f92140d77d7e0722852b5b39f613e0c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 17 Jun 2014 00:46:54 +0200 Subject: [PATCH] Fix is_ground_content --- init.lua | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/init.lua b/init.lua index c36ee69..392210e 100644 --- a/init.lua +++ b/init.lua @@ -312,6 +312,7 @@ function pedology.register_sucky(basename, description, wetness, oozing, sucky, drop = drop, groups = groups, sounds = sounds, + is_ground_content = true, } minetest.register_node(name, nodedef) @@ -445,7 +446,7 @@ minetest.register_node("pedology:snow_slush", { description = "slushy snow", tiles = { "pedology_snow_slush.png" }, sounds = { footstep = { name = "pedology_snow_soft_footstep", gain = 1 } }, - is_groupd_content = true, + is_ground_content = true, groups = { crumbly = 1, level = 1, melts = 1, falling_node = 1}, freezemelt = "pedology:water_fresh_source", }) @@ -454,7 +455,7 @@ minetest.register_node("pedology:snow_soft", { description = "soft snow", tiles = { "pedology_snow_soft.png" }, sounds = { footstep = { name = "pedology_snow_soft_footstep", gain = 1 } }, - is_groupd_content = true, + is_ground_content = true, groups = { crumbly = 2, level = 2, melts = 1, falling_node = 1 }, freezemelt = "pedology:water_fresh_source", }) @@ -463,7 +464,7 @@ minetest.register_node("pedology:snow", { description = "snow", tiles = { "pedology_snow.png" }, sounds = { footstep = { name = "pedology_snow_footstep", gain = 1 } }, - is_groupd_content = true, + is_ground_content = true, groups = { crumbly = 3, level = 3, melts = 1, attached_node = 1, falling_node = 1 }, freezemelt = "pedology:water_fresh_source", }) @@ -472,7 +473,7 @@ minetest.register_node("pedology:snow_packing", { description = "packing snow", tiles = { "pedology_snow_packing.png" }, sounds = { footstep = { name = "pedology_ice_white_footstep", gain = 0.8 } }, - is_groupd_content = true, + is_ground_content = true, groups = { crumbly = 3, cracky = 1, level = 4, melts = 1 }, freezemelt = "pedology:water_fresh_source", }) @@ -481,7 +482,7 @@ minetest.register_node("pedology:ice_white", { description = "white ice", tiles = { "pedology_ice_white.png" }, sounds = { footstep = { name = "pedology_ice_white_footstep", gain = 0.8 } }, - is_groupd_content = true, + is_ground_content = true, groups = { cracky = 3, level = 1, melts = 1 }, freezemelt = "pedology:water_fresh_source", }) @@ -493,7 +494,7 @@ minetest.register_node("pedology:ice_pure", { tiles = { "pedology_ice_pure.png" }, inventory_image = minetest.inventorycube( "pedology_ice_pure.png" ), sounds = { footstep = { name = "pedology_ice_pure_footstep", gain = 0.8 } }, - is_groupd_content = true, + is_ground_content = true, groups = { cracky = 3, level = 2, melts = 1 }, freezemelt = "pedology:water_fresh_source", })