diff --git a/init.lua b/init.lua index 67dc867..8d4468a 100644 --- a/init.lua +++ b/init.lua @@ -462,6 +462,18 @@ minetest.register_craftitem("pedology:lump_snow", { inventory_image = "pedology_lump_snow.png", }) +minetest.register_craftitem("pedology:lump_ice_pure", { + description = "small pure ice cube", + wield_image = "pedology_lump_ice_pure.png", + inventory_image = "pedology_lump_ice_pure.png", +}) + +minetest.register_craftitem("pedology:lump_ice_white", { + description = "small white ice cube", + wield_image = "pedology_lump_ice_white.png", + inventory_image = "pedology_lump_ice_white.png", +}) + -- TODO: slushy snow is very instable snow; it should be destroyed when touched minetest.register_node("pedology:snow_slush", { description = "slushy snow", @@ -519,6 +531,7 @@ minetest.register_node("pedology:ice_white", { sounds = { footstep = { name = "pedology_ice_white_footstep", gain = 0.8 } }, is_ground_content = true, groups = { cracky = 3, level = 1, melts = 1 }, + drop = "pedology:lump_ice_white 4", freezemelt = "pedology:water_fresh_source", }) @@ -531,6 +544,7 @@ minetest.register_node("pedology:ice_pure", { sounds = { footstep = { name = "pedology_ice_pure_footstep", gain = 0.8 } }, is_ground_content = true, groups = { cracky = 3, level = 2, melts = 1 }, + drop = "pedology:lump_ice_pure 4", freezemelt = "pedology:water_fresh_source", }) diff --git a/textures/pedology_lump_ice_pure.png b/textures/pedology_lump_ice_pure.png new file mode 100644 index 0000000..2848443 Binary files /dev/null and b/textures/pedology_lump_ice_pure.png differ diff --git a/textures/pedology_lump_ice_white.png b/textures/pedology_lump_ice_white.png new file mode 100644 index 0000000..85947bc Binary files /dev/null and b/textures/pedology_lump_ice_white.png differ