Fix buckets being lost when making butter

This commit is contained in:
engineer-pearl 2017-07-24 05:55:20 -07:00 committed by rubenwardy
parent 93de17fdc3
commit ba36be5fe0
2 changed files with 18 additions and 1 deletions

View File

@ -260,6 +260,21 @@ food.module("butter", function()
inventory_image = "food_butter.png",
groups = {food_butter=1}
})
food.craft({
output = "food:butter",
recipe = {{"group:food_milkbucket","group:food_milkbucket"}},
replacements = {
{"group:food_milkbucket","bucket:bucket_empty"},
{"group:food_milkbucket","bucket:bucket_empty"}
},
})
food.craft({
output = "food:butter",
recipe = {{"group:food_milk","group:food_milkbucket"}},
replacements = {
{"group:food_milkbucket","bucket:bucket_empty"},
},
})
food.craft({
output = "food:butter",
recipe = {

View File

@ -40,9 +40,11 @@ food.support("carrot", {
food.support("milk", {
"animalmaterials:milk",
"my_mobs:milk_glass_cup",
"mtfoods:dandelion_milk"
})
food.support("milkbucket", {
"jkanimals:bucket_milk",
"mobs:bucket_milk",
"mtfoods:dandelion_milk"
})
food.support("egg", {
"animalmaterials:egg",