added trap_glow and trap_super_glow_glass

This commit is contained in:
andersje 2013-08-29 17:39:15 -05:00
parent ee1b3025cc
commit a978ea62e6
2 changed files with 39 additions and 0 deletions

View File

@ -273,12 +273,26 @@ minetest.register_craft({
recipe = {"default:torch", "default:glass"}, recipe = {"default:torch", "default:glass"},
}) })
minetest.register_craft({
output = "moreblocks:trap_glow_glass 1",
type = "shapeless",
walkable = false,
recipe = {"default:mese_crystal", "default:glass", "default:torch"},
})
minetest.register_craft({ minetest.register_craft({
output = "moreblocks:super_glow_glass 1", output = "moreblocks:super_glow_glass 1",
type = "shapeless", type = "shapeless",
recipe = {"default:torch", "default:torch", "default:glass"}, 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({ minetest.register_craft({
output = "moreblocks:coal_stone 1", output = "moreblocks:coal_stone 1",
type = "shapeless", type = "shapeless",

View File

@ -308,6 +308,18 @@ minetest.register_node("moreblocks:glow_glass", {
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3}, groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
sounds = default.node_sound_glass_defaults(), 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", { minetest.register_node("moreblocks:super_glow_glass", {
description = S("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(), 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", { minetest.register_node("moreblocks:rope", {
description = S("Rope"), description = S("Rope"),
drawtype = "signlike", drawtype = "signlike",