tests/actofgod: Cover loading hardened missiles
Demonstrates that edit leaves a missile's hardening intact on load. Loading fortified land units is already covered, and also leaves fortification intact. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
31256510cc
commit
b2be5a227d
3 changed files with 13 additions and 1 deletions
|
@ -191,7 +191,7 @@ uid owner xloc yloc type effic mobil off tech opx opy mission radius wing range
|
|||
8 1 0 0 0 10 0 0 90 0 0 none 0 "" 9 0 -1 -1 () 0 0.00000
|
||||
12 1 0 0 28 10 0 0 145 0 0 none 0 "" 0 0 -1 -1 () 0 0.00000
|
||||
13 1 0 0 28 10 0 0 145 0 0 none 0 "" 0 0 -1 -1 () 0 0.00000
|
||||
14 1 0 0 28 10 0 0 145 0 0 none 0 "" 0 127 -1 -1 () 0 0.00000
|
||||
14 1 1 -1 28 10 0 0 145 1 -1 none 0 "" 0 127 4 -1 () 0 0.00000
|
||||
15 1 0 0 28 10 0 0 145 0 0 none 0 "" 0 127 -1 -1 () 0 0.00000
|
||||
49 0 0 0 0 0 0 0 0 0 0 none 0 "" 0 0 -1 -1 () 0 0.00000
|
||||
/config
|
||||
|
|
|
@ -342,8 +342,14 @@ unit_carrier('nuke', 'p');
|
|||
edit('plane', 4, 'l', '5,1');
|
||||
|
||||
# special case: load teleports to carrier
|
||||
# (previous loads already zapped fortification)
|
||||
# BUG: fortification not zapped
|
||||
edit('land', 4, 'S', 2);
|
||||
|
||||
# special case: load teleports to carrier and zaps fortification
|
||||
# BUG: fortification not zapped
|
||||
edit('plane', 14, 's', 4);
|
||||
|
||||
# interactive edit
|
||||
iedit('ship', 0, 'M 2', 'm 1', 'f 1');
|
||||
iedit('ship', 0, 'R n', 'R ""');
|
||||
|
|
|
@ -1979,6 +1979,11 @@
|
|||
Play#0 output Play#0 1 sup supply #4 loaded onto ship #2
|
||||
Play#0 output Play#0 1 sup supply #4 teleported from 1,-1 to 3,-1!
|
||||
Play#0 output Play#0 6 0 640
|
||||
Play#0 input edit p 14 s 4
|
||||
Play#0 command edit
|
||||
Play#0 output Play#0 1 ssm V2 #14 loaded onto ship #4
|
||||
Play#0 output Play#0 1 ssm V2 #14 teleported from 0,0 to 1,-1!
|
||||
Play#0 output Play#0 6 0 640
|
||||
Play#0 input edit s 0
|
||||
Play#0 command edit
|
||||
Play#0 output Play#0 1 POGO (#0) cs cargo ship (#0)
|
||||
|
@ -2505,6 +2510,7 @@
|
|||
Play#0 output Play#0 1 15kt fission warhead #6 given to you by an act of POGO!
|
||||
Play#0 output Play#0 1 Type of 15kt fission warhead #6 changed to 50kt fission by an act of POGO
|
||||
Play#0 output Play#0 1 Type of 50kt fission warhead #6 changed to 15kt fission by an act of POGO
|
||||
Play#0 output Play#0 1 ssm V2 #14 loaded onto ship #4 by an act of POGO!
|
||||
Play#0 output Play#0 1 BTUs changed from 0 to 1 by an act of POGO!
|
||||
Play#0 output Play#0 1 BTUs changed from 1 to 0 by an act of POGO!
|
||||
Play#0 output Play#0 1 Military reserves changed from 0 to 1 by an act of POGO!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue