forked from minetest-mods/moreblocks
added trap_glow and trap_super_glow_glass
This commit is contained in:
parent
ee1b3025cc
commit
a978ea62e6
14
crafting.lua
14
crafting.lua
|
@ -273,12 +273,26 @@ minetest.register_craft({
|
|||
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({
|
||||
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",
|
||||
|
|
25
init.lua
25
init.lua
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user