diff options
author | Och Noe <och_noe@forksworld.de> | 2024-12-14 23:20:22 +0100 |
---|---|---|
committer | Och Noe <och_noe@forksworld.de> | 2024-12-14 23:20:22 +0100 |
commit | ab309d6fd62a3d42b343006fa408589d60dcda85 (patch) | |
tree | 2f343922bd88404e3afe68c27f0c70e58f21dbd5 | |
parent | c5515eab8827aab8000f148d86724710329d2801 (diff) | |
download | moreblocks-ab309d6fd62a3d42b343006fa408589d60dcda85.tar.gz moreblocks-ab309d6fd62a3d42b343006fa408589d60dcda85.tar.bz2 moreblocks-ab309d6fd62a3d42b343006fa408589d60dcda85.zip |
red meselamp cuttable
-rw-r--r-- | nodes.lua | 34 |
1 files changed, 23 insertions, 11 deletions
@@ -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, -}) |