;
; Events text for "Red Front" Scenario - Soviet human player only
; Captain Nemo - 1/10/2000 - Version 1.4
; Spring-Summer-Fall 1943


@BEGINEVENTS

@DEBUG

@INITFLAG

@IF
NOSCHISM
defender=anybody
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Anybody
talkertype=HumanOrComputer
listener=Anybody
listenertype=HumanOrComputer
@THEN

@ENDIF

@IF
TURN
turn=-1
@THEN
MAKEAGGRESSION
who=Germans
whom=Soviets
@ENDIF

@IF
TURN
turn=-1
@THEN
MAKEAGGRESSION
who=Finns
whom=Soviets
@ENDIF

@IF
TURN
turn=-1
@THEN
MAKEAGGRESSION
who=Americans
whom=Germans
@ENDIF

; -----------------------------------------------------------------------------
; German Flags for Operation "Citadel" 
; -----------------------------------------------------------------------------

; ----------------------------------------------
; Orel-Kursk is the default sector
; ----------------------------------------------
@IF
TURN
turn=26
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000000100
state=on
GIVETECHNOLOGY
receiver=Germans
technology=23
JUSTONCE
@ENDIF

; ----------------------------------------------
; sector of Riga-Daugvapils
; ----------------------------------------------
@IF
CITYTAKEN
city=Riga
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Riga
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000000001
state=on
@ENDIF

@IF
CITYTAKEN
city=Daugavpils
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Daugavpils
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000000001
state=on
@ENDIF

; ----------------------------------------------
; sector of Vitebsk-Smolensk-Bryansk
; ----------------------------------------------
@IF
CITYTAKEN
city=Vitebsk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Vitebsk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000000010
state=on
@ENDIF

@IF
CITYTAKEN
city=Smolensk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Smolensk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000000010
state=on
@ENDIF

@IF
CITYTAKEN
city=Bryansk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Bryansk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000000010
state=on
@ENDIF

; ----------------------------------------------
; sector of Orel-Kursk
; ----------------------------------------------
@IF
CITYTAKEN
city=Orel
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Orel
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000000100
state=on
@ENDIF

@IF
CITYTAKEN
city=Kursk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Kursk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000000100
state=on
@ENDIF

; ----------------------------------------------
; sector of Belgorod-Kharkov-Poltava
; ----------------------------------------------
@IF
CITYTAKEN
city=Belgorod
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Belgorod
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000001000
state=on
@ENDIF

@IF
CITYTAKEN
city=Kharkov
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Kharkov
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000001000
state=on
@ENDIF

@IF
CITYTAKEN
city=Poltava
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Poltava
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000001000
state=on
@ENDIF

; ----------------------------------------------
; sector of Dnepropetrovsk-Zaporozhye-Kherson
; ----------------------------------------------
@IF
CITYTAKEN
city=Dnepropetrovsk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Dnepropetrovsk
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000010000
state=on
@ENDIF

@IF
CITYTAKEN
city=Zaporozhye
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Zaporozhye
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000010000
state=on
@ENDIF

@IF
CITYTAKEN
city=Kherson
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000011111
state=off
@ENDIF

@IF
CITYTAKEN
city=Kherson
attacker=Soviets
defender=Germans
@THEN
FLAG
who=Germans
mask=0b00000000000000000000000000010000
state=on
@ENDIF

; -----------------------------------------------------------------------------
; Operation "Citadel"
; -----------------------------------------------------------------------------

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
TEXT
^ Operation "Citadel" is launched. The German offensive aims at breaking through 
the Soviet lines.
The operation has received top priority from Hitler and been allocated all new
tanks coming out of production since February.  Three new German tank types 
appear in large numbers for the first time: The 52-ton Tiger tank, the fast and
sleek Panther and the monstruous Panzer-Jaeger "Elephant" weighing over 70 tons.
Six German Panzer-divisions are thrown into the battle including General
Hausser's elite 2nd SS Panzer Corps.
ENDTEXT
JUSTONCE
@ENDIF

