forked from VoxeLibre/VoxeLibre
Food items
This commit is contained in:
parent
9bee6afd0c
commit
fbe43fcb8e
|
@ -1,14 +1,34 @@
|
||||||
local items = {
|
local items = {
|
||||||
["apple"] = {},
|
["apple"] = {
|
||||||
["baked_potato"] = {},
|
groups = {compostability = 65, food_and_drinks = 1, saturation = 24},
|
||||||
["beetroot"] = {},
|
on_place = minetest.item_eat(4),
|
||||||
["carrot"] = {},
|
on_secondary_use = minetest.item_eat(4)
|
||||||
|
},
|
||||||
|
["baked_potato"] = {
|
||||||
|
groups = {compostability = 85, food_and_drinks = 1, saturation = 60},
|
||||||
|
on_place = minetest.item_eat(5),
|
||||||
|
on_secondary_use = minetest.item_eat(5)
|
||||||
|
},
|
||||||
|
["beetroot"] = {
|
||||||
|
groups = {compostability = 65, food_and_drinks = 1, saturation = 12},
|
||||||
|
on_place = minetest.item_eat(1),
|
||||||
|
on_secondary_use = minetest.item_eat(1)
|
||||||
|
},
|
||||||
|
["carrot"] = {
|
||||||
|
groups = {compostability = 65, food_and_drinks = 1, saturation = 36},
|
||||||
|
on_place = nil,
|
||||||
|
on_secondary_use = minetest.item_eat(3)
|
||||||
|
},
|
||||||
["chorus_fruit"] = {},
|
["chorus_fruit"] = {},
|
||||||
["glow_berries"] = {},
|
["glow_berries"] = {},
|
||||||
["melon_slice"] = {},
|
["melon_slice"] = {},
|
||||||
["sweet_berries"] = {},
|
["sweet_berries"] = {},
|
||||||
["poisonous_potato"] = {},
|
["poisonous_potato"] = {},
|
||||||
["potato"] = {},
|
["potato"] = {
|
||||||
|
groups = {compostability = 65, food_and_drinks = 1, saturation = 6, smoker_cookable = 1},
|
||||||
|
on_place = nil,
|
||||||
|
on_secondary_use = minetest.item_eat(1)
|
||||||
|
},
|
||||||
["spider_eye"] = {}
|
["spider_eye"] = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue