diff options
-rw-r--r-- | crafting.lua | 14 | ||||
-rw-r--r-- | init.lua | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/crafting.lua b/crafting.lua index 275f9f5..0410ad0 100644 --- a/crafting.lua +++ b/crafting.lua @@ -274,12 +274,26 @@ minetest.register_craft({ }) minetest.register_craft({ + output = "moreblocks:trap_glow_glass 1", + type = "shapeless", + walkable = false, + recipe = {"default:mese_crystal", "default:glass", "default:torch"}, +}) + +minetest.register_craft({ output = "moreblocks:super_glow_glass 1", type = "shapeless", recipe = {"default:torch", "default:torch", "default:glass"}, }) minetest.register_craft({ + output = "moreblocks:trap_super_glow_glass 1", + type = "shapeless", + walkable = false, + recipe = {"default:mese_crystal", "default:glass", "default:torch", "default:torch"}, +}) + +minetest.register_craft({ output = "moreblocks:coal_stone 1", type = "shapeless", recipe = {"default:coal_lump", "default:stone"}, @@ -308,6 +308,18 @@ minetest.register_node("moreblocks:glow_glass", { groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(),
})
+minetest.register_node("moreblocks:trap_glow_glass", {
+ description = S("Trap Glow Glass"),
+ drawtype = "glasslike",
+ tiles = {"moreblocks_glow_glass.png"},
+ inventory_image = minetest.inventorycube("moreblocks_glow_glass.png"),
+ paramtype = "light",
+ sunlight_propagates = true,
+ light_source = 11,
+ walkable = false,
+ groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
+ sounds = default.node_sound_glass_defaults(),
+})
minetest.register_node("moreblocks:super_glow_glass", {
description = S("Super Glow Glass"),
@@ -321,6 +333,19 @@ minetest.register_node("moreblocks:super_glow_glass", { sounds = default.node_sound_glass_defaults(),
})
+minetest.register_node("moreblocks:trap_super_glow_glass", {
+ description = S("Trap Super Glow Glass"),
+ drawtype = "glasslike",
+ tiles = {"moreblocks_glow_glass.png"},
+ inventory_image = minetest.inventorycube("moreblocks_glow_glass.png"),
+ paramtype = "light",
+ sunlight_propagates = true,
+ light_source = 11,
+ walkable = false,
+ groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
+ sounds = default.node_sound_glass_defaults(),
+})
+
minetest.register_node("moreblocks:rope", {
description = S("Rope"),
drawtype = "signlike",
|