; ----------------------------------------------
; sector of Riga-Daugvapils
; ----------------------------------------------
@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Sdkfz-4x20mm Flak
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Ju-87 "Stuka"
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Me-109 Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ju-87 "Stuka"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
UNITKILLED
unit=Me-109 Fighter
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Wehrmacht SG
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
UNITKILLED
unit=Wehrmacht SG
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Panzergrenadiers
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
UNITKILLED
unit=Panzergrenadiers
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=6
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzJg VI "Elephant"
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw V "Panther"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw VI "Tiger"
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw VI "Tiger"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=2nd SS-Panzer
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000001
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Hummel
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
35,65
35,69
30,64
34,66
32,68
33,67
33,69
31,67
endlocations
@ENDIF

; ----------------------------------------------
; sector of Vitebsk-Smolensk-Bryansk
; ----------------------------------------------
@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Sdkfz-4x20mm Flak
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Ju-87 "Stuka"
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Me-109 Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ju-87 "Stuka"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
UNITKILLED
unit=Me-109 Fighter
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Wehrmacht SG
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
UNITKILLED
unit=Wehrmacht SG
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Panzergrenadiers
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
UNITKILLED
unit=Panzergrenadiers
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=6
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzJg VI "Elephant"
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw V "Panther"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw VI "Tiger"
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw VI "Tiger"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=2nd SS-Panzer
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000010
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Hummel
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
45,91
48,96
44,90
42,86
46,94
49,95
48,102
51,101
endlocations
@ENDIF

; ----------------------------------------------
; sector of Orel-Kursk
; ----------------------------------------------
@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Sdkfz-4x20mm Flak
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Ju-87 "Stuka"
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Me-109 Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ju-87 "Stuka"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
UNITKILLED
unit=Me-109 Fighter
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Wehrmacht SG
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
UNITKILLED
unit=Wehrmacht SG
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Panzergrenadiers
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
UNITKILLED
unit=Panzergrenadiers
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=6
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzJg VI "Elephant"
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw V "Panther"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw VI "Tiger"
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw VI "Tiger"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=2nd SS-Panzer
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000000100
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Hummel
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,103
54,104
55,101
48,102
56,102
51,101
59,101
57,105
endlocations
@ENDIF

; ----------------------------------------------
; sector of Belgorod-Kharkov-Poltava
; ----------------------------------------------
@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Sdkfz-4x20mm Flak
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Ju-87 "Stuka"
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Me-109 Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ju-87 "Stuka"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
UNITKILLED
unit=Me-109 Fighter
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Wehrmacht SG
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
UNITKILLED
unit=Wehrmacht SG
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Panzergrenadiers
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
UNITKILLED
unit=Panzergrenadiers
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=6
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzJg VI "Elephant"
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw V "Panther"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw VI "Tiger"
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw VI "Tiger"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=2nd SS-Panzer
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Hummel
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
53,115
51,109
53,109
51,111
51,113
48,114
49,115
56,114
endlocations
@ENDIF

; ----------------------------------------------
; sector of Dnepropetrovsk-Zaporozhye-Kherson
; ----------------------------------------------
@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000001000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Sdkfz-4x20mm Flak
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Ju-87 "Stuka"
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Me-109 Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ju-87 "Stuka"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
UNITKILLED
unit=Me-109 Fighter
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Fw-190A Fighter
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Wehrmacht SG
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
UNITKILLED
unit=Wehrmacht SG
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Panzergrenadiers
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
UNITKILLED
unit=Panzergrenadiers
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=6
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzJg VI "Elephant"
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw V "Panther"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=PzKw VI "Tiger"
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
UNITKILLED
unit=PzKw VI "Tiger"
attacker=Soviets
defender=Germans
@AND
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=2nd SS-Panzer
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

@IF
CHECKFLAG
who=Germans
Mask=0b00000000000000000000000000010000
Threshold=1
State=on
@THEN
CREATEUNIT
unit=Hummel
count=2
owner=Germans
veteran=yes
homecity=None
randomize
locations
43,127
44,124
44,126
44,128
41,127
48,124
50,128
46,132
endlocations
@ENDIF

;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
;XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
; ----------------------------------------------
; second defensive line at Kaunas
; ----------------------------------------------

