1
0
mirror of https://codeberg.org/tenplus1/farming.git synced 2024-12-26 18:50:20 +01:00

add override for apple to have food_ group

This commit is contained in:
TenPlus1 2018-03-16 14:48:34 +00:00
parent 1e32d1e4c7
commit 289141dd32

View File

@ -1,3 +1,9 @@
-- add food group to default apple
minetest.override_item("default:apple", {
groups = {food_apple = 1, fleshy = 3, dig_immediate = 3, flammable = 2,
leafdecay = 3, leafdecay_drop = 1},
})
-- is Ethereal mod installed? -- is Ethereal mod installed?
local eth = minetest.get_modpath("ethereal") or nil local eth = minetest.get_modpath("ethereal") or nil