factions/init.lua

30 lines
756 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
2016-07-30 05:02:22 +02:00
--! @copyright Sapier
--! @author Sapier
--! @date 2013-05-08
--!
-- Contact sapier a t gmx net
-------------------------------------------------------------------------------
2016-08-07 19:31:11 +02:00
local factions_version = "0.1.6"
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
2016-08-07 19:31:11 +02:00
dofile (factions_modpath .. "/factionsmod.lua")
dofile (factions_modpath .. "/chatcommands.lua")
2016-07-30 05:02:22 +02:00
2016-08-07 19:31:11 +02:00
factions.load()
factions_chat.init()
2016-07-30 05:02:22 +02:00
2016-08-07 19:31:11 +02:00
core.log("action","MOD: factions (by sapier) " .. factions_version .. " loaded.")