;
; Events text for Axis & Allies Scenario
; Michael Nielsen - 03/26/97
;

@BEGINEVENTS
@IF
NOSCHISM
DEFENDER=anybody 
@THEN
 
@ENDIF

@IF
TURN
turn=1
@THEN
MOVEUNIT
unit=AnyUnit
owner=Japanese
maprect
144,50,148,50,148,56,144,56
moveto
149,57
numbertomove=ALL
@ENDIF

@IF
TURN
turn=1
@THEN
MOVEUNIT
unit=AnyUnit
owner=Japanese
maprect
123,75,129,75,129,85,123,85
moveto
123,83
numbertomove=ALL
@ENDIF



@IF
RANDOMTURN
denominator=3
@THEN
MOVEUNIT
unit=AnyUnit
owner=Americans
maprect
20,34,40,34,40,52,20,52
moveto
76,34
numbertomove=ALL
@ENDIF


@IF
RANDOMTURN
denominator=2
@THEN
MOVEUNIT
unit=B-17 Heavy Bomber
owner=Americans
maprect
145,45,149,45,149,59,145,59
moveto
134,58
numbertomove=ALL
@ENDIF


@IF
RANDOMTURN
denominator=3
@THEN
MOVEUNIT
unit=AnyUnit
owner=Americans
maprect
145,47,149,47,149,51,145,51
moveto
137,57
numbertomove=ALL
@ENDIF


@IF
TURN
turn=every
@THEN
MOVEUNIT
unit=AnyUnit
owner=Americans
maprect
3,31,21,31,21,69,3,69
moveto
1,57
numbertomove=ALL
@ENDIF


@IF
RANDOMTURN
denominator=3
@THEN
MOVEUNIT
unit=AnyUnit
owner=Germans
maprect
79,27,91,27,91,43,79,43
moveto
93,39
numbertomove=ALL
@ENDIF


@IF
UNITKILLED
Unit=Battleship
Defender=Americans
Attacker=Japanese
@THEN
JUSTONCE
TEXT 
^^PEARL HARBOR - December 7, 1941
^Japanese aircraft attack the naval station at Pearl Harbor!
^The battleship USS Arizona is sunk! Hundreds of US sailors die.
^President Roosevelt declares this "a date which will live in infamy" 
^The United States and Britain declare war on Japan.
^Japan's ally, Germany declares war on the United States. 
ENDTEXT
@ENDIF

@IF
UNITKILLED
Unit=Battleship
Defender=British
Attacker=Japanese
@THEN
JUSTONCE
TEXT
^The British battleship HMS Prince of Wales and battlecruiser 
^HMS Repulse are sunk by Japanese air strikes near Singapore.
ENDTEXT
@ENDIF


@IF
UNITKILLED
Unit=Liberty Ship
Defender=Americans
Attacker=Germans
@THEN
TEXT
^German "Wolfpacks", cruisers and aircraft continuously hound  
^Allied convoys, disrupting trade and destroying thousands of tons
^of equipment and supplies. 
ENDTEXT
@ENDIF

@IF
UNITKILLED
Unit="Ohka" Kamikaze
Defender=Japanese
Attacker=Anybody
@THEN
JUSTONCE
TEXT
^Japanese suicide pilots, calling themselves "the Wind from Heaven",
^or "Kamikaze", crash their explosive-filled planes on allied 
^ships. Japanese fanatism has reached new heights.
ENDTEXT
@ENDIF

@IF
UNITKILLED
Unit=Super Battleship
Defender=Japanese
Attacker=Americans
@THEN
JUSTONCE
TEXT
^The pride of the Imperial Navy, the 70,000 ton Battleship Yamato,
^is sunk by US carrier-based dive bombers and torpedo planes.
ENDTEXT
@ENDIF

@IF
UNITKILLED
Unit=Tiger I Tank
Defender=Germans
Attacker=Anybody
@THEN
JUSTONCE
TEXT
^The "invulnerable" German Tiger tank turns out to be vulnerable after
^all as a British 6-pdr gun knocks out the first of the monsters.
ENDTEXT
@ENDIF

@IF
UNITKILLED
Unit=V-1 Flying Bomb
Defender=Germans
Attacker=Anybody
@THEN
JUSTONCE
TEXT
^Hitler puts the first "Reprisal weapons" into service:
^The dreaded V1 "Buzz Bombs" are launched against Allied targets...
ENDTEXT
@ENDIF

@IF
TURN
turn=3
@THEN
TEXT
^The Japanese advance threatens the Burma trail, from India through 
^Rangoon into China. This is the last route through which the Allies
^can resupply the Chinese Nationalist Army under Chiang Kai-Shek.
ENDTEXT
@ENDIF

@IF
TURN
turn=9
@THEN
TEXT
^^August 23, 1942: The Last cavalry charge in history. 
^600 mounted dragoons of the Italian Savoy Cavalry charge Soviet
^positions at Izbushensky and route the heavily armed Russians.
ENDTEXT
@ENDIF

