diff --git a/init.lua b/init.lua index 157beae..c36ee69 100644 --- a/init.lua +++ b/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}) diff --git a/sounds/pedology_ice_pure_footstep.1.ogg b/sounds/pedology_ice_pure_footstep.1.ogg new file mode 100644 index 0000000..acd4f78 Binary files /dev/null and b/sounds/pedology_ice_pure_footstep.1.ogg differ diff --git a/sounds/pedology_ice_pure_footstep.2.ogg b/sounds/pedology_ice_pure_footstep.2.ogg new file mode 100644 index 0000000..296f41e Binary files /dev/null and b/sounds/pedology_ice_pure_footstep.2.ogg differ diff --git a/sounds/pedology_ice_pure_footstep.3.ogg b/sounds/pedology_ice_pure_footstep.3.ogg new file mode 100644 index 0000000..7652cb2 Binary files /dev/null and b/sounds/pedology_ice_pure_footstep.3.ogg differ diff --git a/sounds/pedology_ice_white_footstep.1.ogg b/sounds/pedology_ice_white_footstep.1.ogg new file mode 100644 index 0000000..d9fa557 Binary files /dev/null and b/sounds/pedology_ice_white_footstep.1.ogg differ diff --git a/sounds/pedology_ice_white_footstep.2.ogg b/sounds/pedology_ice_white_footstep.2.ogg new file mode 100644 index 0000000..8bff58c Binary files /dev/null and b/sounds/pedology_ice_white_footstep.2.ogg differ diff --git a/sounds/pedology_ice_white_footstep.3.ogg b/sounds/pedology_ice_white_footstep.3.ogg new file mode 100644 index 0000000..778608d Binary files /dev/null and b/sounds/pedology_ice_white_footstep.3.ogg differ diff --git a/sounds/pedology_snow_footstep.1.ogg b/sounds/pedology_snow_footstep.1.ogg new file mode 100644 index 0000000..2d4f3b9 Binary files /dev/null and b/sounds/pedology_snow_footstep.1.ogg differ diff --git a/sounds/pedology_snow_footstep.2.ogg b/sounds/pedology_snow_footstep.2.ogg new file mode 100644 index 0000000..ca95f87 Binary files /dev/null and b/sounds/pedology_snow_footstep.2.ogg differ diff --git a/sounds/pedology_snow_footstep.3.ogg b/sounds/pedology_snow_footstep.3.ogg new file mode 100644 index 0000000..69627a3 Binary files /dev/null and b/sounds/pedology_snow_footstep.3.ogg differ diff --git a/sounds/pedology_snow_footstep.4.ogg b/sounds/pedology_snow_footstep.4.ogg new file mode 100644 index 0000000..523ee7d Binary files /dev/null and b/sounds/pedology_snow_footstep.4.ogg differ diff --git a/sounds/pedology_snow_soft_footstep.1.ogg b/sounds/pedology_snow_soft_footstep.1.ogg new file mode 100644 index 0000000..2c0e04f Binary files /dev/null and b/sounds/pedology_snow_soft_footstep.1.ogg differ diff --git a/sounds/pedology_snow_soft_footstep.2.ogg b/sounds/pedology_snow_soft_footstep.2.ogg new file mode 100644 index 0000000..6d01262 Binary files /dev/null and b/sounds/pedology_snow_soft_footstep.2.ogg differ diff --git a/sounds/pedology_snow_soft_footstep.3.ogg b/sounds/pedology_snow_soft_footstep.3.ogg new file mode 100644 index 0000000..f8b4151 Binary files /dev/null and b/sounds/pedology_snow_soft_footstep.3.ogg differ diff --git a/sounds/pedology_snow_soft_footstep.4.ogg b/sounds/pedology_snow_soft_footstep.4.ogg new file mode 100644 index 0000000..b31bead Binary files /dev/null and b/sounds/pedology_snow_soft_footstep.4.ogg differ diff --git a/textures/pedology_ice_pure.png b/textures/pedology_ice_pure.png new file mode 100644 index 0000000..0270a1c Binary files /dev/null and b/textures/pedology_ice_pure.png differ diff --git a/textures/pedology_ice_white.png b/textures/pedology_ice_white.png new file mode 100644 index 0000000..25491ce Binary files /dev/null and b/textures/pedology_ice_white.png differ diff --git a/textures/pedology_snow.png b/textures/pedology_snow.png new file mode 100644 index 0000000..cf17032 Binary files /dev/null and b/textures/pedology_snow.png differ diff --git a/textures/pedology_snow_packing.png b/textures/pedology_snow_packing.png new file mode 100644 index 0000000..6434397 Binary files /dev/null and b/textures/pedology_snow_packing.png differ diff --git a/textures/pedology_snow_slush.png b/textures/pedology_snow_slush.png new file mode 100644 index 0000000..f14a157 Binary files /dev/null and b/textures/pedology_snow_slush.png differ diff --git a/textures/pedology_snow_soft.png b/textures/pedology_snow_soft.png new file mode 100644 index 0000000..b9dfb67 Binary files /dev/null and b/textures/pedology_snow_soft.png differ diff --git a/textures/pedology_snow_soft_old.png b/textures/pedology_snow_soft_old.png new file mode 100644 index 0000000..3895a82 Binary files /dev/null and b/textures/pedology_snow_soft_old.png differ