]> git.pond.sub.org Git - empserver/blob - tests/load-tend/05-ltend-1
tests/load-tend: New; exercises load and tend commands
[empserver] / tests / load-tend / 05-ltend-1
1 ||| General ltend rules
2 |
3 | tender must have target loaded
4 | only own ships can ltend
5 |
6 | ships:
7 | cs#200/201 (fleet T)
8 |
9 | lands:
10 | sup#350/351 riding fleet T
11 |
12 ||| ltend commodities
13 |
14 || general sanity
15 | invalid commodity
16 ltend x
17 | invalid ship
18 ltend f -1
19 | no ships match
20 ltend f n
21 | foreign tender
22 ltend f 212
23 | usability: does nothing silently
24 | invalid amount
25 | impossible, as crap is mapped to zero
26 | invalid target
27 tend f 200 1 -1
28 | no targets match
29 ltend f 200 1 n
30 |
31 || lands that can't be tended
32 ltend f 200 1 26
33 | not on ship
34 ltend f 200 1 0
35 | usability: does nothing silently
36 |
37 || from ship to land
38 | something the ship can't hold
39 ltend i 200/201 1 350/352
40 | something the land can't hold
41 ltend c 200/201 1 350/352
42 | something the ship doesn't have
43 ltend h 200/201 1 350/352
44 | zero amount:
45 ltend f 200/201 0 350/351//352
46 | usability: does nothing silently
47 | more than the ship has
48 ltend s 200/201 5 350/351/352
49 | more than the land can hold
50 ltend g 200/201 21 350/352
51 |
52 || from land to ship
53 | something the ship can't hold
54 ltend i 200/201 -1 350/352
55 | something the land can't hold
56 ltend c 200/201 -1 350/352
57 | something the land doesn't have
58 ltend l 200/201 -1 350/352
59 | more than the land has
60 ltend s 200/201 -20 351/352
61 | more than the ship can hold
62 ltend m 200/201 -25 350/351/352
63 |
64 || interactive
65 ltend
66 x
67 ltend
68 f
69 -1
70 ltend
71 f
72 200/201
73 1
74 350/351
75 -1
76 350