diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-08 16:11:00 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2016-11-08 16:11:00 +0000 |
commit | 127dad97a799a619d64e6dd77e741844caeec91e (patch) | |
tree | e0085dbbffcf12bd2a163117d5e3bb8bd1d552e8 /crafts.lua | |
parent | c16c083d31242dc79d7dfa581c393fd2affc6d08 (diff) |
added ability to protect tamed mobs
Diffstat (limited to 'crafts.lua')
-rw-r--r-- | crafts.lua | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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"}, + } +}) |