summaryrefslogtreecommitdiff
path: root/crafts.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-11-08 16:11:00 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-11-08 16:11:00 +0000
commit127dad97a799a619d64e6dd77e741844caeec91e (patch)
treee0085dbbffcf12bd2a163117d5e3bb8bd1d552e8 /crafts.lua
parentc16c083d31242dc79d7dfa581c393fd2affc6d08 (diff)
added ability to protect tamed mobs
Diffstat (limited to 'crafts.lua')
-rw-r--r--crafts.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/crafts.lua b/crafts.lua
index 15521ef..4d32326 100644
--- a/crafts.lua
+++ b/crafts.lua
@@ -83,3 +83,18 @@ minetest.register_craft({
{'', 'group:stick', 'default:steel_ingot'},
}
})
+
+-- protection rune
+minetest.register_craftitem("mobs:protector", {
+ description = S("Mob Protection Rune"),
+ inventory_image = "mobs_protector.png",
+})
+
+minetest.register_craft({
+ output = "mobs:protector",
+ recipe = {
+ {"default:stone", "default:stone", "default:stone"},
+ {"default:stone", "default:goldblock", "default:stone"},
+ {"default:stone", "default:stone", "default:stone"},
+ }
+})