; ----------------------------------------------
; KAUNAS FIRST SPAWN
; ----------------------------------------------
@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=2
owner=Soviets
veteran=no
homecity=None
locations
30,76
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Soviets
veteran=no
homecity=None
locations
31,77
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Soviets
veteran=no
homecity=None
locations
32,74
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=3
maprect
30,76,30,76,30,76,30,76
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
30,76
31,77
32,74
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
30,76
31,77
32,74
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
30,76
31,77
32,74
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=30
owner=Germans
veteran=yes
homecity=None
locations
30,76
31,77
32,74
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Germans
veteran=no
homecity=None
locations
30,76
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Germans
veteran=no
homecity=None
locations
31,77
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Germans
veteran=no
homecity=None
locations
32,74
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kaunas
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
30,76,30,76,30,76,30,76
moveto
31,75
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; KAUNAS NEW GERMAN DEFENSES
; ----------------------------------------------

@IF
CITYTAKEN
city=Kaunas
attacker=Germans
defender=Soviets
@THEN
CREATEUNIT
unit="Hedgehog" 
count=1
owner=Germans
veteran=yes
homecity=None
locations
31,75
endlocations
@ENDIF

; ----------------------------------------------
; second defensive line at Vilnius
; ----------------------------------------------


; ----------------------------------------------
; VILNIUS FIRST SPAWN
; ----------------------------------------------

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=2
owner=Soviets
veteran=no
homecity=None
locations
35,81
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Soviets
veteran=no
homecity=None
locations
33,79
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Soviets
veteran=no
homecity=None
locations
36,78
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=3
maprect
35,81,35,81,35,81,35,81
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
35,81
33,79
36,78
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
35,81
33,79
36,78
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
35,81
33,79
36,78
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=30
owner=Germans
veteran=yes
homecity=None
locations
35,81
33,79
36,78
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Germans
veteran=yes
homecity=None
locations
35,81
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Germans
veteran=yes
homecity=None
locations
33,79
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
owner=Germans
veteran=yes
homecity=None
locations
36,78
endlocations
@ENDIF

@IF
CITYTAKEN
city=Vilnius
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
35,81,35,81,35,81,35,81
moveto
35,79
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; VILNIUS NEW GERMAN DEFENSES
; ----------------------------------------------

@IF
CITYTAKEN
city=Vilnius
attacker=Germans
defender=Soviets
@THEN
CREATEUNIT
unit="Hedgehog"
count=1
owner=Germans
veteran=yes
homecity=None
locations
35,79
endlocations
@ENDIF

; ----------------------------------------------
; second defensive line at Minsk
; ----------------------------------------------


; ----------------------------------------------
; MINSK FIRST SPAWN
; ----------------------------------------------

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=1
maprect
42,94,42,94,42,94,42,94
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=1
maprect
42,94,42,94,42,94,42,94
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
42,94
40,92
43,93
40,94
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
42,94
40,92
43,93
40,94
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
42,94
40,92
43,93
40,94
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=10
owner=Germans
veteran=yes
homecity=None
locations
42,94
40,92
43,93
40,94
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=1
owner=Germans
veteran=yes
homecity=None
locations
42,94
40,92
43,93
40,94
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
42,94,42,94,42,94,42,94
moveto
41,93
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; MINSK  SECOND SPAWN
; ----------------------------------------------

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
40,94
42,94
40,92
43,93
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
40,94
42,94
40,92
43,93
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
40,94
42,94
40,92
43,93
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=10
owner=Germans
veteran=yes
homecity=None
locations
40,94
42,94
40,92
43,93
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=1
owner=Germans
veteran=yes
homecity=None
locations
40,94
42,94
40,92
43,93
endlocations
@ENDIF

@IF
CITYTAKEN
city=Minsk
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
42,94,42,94,42,94,42,94
moveto
41,93
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; MINSK NEW GERMAN DEFENSES
; ----------------------------------------------

@IF
CITYTAKEN
city=Minsk
attacker=Germans
defender=Soviets
@THEN
CREATEUNIT
unit="Hedgehog" 
count=1
owner=Germans
veteran=yes
homecity=None
locations
41,93
endlocations
@ENDIF

; ----------------------------------------------
; second defensive line at Kiev
; ----------------------------------------------

