diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-16 14:48:34 +0000 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2018-03-16 14:48:34 +0000 |
commit | 289141dd32775059f9216ed93bc41ae8e9519c40 (patch) | |
tree | 3da7bb08f1d1d7e9594edd678ed86db3f31a623e | |
parent | 1e32d1e4c7d805f6177cd75509a9f1d7754d264a (diff) |
add override for apple to have food_ group
-rw-r--r-- | compatibility.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compatibility.lua b/compatibility.lua index 1beb241..5637e70 100644 --- a/compatibility.lua +++ b/compatibility.lua @@ -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? local eth = minetest.get_modpath("ethereal") or nil |