not writing aliases for monsters should make things go faster

This commit is contained in:
Enno Rehling 2008-05-25 09:34:57 +00:00
parent 57623bb2a7
commit 18485ee6f1
2 changed files with 6 additions and 4 deletions

View file

@ -47,11 +47,13 @@ function write_aliases()
file = io.open(basepath .. "/aliases", "w")
for faction in factions() do
local unit
if faction.email ~= "" then
file:write("partei-" .. itoa36(faction.id) .. ": " .. faction.email .. "\n")
for unit in faction.units do
file:write("einheit-" .. itoa36(unit.id) .. ": " .. faction.email .. "\n")
end
end
end
file:close()
end

View file

@ -79,7 +79,7 @@ function test_md5()
read_game("571.dat", "binary")
-- read_orders("orders.571")
run_turn()
write_game("572.txt", "text")
-- write_game("572.txt", "text")
end
loadscript("default.lua")