summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorengineer-pearl <engineer.pearl0@gmail.com>2017-07-24 05:55:20 -0700
committerrubenwardy <rubenwardy@gmail.com>2017-07-24 13:55:20 +0100
commitba36be5fe0442903bc301d457fa174e13d6102e0 (patch)
treece16d89cdccb4ac083b98e7ea3cb4a7c0eda6b34
parent93de17fdc30dcdd498aa20c065a9d068933190d4 (diff)
Fix buckets being lost when making butter
-rw-r--r--food_basic/ingredients.lua15
-rw-r--r--food_basic/support.lua4
2 files changed, 18 insertions, 1 deletions
diff --git a/food_basic/ingredients.lua b/food_basic/ingredients.lua
index c1a7283..0f422cc 100644
--- a/food_basic/ingredients.lua
+++ b/food_basic/ingredients.lua
@@ -262,6 +262,21 @@ food.module("butter", function()
})
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 = {
{"group:food_milk","group:food_milk"},
}
diff --git a/food_basic/support.lua b/food_basic/support.lua
index 0161259..655a8e4 100644
--- a/food_basic/support.lua
+++ b/food_basic/support.lua
@@ -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",