Add snow and ice blocks

Slush, soft snow, snow, packing snow, white ice, pure ice
This commit is contained in:
Wuzzy 2014-06-15 06:03:35 +02:00
parent 7f7e845742
commit 0bd01d5b11
22 changed files with 59 additions and 0 deletions

View File

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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

BIN
textures/pedology_snow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 327 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B