]> git.pond.sub.org Git - empserver/blob - tests/fire/05-land-1
a99c8a5fe61ad9432c3526ca599d049480b144c7
[empserver] / tests / fire / 05-land-1
1 ||| fire land
2 | land must have mil>0, glim>0, gun>0, shell>0, eff>=40, and not on carrier
3 |
4 || assets
5 land * ?shell>0
6 lcarg * ?shell>0
7 |
8 || land not firing
9 | nonexistant land
10 fire la 666 6,0
11 | 100% tra
12 fire la 9 6,0
13 | 39% hat
14 fire la 1 6,0
15 | 40% hat, at itself
16 fire la 2 3,1
17 | at sector that doesn't exist
18 fire la 2 1,0
19 | at ship that doesn't exist
20 fire la 2 666
21 | at valid target, but no mil
22 lunload m 2 10
23 fire la 2 6,0
24 lload m 2 10
25 | likewise no guns
26 lunload g 2 12
27 fire la 2 6,0
28 lload g 2 12
29 | likewise no shells
30 lunload s 2 40
31 fire la 2 6,0
32 lload s 2 40
33 | likewise on ship
34 load land 8 2
35 fire la 2 6,0
36 unload land 8 2
37 | likewise on land
38 lload land 8 2
39 fire la 2 6,0
40 lunload land 8 2
41 | show mission
42 miss l * ?mission#0 q
43 __cmd added 1 2 0
44 |
45 || land firing nowhere (shells consumed)
46 | 100% hat
47 | at sea out of range
48 fire la 3 -12,0
49 | at ship out of range
50 fire la 3 0
51 | at sub, server pretends out of range
52 fire la 3 13
53 | likewise in port
54 fire la 3 12
55 |
56 || land firing at bogus target
57 | 100% hat
58 | at sea
59 fire la 3 6,0
60 | at sanctuary
61 fire la 3 2,-2
62 |
63 || land firing at undefended target
64 | 100% hat with one gun
65 | at empty highway
66 lunload g 4 -1
67 fire la 4 0,2
68 lload g 4 11
69 | likewise one shell (take care to avoid automatic supply)
70 lunload s 4 -1
71 lload s 3 40
72 fire la 4 0,2
73 lunload s 3 35
74 lload s 4 35
75 | 40% hat
76 fire la 2 0,2
77 | 100% hat
78 fire la 4 0,2
79 | 100% hat
80 | at sector, fractional range, ~50% chance
81 __cmd added -1 -1 0
82 fire la 5 0,2
83 fire la 5 0,2
84 fire la 5 0,2
85 fire la 5 0,2
86 fire la 5 0,2
87 fire la 5 0,2
88 |
89 || show shell use
90 lcarg * ?shell>0