@IF
TURN
turn=8
@THEN
TEXT
^July 8, 1942: Colonel Claire Chennault takes command of
^the "Flying Tigers", operating against the Japanese out
^of scattered airbases in central China. 
ENDTEXT
CREATEUNIT
owner=Americans
unit=Fighter
veteran=yes
homecity=None
locations
117,45
125,45
113,53
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=3
@THEN
CREATEUNIT
owner=Americans
unit=Fighter
veteran=yes
homecity=None
locations
117,45
125,45
113,53
endlocations
@ENDIF

@IF
TURN
turn=17
@THEN
TEXT
^April 18, 1943: American P-38s intercept and shoot down a
^Japanese bomber carrying Admiral Yamamoto, near the island
^of Bougainville.  Japan loses it's greatest war leader. 
ENDTEXT
CREATEUNIT
owner=Americans
unit=P-38 Lightning
veteran=yes
homecity=None
locations
143,87
144,88
endlocations
@ENDIF

@IF
TURN
turn=26
@THEN
MOVEUNIT
unit=AnyUnit
owner=Americans
maprect
5,25,35,25,35,41,5,41
moveto
31,41
numbertomove=ALL
@ENDIF

@IF
TURN
turn=26
@THEN
MOVEUNIT
unit=AnyUnit
owner=Americans
maprect
8,42,30,42,30,56,8,56
moveto
29,45
numbertomove=ALL
@ENDIF

@IF
TURN
turn=27
@THEN
CREATEUNIT
owner=Americans
unit=Liberty ship
veteran=yes
homecity=None
locations
31,41
33,37
29,45
endlocations
@ENDIF

@IF
TURN
turn=27
@THEN
CREATEUNIT
owner=Americans
unit=Liberty ship
veteran=yes
homecity=None
locations
29,45
31,41
33,37
endlocations
@ENDIF

@IF
TURN
turn=27
@THEN
CREATEUNIT
owner=Americans
unit=Liberty ship
veteran=yes
homecity=None
locations
33,37
29,45
31,41
endlocations
@ENDIF

@IF
CITYTAKEN
city=Berlin
attacker=Anybody
defender=Germans
@THEN
JUSTONCE
TEXT
^Berlin falls to the Allies. 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 Dönitz who wows
^to continue the fight to free the German "Vaterland".
ENDTEXT
@ENDIF


@IF
CITYTAKEN
city=London
attacker=Germans
defender=British
@THEN
JUSTONCE
TEXT
^London is captured by Nazi stormtroopers. Hitler parades through Buckingham
^Palace. The King and Prime Minister must flee. Operation "Sealion" has
^been a complete success, announces Reichmarshall Goering, high commander
^of the Luftwaffe.  
^Worldwide democracy is threatened... This is the darkest hour for the Allies.  
^The Royal Crown Jewels of England are plundered by Nazi henchmen.
ENDTEXT
CHANGEMONEY
receiver=Germans
amount=1200
@ENDIF

@IF
CITYTAKEN
city=Manila
attacker=Japanese
defender=Americans
@THEN
JUSTONCE
TEXT
^The Philippines fall into Japanese hands...
^Douglas McArthur is forced to leave the island.
^He promises: "I shall return"
ENDTEXT
@ENDIF


@IF
CITYTAKEN
city=Paris
attacker=Anybody
defender=Germans
@THEN
JUSTONCE
TEXT
^General Leclerc of the Free French Forces leads the triumphant Allied parade
^up the Champs-Elysées, while the jubilant Parisians look on...
^Hitler is enraged that his orders to fight to the bitter end and then raze
^and burn the city weren't followed. 
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Alexandria
attacker=Germans
defender=British
@THEN
JUSTONCE
TEXT
^After routing the British at El Alamein, Rommel's Afrikakorps
^advances, unchallenged, into the heart of Egypt. The 8th Army is
^fleeing in confusion...
ENDTEXT
@ENDIF

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

@ENDIF


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


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


@IF
TURN 
turn=every
@THEN
MAKEAGGRESSION
who=Japanese
whom=Americans
@ENDIF

@IF
TURN 
turn=every
@THEN
MAKEAGGRESSION
who=Japanese
whom=British
@ENDIF

@IF
TURN 
turn=every
@THEN
MAKEAGGRESSION
who=Germans
whom=British
@ENDIF

@IF
TURN 
turn=every
@THEN
MAKEAGGRESSION
who=Japanese
whom=Chinese
@ENDIF

@IF
TURN 
turn=every
@THEN
MAKEAGGRESSION
who=British
whom=Germans
@ENDIF

@IF
TURN 
turn=every
@THEN
MAKEAGGRESSION
who=British
whom=Japanese
@ENDIF

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

@IF
TURN 
turn=every
@THEN
MAKEAGGRESSION
who=Americans
whom=Japanese
@ENDIF


@IF
TURN 
turn=every
@THEN
MAKEAGGRESSION
who=Soviets
whom=Japanese
@ENDIF
 
@ENDEVENTS