; ----------------------------------------------
; KIEV FIRST SPAWN
; ----------------------------------------------

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=2
maprect
40,112,40,112,40,112,40,112
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=2
maprect
40,112,40,112,40,112,40,112
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
40,112
42,110
44,110
44,112
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
40,112
42,110
44,110
44,112
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
40,112
42,110
44,110
44,112
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=10
owner=Germans
veteran=yes
homecity=None
locations
40,112
42,110
44,110
44,112
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=1
owner=Germans
veteran=yes
homecity=None
locations
40,112
42,110
44,110
44,112
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
40,112,40,112,40,112,40,112
moveto
42,112
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; KIEV  SECOND SPAWN
; ----------------------------------------------

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
44,112
40,112
42,110
44,110
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
44,112
40,112
42,110
44,110
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
44,112
40,112
42,110
44,110
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=10
owner=Germans
veteran=yes
homecity=None
locations
44,112
40,112
42,110
44,110
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=1
owner=Germans
veteran=yes
homecity=None
locations
44,112
40,112
42,110
44,110
endlocations
@ENDIF

@IF
CITYTAKEN
city=Kiev
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
40,112,40,112,40,112,40,112
moveto
42,112
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; KIEV NEW GERMAN DEFENSES
; ----------------------------------------------

@IF
CITYTAKEN
city=Kiev
attacker=Germans
defender=Soviets
@THEN
CREATEUNIT
unit="Hedgehog"
count=1
owner=Germans
veteran=yes
homecity=None
locations
42,112
endlocations
@ENDIF

; ----------------------------------------------
; second defensive line at Nikolaev
; ----------------------------------------------

; ----------------------------------------------
; NIKOLAEV FIRST SPAWN
; ----------------------------------------------

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=2
maprect
41,127,41,127,41,127,41,127
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=2
maprect
41,127,41,127,41,127,41,127
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
41,127
44,126
42,125
42,128
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
41,127
44,126
42,125
42,128
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
41,127
44,126
42,125
42,128
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=10
owner=Germans
veteran=yes
homecity=None
locations
41,127
44,126
42,125
42,128
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=1
owner=Germans
veteran=yes
homecity=None
locations
41,127
44,126
42,125
42,128
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
41,127,41,127,41,127,41,127
moveto
43,127
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; NIKOLAEV  SECOND SPAWN
; ----------------------------------------------

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
42,128
41,127
44,126
42,125
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
42,128
41,127
44,126
42,125
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
42,128
41,127
44,126
42,125
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=10
owner=Germans
veteran=yes
homecity=None
locations
42,128
41,127
44,126
42,125
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=1
owner=Germans
veteran=yes
homecity=None
locations
42,128
41,127
44,126
42,125
endlocations
@ENDIF

@IF
CITYTAKEN
city=Nikolaev
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
41,127,41,127,41,127,41,127
moveto
43,127
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; NIKOLAEV NEW GERMAN DEFENSES
; ----------------------------------------------

@IF
CITYTAKEN
city=Nikolaev
attacker=Germans
defender=Soviets
@THEN
CREATEUNIT
unit="Hedgehog" 
count=1
owner=Germans
veteran=yes
homecity=None
locations
43,127
endlocations
@ENDIF

; ----------------------------------------------
; second defensive line at Odessa
; ----------------------------------------------

; ----------------------------------------------
; ODESSA FIRST SPAWN
; ----------------------------------------------

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=1
maprect
38,132,38,132,38,132,38,132
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CHANGETERRAIN
terraintype=1
maprect
38,132,38,132,38,132,38,132
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
38,132
40,134
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
38,132
40,134
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
38,132
40,134
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=10
owner=Germans
veteran=yes
homecity=None
locations
38,132
40,134
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=1
owner=Germans
veteran=yes
homecity=None
locations
38,132
40,134
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
38,132,38,132,38,132,38,132
moveto
41,133
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; ODESSA  SECOND SPAWN
; ----------------------------------------------

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=88mm AA Battery
count=3
owner=Germans
veteran=yes
homecity=None
locations
40,134
38,132
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=PzKw V "Panther"
count=2
owner=Germans
veteran=yes
homecity=None
locations
40,134
38,132
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Waffen-SS regiment
owner=Germans
veteran=yes
homecity=None
locations
40,134
38,132
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=15cm Feldhaubitze
count=10
owner=Germans
veteran=yes
homecity=None
locations
40,134
38,132
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
CREATEUNIT
unit=Camouflage 
count=1
owner=Germans
veteran=yes
homecity=None
locations
40,134
38,132
endlocations
@ENDIF

