aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOch Noe <och_noe@forksworld.de>2019-06-02 18:54:08 +0200
committerOch Noe <och_noe@forksworld.de>2019-06-02 18:54:08 +0200
commit89fbbcc93420cbe1e551260c9d36793ddec4a66e (patch)
tree69c6054332faf92214ca693970b08f44ce2e518a
parent4ebb1949dfbefa44935c786ebfd592905a695fa1 (diff)
downloadmoreblocks-89fbbcc93420cbe1e551260c9d36793ddec4a66e.tar.gz
moreblocks-89fbbcc93420cbe1e551260c9d36793ddec4a66e.tar.bz2
moreblocks-89fbbcc93420cbe1e551260c9d36793ddec4a66e.zip
two new glowing glass types / typo fix
-rw-r--r--crafting.lua15
-rw-r--r--nodes.lua26
-rw-r--r--textures/moreblocks_dim_glow_glass.pngbin0 -> 270 bytes
-rw-r--r--textures/moreblocks_low_glow_glass.pngbin0 -> 164 bytes
4 files changed, 40 insertions, 1 deletions
diff --git a/crafting.lua b/crafting.lua
index 6053e58..99d02c2 100644
--- a/crafting.lua
+++ b/crafting.lua
@@ -413,6 +413,19 @@ minetest.register_craft({
recipe = {"default:torch", "moreblocks:glow_glass"},
})
+minetest.register_craft({
+ output = "moreblocks:dim_glow_glass",
+ type = "shapeless",
+ recipe = {"default:glass", "default:glass", "default:glass",
+ "default:torch", "dye:white"},
+})
+
+minetest.register_craft({
+ output = "moreblocks:low_glow_glass",
+ type = "shapeless",
+ recipe = {"default:glass", "default:glass", "default:torch"},
+})
+
minetest.register_craft({
output = "moreblocks:trap_super_glow_glass",
@@ -575,7 +588,7 @@ minetest.register_craft({
-- cooktime = 45, -- 5*9
-- output = "default:stone 81",
-- recipe = "moreblocks:cobble_condensed"
- })
+-- })
-- minetest.register_craft({
-- type = "grinding",
diff --git a/nodes.lua b/nodes.lua
index 7109d48..28d32f7 100644
--- a/nodes.lua
+++ b/nodes.lua
@@ -444,6 +444,32 @@ local nodes = {
groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
sounds = sound_glass,
},
+ ["dim_glow_glass"] = {
+ description = S("Dim Glow Glass"),
+ drawtype = "glasslike_framed_optional",
+ tiles = {"moreblocks_dim_glow_glass.png"},
+ -- tiles = {"default_glass.png^[colorize:#FFFF78"},
+ one_texture = true,
+ use_texture_alpha = true,
+ paramtype = "light",
+ sunlight_propagates = true,
+ light_source = 4,
+ groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
+ sounds = sound_glass,
+ },
+ ["low_glow_glass"] = {
+ description = S("Dim Glow Glass"),
+ drawtype = "glasslike_framed_optional",
+ tiles = {"moreblocks_low_glow_glass.png"},
+ -- tiles = {"default_glass.png^[colorize:#FFFF78"},
+ one_texture = true,
+ use_texture_alpha = true,
+ paramtype = "light",
+ sunlight_propagates = true,
+ light_source = 8,
+ groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
+ sounds = sound_glass,
+ },
["trap_super_glow_glass"] = {
description = S("Trap Super Glow Glass"),
drawtype = "glasslike_framed_optional",
diff --git a/textures/moreblocks_dim_glow_glass.png b/textures/moreblocks_dim_glow_glass.png
new file mode 100644
index 0000000..89ce300
--- /dev/null
+++ b/textures/moreblocks_dim_glow_glass.png
Binary files differ
diff --git a/textures/moreblocks_low_glow_glass.png b/textures/moreblocks_low_glow_glass.png
new file mode 100644
index 0000000..a972bd9
--- /dev/null
+++ b/textures/moreblocks_low_glow_glass.png
Binary files differ