FreeKill/lua/freekill.lua

29 lines
650 B
Lua
Raw Normal View History

-- Fundemental script for FreeKill
-- Load mods, init the engine, etc.
package.path = package.path .. ";./lua/lib/?.lua"
.. ";./lua/?.lua"
-- load libraries
2022-03-30 08:33:56 +00:00
class = require "middleclass"
json = require "json"
2022-03-30 08:33:56 +00:00
local GroupUtils = require "core.util"
TargetGroup, AimGroup = table.unpack(GroupUtils)
dofile "lua/core/debug.lua"
math.randomseed(os.time())
-- load core classes
Engine = require "core.engine"
Package = require "core.package"
General = require "core.general"
Card = require "core.card"
Skill = require "core.skill"
Player = require "core.player"
-- load packages
dofile "lua/fk_ex.lua"
Fk = Engine:new()