forked from mtcontrib/x_enchanting
Add enchanting mod support
This commit is contained in:
parent
0d589e69b3
commit
673922371c
2
mod.conf
2
mod.conf
@ -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, item_drop, stairs
|
optional_depends = xdecor, item_drop, stairs, enchanting
|
||||||
supported_games = minetest_game
|
supported_games = minetest_game
|
||||||
min_minetest_version = 5.4
|
min_minetest_version = 5.4
|
||||||
|
@ -633,12 +633,12 @@ core.register_entity('x_enchanting:table_scroll', {
|
|||||||
-- Recipe
|
-- Recipe
|
||||||
---
|
---
|
||||||
|
|
||||||
if core.get_modpath('xdecor') then
|
if core.get_modpath('xdecor') or core.get_modpath('enchanting') then
|
||||||
core.register_craft({
|
core.register_craft({
|
||||||
output = 'x_enchanting:table',
|
output = 'x_enchanting:table',
|
||||||
recipe = {
|
recipe = {
|
||||||
{ 'default:book', '', '' },
|
{ 'default:book', '', '' },
|
||||||
{ 'default:diamond', 'default:obsidian', 'default:diamond' },
|
{ 'default:diamond', 'xdecor:enchantment_table', 'default:diamond' },
|
||||||
{ 'default:obsidian', 'default:obsidian', 'default:obsidian' }
|
{ 'default:obsidian', 'default:obsidian', 'default:obsidian' }
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user