Add snow and ice blocks
Slush, soft snow, snow, packing snow, white ice, pure ice
59
init.lua
@ -438,6 +438,65 @@ pedology.register_sucky_group("gravel_medium", "medium gravel", "medium stone",
|
||||
pedology.register_sucky_group("gravel_coarse", "coarse gravel", "big stone",
|
||||
2, 0, 1, 1, {500, 750, 1000}, 1, sound_gravel_coarse, { crumbly = 1, sun_dry = 1 })
|
||||
|
||||
--[[ snow and ice ]]
|
||||
|
||||
-- TODO: slushy snow is very instable snow; it should be destroyed when touched
|
||||
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,
|
||||
groups = { crumbly = 1, level = 1, melts = 1, falling_node = 1},
|
||||
freezemelt = "pedology:water_fresh_source",
|
||||
})
|
||||
|
||||
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,
|
||||
groups = { crumbly = 2, level = 2, melts = 1, falling_node = 1 },
|
||||
freezemelt = "pedology:water_fresh_source",
|
||||
})
|
||||
|
||||
minetest.register_node("pedology:snow", {
|
||||
description = "snow",
|
||||
tiles = { "pedology_snow.png" },
|
||||
sounds = { footstep = { name = "pedology_snow_footstep", gain = 1 } },
|
||||
is_groupd_content = true,
|
||||
groups = { crumbly = 3, level = 3, melts = 1, attached_node = 1, falling_node = 1 },
|
||||
freezemelt = "pedology:water_fresh_source",
|
||||
})
|
||||
|
||||
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,
|
||||
groups = { crumbly = 3, cracky = 1, level = 4, melts = 1 },
|
||||
freezemelt = "pedology:water_fresh_source",
|
||||
})
|
||||
|
||||
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,
|
||||
groups = { cracky = 3, level = 1, melts = 1 },
|
||||
freezemelt = "pedology:water_fresh_source",
|
||||
})
|
||||
|
||||
minetest.register_node("pedology:ice_pure", {
|
||||
description = "pure ice",
|
||||
drawtype = "glasslike",
|
||||
paramtype = "light",
|
||||
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,
|
||||
groups = { cracky = 3, level = 2, melts = 1 },
|
||||
freezemelt = "pedology:water_fresh_source",
|
||||
})
|
||||
|
||||
--[[ TODO: clay mud
|
||||
pedology.register_liquid("clay_3", "sludgy clay", 192, 6, 5, 0, {a=192, r=104, g=23, b=0}, {oozing=1})
|
||||
|
BIN
sounds/pedology_ice_pure_footstep.1.ogg
Normal file
BIN
sounds/pedology_ice_pure_footstep.2.ogg
Normal file
BIN
sounds/pedology_ice_pure_footstep.3.ogg
Normal file
BIN
sounds/pedology_ice_white_footstep.1.ogg
Normal file
BIN
sounds/pedology_ice_white_footstep.2.ogg
Normal file
BIN
sounds/pedology_ice_white_footstep.3.ogg
Normal file
BIN
sounds/pedology_snow_footstep.1.ogg
Normal file
BIN
sounds/pedology_snow_footstep.2.ogg
Normal file
BIN
sounds/pedology_snow_footstep.3.ogg
Normal file
BIN
sounds/pedology_snow_footstep.4.ogg
Normal file
BIN
sounds/pedology_snow_soft_footstep.1.ogg
Normal file
BIN
sounds/pedology_snow_soft_footstep.2.ogg
Normal file
BIN
sounds/pedology_snow_soft_footstep.3.ogg
Normal file
BIN
sounds/pedology_snow_soft_footstep.4.ogg
Normal file
BIN
textures/pedology_ice_pure.png
Normal file
After Width: | Height: | Size: 402 B |
BIN
textures/pedology_ice_white.png
Normal file
After Width: | Height: | Size: 530 B |
BIN
textures/pedology_snow.png
Normal file
After Width: | Height: | Size: 503 B |
BIN
textures/pedology_snow_packing.png
Normal file
After Width: | Height: | Size: 490 B |
BIN
textures/pedology_snow_slush.png
Normal file
After Width: | Height: | Size: 388 B |
BIN
textures/pedology_snow_soft.png
Normal file
After Width: | Height: | Size: 327 B |
BIN
textures/pedology_snow_soft_old.png
Normal file
After Width: | Height: | Size: 382 B |