mirror of
https://repo.or.cz/minetest_pedology.git
synced 2024-12-28 02:40:21 +01:00
Fix is_ground_content
This commit is contained in:
parent
0bd01d5b11
commit
23729b012f
13
init.lua
13
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",
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user