diff options
Diffstat (limited to 'nodes.lua')
-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, -}) |