]> git.pond.sub.org Git - empserver/blob - tests/update/setup-POGO
tests/update: New; exercises the update
[empserver] / tests / update / setup-POGO
1 || create land
2 desi -16:15,-8:8 -
3 | populate
4 give c * ?des#. 100
5 give f * ?des#. 100
6 edit l * ?des#. m 60 w 100
7 || country#1
8 add 1 1 1 p
9 edit c 1 c 0,0 s 4 b 100 M 25000 T 100 E 20 H 10
10 edit l 0:15,0:3 o 1 O 1
11 edit l -16:15,4:7 o 1 O 1
12 desi 0,0 c
13 give c 0,0 400
14 desi 8,6 f
15 desi 10,6 !
16 desi 12,6 *
17 desi 14,6 h
18 build s 14,6 cs
19 edit s 0 E 100
20 build p 12,6 f1
21 edit p 0/1 e 100
22 build l 10,6 inf
23 edit u 0 e 100
24 give c 8:14,6 900
25 | materials for 80/20% cs
26 give l 14,6 100
27 give h 14,6 40
28 | materials for 50/50% f1
29 give l 12,6 8
30 give h 12,6 10
31 give m 12,6 10
32 | materials for 90/50% inf
33 give l 8:10,6 14
34 give h 8:10,6 20
35 || country#2, unhappy, going broke, inefficient capital
36 add 2 2 2 p
37 edit c 2 c -2,0 s 4 b 100 M 100 T 100 E 20 H 6.17
38 edit l -16:-1,0:3 o 2 O 2
39 desi -2,0 c
40 edit l -2,0 e 10
41 || country#3, becoming solvent
42 add 3 3 3 p
43 edit c 3 c 1,-1 s 4 b 100 M -100 T 100 E 20 H 10
44 edit l 0:15,-8:-1 o 3 O 3
45 desi 1,-1 c
46 give c 1,-1 9999
47 give f 1,-1 300
48 | neutral harbor
49 desi 15,-1 h
50 give l 15,-1 400
51 give h 15,-1 400
52 give m 15,-1 20
53 || country#4, allied to #1
54 add 4 4 4 p
55 edit c 4 c -1,-1 s 4 b 100 M 25000 T 30 E 4 H 10
56 edit l -16:-1,-8:-1 o 4 O 4
57 desi -1,-1 c
58 decl a 1 4
59 || country#5, in flux
60 add 5 5 5 p
61 edit c 5 c -16,-8 s 4 b 100 M 25000 T 100 E 20 H 10
62 || country#6, allied to all, #1 mutual
63 add 6 6 6 p
64 edit c 6 c 0,8 s 4 b 100 M 25000 T 100 E 20 H 10
65 edit l 0:15,8 o 6 O 6
66 give c 0:15,8 400
67 desi 0,8 c
68 decl a * 6
69 decl a 6 1
70 | harbor, airfield, fort with avail
71 desi 8,8 h
72 desi 6,8 *
73 desi 4,8 f
74 edit l 4:8,8 a 600
75 | harbor, airfield, hq without avail
76 desi 14,8 h
77 desi 10,8 !
78 desi 12,8 *
79 | build materials
80 give l 0:15,8 400
81 give h 0:15,8 400
82 give m 0:15,8 20
83 || country#7, friendly to all, #1 mutual
84 add 7 7 7 p
85 edit c 7 c -2,8 s 4 b 100 M 25000 T 100 E 20 H 10
86 edit l -16:-1,8 o 7 O 7
87 give c -16:-1,8 400
88 desi -2,8 c
89 decl f * 7
90 decl f 7 1
91 | harbor, airfield, fort with avail
92 desi -8,8 h
93 desi -6,8 *
94 desi -4,8 f
95 edit l -8:-4,8 a 600
96 | harbor, airfield, hq without avail
97 desi -14,8 h
98 desi -12,8 *
99 desi -10,8 !
100 | build materials
101 give l -16:-1,8 400
102 give h -16:-1,8 400
103 give m -16:-1,8 20
104 || TODO fallout
105 || guerrilla
106 | che take over -16:-14,-8 and spread; -14,-8 is a bank
107 edit l -16:-14,-8 x 10 X 4 O 5 l 50
108 des -14,-8 b
109 give b -14,-8 100
110 give d -14,-8 20
111 | TODO security, retiring che, shoot out, blow up, catch, move
112 || plague
113 | plague stage 1 (dying) -16:-1,-6 ship#10 land#10
114 | -16,-6 everybody dies, sector reverts to deity
115 | -14,-6 civs all die, mil survive, sector resets work etc.
116 | -12,-6 civs survive, mil all die, airfield (see plane building below)
117 | -10,-6 everybody dies, land units present, sector resets work etc.
118 |  -8,-6 civs all die, uw survive, sector reverts to deity
119 edit l -16:-1,-6 p 1 w 50
120 edit l -4:-1,-6 t 61
121 give c -16:-14,-6 -99
122 give m -14,-6 10
123 desi -12,-6 *
124 give m -12,-6 1
125 give c -10:-8,-6 -99
126 give u -8,-6 100
127 edit s 0 U 10 L -18,-6 O 4 c 100 m 10 u 1 f 20 a 1
128 edit u 0 U 10 L -10,-6 O 4 m 100 f 10 A 1
129 | plague stage 2 (infect) -16:-1,-5 ship#11 land#11
130 edit l -16:-1,-5 p 2
131 edit l -4:-1,-5 t 61
132 edit s 10 U 11 a 2
133 edit u 10 U 11 A 2
134 | plague stage 3 (incubate) -16:-1,-4 ship#12..15 land#12..15
135 edit l -16:-1,-4 p 3
136 edit l -4:-1,-4 t 61
137 edit s 10 U 12 a 3 U 13 U 14 U 15 b 61
138 edit u 10 U 12 A 3 U 13 U 14 U 15 b 61
139 | plague stage 4 (exposed) -16:-1,-3 ship#16..19 land#16..#19
140 edit l -16:-1,-3 p 4
141 edit l -4:-1,-3 t 61
142 edit s 10 U 16 a 4 U 17 U 18 U 19 b 61
143 edit u 10 U 16 A 4 U 17 U 18 U 19 b 61
144 | plague stage 0 (healthy) -16:-9,-2, ~50% chance to become exposed
145 give c -16:-9,-2 4400
146 give f -16:-9,-2 300
147 give u -16:-9,-2 1000
148 give i -16:-9,-2 5000
149 give o -16:-9,-2 1000
150 give r -16:-9,-2 1000
151 edit l -16:-9,-2 m 0
152 || populace
153 | civil unrest 0:15,-8:-5
154 edit l 0:15,-8:-5 l 127
155 | loyalty recovery and conversion 0:15,-3
156 edit l 0:15,-3 O 5
157 edit l 0:7,-3 l 40
158 edit l 8:15,-3 l 5
159 || tax & bank income
160 | see also bank -14,-8 taken over by che
161 | -16:-1,0
162 desi -16:-9,0 b
163 give c -16:-9,0 900
164 give m -16:-9,0 400
165 give u -16:-9,0 1000
166 give b -16:-9,0 100
167 edit l -16,0 e 1
168 edit l -14,0 e 30 O 5
169 edit l -12,0 e 60 O 5 l 50
170 | single mil -16:-1,4:7
171 give m -16:-1,4:7 1
172 | mil on ship#30/31, plane#30/31, land#30/31
173 edit s 0 U 30 L -18,0 O 2 c 150 m 50 u 100 f 20 U 31
174 edit p 0 U 30 l -16,0 O 2 U 31
175 edit u 0 U 30 L -16,0 O 2 m 100 f 10 U 31
176 | reserves
177 edit c 2 m 1000
178 || sector maintenance
179 | cities -16:-9,1
180 des -16:-9,1 c
181 | also active capitals of #1..#4, stop #4's
182 stop se -1,-1
183 || maintenance ship#30/31/35, plane#30/31/35, land unit#30/31/35
184 edit s 31 E 21
185 edit p 31 e 11
186 edit u 31 e 11
187 edit s 30 U 35 L 16,0 O 1
188 edit p 30 U 35 l 14,0 O 1
189 edit u 30 U 35 L 14,0 O 1
190 || satellite movement
191 edit p 0 U 1 T lst f 1 l -10,-10
192 | TODO other values of theta
193 || work, rollover, work percentage recovery
194 | 0:15,-2
195 edit l 0:6,-2 w 50
196 edit l 8,-2 w 95
197 | pop limit
198 desi 0,-2 ^
199 give c 0,-2 50
200 give m 0,-2 150
201 give u 0,-2 150
202 | rollover
203 edit l 2,-2 a 10
204 edit l 4,-2 a 40
205 edit l 6,-2 a 80
206 give c 6,-2 200
207 edit l 10,-2 a 50 s + S w
208 | rollover when going broke
209 edit l -15,1 a 100
210 desi 2:8,-2 +
211 || grow people
212 desi 2:15,0 +
213 | just 1f, 2f, 3f 2:6,0
214 give c 2:6,0 600
215 give u 2:6,0 700
216 give f 2,0 -57
217 give f 4,0 -56
218 give f 6,0 -55
219 | grow beyond pop limit, truncate 8,0
220 give c 8,0 2000
221 give u 8,0 900
222 | grow to pop limit
223 give c 10:14,0 669
224 give u 10:14,0 869
225 | also truncated: -16:-9,2
226 || starvation
227 | 100 people eat 3f
228 | 1,1 100c 100m 100u, 1f short, starve 33u
229 | 3,1 100c 100m 100u, 4f short, starve 100u 33c
230 | 5,1 100c 100m 100u, 8f short, starve 100u 50c
231 | 7,1  20c 180m 100u, 8f short, starve 100u 20c 30m
232 give u 0:7,1 100
233 give m 0:5,1 100
234 give m 7,1 180
235 give c 7,1 -80
236 give f 1,1 -92
237 give f 3,1 -95
238 give f 5:7,1 -99
239 desi 0:7,1 +
240 edit l 0:7,1 e 1
241 | no food (1f is conjured up)
242 | 9,1  50c, starve 16c
243 | 11,1 40c, starve 6c
244 | 13,1 34c, starve none
245 | 15,1 50m, starve 16m
246 give f 8:15,1 -100
247 give c 9,1 -50
248 give c 11,1 -60
249 desi 8:11,1 +
250 edit l 8:11,1 e 1
251 give c 13,1 -66
252 give m 15,1 50
253 give c 15,1 -100
254 desi 13:15,1 a
255 edit l 13:15,1 f 100
256 | #40 1m 0f, starve none
257 | #41 34m 1f, starve none
258 | #42 50m 0f, starve 25m
259 | #43 20c 50m 30u 2f, starve 30u 3c
260 edit s 0 U 40 L 17,1 m 1
261 edit u 0 U 40 L 15,1 m 1
262 edit s 0 U 41 L 17,1 m 34 f 1
263 edit u 0 U 41 L 15,1 m 34 f 1
264 edit s 0 U 42 L 17,1 m 50
265 edit u 0 U 42 L 15,1 m 50
266 edit s 0 U 43 L 17,1 c 20 m 50 u 30 f 2
267 || age che 1,1
268 edit l 1,1 x 100 X 5
269 || sector building
270 | 0:15,2
271 | stopped 0,2
272 stop se 0,2
273 | no money see #2
274 | limited by work 2:4,2
275 edit l 2:4,2 s g S +
276 give c 2,2 -90
277 | not limited 6,2
278 edit l 6,2 s g S +
279 give c 6,2 250
280 | limited by material 8:12,2
281 edit l 8:10,2 s f S f e 1
282 give h 10,2 10
283 edit l 12,2 s c S c e 1
284 give l 12,2 10
285 give h 12,2 50
286 | TODO pop truncation on big city teardown
287 || ship building
288 | #0 100%
289 | #60 stopped
290 edit s 0 U 60 E 20
291 stop sh 60
292 | #61/62 neutral harbor
293 edit s 0 U 61 E 20 L 15,-1 U 62 O 7
294 | #65 friendly harbor, no money
295 edit s 61 U 65 L -8,8 O 2
296 | #70..73 at sea, civilian repairs, +0.5%
297 edit s 61 U 70 L 16,6 c 4 m 10 f 10 l 10 h 10 U 71 U 72 U 73 U 74 c 12
298 | #74 at sea, civilian repairs, +1%
299 edit s 73 U 74 c 12
300 | #75 at sea, military repairs, +1%
301 edit s 61 U 75 L 16,6 t frg m 11 f 10
302 | #76 at sea, military repairs, +2% (limit 80%)
303 edit s 75 U 76 m 60 E 78
304 | also #103/104 +13-14%
305 | also #113/114 +5%
306 | #90/91 friendly harbor with and without old work, +80%
307 edit s 61 U 90 L -8,8 U 91 L -14,8
308 | #92/93 friendly city without old work, +0/0%
309 edit s 61 U 92 t fb L -2,8 U 93 L 0,0 O 7
310 | #95/97 own harbor, #96 friendly, materials for 100%, +80/0/20%
311 | #95 costs double due to tech
312 edit s 61 U 95 L 14,6 U 97 U 96 O 7
313 edit s 95 T 200
314 || plane building
315 | #0 100%
316 | #60 stopped
317 edit p 0 U 60 e 10
318 stop p 60
319 | #61/62 friendly airfield
320 edit p 0 U 61 e 10 l -6,8 U 62 O 6
321 | #65 allied airfield, no money
322 edit p 61 U 65 l 6,8 O 2
323 | #70/71 in carrier at sea, +2/1% (limit 80%)
324 edit s 0 U 1 t car m 8 f 10 L 16,6
325 edit p 61 U 70 s 1 U 71 e 79
326 | #72 in carrier in allied airfield, +70% (limit 80%)
327 edit s 1 U 2 L 6,8
328 edit p 70 U 72 s 2
329 | #75/76/77/78 in allied carrier in friendly airfield, +7.5%
330 edit s 1 U 3 O 6 L -12,8
331 edit p 61 U 75 s 3 U 76 U 77 U 78
332 | #80/81 in the field, +30/20%
333 edit p 61 U 80 l 0,0 U 81 e 40
334 give l 0,0 50
335 give h 0,0 50
336 give m 0,0 5
337 | #82 in the field, but work used up by production
338 edit p 80 U 82 l 2,4
339 give l 2,4 50
340 give h 2,4 50
341 give m 2,4 10
342 | #90/91 allied airfield with and without old work, +90%
343 edit p 61 U 90 l 6,8 U 91 l 12,8
344 | #92/93 allied city without old work, +30%
345 edit p 61 U 92 l 2,8 U 93 l 0,0 O 6
346 | #95/97 own airfield, #96 allied, materials for 100%, +50/0/50%
347 | #95 costs double due to tech
348 edit p 61 U 95 e 50 l 12,6 U 97 U 96 O 6
349 edit p 95 t 200
350 | #100 allied airfield, plague kills off mil
351 edit p 61 U 100 l -12,-6
352 give l -12,-6 10
353 give h -12,-6 10
354 edit l -12,-6 a 50
355 || land unit building
356 | #0 100%
357 | #60 stopped
358 edit u 0 U 60 e 10
359 stop l 60
360 | #61/62 friendly fort
361 edit u 0 U 61 e 10 L -4,8 U 62 O 6
362 | #65 allied hq, no money
363 edit u 61 U 65 L 4,8 O 2
364 | #80/81 in the field, +30/20%
365 edit u 61 U 80 L 0,0 U 81 e 40
366 | #82 in the field, but work used up by production
367 edit u 80 U 82 L 10,4
368 give l 10,4 20
369 give h 10,4 20
370 | #90/91 allied fort/hq with and without old work, +90%
371 edit u 61 U 90 L 4,8 U 91 L 10,8
372 | #92/93 allied city without old work, +30%
373 edit u 61 U 92 L 2,8 U 93 L 0,0 O 6
374 | #95/97 own hq, #96 allied, materials for 140%, +90/0/50%
375 | #95 costs double due to tech
376 edit u 61 U 95 L 10,6 U 97 U 96 O 6
377 edit u 95 t 200
378 | #98 own fort, +90%
379 edit u 61 U 98 L 8,6
380 || sector production
381 | stopped, inefficient 1:3,3
382 desi -1:3,3 m
383 edit l -1:3,3 i 100
384 stop se 1,3
385 edit l 3,3 e 1
386 | no money -1,3
387 desi -1,3 t
388 give d -1,3 1
389 give o -1,3 5
390 give l -1,3 10
391 | enlist 9:13,3
392 des 9:13,3 e
393 give m 9,3 65
394 give m 13,3 5
395 edit l 13,3 e 40
396 | iron -16:-12,4 low and high resource, low eff
397 desi -16:-12,4 m
398 edit l -16,4 i 10
399 edit l -14:-12,4 i 100
400 edit l -12,4 e 30
401 | dust -8:-4,4 low and high resource, resource limit, mountain
402 desi -8:-4,4 g
403 desi -2,4 ^
404 edit l -8,4 g 10
405 edit l -6:-2,4 g 100
406 give c -4,4 900
407 give u -4,4 1000
408 | food 0:4,4 low and high resource, product limit
409 desi 0:4,4 a
410 edit l 0,4 f 10
411 edit l 2:4,4 f 100
412 give c 4,4 900
413 | oil 8:10,4 low and high resource
414 desi 8:10,4 o
415 edit l 8,4 c 10
416 edit l 10,4 c 100
417 | rad -15:-11,5 low and high resource, resource limit
418 desi -15:-11,5 u
419 edit l -15,5 u 10
420 edit l -13:-11,5 u 100
421 give c -11,5 900
422 give u -11,5 1000
423 | rad -5,-1 #4 tech too low
424 desi -5,-1 u
425 edit l -5,-1 u 100
426 | rad 5,-1 becoming solvent
427 desi 5,-1 u
428 edit l 5,-1 u 100
429 | shells -7:-3,5 work limit, material limit 1 & 2
430 desi -7:-3,5 i
431 give l -7:-5,5 100
432 give l -3,5 300
433 give h -7:-3,5 100
434 give c -5:-3,5 400
435 | guns 1:3,5 work limit, material limit 3
436 desi 1:3,5 d
437 give o 1:3,5 10
438 give l 1:3,5 100
439 give h 1:3,5 100
440 give c 3,5 400
441 | petrol 9:13,5 work limit, material limit, product limit
442 desi 9:13,5 %
443 give o 9:11,5 100
444 give c 11,5 100
445 give o 13,5 200
446 give c 13,5 400
447 | bars -16:-12,6 work limit, material limit 1, low eff
448 desi -16:-12,6 b
449 give d -16:-12,6 100
450 give c -14,6 400
451 edit l -12,6 e 40
452 | lcm -8:-4,6 work limit, material limit 1, product limit
453 desi -8:-4,6 j
454 give i -8:-6,6 100
455 give c -6,6 400
456 give i -4,6 2000
457 give c -4,6 900
458 give u -4,6 1000
459 | hcm 0:4,6 work limit, material limit 1, backlog
460 desi 0:4,6 k
461 give i 0:4,6 100
462 give c 2,6 400
463 give h 4,6 9980
464 | tech -15:-13,7 work limit, material limit 3
465 desi -15:-13,7 t
466 give d -15:-13,7 10
467 give o -15:-13,7 50
468 give l -15:-13,7 50
469 give c -13,7 400
470 | tech -3,-1 #4 edu too low
471 desi -3,-1 t
472 give d -3,-1 1
473 give o -3,-1 5
474 give l -3,-1 10
475 | also -1,3 no money
476 | medical -7:-5,7 work limit, material limit 2
477 desi -7:-5,7 r
478 give d -7:-5,7 10
479 give o -7:-5,7 30
480 give l -7:-5,7 100
481 give c -5,7 400
482 | edu 1:3,7 work limit, material limit 1
483 desi 1:3,7 l
484 give l 1:3,7 100
485 give c 3,7 400
486 | happy 9:11,7
487 desi 9:11,7 p work limit, material limit 1
488 give l 9,7 100
489 || ship production
490 | fish: 100 low resource, 101 normal, 102 stopped, 103/104 low eff
491 edit s 0 U 100 t fb L 16,4 c 100 U 101 f 10 L 18,4 U 102 L 20,4
492 edit s 101 U 103 E 60 U 104 E 20
493 stop sh 102
494 edit l 16,4 f 10
495 edit l 18:20,4 f 100
496 | oil: 110 low resource, 111 normal, 112 stopped, 113/114 low eff
497 edit s 0 U 110 t od L 16,4 c 100 f 10 U 111 L 18,4 U 112 L 20,4
498 edit s 111 U 113 E 60 U 114 E 20
499 stop sh 112
500 edit l 16,4 c 10
501 edit l 18:20,4 c 100
502 || delivery TODO
503 || distribution TODO
504 || finishing touches to land
505 edit l * ?des#.&des#-&eff=0 e 100
506 |
507 map *