@IF
CITYTAKEN
city=Odessa
attacker=Soviets
defender=Germans
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
40,134,40,134,40,134,40,134
moveto
41,133
numbertomove=ALL
@ENDIF

; ----------------------------------------------
; ODESSA NEW GERMAN DEFENSES
; ----------------------------------------------

@IF
CITYTAKEN
city=Odessa
attacker=Germans
defender=Soviets
@THEN
CREATEUNIT
unit="Hedgehog" 
count=1
owner=Germans
veteran=yes
homecity=None
locations
41,133
endlocations
@ENDIF

; -----------------------------------------------------------------------------
; Spawning German units
; -----------------------------------------------------------------------------

; ----------------------------------------------
; River Mines defensive line
; ----------------------------------------------
@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
20,60
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
21,61
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
22,62
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
23,63
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
24,64
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
25,65
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
26,66
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
27,67
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
28,68
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
29,69
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=Ronne
locations
30,70
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=None
locations
18,74
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=None
locations
8,74
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=None
locations
25,145
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=None
locations
37,137
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=None
locations
33,147
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=23
receiver=Germans
@THEN
CREATEUNIT
unit=River Mines
owner=Germans
veteran=yes
homecity=None
locations
47,131
endlocations
JUSTONCE
@ENDIF



; ----------------------------------------------
; Other German units
; ----------------------------------------------
@IF
RECEIVEDTECHNOLOGY
technology=60
receiver=Germans
@THEN
CREATEUNIT
unit=U-Boat
owner=Germans
veteran=yes
homecity=None
locations
15,3
31,5
22,10
17,17
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=47
receiver=Germans
@THEN
CREATEUNIT
unit=Ju-88 Bomber
count=2
owner=Germans
veteran=yes
homecity=None
locations
31,5
22,10
17,17
endlocations
@ENDIF

; -----------------------------------------------------------------------------
; New German tanks
; -----------------------------------------------------------------------------

@IF
RECEIVEDTECHNOLOGY
technology=12
receiver=Germans
@THEN
TEXT
^A new tank appears on the Russian front
^After realizing that the Soviet T-34s were superior to the PzKw IV medium tanks,
^the German designers produced a completely new tank, featuring sloped frontal armor
^and a high velocity 75mm main gun... The PzKw V "Panther" has entered the battlefield.
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=20
receiver=Germans
@THEN
TEXT
^First reported sighting of a German heavy tank.
^A new tank weighing over 52 tons and armed with the fearsome 88mm main gun has been
^seen on the battlefield. This monster becomes known as the "Tiger" tank.  It is feared
^by the T-34 crews in the Soviet armored divisions, because it can strike their tanks
^from twice the range they can strike back. 
ENDTEXT
JUSTONCE
@ENDIF

; -----------------------------------------------------------------------------
; Freeing Slave Labor
; -----------------------------------------------------------------------------

@IF
UNITKILLED
unit=Slave Labor
attacker=Soviets
defender=Germans
@THEN
TEXT
^The advancing Red Army liberates Slave Labor units held by the Germans.
^These "volunteer" laborers were held in prison camps, fed only 800 calories 
^per day and worked to death by their SS guards...
ENDTEXT
@ENDIF

; -----------------------------------------------------------------------------
; LEND LEASE
; -----------------------------------------------------------------------------

@IF
RECEIVEDTECHNOLOGY
technology=61
receiver=Soviets
@THEN
CREATEUNIT
unit=Freighter
owner=Soviets
veteran=no
homecity=None
locations
0,24
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=61
receiver=Soviets
@THEN
CREATEUNIT
unit=Supply Convoy
count=2
owner=Soviets
veteran=no
homecity=None
locations
0,24
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=61
receiver=Soviets
@THEN
CREATEUNIT
unit=Armored Infantry
owner=Soviets
veteran=no
homecity=None
locations
0,24
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=61
receiver=Soviets
@THEN
CREATEUNIT
unit=Sherman
owner=Soviets
veteran=no
homecity=None
locations
0,24
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=93
receiver=Soviets
@THEN
CREATEUNIT
unit=Supply Convoy
owner=Soviets
veteran=no
homecity=None
locations
102,164
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=93
receiver=Soviets
@THEN
CREATEUNIT
unit=P-39 Aircobra
owner=Soviets
veteran=no
homecity=None
locations
102,164
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=93
receiver=Soviets
@THEN
CREATEUNIT
unit=Douglas A-20
owner=Soviets
veteran=no
homecity=None
locations
102,164
endlocations
@ENDIF

