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>
76 lines
1.3 KiB
Text
76 lines
1.3 KiB
Text
||| General ltend rules
|
|
|
|
|
| tender must have target loaded
|
|
| only own ships can ltend
|
|
|
|
|
| ships:
|
|
| cs#200/201 (fleet T)
|
|
|
|
|
| lands:
|
|
| sup#350/351 riding fleet T
|
|
|
|
|
||| ltend commodities
|
|
|
|
|
|| general sanity
|
|
| invalid commodity
|
|
ltend x
|
|
| invalid ship
|
|
ltend f -1
|
|
| no ships match
|
|
ltend f n
|
|
| foreign tender
|
|
ltend f 212
|
|
| usability: does nothing silently
|
|
| invalid amount
|
|
| impossible, as crap is mapped to zero
|
|
| invalid target
|
|
tend f 200 1 -1
|
|
| no targets match
|
|
ltend f 200 1 n
|
|
|
|
|
|| lands that can't be tended
|
|
ltend f 200 1 26
|
|
| not on ship
|
|
ltend f 200 1 0
|
|
| usability: does nothing silently
|
|
|
|
|
|| from ship to land
|
|
| something the ship can't hold
|
|
ltend i 200/201 1 350/352
|
|
| something the land can't hold
|
|
ltend c 200/201 1 350/352
|
|
| something the ship doesn't have
|
|
ltend h 200/201 1 350/352
|
|
| zero amount:
|
|
ltend f 200/201 0 350/351//352
|
|
| usability: does nothing silently
|
|
| more than the ship has
|
|
ltend s 200/201 5 350/351/352
|
|
| more than the land can hold
|
|
ltend g 200/201 21 350/352
|
|
|
|
|
|| from land to ship
|
|
| something the ship can't hold
|
|
ltend i 200/201 -1 350/352
|
|
| something the land can't hold
|
|
ltend c 200/201 -1 350/352
|
|
| something the land doesn't have
|
|
ltend l 200/201 -1 350/352
|
|
| more than the land has
|
|
ltend s 200/201 -20 351/352
|
|
| more than the ship can hold
|
|
ltend m 200/201 -25 350/351/352
|
|
|
|
|
|| interactive
|
|
ltend
|
|
x
|
|
ltend
|
|
f
|
|
-1
|
|
ltend
|
|
f
|
|
200/201
|
|
1
|
|
350/351
|
|
-1
|
|
350
|