improved craft reziep for shared locked cannon

This commit is contained in:
adrido 2013-12-05 06:14:27 +01:00
parent a8f7c1f09b
commit dedcb3fe8d
3 changed files with 4 additions and 4 deletions

@ -167,7 +167,7 @@ minetest.register_node("cannons:cannon", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = {cracky=1},
groups = {cracky=1,cannon=1},
sounds = cannons.sound_defaults(),
node_box = cannons.nodeboxes.cannon,
on_punch = cannons.punched,
@ -190,7 +190,7 @@ minetest.register_node("cannons:bronze_canon", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = {cracky=1},
groups = {cracky=1,cannon=1},
sounds = cannons.sound_defaults(),
node_box = cannons.nodeboxes.cannon,
on_punch = cannons.punched,

@ -59,6 +59,6 @@ minetest.register_node("cannons:shared_locked_cannon", {
minetest.register_craft({
output = 'cannons:shared_locked_cannon',
recipe = {
{'cannons:cannon', 'locks:lock',},
{'group:cannon', 'locks:lock',},
},
})

@ -5,7 +5,7 @@ minetest.register_node("cannons:mithril_cannon", {
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
groups = {cracky=1},
groups = {cracky=1,cannon=1},
sounds = cannons.sound_defaults(),
node_box = cannons.nodeboxes.cannon,
on_punch = cannons.punched,