mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
a67175f8eb
* Run room in lua * handle offline player * Better toast and other * delete useless stuff * todo: edit profile * use pch
29 lines
546 B
Lua
29 lines
546 B
Lua
-- Fundemental script for FreeKill
|
|
-- Load mods, init the engine, etc.
|
|
|
|
package.path = package.path .. ";./lua/lib/?.lua"
|
|
.. ";./lua/core/?.lua"
|
|
|
|
-- load libraries
|
|
class = require "middleclass"
|
|
json = require "json"
|
|
require "sha256"
|
|
Util = require "util"
|
|
|
|
DebugMode = true
|
|
|
|
function pt(t)
|
|
for k, v in pairs(t) do
|
|
print(k, v)
|
|
end
|
|
end
|
|
|
|
-- load core classes
|
|
Sanguosha = require "engine"
|
|
General = require "general"
|
|
Card = require "card"
|
|
Skill = require "skill"
|
|
Player = require "player"
|
|
|
|
-- load packages
|