aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOch Noe <och_noe@forksworld.de>2024-12-14 23:20:22 +0100
committerOch Noe <och_noe@forksworld.de>2024-12-14 23:20:22 +0100
commitab309d6fd62a3d42b343006fa408589d60dcda85 (patch)
tree2f343922bd88404e3afe68c27f0c70e58f21dbd5
parentc5515eab8827aab8000f148d86724710329d2801 (diff)
downloadmoreblocks-ab309d6fd62a3d42b343006fa408589d60dcda85.tar.gz
moreblocks-ab309d6fd62a3d42b343006fa408589d60dcda85.tar.bz2
moreblocks-ab309d6fd62a3d42b343006fa408589d60dcda85.zip
red meselamp cuttable
-rw-r--r--nodes.lua34
1 files changed, 23 insertions, 11 deletions
diff --git a/nodes.lua b/nodes.lua
index 0dd00e3..24820fd 100644
--- a/nodes.lua
+++ b/nodes.lua
@@ -775,8 +775,31 @@ local nodes = {
-- buildable_to = true;
},
+--minetest.register_node("moreblocks:meselamp", {
+-- description = S("Mese Lamp red"),
+-- drawtype = "glasslike",
+-- tiles = {"default_meselamp.png^[multiply:red"},
+-- paramtype = "light",
+-- sunlight_propagates = true,
+-- is_ground_content = false,
+-- groups = {cracky = 3, oddly_breakable_by_hand = 3},
+-- sounds = default.node_sound_glass_defaults(),
+-- light_source = default.LIGHT_MAX,
+--})
+
+ ["meselamp"] = {
+ description = S("Mese Lamp red"),
+ drawtype = "glasslike_framed_optional",
+ tiles = {"default_meselamp.png^[multiply:red"},
+ paramtype = "light",
+ sunlight_propagates = true,
+ light_source = default.LIGHT_MAX,
+ groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3},
+ sounds = sound_glass,
+ },
+
}
@@ -904,14 +927,3 @@ minetest.register_craftitem("moreblocks:nothing", {
-- ---------------------------
-minetest.register_node("moreblocks:meselamp", {
- description = S("Mese Lamp red"),
- drawtype = "glasslike",
- tiles = {"default_meselamp.png^[multiply:red"},
- paramtype = "light",
- sunlight_propagates = true,
- is_ground_content = false,
- groups = {cracky = 3, oddly_breakable_by_hand = 3},
- sounds = default.node_sound_glass_defaults(),
- light_source = default.LIGHT_MAX,
-})