fix drops

This commit is contained in:
Vanessa Ezekowitz 2017-01-28 07:40:46 -05:00
parent 94bbecfd3b
commit 99eee07f0a

View File

@ -65,7 +65,8 @@ minetest.register_node("stained_glass:stained_glass", {
end end
unifieddyes.on_rightclick(pos, node, clicker, unifieddyes.on_rightclick(pos, node, clicker,
itemstack, pointed_thing, "stained_glass:stained_glass") itemstack, pointed_thing, "stained_glass:stained_glass")
end end,
drop = "moreblocks:super_glow_glass"
}) })
minetest.override_item("moreblocks:super_glow_glass", { minetest.override_item("moreblocks:super_glow_glass", {
@ -103,7 +104,7 @@ minetest.register_node("stained_glass:pastel_stained_glass", {
unifieddyes.on_rightclick(pos, node, clicker, unifieddyes.on_rightclick(pos, node, clicker,
itemstack, pointed_thing, "stained_glass:pastel_stained_glass") itemstack, pointed_thing, "stained_glass:pastel_stained_glass")
end, end,
drop = "moreblocks:super_glow_glass"
}) })
minetest.register_node("stained_glass:faint_stained_glass", { minetest.register_node("stained_glass:faint_stained_glass", {
@ -127,7 +128,7 @@ minetest.register_node("stained_glass:faint_stained_glass", {
unifieddyes.on_rightclick(pos, node, clicker, unifieddyes.on_rightclick(pos, node, clicker,
itemstack, pointed_thing, "stained_glass:faint_stained_glass") itemstack, pointed_thing, "stained_glass:faint_stained_glass")
end, end,
drop = "moreblocks:super_glow_glass"
}) })
-- trap glass -- trap glass
@ -166,6 +167,7 @@ minetest.register_node("stained_glass:stained_trap_glass", {
unifieddyes.on_rightclick(pos, node, clicker, unifieddyes.on_rightclick(pos, node, clicker,
itemstack, pointed_thing, "stained_glass:stained_trap_glass") itemstack, pointed_thing, "stained_glass:stained_trap_glass")
end, end,
drop = "moreblocks:trap_super_glow_glass"
}) })
-- pastel and faint trap -- pastel and faint trap
@ -196,6 +198,7 @@ minetest.register_node("stained_glass:pastel_stained_trap_glass", {
unifieddyes.on_rightclick(pos, node, clicker, unifieddyes.on_rightclick(pos, node, clicker,
itemstack, pointed_thing, "stained_glass:pastel_stained_glass") itemstack, pointed_thing, "stained_glass:pastel_stained_glass")
end, end,
drop = "moreblocks:trap_super_glow_glass"
}) })
minetest.register_node("stained_glass:faint_stained_trap_glass", { minetest.register_node("stained_glass:faint_stained_trap_glass", {
@ -219,6 +222,7 @@ minetest.register_node("stained_glass:faint_stained_trap_glass", {
unifieddyes.on_rightclick(pos, node, clicker, unifieddyes.on_rightclick(pos, node, clicker,
itemstack, pointed_thing, "stained_glass:faint_stained_glass") itemstack, pointed_thing, "stained_glass:faint_stained_glass")
end, end,
drop = "moreblocks:trap_super_glow_glass"
}) })
function stainedglass.makenode(arg) function stainedglass.makenode(arg)