]> git.lizzy.rs Git - xdecor.git/commitdiff
Add Packed Ice
authorjp <jeanpatrick.guerrero@gmail.com>
Mon, 17 Aug 2015 18:35:32 +0000 (20:35 +0200)
committerjp <jeanpatrick.guerrero@gmail.com>
Mon, 17 Aug 2015 18:35:32 +0000 (20:35 +0200)
crafts.lua
nodes.lua
textures/xdecor_packed_ice.png [new file with mode: 0644]

index cef8f70facdbafa7bdc1043e6797ede294e155d7..1647aa806d502947cf77bbf68d874eb836a4a4dc 100644 (file)
@@ -257,6 +257,14 @@ minetest.register_craft({
        }
 })
 
+minetest.register_craft({
+       output = "xdecor:packed_ice",
+       recipe = {
+               {"default:ice", "default:ice"},
+               {"default:ice", "default:ice"}
+       }
+})
+
 minetest.register_craft({
        output = "xdecor:painting",
        recipe = {
index b5ae908bf0f1ad0c8b4ab8c0b64d45c2a0e31012..41485224addf3b00aa336920431680b1b20e01a9 100644 (file)
--- a/nodes.lua
+++ b/nodes.lua
@@ -427,6 +427,14 @@ xdecor.register("lightbox", {
        sounds = sound.glass
 })
 
+xdecor.register("packed_ice", {
+       drawtype = "normal",
+       description = "Packed Ice",
+       tiles = {"xdecor_packed_ice.png"},
+       groups = {cracky=2},
+       sounds = sound.glass
+})
+
 local flowerstype = { "dandelion_white", "dandelion_yellow", "geranium",
                "rose", "tulip", "viola" }
 
diff --git a/textures/xdecor_packed_ice.png b/textures/xdecor_packed_ice.png
new file mode 100644 (file)
index 0000000..c8047d6
Binary files /dev/null and b/textures/xdecor_packed_ice.png differ