FreeKill/lua/freekill.lua
Notify-ctrl a85f510c98 commit
2022-03-30 16:33:56 +08:00

37 lines
678 B
Lua

-- Fundemental script for FreeKill
-- Load mods, init the engine, etc.
package.path = package.path .. ";./lua/lib/?.lua"
.. ";./lua/?.lua"
-- load libraries
---@type class
class = require "middleclass"
---@type json
json = require "json"
require "sha256"
Util = require "core.util"
math.randomseed(os.time())
DebugMode = true
function pt(t)
for k, v in pairs(t) do
print(k, v)
end
end
-- 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
Fk = Engine:new()