Remove craftitems and tools from mobs_mc

This commit is contained in:
Wuzzy 2017-01-16 17:44:59 +01:00
parent 8a5fc728ad
commit 0257a4104c
7 changed files with 3 additions and 228 deletions

View file

@ -135,72 +135,6 @@ mobs:register_mob("mobs_mc:pig", {
mobs:register_spawn("mobs_mc:pig", {"default:dirt_with_grass"}, 20, 12, 5000, 1, 31000)
-- pork
minetest.register_craftitem(":mobs:pork_raw", {
description = "Raw Porkchop",
inventory_image = "pork_raw.png",
on_use = minetest.item_eat(3),
})
minetest.register_craftitem(":mobs:pork_cooked", {
description = "Cooked Porkchop",
inventory_image = "pork_cooked.png",
on_use = minetest.item_eat(8),
})
minetest.register_craft({
type = "cooking",
output = "mobs:pork_cooked",
recipe = "mobs:pork_raw",
cooktime = 5,
})
minetest.register_craftitem(":mobs:saddle", {
description = "Saddle",
inventory_image = "saddle.png",
})
minetest.register_tool(":mobs:carrotstick", {
description = "Carrot on a Stick",
inventory_image = "carrot_on_a_stick.png",
stack_max = 1,
})
minetest.register_craft({
output = "mobs:carrotstick",
recipe = {
{"", "", "farming:string" },
{"", "group:stick", "farming:string" },
{"group:stick", "", "farming:bread" },
}
})
minetest.register_craft({
output = "mobs:carrotstick",
recipe = {
{"", "", "farming:string" },
{"", "group:stick", "farming:string" },
{"group:stick", "", "farming:carrot" },
}
})
minetest.register_craft({
type = "shapeless",
output = "mobs:carrotstick",
recipe = {"fishing:pole_wood", "farming:carrot"},
})
minetest.register_craft({
output = "mobs:saddle",
recipe = {
{"mobs:leather", "mobs:leather", "mobs:leather"},
{"farming:string", "", "farming:string"},
{"default:steel_ingot", "", "default:steel_ingot"}
},
})
--api code to fix
--[[