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
|
@ -40,7 +40,8 @@ local override_def = {
|
|||
-- X Farming
|
||||
compost = 50,
|
||||
-- MCL
|
||||
compostability = 50
|
||||
compostability = 50,
|
||||
food_barley = 1
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
}
|
||||
|
|
|
@ -45,7 +45,8 @@ local beetroot_def = {
|
|||
-- MCL
|
||||
food = 2,
|
||||
eatable = 1,
|
||||
compostability = 65
|
||||
compostability = 65,
|
||||
food_beetroot = 1
|
||||
},
|
||||
_mcl_saturation = 1.2,
|
||||
_mcl_blast_resistance = 0,
|
||||
|
|
|
@ -281,6 +281,7 @@ local kiwi_fruit_def = {
|
|||
-- ALL
|
||||
flammable = 2,
|
||||
attached_node = 1,
|
||||
food_kiwi = 1
|
||||
},
|
||||
_mcl_blast_resistance = 0,
|
||||
_mcl_hardness = 0,
|
||||
|
|
|
@ -214,3 +214,31 @@ minetest.register_decoration(asuna.features.crops.pumpkin.inject_decoration({
|
|||
"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