]> git.pond.sub.org Git - empserver/commit
Clean up rules on where you can scrap stuff
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 13 Sep 2008 19:27:42 +0000 (15:27 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 15 Sep 2008 11:49:24 +0000 (07:49 -0400)
commit221324cc1073b71ebda726b581ddeff1ea89a586
treecb89fe79de69e95d31d4677229fb3b92615ab6ae
parent06dd3d80ac3870fd7375abd6bc559975f92339ec
Clean up rules on where you can scrap stuff

You can now scrap ships in own or friendly, efficient harbors, planes
in own or allied, efficient airfields, and land units in any own or
allied sector.

When something can't be scrapped because of these rules, print a
suitable message.

Before, you could scrap ships regardless of relations to sector owner
(info claimed friendly was required), land units regardless of
relations, but not while on ships, and planes even in friendly
airfields (info claimed allied was required).

When scrapping in a deity sector, scrap claimed it gave the cargo to
POGO, which is somewhat bogus, as POGO can't own such stuff.
info/scrap.t
src/lib/commands/scra.c