forked from mtcontrib/farming
reduce shapeless crafts
This commit is contained in:
parent
9866b219bc
commit
f1d52b4aef
101
food.lua
101
food.lua
|
@ -117,9 +117,11 @@ minetest.register_node("farming:salt_crystal", {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:salt 9",
|
output = "farming:salt 9",
|
||||||
recipe = {"farming:salt_crystal", "farming:mortar_pestle"},
|
recipe = {
|
||||||
|
{"farming:salt_crystal", "farming:mortar_pestle"}
|
||||||
|
},
|
||||||
replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"farming:mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -211,9 +213,11 @@ minetest.register_craftitem("farming:garlic_bread", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:garlic_bread",
|
output = "farming:garlic_bread",
|
||||||
recipe = {"group:food_toast", "group:food_garlic_clove", "group:food_garlic_clove"}
|
recipe = {
|
||||||
|
{"group:food_toast", "group:food_garlic_clove", "group:food_garlic_clove"}
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
--= Donuts (thanks to Bockwurst for making the donut images)
|
--= Donuts (thanks to Bockwurst for making the donut images)
|
||||||
|
@ -270,11 +274,11 @@ minetest.register_craftitem("farming:porridge", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:porridge",
|
output = "farming:porridge",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_oats", "group:food_oats", "group:food_oats",
|
{"group:food_oats", "group:food_oats", "group:food_oats"},
|
||||||
"group:food_oats", "group:food_bowl", "group:food_milk_glass"
|
{"group:food_oats", "group:food_bowl", "group:food_milk_glass"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"mobs:glass_milk", "vessels:drinking_glass"},
|
{"mobs:glass_milk", "vessels:drinking_glass"},
|
||||||
|
@ -291,12 +295,12 @@ minetest.register_craftitem("farming:jaffa_cake", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:jaffa_cake",
|
output = "farming:jaffa_cake",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:baking_tray", "group:food_egg", "group:food_sugar",
|
{"farming:baking_tray", "group:food_egg", "group:food_sugar"},
|
||||||
"group:food_flour", "group:food_cocoa", "group:food_orange",
|
{"group:food_flour", "group:food_cocoa", "group:food_orange"},
|
||||||
"group:food_milk"
|
{"group:food_milk", "", ""}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"farming:baking_tray", "farming:baking_tray"},
|
{"farming:baking_tray", "farming:baking_tray"},
|
||||||
|
@ -314,10 +318,10 @@ minetest.register_craftitem("farming:apple_pie", {
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:apple_pie",
|
output = "farming:apple_pie",
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_flour", "group:food_sugar",
|
{"group:food_flour", "group:food_sugar", "group:food_apple"},
|
||||||
"group:food_apple", "group:food_baking_tray"
|
{"", "group:food_baking_tray", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_baking_tray", "farming:baking_tray"}}
|
replacements = {{"group:food_baking_tray", "farming:baking_tray"}}
|
||||||
})
|
})
|
||||||
|
@ -342,11 +346,10 @@ minetest.register_craftitem("farming:cactus_juice", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:cactus_juice 2",
|
output = "farming:cactus_juice",
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
recipe = {
|
recipe = {
|
||||||
"vessels:drinking_glass", "vessels:drinking_glass",
|
{"default:cactus", "farming:juicer", "vessels:drinking_glass"}
|
||||||
"default:cactus", "farming:juicer"
|
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_juicer", "farming:juicer"}
|
{"group:food_juicer", "farming:juicer"}
|
||||||
|
@ -363,20 +366,18 @@ minetest.register_craftitem("farming:pasta", {
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:pasta",
|
output = "farming:pasta",
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_flour", "group:food_mixing_bowl",
|
{"group:food_flour", "group:food_butter", "group:food_mixing_bowl"}
|
||||||
"group:food_butter"
|
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mixing_bowl", "farming:mixing_bowl"}}
|
replacements = {{"group:food_mixing_bowl", "farming:mixing_bowl"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:pasta",
|
output = "farming:pasta",
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_flour", "group:food_mixing_bowl",
|
{"group:food_flour", "group:food_oil", "group:food_mixing_bowl"}
|
||||||
"group:food_oil"
|
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"group:food_mixing_bowl", "farming:mixing_bowl"},
|
{"group:food_mixing_bowl", "farming:mixing_bowl"},
|
||||||
|
@ -394,10 +395,10 @@ minetest.register_craftitem("farming:spaghetti", {
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:spaghetti",
|
output = "farming:spaghetti",
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_pasta", "group:food_saucepan",
|
{"group:food_pasta", "group:food_saucepan", "group:food_tomato"},
|
||||||
"group:food_tomato", "group:food_garlic_clove", "group:food_garlic_clove"
|
{"group:food_garlic_clove", "group:food_garlic_clove", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_saucepan", "farming:saucepan"}}
|
replacements = {{"group:food_saucepan", "farming:saucepan"}}
|
||||||
})
|
})
|
||||||
|
@ -412,11 +413,11 @@ minetest.register_craftitem("farming:bibimbap", {
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:bibimbap",
|
output = "farming:bibimbap",
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_skillet", "group:food_bowl", "group:food_egg", "group:food_rice",
|
{"group:food_skillet", "group:food_bowl", "group:food_egg"},
|
||||||
"group:food_chicken_raw", "group:food_cabbage", "group:food_carrot",
|
{"group:food_rice", "group:food_chicken_raw", "group:food_cabbage"},
|
||||||
"group:food_chili_pepper"
|
{"group:food_carrot", "group:food_chili_pepper", ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_skillet", "farming:skillet"}}
|
replacements = {{"group:food_skillet", "farming:skillet"}}
|
||||||
})
|
})
|
||||||
|
@ -441,12 +442,12 @@ minetest.register_craftitem("farming:burger", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:burger",
|
output = "farming:burger",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:bread", "group:food_meat", "group:food_cheese",
|
{"farming:bread", "group:food_meat", "group:food_cheese"},
|
||||||
"group:food_tomato", "group:food_cucumber", "group:food_onion",
|
{"group:food_tomato", "group:food_cucumber", "group:food_onion"},
|
||||||
"group:food_lettuce"
|
{"group:food_lettuce", "", ""}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -464,7 +465,7 @@ minetest.register_craft({
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_bowl", "group:food_tomato", "group:food_cucumber",
|
"group:food_bowl", "group:food_tomato", "group:food_cucumber",
|
||||||
"group:food_lettuce", "group:food_oil"
|
"group:food_lettuce", "group:food_oil"
|
||||||
},
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Triple Berry Smoothie
|
-- Triple Berry Smoothie
|
||||||
|
@ -510,7 +511,7 @@ minetest.register_craft({
|
||||||
minetest.register_craftitem("farming:potato_omelet", {
|
minetest.register_craftitem("farming:potato_omelet", {
|
||||||
description = S("Potato omelet"),
|
description = S("Potato omelet"),
|
||||||
inventory_image = "farming_potato_omelet.png",
|
inventory_image = "farming_potato_omelet.png",
|
||||||
on_use = minetest.item_eat(6, "farming:bowl"),
|
on_use = minetest.item_eat(6, "farming:bowl")
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -549,11 +550,11 @@ minetest.register_craftitem("farming:flan", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:flan",
|
output = "farming:flan",
|
||||||
recipe = {
|
recipe = {
|
||||||
"group:food_sugar", "group:food_milk", "farming:caramel",
|
{"group:food_sugar", "group:food_milk", "farming:caramel"},
|
||||||
"group:food_egg", "group:food_egg", "farming:vanilla_extract"
|
{"group:food_egg", "group:food_egg", "farming:vanilla_extract"}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"cucina_vegana:soy_milk", "vessels:drinking_glass"},
|
{"cucina_vegana:soy_milk", "vessels:drinking_glass"},
|
||||||
|
@ -568,17 +569,17 @@ minetest.register_craftitem("farming:cheese_vegan", {
|
||||||
description = S("Vegan Cheese"),
|
description = S("Vegan Cheese"),
|
||||||
inventory_image = "farming_cheese_vegan.png",
|
inventory_image = "farming_cheese_vegan.png",
|
||||||
on_use = minetest.item_eat(2),
|
on_use = minetest.item_eat(2),
|
||||||
groups = {food_cheese = 1, flammable = 2},
|
groups = {food_cheese = 1, flammable = 2}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:cheese_vegan",
|
output = "farming:cheese_vegan",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:soy_milk", "farming:soy_milk", "farming:soy_milk",
|
{"farming:soy_milk", "farming:soy_milk", "farming:soy_milk"},
|
||||||
"group:food_salt", "group:food_peppercorn", "farming:bottle_ethanol",
|
{"group:food_salt", "group:food_peppercorn", "farming:bottle_ethanol"},
|
||||||
"group:food_gelatin", "group:food_pot"
|
{"group:food_gelatin", "group:food_pot", ""}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"farming:soy_milk", "vessels:drinking_glass 3"},
|
{"farming:soy_milk", "vessels:drinking_glass 3"},
|
||||||
|
@ -588,16 +589,16 @@ minetest.register_craft({
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "shapeless",
|
-- type = "shapeless",
|
||||||
output = "farming:cheese_vegan",
|
output = "farming:cheese_vegan",
|
||||||
recipe = {
|
recipe = {
|
||||||
"farming:soy_milk", "farming:soy_milk", "farming:soy_milk",
|
{"farming:soy_milk", "farming:soy_milk", "farming:soy_milk"},
|
||||||
"group:food_salt", "group:food_peppercorn", "group:food_lemon",
|
{"group:food_salt", "group:food_peppercorn", "group:food_lemon"},
|
||||||
"group:food_gelatin", "group:food_pot"
|
{"group:food_gelatin", "group:food_pot", ""}
|
||||||
},
|
},
|
||||||
replacements = {
|
replacements = {
|
||||||
{"farming:soy_milk", "vessels:drinking_glass 3"},
|
{"farming:soy_milk", "vessels:drinking_glass 3"},
|
||||||
{"farming:pot", "farming:pot"},
|
{"farming:pot", "farming:pot"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user