From 802367c75bda3fd60d448f93ea22424036d9ec42 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 17 Jun 2014 16:45:39 +0200 Subject: [PATCH] Add firn --- init.lua | 17 +++++++++++++---- textures/pedology_snow_firn.png | Bin 0 -> 665 bytes 2 files changed, 13 insertions(+), 4 deletions(-) create mode 100644 textures/pedology_snow_firn.png diff --git a/init.lua b/init.lua index b806c3e..4042b76 100644 --- a/init.lua +++ b/init.lua @@ -417,18 +417,27 @@ minetest.register_node("pedology:snow_soft", { minetest.register_node("pedology:snow", { description = "snow", tiles = { "pedology_snow.png" }, - sounds = { footstep = { name = "pedology_snow_footstep", gain = 1 } }, + sounds = { footstep = { name = "pedology_snow_footstep", gain = 0.9 } }, is_ground_content = true, - groups = { crumbly = 3, level = 3, melts = 1, attached_node = 1, falling_node = 1 }, + groups = { crumbly = 3, level = 3, melts = 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 } }, + sounds = { footstep = { name = "pedology_snow_footstep", gain = 1 } }, is_ground_content = true, - groups = { crumbly = 3, cracky = 1, level = 4, melts = 1 }, + groups = { crumbly = 3, level = 3, melts = 1 }, + freezemelt = "pedology:water_fresh_source", +}) + +minetest.register_node("pedology:snow_firn", { + description = "firn", + tiles = { "pedology_snow_firn.png" }, + sounds = { footstep = { name = "pedology_ice_white_footstep", gain = 0.7 } }, + is_ground_content = true, + groups = { crumbly = 2, cracky = 2, level = 4, melts = 1 }, freezemelt = "pedology:water_fresh_source", }) diff --git a/textures/pedology_snow_firn.png b/textures/pedology_snow_firn.png new file mode 100644 index 0000000000000000000000000000000000000000..a345efb1bfd4be5b497ed820562af93c57ad789f GIT binary patch literal 665 zcmV;K0%rY*P)4Tc;>~{q4^Z zV?=9B?JO}yj4{L*@oS(m8eLV;CotQnU}J z<9*vQ&tG3rO3@D^=TnFH=ijHIl%g`4VO%gq;eEhbLn(!AON0D(G$7@Ln=a3)UK9%xEnc$C;E1 zIcMg@lTt!T$+m5*VZ&C2^Ql8xYpE*D<#Iv@LEF|yDRIuxwGGZz#2EKGTkTVo#2ABL z1A1Lorg{y-^(Ty|>u^>*j+{e`xvNh#siz%(tqT;B*=q^TW3h=bCX=hwYh zDe-VQBYywmQvs-*rR$m_U1N66DJAB`9}a{N^!>;%PFQPqjBQ(!Q|9T*3n`^Tpmuw} zKghg&8xB$D+%EY1^;)#n%!|kSaICSeD=8Nq-(9fQ;C)~X+wlu+WoX+P{ny{0`RU^$ z&Q+w8u-5S7oVx}g1