factions/init.lua

29 lines
829 B
Lua
Raw Normal View History

2016-07-30 05:02:22 +02:00
-------------------------------------------------------------------------------
2016-08-07 19:31:11 +02:00
-- factions Mod by Sapier
2016-07-30 05:02:22 +02:00
--
-- License WTFPL
--
--! @file init.lua
2016-08-07 19:31:11 +02:00
--! @brief factions mod to be used by other mods
--! @copyright Sapier, Coder12a
--! @author Sapier, Coder12a
2016-07-30 05:02:22 +02:00
--! @date 2013-05-08
--!
-- Contact sapier a t gmx net
-------------------------------------------------------------------------------
factions_version = "0.8.1"
2016-07-30 05:02:22 +02:00
2016-08-07 19:31:11 +02:00
core.log("action", "MOD: factions (by sapier) loading ...")
2016-07-30 05:02:22 +02:00
--!path of mod
2016-08-07 19:31:11 +02:00
factions_modpath = minetest.get_modpath("factions")
2016-07-30 05:02:22 +02:00
dofile (factions_modpath .. "/config.lua")
2016-08-07 19:32:27 +02:00
dofile (factions_modpath .. "/factions.lua")
2016-08-07 19:31:11 +02:00
dofile (factions_modpath .. "/chatcommands.lua")
2016-08-21 01:08:45 +02:00
dofile (factions_modpath .. "/nodes.lua")
2016-07-30 05:02:22 +02:00
2016-08-07 19:31:11 +02:00
factions.load()
2016-07-30 05:02:22 +02:00
core.log("action","MOD: factions (by sapier) " .. factions_version .. " loaded.")