Last active
November 24, 2016 19:02
-
-
Save ennorehling/3a0ace187b6c84c1752f14e3d08995d5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ./eressea -v0 -t 858 shipinfo.lua > ships.txt | |
require 'config' | |
eressea.read_game(get_turn() .. ".dat") | |
for r in regions() do | |
for s in r.ships do | |
if s.info:len()>120 then | |
print(s.id, s.info) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment