mirror of
https://repo.or.cz/minetest_pedology.git
synced 2024-12-28 19:00:18 +01:00
Add ice cubes
This commit is contained in:
parent
e76f040add
commit
0039b8f786
14
init.lua
14
init.lua
@ -462,6 +462,18 @@ minetest.register_craftitem("pedology:lump_snow", {
|
|||||||
inventory_image = "pedology_lump_snow.png",
|
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
|
-- TODO: slushy snow is very instable snow; it should be destroyed when touched
|
||||||
minetest.register_node("pedology:snow_slush", {
|
minetest.register_node("pedology:snow_slush", {
|
||||||
description = "slushy snow",
|
description = "slushy snow",
|
||||||
@ -519,6 +531,7 @@ minetest.register_node("pedology:ice_white", {
|
|||||||
sounds = { footstep = { name = "pedology_ice_white_footstep", gain = 0.8 } },
|
sounds = { footstep = { name = "pedology_ice_white_footstep", gain = 0.8 } },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = { cracky = 3, level = 1, melts = 1 },
|
groups = { cracky = 3, level = 1, melts = 1 },
|
||||||
|
drop = "pedology:lump_ice_white 4",
|
||||||
freezemelt = "pedology:water_fresh_source",
|
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 } },
|
sounds = { footstep = { name = "pedology_ice_pure_footstep", gain = 0.8 } },
|
||||||
is_ground_content = true,
|
is_ground_content = true,
|
||||||
groups = { cracky = 3, level = 2, melts = 1 },
|
groups = { cracky = 3, level = 2, melts = 1 },
|
||||||
|
drop = "pedology:lump_ice_pure 4",
|
||||||
freezemelt = "pedology:water_fresh_source",
|
freezemelt = "pedology:water_fresh_source",
|
||||||
})
|
})
|
||||||
|
|
||||||
|
BIN
textures/pedology_lump_ice_pure.png
Normal file
BIN
textures/pedology_lump_ice_pure.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 205 B |
BIN
textures/pedology_lump_ice_white.png
Normal file
BIN
textures/pedology_lump_ice_white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 252 B |
Loading…
Reference in New Issue
Block a user