empserver/tests/load-tend
Markus Armbruster 31256510cc load: Factor out plane_loadable(), land_loadable()
load_plane_ship() and load_plane_land() duplicate code to check
whether a plane can be loaded, except for the phrasing of one message.
Factor out into plane_loadable().  tran_plane() has equivalent code,
but wants different messages, which makes de-duplication unattractive.

load_land_ship() and load_land_land() duplicate code to check whether
a land unit can be loaded.  Factor out into land_loadable().

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-05 07:25:18 +01:00
..
01-load-1 unload lunload: Fail early when carrier can't carry land units 2021-01-05 07:25:18 +01:00
02-load-POGO load unload: Don't treat unowned sectors specially 2021-01-05 07:25:18 +01:00
03-tend-1 tend: Report "cannot hold any" when tending to target, too 2021-01-05 07:25:17 +01:00
04-tend-POGO tend ltend: Fix to skip dead ships and land units for deities 2021-01-05 07:25:17 +01:00
05-ltend-1 ltend: Reject zero amount more nicely 2021-01-05 07:25:17 +01:00
06-ltend-POGO tests/load-tend: New; exercises load and tend commands 2021-01-05 07:25:15 +01:00
99-POGO load unload: Don't treat unowned sectors specially 2021-01-05 07:25:18 +01:00
final.xdump load unload: Don't treat unowned sectors specially 2021-01-05 07:25:18 +01:00
journal.log load: Factor out plane_loadable(), land_loadable() 2021-01-05 07:25:18 +01:00
server.log tests/load-tend: New; exercises load and tend commands 2021-01-05 07:25:15 +01:00
setup-POGO tests/load-tend: New; exercises load and tend commands 2021-01-05 07:25:15 +01:00