forked from mtcontrib/farming
remove certain foods and recipes when using mineclone
This commit is contained in:
parent
a9a1b720a3
commit
f3a7e9350f
@ -192,12 +192,15 @@ minetest.register_craft( {
|
||||
|
||||
-- cocoa beans
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 5,
|
||||
output = "farming:cocoa_beans",
|
||||
recipe = "farming:cocoa_beans_raw"
|
||||
})
|
||||
end
|
||||
|
||||
-- bar of dark chocolate
|
||||
|
||||
@ -269,10 +272,13 @@ minetest.register_craft({
|
||||
|
||||
-- golden carrot
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craft({
|
||||
output = "farming:carrot_gold",
|
||||
recipe = {{"group:food_carrot", "default:gold_lump"}}
|
||||
})
|
||||
end
|
||||
|
||||
-- blueberry pie
|
||||
|
||||
@ -296,6 +302,8 @@ minetest.register_craft({
|
||||
|
||||
-- beetroot soup
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craft({
|
||||
output = "farming:beetroot_soup",
|
||||
recipe = {
|
||||
@ -303,6 +311,7 @@ minetest.register_craft({
|
||||
{"group:food_beetroot", "group:food_bowl", "group:food_beetroot"}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- tomato soup
|
||||
|
||||
@ -885,12 +894,15 @@ minetest.register_craft({
|
||||
|
||||
-- baked potato
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 10,
|
||||
output = "farming:baked_potato",
|
||||
recipe = "group:food_potato"
|
||||
})
|
||||
end
|
||||
|
||||
-- potato & cucumber salad
|
||||
|
||||
@ -1046,26 +1058,36 @@ minetest.register_craft({
|
||||
|
||||
-- toasted sunflower seeds
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craft({
|
||||
type = "cooking",
|
||||
cooktime = 10,
|
||||
output = "farming:sunflower_seeds_toasted",
|
||||
recipe = "farming:seed_sunflower"
|
||||
})
|
||||
end
|
||||
|
||||
-- sunflower oil
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
local tmp = "group:food_sunflower_seeds"
|
||||
|
||||
minetest.register_craft( {
|
||||
output = "farming:sunflower_oil",
|
||||
recipe = {
|
||||
{"group:food_sunflower_seeds", "group:food_sunflower_seeds", "group:food_sunflower_seeds"},
|
||||
{"group:food_sunflower_seeds", "group:food_sunflower_seeds", "group:food_sunflower_seeds"},
|
||||
{"group:food_sunflower_seeds", a.glass_bottle, "group:food_sunflower_seeds"}
|
||||
{tmp, tmp, tmp},
|
||||
{tmp, tmp, tmp},
|
||||
{tmp, a.glass_bottle, tmp}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- sunflower seed bread
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craft({
|
||||
output = "farming:sunflower_bread",
|
||||
recipe = {
|
||||
@ -1076,6 +1098,7 @@ minetest.register_craft({
|
||||
}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- vanilla extract
|
||||
|
||||
@ -1092,6 +1115,8 @@ minetest.register_craft( {
|
||||
|
||||
-- jack 'o lantern
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craft({
|
||||
output = "farming:jackolantern",
|
||||
recipe = {
|
||||
@ -1099,6 +1124,7 @@ minetest.register_craft({
|
||||
{"group:food_pumpkin"}
|
||||
}
|
||||
})
|
||||
end
|
||||
|
||||
-- wooden scarecrow base
|
||||
|
||||
|
@ -113,11 +113,14 @@ minetest.register_alias("farming:drinking_cup", "vessels:drinking_glass")
|
||||
|
||||
-- Cocoa beans
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craftitem("farming:cocoa_beans", {
|
||||
description = S("Cocoa Beans"),
|
||||
inventory_image = "farming_cocoa_beans.png",
|
||||
groups = {compostability = 65, food_cocoa = 1, flammable = 2}
|
||||
})
|
||||
end
|
||||
|
||||
-- Chocolate cookie
|
||||
|
||||
@ -180,6 +183,8 @@ farming.add_eatable("farming:carrot_juice", 4)
|
||||
|
||||
-- Golden carrot
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craftitem("farming:carrot_gold", {
|
||||
description = S("Golden Carrot"),
|
||||
inventory_image = "farming_carrot_gold.png",
|
||||
@ -187,6 +192,7 @@ minetest.register_craftitem("farming:carrot_gold", {
|
||||
})
|
||||
|
||||
farming.add_eatable("farming:carrot_gold", 10)
|
||||
end
|
||||
|
||||
-- Blueberry Pie
|
||||
|
||||
@ -212,6 +218,8 @@ farming.add_eatable("farming:muffin_blueberry", 2)
|
||||
|
||||
-- beetroot soup
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craftitem("farming:beetroot_soup", {
|
||||
description = S("Beetroot Soup"),
|
||||
inventory_image = "farming_beetroot_soup.png",
|
||||
@ -219,6 +227,7 @@ minetest.register_craftitem("farming:beetroot_soup", {
|
||||
})
|
||||
|
||||
farming.add_eatable("farming:beetroot_soup", 6)
|
||||
end
|
||||
|
||||
-- Tomato soup
|
||||
|
||||
@ -784,6 +793,8 @@ farming.add_eatable("farming:pineapple_juice", 4)
|
||||
|
||||
-- Baked potato
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craftitem("farming:baked_potato", {
|
||||
description = S("Baked Potato"),
|
||||
inventory_image = "farming_baked_potato.png",
|
||||
@ -791,6 +802,7 @@ minetest.register_craftitem("farming:baked_potato", {
|
||||
})
|
||||
|
||||
farming.add_eatable("farming:baked_potato", 6)
|
||||
end
|
||||
|
||||
-- Potato & cucumber Salad
|
||||
|
||||
|
@ -3,11 +3,14 @@ local S = minetest.get_translator("farming")
|
||||
|
||||
-- wooden bowl
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_craftitem("farming:bowl", {
|
||||
description = S("Wooden Bowl"),
|
||||
inventory_image = "farming_bowl.png",
|
||||
groups = {food_bowl = 1, flammable = 2}
|
||||
})
|
||||
end
|
||||
|
||||
-- saucepan
|
||||
|
||||
@ -189,6 +192,8 @@ minetest.register_node("farming:hemp_rope", {
|
||||
|
||||
-- Jack 'O Lantern
|
||||
|
||||
if not farming.mcl then
|
||||
|
||||
minetest.register_node("farming:jackolantern", {
|
||||
description = S("Jack 'O Lantern (punch to turn on and off)"),
|
||||
tiles = {
|
||||
@ -244,6 +249,7 @@ minetest.register_node("farming:jackolantern_on", {
|
||||
_mcl_hardness = 0.8,
|
||||
_mcl_blast_resistance = 1
|
||||
})
|
||||
end
|
||||
|
||||
--- Wooden scarecrow base
|
||||
|
||||
|
@ -27,6 +27,7 @@ lucky_block:add_blocks({
|
||||
{"dro", {"farming:juicer"}, 1},
|
||||
{"dro", {"farming:mixing_bowl"}, 1},
|
||||
{"dro", {"farming:hoe_bronze"}, 1},
|
||||
{"dro", {"farming:sunflower_oil", 5},
|
||||
{"dro", {"farming:hoe_mese"}, 1},
|
||||
{"dro", {"farming:hoe_diamond"}, 1},
|
||||
{"dro", {"farming:hoe_bomb"}, 10},
|
||||
|
Loading…
Reference in New Issue
Block a user