Compare commits

..

3 Commits

Author SHA1 Message Date
01703cb0a3 3 Add support for item_drop mod 2023-02-26 15:45:25 +00:00
c5c53b63ee 3 Fix indentation 2023-02-26 10:42:06 -05:00
4a0b45f472 3 Add support for item_drop mod 2023-02-26 10:34:18 -05:00
3 changed files with 5 additions and 4 deletions

View File

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

View File

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

View File

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