Add ice cubes

This commit is contained in:
Wuzzy 2014-06-25 16:32:37 +02:00
parent e76f040add
commit 0039b8f786
3 changed files with 14 additions and 0 deletions

View File

@ -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",
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B