server/src/scripts/hse-stats.lua
Enno Rehling 03b2543d30 Renaming a lot of the HSE script files, because they are more generic than I
thought they would be and can be reused.

Added HSE4 rules files.

Added sorting by Race to the mapper's newfaction list, which might be a bad
idea for automated seeding.
2005-02-18 09:34:12 +00:00

15 lines
375 B
Lua

dofile(scriptpath .. "/hse-grails.lua")
dofile(scriptpath .. "/hse-spoils.lua")
dofile(scriptpath .. "/hse-buildings.lua")
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