aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crafting.lua13
-rw-r--r--nodes.lua14
-rw-r--r--textures/blue1.pngbin0 -> 97 bytes
3 files changed, 27 insertions, 0 deletions
diff --git a/crafting.lua b/crafting.lua
index ea78578..ba72c2d 100644
--- a/crafting.lua
+++ b/crafting.lua
@@ -604,3 +604,16 @@ if minetest.settings:get_bool("moreblocks.circular_saw_crafting") ~= false then
}
})
end
+
+
+minetest.register_craft({
+ type = "shapeless",
+ output = "moreblocks:blue_tinted_glass 8",
+ recipe = {"default:glass", "default:glass", "default:glass",
+ "default:glass", "dye:blue", "default:glass",
+ "default:glass", "default:glass", "default:glass"}
+})
+
+
+
+
diff --git a/nodes.lua b/nodes.lua
index 895a292..5695bc4 100644
--- a/nodes.lua
+++ b/nodes.lua
@@ -186,6 +186,20 @@ local nodes = {
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass,
},
+ ["blue_tinted_glass"] = {
+ description = S("Blue Tinted Glass"),
+ drawtype = "glasslike_framed_optional",
+ tiles = {"blue1.png^moreblocks_clean_glass.png"},
+ -- tiles = {"moreblocks_clean_glass.png","moreblocks_clean_glass_detail.png"},
+ -- tiles = {"moreblocks_clean_glass.png"},
+ one_texture = true,
+ use_texture_alpha = true,
+ paramtype = "light",
+ no_stairs = true;
+ sunlight_propagates = true,
+ groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
+ sounds = sound_glass,
+ },
["cactus_brick"] = {
description = S("Cactus Brick"),
groups = {cracky = 3},
diff --git a/textures/blue1.png b/textures/blue1.png
new file mode 100644
index 0000000..84410ad
--- /dev/null
+++ b/textures/blue1.png
Binary files differ