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
|
||||
description = Adds Enchanting Mechanics and API.
|
||||
depends =
|
||||
optional_depends = xdecor, item_drop, stairs
|
||||
optional_depends = xdecor, item_drop, stairs, enchanting
|
||||
supported_games = minetest_game
|
||||
min_minetest_version = 5.4
|
||||
|
@ -633,12 +633,12 @@ core.register_entity('x_enchanting:table_scroll', {
|
||||
-- Recipe
|
||||
---
|
||||
|
||||
if core.get_modpath('xdecor') then
|
||||
if core.get_modpath('xdecor') or core.get_modpath('enchanting') then
|
||||
core.register_craft({
|
||||
output = 'x_enchanting:table',
|
||||
recipe = {
|
||||
{ 'default:book', '', '' },
|
||||
{ 'default:diamond', 'default:obsidian', 'default:diamond' },
|
||||
{ 'default:diamond', 'xdecor:enchantment_table', 'default:diamond' },
|
||||
{ 'default:obsidian', 'default:obsidian', 'default:obsidian' }
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user