forked from github/server
I must remember to load the spells, too
This commit is contained in:
parent
2cb9b7bdaa
commit
9230a0a074
|
@ -1,3 +1,11 @@
|
|||
function loadscript(name)
|
||||
local script = scriptpath .. "/" .. name
|
||||
print("- loading " .. script)
|
||||
if pcall(dofile, script)==0 then
|
||||
print("Could not load " .. script)
|
||||
end
|
||||
end
|
||||
|
||||
function write_emails()
|
||||
local locales = { "de", "en" }
|
||||
local files = {}
|
||||
|
@ -63,6 +71,7 @@ end
|
|||
if orderfile==nil then
|
||||
print "you must specify an orderfile"
|
||||
else
|
||||
loadscript("spells.lua")
|
||||
process(orderfile)
|
||||
end
|
||||
|
||||
|
|
|
@ -23,6 +23,7 @@ end
|
|||
|
||||
function run_scripts()
|
||||
scripts = {
|
||||
"spells.lua",
|
||||
"eternath.lua",
|
||||
"wedding-jadee.lua",
|
||||
"ponnuki.lua"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
function run_scripts()
|
||||
scripts = {
|
||||
"spells.lua",
|
||||
"hse-portals.lua",
|
||||
"hse-stats.lua"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
function run_scripts()
|
||||
scripts = {
|
||||
"spells.lua",
|
||||
"hse-portals.lua",
|
||||
"hse-stats.lua"
|
||||
}
|
||||
|
|
|
@ -41,6 +41,7 @@ end
|
|||
print("- Running wdw-run.lua")
|
||||
|
||||
scripts = {
|
||||
"spells.lua",
|
||||
"wdw-sphinx.lua",
|
||||
"wdw-standings.lua"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue