empserver/tests/load-tend/02-load-POGO
Markus Armbruster 68945c8ff8 tests/load-tend: New; exercises load and tend commands
Exercise load, unload, lload, lunload, tend, and ltend.

Notable coverage gaps:

* Effect on land unit fortification

* Effect on mission and retreat orders

* Ships, land units and planes on sale (option MARKET 1)

* Transmission of plague (option NO_PLAGUE 0)

* Land units loading and unloading civilians (need a custom land unit
  type capable of carrying civilians)

* load refusing to load x-light planes (need a custom ship type that
  can carry helo but not x-light)

* load and lload refusing to load land units carrying land units, and
  lload refusing to load land units onto land units that are being
  carried (need a custom non-heavy land unit type that can carry land
  units)

* tend refusing to tend non-light land units to non-supply ships, or
  to supply ships without room (need custom a non-light assault land
  unit type)

This test exposes bugs.  They're marked "BUG:" in the test input.
There are also oddities marked "odd:", and usability issues marked
"usability:".

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
2021-01-05 07:25:15 +01:00

41 lines
1.3 KiB
Text

||| General deity load / unload rules
|
| Can load / unload regardless of ownership
| except civilians still refuse to change allegiance
| odd: except ships can't in unowned sectors
|
||| load / unload commodities
|| #94 in neutral 2% h, #4 in unowned 2% h, #5 in 0% h, #90 dead: #94 works
| odd: #4 doesn't work
load f 94/4/5/90 1
unload m 94/4/5/90 1
|| #80 in occupied 2% h: does not work
load c 80 1
unload c 80 1
|| #94 in neutral sector, #54 in unowned sector, #90 dead: #94/54 work
lload f 94/54/90 1
lunload m 94/54/90 1
|
||| load / unload planes
|| #94 in neutral 2% h, #4 in unowned 2% h, #5 in 0% h, #90 dead: #94 works
| odd: #4 doesn't work
load plane 94 184
load plane 4/5/90 4/5/180
unload plane 94/4/5/90 194/154/155/190
|| #94 in neutral sector, #54 in unowned sector, #90 dead: #94/54 work
lload plane 94 214
lload plane 90/54 210/34
lunload plane 94/54/90 224/204/220
| odd: sam#204 dies
|
||| load / unload lands
|| #94 in neutral 2% h, #4 in unowned 2% h, #5 in 0% h, #90 dead: #94 works
| odd: #4 doesn't work
load land 94 214
load land 4/5/90 4/5/210
unload land 94/4/5/90 224/184/185/220
|| #94 in neutral sector, #54 in unowned sector, #90 dead: #94/54 work
lload land 94 244
lload land 90/54 240/34
lunload land 94/54/90 254/234/250
| odd: linf#234 dies