2020-10-27 15:37:25 +00:00
|
|
|
local modpath = minetest.get_modpath("mcl_enchanting")
|
|
|
|
|
|
|
|
mcl_enchanting = {
|
|
|
|
lapis_itemstring = "mcl_dye:blue",
|
|
|
|
book_offset = vector.new(0, 0.75, 0),
|
|
|
|
roman_numerals = dofile(modpath .. "/roman_numerals.lua"), -- https://exercism.io/tracks/lua/exercises/roman-numerals/solutions/73c2fb7521e347209312d115f872fa49
|
2020-11-01 12:44:05 +00:00
|
|
|
enchantments = {},
|
|
|
|
debug = true,
|
2020-10-27 15:37:25 +00:00
|
|
|
}
|
|
|
|
|
2020-11-02 12:38:17 +00:00
|
|
|
dofile(modpath .. "/engine.lua")
|
2020-10-27 15:37:25 +00:00
|
|
|
dofile(modpath .. "/enchantments.lua")
|
2020-10-27 17:19:49 +00:00
|
|
|
dofile(modpath .. "/command.lua")
|
2020-10-27 18:53:49 +00:00
|
|
|
dofile(modpath .. "/tt.lua")
|
2020-11-01 16:24:57 +00:00
|
|
|
dofile(modpath .. "/book.lua")
|
2020-10-27 15:37:25 +00:00
|
|
|
-- dofile(modpath .. "/ui.lua")
|
|
|
|
-- dofile(modpath .. "/fx.lua")
|
|
|
|
-- dofile(modpath .. "/book.lua")
|
|
|
|
-- dofile(modpath .. "/table.lua")
|
2020-11-01 12:44:05 +00:00
|
|
|
|
|
|
|
minetest.register_on_mods_loaded(mcl_enchanting.initialize)
|