From 0039b8f786929b44dadc0dca9a39408979b5220d Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 25 Jun 2014 16:32:37 +0200 Subject: [PATCH] Add ice cubes --- init.lua | 14 ++++++++++++++ textures/pedology_lump_ice_pure.png | Bin 0 -> 205 bytes textures/pedology_lump_ice_white.png | Bin 0 -> 252 bytes 3 files changed, 14 insertions(+) create mode 100644 textures/pedology_lump_ice_pure.png create mode 100644 textures/pedology_lump_ice_white.png diff --git a/init.lua b/init.lua index 67dc867..8d4468a 100644 --- a/init.lua +++ b/init.lua @@ -462,6 +462,18 @@ minetest.register_craftitem("pedology:lump_snow", { inventory_image = "pedology_lump_snow.png", }) +minetest.register_craftitem("pedology:lump_ice_pure", { + description = "small pure ice cube", + wield_image = "pedology_lump_ice_pure.png", + inventory_image = "pedology_lump_ice_pure.png", +}) + +minetest.register_craftitem("pedology:lump_ice_white", { + description = "small white ice cube", + wield_image = "pedology_lump_ice_white.png", + inventory_image = "pedology_lump_ice_white.png", +}) + -- TODO: slushy snow is very instable snow; it should be destroyed when touched minetest.register_node("pedology:snow_slush", { description = "slushy snow", @@ -519,6 +531,7 @@ minetest.register_node("pedology:ice_white", { sounds = { footstep = { name = "pedology_ice_white_footstep", gain = 0.8 } }, is_ground_content = true, groups = { cracky = 3, level = 1, melts = 1 }, + drop = "pedology:lump_ice_white 4", freezemelt = "pedology:water_fresh_source", }) @@ -531,6 +544,7 @@ minetest.register_node("pedology:ice_pure", { sounds = { footstep = { name = "pedology_ice_pure_footstep", gain = 0.8 } }, is_ground_content = true, groups = { cracky = 3, level = 2, melts = 1 }, + drop = "pedology:lump_ice_pure 4", freezemelt = "pedology:water_fresh_source", }) diff --git a/textures/pedology_lump_ice_pure.png b/textures/pedology_lump_ice_pure.png new file mode 100644 index 0000000000000000000000000000000000000000..284844391315e1ae47f9afb98631df22c943d282 GIT binary patch literal 205 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Q#@T9Lo80eow$*U$&trJT{Fa@ zdgta-|Nl26B;5 zj5w1X!LQ9z>p%I(<)4pczdgt35W4rz0w=*398Nt{058K|MKtxbc_6VL^J0&;+#^87B^w=?!0%8n&Q`)jz1NI0; zB@{#@kx5m78IgGc=+USuA_h?OzTbvancZ>sYk<2m&rZfbRiFk`Au6o1U!NcdZC%Ms zA`&%aGNY{vrgjZj7AGR{$!-m(Vj|dNh|1&f|Ir^KiC96T8SL8t0000 literal 0 HcmV?d00001