; -----------------------------------------------------------------------------
; Cities taken
; -----------------------------------------------------------------------------

@IF
CITYTAKEN
city=Berlin
attacker=Soviets
defender=Germans
@THEN
TEXT
^Berlin falls to the Red Army. Hitler, Eva Braun, Goebbels and other
^top Nazi leaders commit suicide in the bunker under the "Reichskanzlei".
^Control of the German Reich is passed to Admiral Dnitz who wows
^to continue the fight to free the German "Vaterland".
ENDTEXT
JUSTONCE
@ENDIF


@IF
CITYTAKEN
city=Moscow
attacker=Germans
defender=Soviets
@THEN
TEXT
^Operation Barbarossa has reached its primary goal: The capture of Moscow
^The Soviet government flees the Kremlin and vows to continue the fight from
^Siberia, but the industrial infrastructure of this region is poor.
^The German seize control of critical production facilities that the Soviets
^were unable to destroy in time.
ENDTEXT
CREATEUNIT
unit="Hedgehog"
owner=Germans
veteran=yes
homecity=None
locations
60,82
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Stalingrad
attacker=Germans
defender=Soviets
@THEN
TEXT
^After a long bloody struggle the Wehrmacht finally pushes the Red Army out
^of what remains of Stalingrad.  Hitler makes a surprise visit to the Eastern
^front and promotes General Von Paulus to Field Marshal.
ENDTEXT
CREATEUNIT
unit="Hedgehog"
owner=Germans
veteran=yes
homecity=None
locations
70,128
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Leningrad
attacker=Germans
defender=Soviets
@THEN
TEXT
^After a long siege, the defenders of Leningrad, starving and without ammunition
^finally give up...
ENDTEXT
CREATEUNIT
unit="Hedgehog"
owner=Germans
veteran=yes
homecity=None
locations
45,47
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Bucharest
attacker=Soviets
defender=Germans
@THEN
GIVETECHNOLOGY
receiver=Germans
technology=88
TEXT
^After the loss of Bucharest, the Romanian government signs an act
^of surrender which ends the war with the Soviet Union: Immediately,
^all Romanian troops lay down their weapons and give up the fight.
ENDTEXT
JUSTONCE
@ENDIF

; -----------------------------------------------------------------------------
; Spawning Yugoslav partisans and soviet support
; -----------------------------------------------------------------------------

@IF
TURN
turn=25
@THEN
TEXT
^In the spring of 1943, Tito, leader of the Yugoslav partisan armies launches
a strong offensive against the Germans from the mountains of central Serbia.
He is supported by the Soviet Communists but he is fiercely independent and
and will fight anyone for the freedom of Yugoslavia... 
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=-1
@THEN
CREATEUNIT
unit=Partisans
owner=Yugoslavians
count=2
veteran=yes
homecity=None
randomize
locations
20,152
19,143
14,132
21,151
21,153
15,137
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=34
receiver=Soviets
@THEN
CREATEUNIT
unit=Partisans
owner=Yugoslavians
count=6
veteran=yes
homecity=None
randomize
locations
15,137
21,147
20,140
19,143
20,150
14,132
21,151
15,143
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=34
receiver=Soviets
@THEN
CREATEUNIT
unit=Red Guard
owner=Soviets
veteran=yes
homecity=None
locations
21,147
19,143
14,132
21,151
endlocations
@ENDIF

; -----------------------------------------------------------------------------
; Spawning Soviet partisan
; -----------------------------------------------------------------------------

@IF
RECEIVEDTECHNOLOGY
technology=34
receiver=Soviets
@THEN
CREATEUNIT
unit=Partisans
owner=Soviets
veteran=yes
homecity=None
locations 
42,100
40,100
38,98
endlocations
@ENDIF


; -----------------------------------------------------------------------------
; Allied bombing raids
; -----------------------------------------------------------------------------

@IF
TURN
turn=28
@THEN
TEXT
^September 1943: Several consecutive bombing raids by US Eighth Air Force
target the Steyr-Daimler-Puch armement factory near Vienna.
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
20,122,20,122,20,122,20,122
PLAYWAVEFILE
Bombers1.wav
@ENDIF

