]> git.pond.sub.org Git - empserver/blob - tests/build/units/04-nukes-4
tests/build: New; exercises build command
[empserver] / tests / build / units / 04-nukes-4
1 || nukes
2 | invalid type
3 build n -1,3 @
4 | insufficient tech
5 build n -1,3 5mt
6 | too many
7 build n -1,3 10kt 21
8 n
9 | 10kt needs 50l/50h/25o/70r/10k$, tech 80
10 | asking for too high and too low tech
11 build n -1,3 10kt 1 301
12 build n -1,3 10kt 1 279
13 | not an nuclear plan, no materials, inefficient
14 build n -1,3 10kt
15 build n 3:5,3 10kt
16 | insufficient materials: 1,3 short 1l, 3,3 short 1h
17 move l -1,3 49 jh
18 move l -1,3 50 jjh
19 move h -1,3 50 jh
20 move h -1,3 49 jjh
21 move o -1,3 25 jh
22 move o -1,3 25 jjh
23 move r -1,3 70 jh
24 move r -1,3 70 jjh
25 build n 1:3,3 10kt
26 | insufficient materials: 1,3 short 1o, 3,3 short 1r
27 move l -1,3 1 jh
28 move h -1,3 1 jjh
29 move o 1,3 1 gh
30 move r 3,3 1 ggh
31 build n 1:3,3 10kt
32 | build until out of avail/money
33 | sectors can build 2 each, but out of money after 3 total
34 move l -1,3 100 jh
35 move l -1,3 100 jjh
36 move h -1,3 100 jh
37 move h -1,3 100 jjh
38 move o -1,3 51 jh
39 move o -1,3 50 jjh
40 move r -1,3 140 jh
41 move r 7,3 141 ggh
42 build
43 n
44 1,3
45 10kt
46 build n 1,3 10kt
47 build n 1:3,3 10kt 3 290
48 || show results
49 nuke *
50 cens * ?des=n
51 comm * ?des=n