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