Skip to content

Instantly share code, notes, and snippets.

@ennorehling
Last active November 24, 2016 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ennorehling/3a0ace187b6c84c1752f14e3d08995d5 to your computer and use it in GitHub Desktop.
Save ennorehling/3a0ace187b6c84c1752f14e3d08995d5 to your computer and use it in GitHub Desktop.
-- ./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