factions/init.lua

22 lines
879 B
Lua
Raw Normal View History

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")
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 17:24:58 +02:00
dofile (factions_modpath .. "/hud.lua")
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")
2019-01-26 07:21:05 +01:00
dofile (factions_modpath .. "/convert.lua")
2016-07-30 05:02:22 +02:00
2019-01-26 07:21:05 +01:00
minetest.after(1, hudUpdateClaimInfo)
minetest.after(factions_config.tick_time, factionUpdate)