]> git.pond.sub.org Git - empserver/commit
build: Report missing stuff more nicely for nukes
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 12 Jan 2014 22:00:38 +0000 (23:00 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 16 Feb 2014 10:51:50 +0000 (11:51 +0100)
commit1c0315048abffcd776930ed83c11f153d55faf53
tree21042176d0687ec299ab7ecd050c3f9754d020da
parenteeb62ab2805321723a82a71918517322905883a3
build: Report missing stuff more nicely for nukes

By switching build_nuke() to sector_can_build(), build_charge().
Changes reporting of missing stuff to be like for ships, planes and
land units:

* Report missing available work, or else missing materials, or else
  missing money instead of materials, or else money, or else work.

* Report what materials are missing instead of how much materials have
  to be there.

* Clean up stray ';' in reporting of missing work.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/buil.c
tests/build/journal.log