]> git.pond.sub.org Git - empserver/blob - tests/build/units/01-ships-1
tests/build: New; exercises build command
[empserver] / tests / build / units / 01-ships-1
1 || invalid
2 build
3 @
4 || ships
5 | invalid type
6 build s 0,0 @
7 | insufficient tech
8 build s 0,0 nuc
9 | too many
10 build s 0,0 pt 21
11 n
12 | pt needs 4l/2h/12av/$60, tech 40
13 | asking for too high and too low tech
14 build s 0,0 pt 1 101
15 build s 0,0 pt 1 39
16 | not a harbor, no materials, inefficient
17 build s 0,0 pt
18 build s 4:6,0 pt
19 | insufficient materials: 2,0 short 1h, 4,0 short 1l
20 move l 0,0 4 jh
21 move h 0,0 1 jh
22 move l 0,0 3 jjh
23 move h 0,0 2 jjh
24 build s 2:4,0 pt
25 | build until out of avail/money
26 | sectors can build 2 each, but out of money after 3 total
27 move l 0,0 12 jh
28 move h 0,0 7 jh
29 move l 0,0 13 jjh
30 move h 0,0 6 jjh
31 build s
32 2,0
33 pt
34 build s 2,0 pt
35 build s 2:4,0 pt 21 90 y
36 || show results
37 ship *
38 cens * ?des=h
39 comm * ?des=h