Rezepte angepasst. Gruppen hinzugefügt. Pumpkin slices bei x_farming hinzugefügt.
This commit is contained in:
parent
45fa6e63f6
commit
473e550453
8 changed files with 116 additions and 74 deletions
|
@ -188,6 +188,8 @@ farming.add_eatable("farming:tomato_soup", 8)
|
||||||
|
|
||||||
-- sliced bread
|
-- sliced bread
|
||||||
|
|
||||||
|
if not minetest.get_modpath("sandwiches") then
|
||||||
|
|
||||||
minetest.register_craftitem("farming:bread_slice", {
|
minetest.register_craftitem("farming:bread_slice", {
|
||||||
description = S("Sliced Bread"),
|
description = S("Sliced Bread"),
|
||||||
inventory_image = "farming_bread_slice.png",
|
inventory_image = "farming_bread_slice.png",
|
||||||
|
@ -197,6 +199,8 @@ minetest.register_craftitem("farming:bread_slice", {
|
||||||
|
|
||||||
farming.add_eatable("farming:bread_slice", 1)
|
farming.add_eatable("farming:bread_slice", 1)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
-- toast
|
-- toast
|
||||||
|
|
||||||
minetest.register_craftitem("farming:toast", {
|
minetest.register_craftitem("farming:toast", {
|
||||||
|
@ -385,6 +389,8 @@ farming.add_eatable("farming:turkish_delight", 2)
|
||||||
|
|
||||||
-- Garlic Bread
|
-- Garlic Bread
|
||||||
|
|
||||||
|
if not(minetest.get_modpath("sandwiches")) then
|
||||||
|
|
||||||
minetest.register_craftitem("farming:garlic_bread", {
|
minetest.register_craftitem("farming:garlic_bread", {
|
||||||
description = S("Garlic Bread"),
|
description = S("Garlic Bread"),
|
||||||
inventory_image = "farming_garlic_bread.png",
|
inventory_image = "farming_garlic_bread.png",
|
||||||
|
@ -394,6 +400,8 @@ minetest.register_craftitem("farming:garlic_bread", {
|
||||||
|
|
||||||
farming.add_eatable("farming:garlic_bread", 2)
|
farming.add_eatable("farming:garlic_bread", 2)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
-- Donuts (thanks to Bockwurst for making the donut images)
|
-- Donuts (thanks to Bockwurst for making the donut images)
|
||||||
|
|
||||||
minetest.register_craftitem("farming:donut", {
|
minetest.register_craftitem("farming:donut", {
|
||||||
|
@ -862,7 +870,7 @@ minetest.register_node("farming:soy_milk", {
|
||||||
on_use = minetest.item_eat(2, "vessels:drinking_glass"),
|
on_use = minetest.item_eat(2, "vessels:drinking_glass"),
|
||||||
groups = {
|
groups = {
|
||||||
vessel = 1, food_milk_glass = 1, food_soy_milk = 1, dig_immediate = 3, handy = 1,
|
vessel = 1, food_milk_glass = 1, food_soy_milk = 1, dig_immediate = 3, handy = 1,
|
||||||
attached_node = 1, drink = 1, compostability = 65
|
attached_node = 1, drink = 1, compostability = 65, food_milk = 1
|
||||||
},
|
},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = farming.node_sound_glass_defaults()
|
sounds = farming.node_sound_glass_defaults()
|
||||||
|
|
|
@ -15,8 +15,8 @@ minetest.register_craft({
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:flour",
|
output = "farming:flour",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"farming:barley", "farming:barley", "farming:barley"},
|
{"group:food_barley", "group:food_barley", "group:food_barley"},
|
||||||
{"farming:barley", a.mortar_pestle, ""}
|
{"group:food_barley", a.mortar_pestle, ""}
|
||||||
},
|
},
|
||||||
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
replacements = {{"group:food_mortar_pestle", "farming:mortar_pestle"}}
|
||||||
})
|
})
|
||||||
|
@ -53,19 +53,23 @@ minetest.register_craft({
|
||||||
|
|
||||||
-- sliced bread
|
-- sliced bread
|
||||||
|
|
||||||
|
if not minetest.get_modpath("sandwiches") then
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:bread_slice 5",
|
output = "farming:bread_slice 5",
|
||||||
recipe = {{"group:food_bread", a.cutting_board}},
|
recipe = {{"group:food_bread", a.cutting_board}},
|
||||||
replacements = {{"group:food_cutting_board", "farming:cutting_board"}}
|
replacements = {{"group:food_cutting_board", "farming:cutting_board"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
-- toast
|
-- toast
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
type = "cooking",
|
type = "cooking",
|
||||||
cooktime = 3,
|
cooktime = 3,
|
||||||
output = "farming:toast",
|
output = "farming:toast",
|
||||||
recipe = "farming:bread_slice"
|
recipe = "group:food_bread_slice"
|
||||||
})
|
})
|
||||||
|
|
||||||
-- toast sandwich
|
-- toast sandwich
|
||||||
|
@ -73,9 +77,9 @@ minetest.register_craft({
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:toast_sandwich",
|
output = "farming:toast_sandwich",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"farming:bread_slice"},
|
{"group:food_bread_slice"},
|
||||||
{"farming:toast"},
|
{"farming:toast"},
|
||||||
{"farming:bread_slice"}
|
{"group:food_bread_slice"}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -416,6 +420,8 @@ minetest.register_craft({
|
||||||
|
|
||||||
-- garlic bread
|
-- garlic bread
|
||||||
|
|
||||||
|
if not(minetest.get_modpath("sandwiches")) then
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "farming:garlic_bread",
|
output = "farming:garlic_bread",
|
||||||
recipe = {
|
recipe = {
|
||||||
|
@ -423,6 +429,21 @@ minetest.register_craft({
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("sandwiches") then
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "sandwiches:garlic_bread",
|
||||||
|
recipe = {
|
||||||
|
{"group:food_toast", "group:food_garlic_clove", "group:food_garlic_clove"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-- donuts
|
-- donuts
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
@ -896,6 +917,24 @@ minetest.register_craft({
|
||||||
replacements = {{"farming:cutting_board", "farming:cutting_board"}}
|
replacements = {{"farming:cutting_board", "farming:cutting_board"}}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if minetest.get_modpath('x_farming') then
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "farming:pumpkin_slice 4",
|
||||||
|
recipe = {{"x_farming:pumpkin_fruit", a.cutting_board}},
|
||||||
|
replacements = {{"farming:cutting_board", "farming:cutting_board"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "x_farming:pumpkin_fruit",
|
||||||
|
recipe = {
|
||||||
|
{"farming:pumpkin_slice", "farming:pumpkin_slice"},
|
||||||
|
{"farming:pumpkin_slice", "farming:pumpkin_slice"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
-- pumpkin dough
|
-- pumpkin dough
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
|
@ -47,10 +47,11 @@ minetest.register_craftitem("sandwiches:bread_slice", {
|
||||||
groups = {food = 1, food_bread_slice = 1, flammable = 1},
|
groups = {food = 1, food_bread_slice = 1, flammable = 1},
|
||||||
inventory_image = "sandwiches_bread_slice.png"
|
inventory_image = "sandwiches_bread_slice.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "sandwiches:bread_slice 8",
|
output = "sandwiches:bread_slice 4",
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
recipe = {"group:food_bread", "group:food_cutting_board", "group:food_bread"},
|
recipe = {"group:food_bread", "group:food_cutting_board", ""},
|
||||||
replacements = { {"group:food_cutting_board", board }, }
|
replacements = { {"group:food_cutting_board", board }, }
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -67,15 +67,7 @@ minetest.register_craft({
|
||||||
output = "sandwiches:tasty_tofu_sandwich",
|
output = "sandwiches:tasty_tofu_sandwich",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "sandwiches:bread_slice", ""},
|
{"", "sandwiches:bread_slice", ""},
|
||||||
{"cucina_vegana:asparagus", "cucina_vegana:tofu_cooked" ,"cucina_vegana:asparagus"},
|
{"cucina_vegana:asparagus", "group:food_tofu" ,"cucina_vegana:asparagus"},
|
||||||
{"", "sandwiches:bread_slice", ""},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "sandwiches:tasty_tofu_sandwich",
|
|
||||||
recipe = {
|
|
||||||
{"", "sandwiches:bread_slice", ""},
|
|
||||||
{"cucina_vegana:asparagus", "farming:tofu_cooked" ,"cucina_vegana:asparagus"},
|
|
||||||
{"", "sandwiches:bread_slice", ""},
|
{"", "sandwiches:bread_slice", ""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -86,19 +78,12 @@ minetest.register_craftitem("sandwiches:tofu_sandwich", {
|
||||||
groups = {food = 7, food_sandwich = 1, food_vegan = 1},
|
groups = {food = 7, food_sandwich = 1, food_vegan = 1},
|
||||||
inventory_image = "tofu_sandwich.png"
|
inventory_image = "tofu_sandwich.png"
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "sandwiches:tofu_sandwich",
|
output = "sandwiches:tofu_sandwich",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "sandwiches:bread_slice", ""},
|
{"", "sandwiches:bread_slice", ""},
|
||||||
{"cucina_vegana:chives","cucina_vegana:tofu_cooked", "cucina_vegana:rosemary"},
|
{"cucina_vegana:chives","group:food_tofu", "cucina_vegana:rosemary"},
|
||||||
{"", "sandwiches:bread_slice", ""},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "sandwiches:tofu_sandwich",
|
|
||||||
recipe = {
|
|
||||||
{"", "sandwiches:bread_slice", ""},
|
|
||||||
{"cucina_vegana:chives","farming:tofu_cooked", "cucina_vegana:rosemary"},
|
|
||||||
{"", "sandwiches:bread_slice", ""},
|
{"", "sandwiches:bread_slice", ""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -128,19 +113,12 @@ minetest.register_craft({
|
||||||
{"", "sandwiches:bread_slice", ""},
|
{"", "sandwiches:bread_slice", ""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "sandwiches:gourmet_sandwich",
|
output = "sandwiches:gourmet_sandwich",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "sandwiches:bread_slice", ""},
|
{"", "sandwiches:bread_slice", ""},
|
||||||
{"cucina_vegana:chives", "cucina_vegana:tofu_cooked" ,"cucina_vegana:sauce_hollandaise" },
|
{"cucina_vegana:chives", "group:food_tofu" ,"cucina_vegana:sauce_hollandaise" },
|
||||||
{"", "sandwiches:bread_slice", ""},
|
|
||||||
}
|
|
||||||
})
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "sandwiches:gourmet_sandwich",
|
|
||||||
recipe = {
|
|
||||||
{"", "sandwiches:bread_slice", ""},
|
|
||||||
{"cucina_vegana:chives", "farming:tofu_cooked" ,"cucina_vegana:sauce_hollandaise" },
|
|
||||||
{"", "sandwiches:bread_slice", ""},
|
{"", "sandwiches:bread_slice", ""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -167,7 +145,7 @@ minetest.register_craft({
|
||||||
output = "sandwiches:classic_sandwich",
|
output = "sandwiches:classic_sandwich",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "sandwiches:bread_slice", ""},
|
{"", "sandwiches:bread_slice", ""},
|
||||||
{"group:food_lettuce", "cucina_vegana:tofu_cooked", "group:food_tomato" },
|
{"group:food_lettuce", "group:food_tofu", "group:food_tomato" },
|
||||||
{"", "sandwiches:bread_slice", ""},
|
{"", "sandwiches:bread_slice", ""},
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -186,15 +164,7 @@ minetest.register_craft({
|
||||||
output = "sandwiches:fancy_garlic_sandwich",
|
output = "sandwiches:fancy_garlic_sandwich",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "sandwiches:garlic_bread", ""},
|
{"", "sandwiches:garlic_bread", ""},
|
||||||
{"cucina_vegana:tofu_cooked", "sandwiches:trifolat_mushrooms", "group:food_cheese"},
|
{"group:food_tofu", "sandwiches:trifolat_mushrooms", "group:food_cheese"},
|
||||||
{"", "sandwiches:garlic_bread", ""},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "sandwiches:fancy_garlic_sandwich",
|
|
||||||
recipe = {
|
|
||||||
{"", "sandwiches:garlic_bread", ""},
|
|
||||||
{"farming:tofu_cooked", "sandwiches:trifolat_mushrooms", "group:food_cheese"},
|
|
||||||
{"", "sandwiches:garlic_bread", ""},
|
{"", "sandwiches:garlic_bread", ""},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -203,19 +173,12 @@ minetest.register_craft({
|
||||||
output = "sandwiches:tasty_garlic_sandwich",
|
output = "sandwiches:tasty_garlic_sandwich",
|
||||||
recipe = {
|
recipe = {
|
||||||
{"", "sandwiches:garlic_bread", ""},
|
{"", "sandwiches:garlic_bread", ""},
|
||||||
{"group:food_tomato", "cucina_vegana:tofu_cooked", "group:food_cheese"},
|
{"group:food_tomato", "group:food_tofu", "group:food_cheese"},
|
||||||
{"", "sandwiches:garlic_bread", ""},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
minetest.register_craft({
|
|
||||||
output = "sandwiches:tasty_garlic_sandwich",
|
|
||||||
recipe = {
|
|
||||||
{"", "sandwiches:garlic_bread", ""},
|
|
||||||
{"group:food_tomato", "farming:tofu_cooked", "group:food_cheese"},
|
|
||||||
{"", "sandwiches:garlic_bread", ""},
|
{"", "sandwiches:garlic_bread", ""},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
--ALREADY EXISTING NON SANDWICH ITEMS
|
--ALREADY EXISTING NON SANDWICH ITEMS
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
|
|
|
@ -40,7 +40,8 @@ local override_def = {
|
||||||
-- X Farming
|
-- X Farming
|
||||||
compost = 50,
|
compost = 50,
|
||||||
-- MCL
|
-- MCL
|
||||||
compostability = 50
|
compostability = 50,
|
||||||
|
food_barley = 1
|
||||||
},
|
},
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,8 @@ local beetroot_def = {
|
||||||
-- MCL
|
-- MCL
|
||||||
food = 2,
|
food = 2,
|
||||||
eatable = 1,
|
eatable = 1,
|
||||||
compostability = 65
|
compostability = 65,
|
||||||
|
food_beetroot = 1
|
||||||
},
|
},
|
||||||
_mcl_saturation = 1.2,
|
_mcl_saturation = 1.2,
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
|
|
|
@ -281,6 +281,7 @@ local kiwi_fruit_def = {
|
||||||
-- ALL
|
-- ALL
|
||||||
flammable = 2,
|
flammable = 2,
|
||||||
attached_node = 1,
|
attached_node = 1,
|
||||||
|
food_kiwi = 1
|
||||||
},
|
},
|
||||||
_mcl_blast_resistance = 0,
|
_mcl_blast_resistance = 0,
|
||||||
_mcl_hardness = 0,
|
_mcl_hardness = 0,
|
||||||
|
|
|
@ -214,3 +214,31 @@ minetest.register_decoration(asuna.features.crops.pumpkin.inject_decoration({
|
||||||
"x_farming:pumpkin_fruit",
|
"x_farming:pumpkin_fruit",
|
||||||
},
|
},
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
--- Pumpkin slice with mod farming
|
||||||
|
|
||||||
|
if minetest.get_modpath('farming') then
|
||||||
|
|
||||||
|
minetest.register_craftitem("x_farming:pumpkin_slice", {
|
||||||
|
description = S("Pumpkin Slice"),
|
||||||
|
inventory_image = "farming_pumpkin_slice.png",
|
||||||
|
groups = {compostability = 48, food_pumpkin_slice = 1},
|
||||||
|
on_use = minetest.item_eat(2),
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "x_farming:pumpkin_slice 4",
|
||||||
|
recipe = {{"x_farming:pumpkin_fruit", "farming:cutting_board"}},
|
||||||
|
replacements = {{"farming:cutting_board", "farming:cutting_board"}}
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "x_farming:pumpkin_fruit",
|
||||||
|
recipe = {
|
||||||
|
{"x_farming:pumpkin_slice", "x_farming:pumpkin_slice"},
|
||||||
|
{"x_farming:pumpkin_slice", "x_farming:pumpkin_slice"}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue