I must remember to load the spells, too

This commit is contained in:
Enno Rehling 2005-10-08 21:34:00 +00:00
parent 2cb9b7bdaa
commit 9230a0a074
5 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -23,6 +23,7 @@ end
function run_scripts()
scripts = {
"spells.lua",
"eternath.lua",
"wedding-jadee.lua",
"ponnuki.lua"

View File

@ -1,5 +1,6 @@
function run_scripts()
scripts = {
"spells.lua",
"hse-portals.lua",
"hse-stats.lua"
}

View File

@ -1,5 +1,6 @@
function run_scripts()
scripts = {
"spells.lua",
"hse-portals.lua",
"hse-stats.lua"
}

View File

@ -40,7 +40,8 @@ end
print("- Running wdw-run.lua")
scripts = {
scripts = {
"spells.lua",
"wdw-sphinx.lua",
"wdw-standings.lua"
}