magicalities/init.lua

61 lines
1.3 KiB
Lua
Raw Normal View History

2018-04-17 09:39:28 +00:00
-- Magicalities
magicalities = {}
local modpath = minetest.get_modpath(minetest.get_current_modname())
magicalities.modpath = modpath
magicalities.elements = {
-- Base Elements
["water"] = {color = "#003cff", description = "Water", inheritance = nil},
["earth"] = {color = "#00a213", description = "Earth", inheritance = nil},
["light"] = {color = "#ffffff", description = "Light", inheritance = nil},
2018-04-17 14:17:56 +00:00
["fire"] = {color = "#ff2424", description = "Fire", inheritance = nil},
2018-04-17 09:39:28 +00:00
["dark"] = {color = "#232323", description = "Dark", inheritance = nil},
2018-04-17 14:17:56 +00:00
["air"] = {color = "#ffff00", description = "Air", inheritance = nil},
2018-04-17 09:39:28 +00:00
-- Inherited Elements
}
-- Storage
dofile(modpath.."/storage.lua")
-- Player abilities
dofile(modpath.."/ability.lua")
2018-04-17 09:39:28 +00:00
-- Crystals
dofile(modpath.."/crystals.lua")
-- Wands
dofile(modpath.."/wands.lua")
2018-04-19 14:46:36 +00:00
-- Wand focuses
dofile(modpath.."/focuses.lua")
2018-04-17 09:39:28 +00:00
-- Tables
dofile(modpath.."/table.lua")
dofile(modpath.."/research_table.lua")
2018-04-17 14:17:56 +00:00
2019-08-11 18:38:24 +00:00
-- Nodes
dofile(modpath.."/nodes.lua")
2018-04-17 14:17:56 +00:00
-- Items
dofile(modpath.."/craftitems.lua")
2019-11-08 22:47:02 +00:00
-- Tools
dofile(modpath.."/tools.lua")
2018-04-18 09:05:29 +00:00
-- Scanner
dofile(modpath.."/scanner.lua")
2019-08-17 13:09:25 +00:00
-- Cauldron
dofile(modpath.."/cauldron.lua")
-- Book
dofile(modpath.."/book.lua")
2019-11-08 18:39:07 +00:00
-- Map generation
dofile(modpath.."/mapgen.lua")
2018-04-17 14:17:56 +00:00
-- Register
dofile(modpath.."/register.lua")