1
0
mirror of https://bitbucket.org/minetest_gamers/x_enchanting.git synced 2025-04-21 17:50:21 +02:00

3 Add support for item_drop mod

This commit is contained in:
Juraj Vajda 2023-02-26 15:45:25 +00:00
commit 01703cb0a3
3 changed files with 5 additions and 4 deletions

View File

@ -178,6 +178,7 @@ end
## Optional Dependencies
- xdecor (adjusts conflicting recipe)
- item_drop (make sure fortune will execute before item_drop mod overrides `handle_node_drops`)
## License:

View File

@ -309,9 +309,9 @@ end
---Find element v of t satisfying f(v)
local function tableFind(t, f)
for _, v in ipairs(t) do
if f(v) then
return v
end
if f(v) then
return v
end
end
return nil

View File

@ -1,6 +1,6 @@
name = x_enchanting
description = Adds Enchanting Mechanics and API.
depends =
optional_depends = xdecor
optional_depends = xdecor, item_drop
supported_games = minetest_game
min_minetest_version = 5.4