forked from Cute-Nekomimi/animescripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
31 lines (30 loc) · 635 Bytes
/
init.lua
File metadata and controls
31 lines (30 loc) · 635 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
dofile("ext/extensions.lua")()
if not Extensions and Extensions.CheckVersion("ext",1,0) then
error("init.lua requires Extension \"Extensions\" of at least version \"1.0\" to load Extensions.")
end
function ext(file)
if Extensions.Loaded then
local path=table.concat({"ext/",file,".lua"})
local x=dofile(path)
x()
end
end
ext("extensions")
ext("type")
ext("function")
ext("function-short")
ext("math")
ext("id")
ext("short-id")
ext("effect")
ext("auto-effects")
ext("data-effects")
ext("ignore")
ext("group")
ext("card")
ext("debug")
ext("short-debug")
ext("duel")
ext("short-duel")
ext("constant")
ext("chain-data")