]> git.pond.sub.org Git - empserver/commit
build: Report missing stuff more nicely for ship, plane, land units
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 12 Jan 2014 17:33:13 +0000 (18:33 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 16 Feb 2014 10:48:34 +0000 (11:48 +0100)
commite2d176fd8a5f7420bcf9ed8ec105aa22d95eb2e5
tree4138e5afe12578fa88164d70197a97baec3e269e
parent1227d2c931ed4c33e03946847aa237c2ef4d4420
build: Report missing stuff more nicely for ship, plane, land units

If both materials and avail are missing, report missing avail instead
of materials, to avoid tempting the player to move in materials only
to discover avail is lacking, too.

Report what materials are missing instead of just "Not enough
materials".  Does not yet include military for planes, but that's
next.

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