2005-02-18 10:34:12 +01:00
|
|
|
dofile(scriptpath .. "/hse-grails.lua")
|
|
|
|
dofile(scriptpath .. "/hse-spoils.lua")
|
|
|
|
dofile(scriptpath .. "/hse-buildings.lua")
|
2005-01-13 13:42:36 +01:00
|
|
|
|
|
|
|
function write_stats(filename)
|
|
|
|
local file = io.open(reportpath .. "/" .. filename, "w")
|
|
|
|
print("grails")
|
|
|
|
write_grails(file)
|
|
|
|
file:write("\n")
|
|
|
|
print("spoils")
|
|
|
|
write_spoils(file)
|
|
|
|
print("buildings")
|
|
|
|
write_buildings(file)
|
|
|
|
file:close()
|
|
|
|
end
|