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