2016-07-29 23:02:22 -04:00
|
|
|
--!path of mod
|
2016-08-07 19:31:11 +02:00
|
|
|
factions_modpath = minetest.get_modpath("factions")
|
2016-07-29 23:02:22 -04:00
|
|
|
|
2018-10-12 12:41:55 -05:00
|
|
|
dofile (factions_modpath .. "/config.lua")
|
2019-07-07 16:33:04 -05:00
|
|
|
dofile (factions_modpath .. "/storagedb.lua")
|
2019-05-02 23:05:52 -05:00
|
|
|
dofile (factions_modpath .. "/databases.lua")
|
|
|
|
dofile (factions_modpath .. "/eventcallbacks.lua")
|
|
|
|
dofile (factions_modpath .. "/diplomacy_events.lua")
|
|
|
|
dofile (factions_modpath .. "/invite_events.lua")
|
|
|
|
dofile (factions_modpath .. "/player_events.lua")
|
|
|
|
dofile (factions_modpath .. "/power_events.lua")
|
|
|
|
dofile (factions_modpath .. "/protection_override.lua")
|
|
|
|
dofile (factions_modpath .. "/rank_events.lua")
|
2018-10-15 10:24:58 -05:00
|
|
|
dofile (factions_modpath .. "/hud.lua")
|
2019-05-02 23:05:52 -05:00
|
|
|
dofile (factions_modpath .. "/claim_events.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-29 23:02:22 -04:00
|
|
|
|
2019-01-26 00:21:05 -06:00
|
|
|
minetest.after(1, hudUpdateClaimInfo)
|
|
|
|
minetest.after(factions_config.tick_time, factionUpdate)
|