@IF
TURN
turn=28
@THEN
CREATEUNIT
unit=Rubble
owner=Soviets
veteran=yes
homecity=None
locations 
20,122
endlocations
@ENDIF

@IF
TURN
turn=29
@THEN
TEXT
^October 15, 1943: Massive Allied bombing raids strike the City of Bremen
destroying much of its industry and killing over 6,000 civilians.
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
2,80,2,80,2,80,2,80
PLAYWAVEFILE
Bombers1.wav
@ENDIF

@IF
TURN
turn=29
@THEN
CREATEUNIT
unit=Rubble
owner=Americans
veteran=yes
homecity=None
locations 
2,80
endlocations
@ENDIF

@IF
TURN
turn=30
@THEN
TEXT
^During November 1943 the RAF night bombers hit industrial targets in the
Berlin-Potsdam area in several consecutive raids, causing massive damage.
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
15,99,15,99,15,99,15,99
PLAYWAVEFILE
Bombers1.wav
@ENDIF

@IF
TURN
turn=30
@THEN
CREATEUNIT
unit=Rubble
owner=Soviets
veteran=yes
homecity=None
locations 
15,99
endlocations
@ENDIF

@IF
TURN
turn=31
@THEN
TEXT
^December 13, 1943: A concentrated Allied bombing raid targets the harbor of Kiel
in Northern Germany.  Massive damage is done to the port facilities and surrounding
industry.
ENDTEXT
CHANGETERRAIN
terraintype=1
maprect
11,73,11,73,11,73,11,73
PLAYWAVEFILE
Bombers1.wav
@ENDIF

@IF
TURN
turn=31
@THEN
CREATEUNIT
unit=Rubble
owner=Americans
veteran=yes
homecity=None
locations 
11,73
endlocations
@ENDIF

; -----------------------------------------------------------------------------
; Spawning the battleship HMS Duke of York
; -----------------------------------------------------------------------------

@IF
TURN
turn=31
@THEN
TEXT
^To counter the threat the battle-cruisers Scharnhorst and Gneisenau pose
^to the convoys, the Royal Navy assigns the battleship HMS Duke of York to
^convoy protection on the Murmansk route. Her role is to hunt down and 
^destroy the German raiders.
ENDTEXT
CREATEUNIT
unit=HMS Duke of York
owner=Soviets
veteran=yes
homecity=None
locations
0,24
endlocations
@ENDIF

; -----------------------------------------------------------------------------
; German "Karl" 60cm Mortar killed
; -----------------------------------------------------------------------------

@IF
UNITKILLED
unit="Karl" 60cm Mortar
attacker=Soviets
defender=Germans
@THEN
TEXT
^^MASSIVE SIEGE MORTAR CAPTURED!
^The Red Army scores a great victory as they destroy one of Hitler's "Secret
^Weapons".  The Fuhrer is enraged and the Soviet people jubilant. The remains
^of the "dead giant" are brought to Red Square for the people to see and gloat.
ENDTEXT
CHANGEMONEY
receiver=Soviets
amount=800
@ENDIF

; -----------------------------------------------------------------------------
; German PzJg VI "Elephant" killed
; -----------------------------------------------------------------------------

@IF
UNITKILLED
unit=PzJg VI "Elephant"
attacker=Soviets
defender=Germans
@THEN
TEXT
^The monstruous "Elephant" Panzers prove to be very vulnerable as they
^lack machine guns to defend against infantry attacks and their guns  
^cannot traverse to track rapid moving tanks...
ENDTEXT
CHANGEMONEY
receiver=Germans
amount=-1000
JUSTONCE
@ENDIF

; -----------------------------------------------------------------------------
; next part
; -----------------------------------------------------------------------------

@IF
TURN
turn=31
@THEN
TEXT
^It's December again and the ground turns to cold stone before it is covered
with snow. The Germans prepare for another winter of hardship and death on
the Red front...
You are now ready for part 6 of this scenario:
Save the game now under the name RF.sav (Very important!). Bring up the explorer
and double-click the program Redfront.bat, select Winter of 1943-44 from the menu.
Then return to the game and reload RF.sav
ENDTEXT
@ENDIF

@ENDEVENTS








