diff options
-rw-r--r-- | nodes.lua | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -587,6 +587,20 @@ local nodes = { groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, sounds = sound_glass, }, + ["red_bright_glow_glass"] = { + description = S("Red Bright Glow Glass"), + drawtype = "glasslike_framed_optional", + tiles = {"moreblocks_dim_glow_glass.png^[multiply:red"}, + -- tiles = {"default_meselamp_red.png^[multiply:red"}, + -- tiles = {"default_glass.png^[colorize:#FFFF78"}, + one_texture = true, + use_texture_alpha = use_texture_alpha, + paramtype = "light", + sunlight_propagates = true, + light_source = 13, + groups = {snappy = 2, cracky = 3, oddly_breakable_by_hand = 3}, + sounds = sound_glass, + }, ["low_glow_glass"] = { description = S("Low Glow Glass"), drawtype = "glasslike_framed_optional", @@ -886,3 +900,18 @@ 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, +}) |