summaryrefslogtreecommitdiff
path: root/crafts.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-12-29 12:28:25 +0000
committerTenPlus1 <kinsellaja@yahoo.com>2016-12-29 12:28:25 +0000
commitef3217d77f6cb5fb5259b673eea99e5af6da8fee (patch)
tree13dba8c0c355ee0229f66c83c973f62f6ca8e001 /crafts.lua
parent671fab54eb9a63362b017ac30a9a60e77c65cb03 (diff)
Added rideable mob functions (thanks blert2112)
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 4d32326..b0ac728 100644
--- a/crafts.lua
+++ b/crafts.lua
@@ -98,3 +98,18 @@ minetest.register_craft({
{"default:stone", "default:stone", "default:stone"},
}
})
+
+-- saddle
+minetest.register_craftitem("mobs:saddle", {
+ description = "Saddle",
+ inventory_image = "mobs_saddle.png"
+})
+
+minetest.register_craft({
+ output = "mobs:saddle",
+ recipe = {
+ {"mobs:leather", "mobs:leather", "mobs:leather"},
+ {"mobs:leather", "default:steel_ingot", "mobs:leather"},
+ {"mobs:leather", "default:steel_ingot", "mobs:leather"},
+ }
+})