1
0
의 미러 https://repo.or.cz/minetest_pedology.git synced 2025-10-26 22:15:28 +01:00

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
부모 7f7e845742
커밋 0bd01d5b11
22개의 변경된 파일59개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@@ -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:  |  크기: 402 B

Binary file not shown.

After

Width:  |  Height:  |  크기: 530 B

BIN
textures/pedology_snow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  크기: 503 B

Binary file not shown.

After

Width:  |  Height:  |  크기: 490 B

Binary file not shown.

After

Width:  |  Height:  |  크기: 388 B

Binary file not shown.

After

Width:  |  Height:  |  크기: 327 B

Binary file not shown.

After

Width:  |  Height:  |  크기: 382 B