@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
10
@ENDIF

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
NOSCHISM
defender=anybody
@THEN
@ENDIF

@IF
ReceivedTechnology
receiver=Anybody
technology=21
@THEN
JUSTONCE
TEXT
Colonies across America strive for independence from European dominion, with the United States at the forefront.
ENDTEXT
CHANGETERRAIN
terraintype=10 ;ocean
maprect
49,21,49,21,49,21,49,21
@ENDIF

@IF
ReceivedTechnology
receiver=Anybody
technology=21
@THEN
JUSTONCE
CHANGETERRAIN
terraintype=10 ;ocean
maprect
49,27,49,27,49,27,49,27
@ENDIF

@IF
ReceivedTechnology
receiver=Anybody
technology=21
@THEN
JUSTONCE
CHANGETERRAIN
terraintype=10 ;ocean
maprect
49,33,49,33,49,33,49,33
@ENDIF

@IF
ReceivedTechnology
receiver=Anybody
technology=21
@THEN
JUSTONCE
CHANGETERRAIN
terraintype=10 ;ocean
maprect
49,37,49,37,49,37,49,37
@ENDIF

@IF
UNITKILLED
unit=Phalanx
attacker=ANYBODY
defender=incas
@THEN
JUSTONCE
TEXT
Tenochcas devastated by European diseases.
ENDTEXT
CREATEUNIT
unit=Plague
owner=independent
veteran=no
homecity=none
locations
11,43
12,42
13,41
12,44
14,42
13,45
14,44
15,43
13,39
11,41
10,42
10,44
11,45
12,46
13,47
endlocations
PLAYCDTRACK
2
@ENDIF

@IF
UNITKILLED
unit=Phalanx
attacker=ANYBODY
defender=Iroquois Confederacy
@THEN
JUSTONCE
TEXT
Incas devastated by European diseases.
ENDTEXT
CREATEUNIT
unit=Plague
owner=independent
veteran=no
homecity=none
locations
31,65
30,64
31,63
32,62
33,63
34,64
33,65
32,66
30,66
29,65
28,64
29,63
30,62
31,61
32,60
33,61
34,62
35,63
36,64
35,65
34,66
endlocations
PLAYCDTRACK
2
@ENDIF

@IF
UNITKILLED
unit=Phalanx
attacker=ANYBODY
defender=Tenochcas
@THEN
JUSTONCE
TEXT
Iroquois devastated by European diseases.
ENDTEXT
CREATEUNIT
unit=Plague
owner=independent
veteran=no
homecity=none
locations
24,24
25,23
26,24
27,25
26,26
25,27
24,26
27,23
28,26
endlocations
PLAYCDTRACK
2
@ENDIF

@IF
TURN
turn=78
@THEN
CREATEUNIT
unit=Native Muskets
owner=Iroquois Confederacy
veteran=no
homecity=Caughnawaga
locations
24,22
26,24
endlocations
PLAYWAVEFILE
custom3.WAV
TEXT
Dutch traders supply the Iroquois Confederacy with firearms.
ENDTEXT
@ENDIF

@IF
TURN
turn=78
@THEN
CREATEUNIT
unit=Native Muskets
owner=Iroquois Confederacy
veteran=no
homecity=Caughnawaga
locations
26,22
28,22
endlocations
@ENDIF

@IF
TURN
turn=103
@THEN
TEXT
The golden age of Piracy begins.  Notorious pirates such as Captain Kidd overrun the waters of the Carribean and the Eastern Seaboard.
ENDTEXT
CREATEUNIT
unit=Privateer
owner=French
veteran=yes
homecity=NONE
locations
30,30
31,31
endlocations
@ENDIF

@IF
TURN
turn=103
@THEN
CREATEUNIT
unit=Privateer
owner=English
veteran=yes
homecity=NONE
locations
27,45
26,46
endlocations
@ENDIF

@IF
TURN
turn=103
@THEN
PlayCDTrack
6
@ENDIF

@IF
TURN
turn=78
@THEN
PlayCDTrack
9
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
39,73
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
13,25
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
47,65
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
26,32
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
7,31
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
47,59
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
33,45
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
36,80
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
40,64
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
21,47
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Sage
owner=independent
veteran=no
homecity=none
locations
3,21
endlocations
@ENDIF

@IF
UNITKILLED
unit=Sage
attacker=Anybody
defender=independent
@THEN
JUSTONCE
TEXT
A site of Ancient wisdom has been found!  The knowledge discovered there will provide new technological insights!
ENDTEXT
PlayWaveFile
CRWDBUGL.wav
GIVETECHNOLOGY
technology=60 ;Ancient wisdom
receiver=TriggerAttacker
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Iroquois Confederacy
defender=Anybody
@THEN
TEXT
The Iroquois Confederacy has plundered a Galleon containing riches worth 350.
ENDTEXT
ChangeMoney
receiver=Iroquois Confederacy
amount=350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=English
defender=Anybody
@THEN
TEXT
The English have plundered a Galleon containing riches worth 350.
ENDTEXT
ChangeMoney
receiver=English
amount=350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=French
defender=Anybody
@THEN
TEXT
The French have plundered a Galleon containing riches worth 350.
ENDTEXT
ChangeMoney
receiver=French
amount=350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Portuguese
defender=Anybody
@THEN
TEXT
The Portuguese have plundered a Galleon containing riches worth 350.
ENDTEXT
ChangeMoney
receiver=Portuguese
amount=350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Spanish
defender=Anybody
@THEN
TEXT
The Spanish have plundered a Galleon containing riches worth 350.
ENDTEXT
ChangeMoney
receiver=Spanish
amount=350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=tenochcas
defender=Anybody
@THEN
TEXT
The Tenochcas have plundered a Galleon containing riches worth 350.
ENDTEXT
ChangeMoney
receiver=tenochcas
amount=350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Incas
defender=Anybody
@THEN
TEXT
The Incas have plundered a Galleon containing riches worth 350.
ENDTEXT
ChangeMoney
receiver=Incas
amount=350
@ENDIF

@IF
TURN
turn=5
@THEN
TEXT
Tales of ancient wisdom and riches hidden somewhere in the Western continents attract adventure-seekers the world over!
ENDTEXT
PlayWaveFile
DRUMBL.wav
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Anybody
defender=Incas
@THEN
TEXT
Incan Galleon plundered.
ENDTEXT
ChangeMoney
receiver=Incas
amount=-350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Anybody
defender=English
@THEN
TEXT
English Galleon plundered.
ENDTEXT
ChangeMoney
receiver=English
amount=-350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Anybody
defender=French
@THEN
TEXT
French Galleon plundered.
ENDTEXT
ChangeMoney
receiver=French
amount=-350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Anybody
defender=Spanish
@THEN
TEXT
Spanish Galleon plundered.
ENDTEXT
ChangeMoney
receiver=Spanish
amount=-350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Anybody
defender=Portuguese
@THEN
TEXT
Portuguese Galleon plundered.
ENDTEXT
ChangeMoney
receiver=Portuguese
amount=-350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Anybody
defender=tenochcas
@THEN
TEXT
Tenochca Galleon plundered.
ENDTEXT
ChangeMoney
receiver=tenochcas
amount=-350
@ENDIF

@IF
UNITKILLED
unit=Galleon
attacker=Anybody
defender=Iroquois Confederacy
@THEN
TEXT
Iroquois Galleon plundered.
ENDTEXT
ChangeMoney
receiver=Iroquois Confederacy
amount=-350
@ENDIF

@IF
UNITKILLED
unit=Slaves
attacker=Iroquois Confederacy
defender=Anybody
@THEN
TEXT
Slaves captured and resold for 150.
ENDTEXT
ChangeMoney
receiver=Iroquois Confederacy
amount=150
@ENDIF

@IF
UNITKILLED
unit=Slaves
attacker=English
defender=Anybody
@THEN
TEXT
Slaves captured and resold for 150.
ENDTEXT
ChangeMoney
receiver=English
amount=150
@ENDIF

@IF
UNITKILLED
unit=Slaves
attacker=French
defender=Anybody
@THEN
TEXT
Slaves captured and resold for 150.
ENDTEXT
ChangeMoney
receiver=French
amount=150
@ENDIF

@IF
UNITKILLED
unit=Slaves
attacker=Portuguese
defender=Anybody
@THEN
TEXT
Slaves captured and resold for 150.
ENDTEXT
ChangeMoney
receiver=Portuguese
amount=150
@ENDIF

@IF
UNITKILLED
unit=Slaves
attacker=Spanish
defender=Anybody
@THEN
TEXT
Slaves captured and resold for 150.
ENDTEXT
ChangeMoney
receiver=Spanish
amount=150
@ENDIF

@IF
UNITKILLED
unit=Slaves
attacker=Tenochcas
defender=Anybody
@THEN
TEXT
Slaves captured and resold for 150.
ENDTEXT
ChangeMoney
receiver=tenochcas
amount=150
@ENDIF

@IF
UNITKILLED
unit=Slaves
attacker=Incas
defender=Anybody
@THEN
TEXT
Slaves captured and resold for 150.
ENDTEXT
ChangeMoney
receiver=Incas
amount=150
@ENDIF

@IF
UNITKILLED
unit=Noble
attacker=Anybody
defender=independent
@THEN
JUSTONCE
TEXT
A site of great Ancient wealth has been found!  The riches are estimated to have a total a worth of 1000!
ENDTEXT
PlayWaveFile
CRWDBUGL.wav
ChangeMoney
receiver=TriggerAttacker
amount=1000
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
8,14
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
3,27
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
16,30
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
25,11
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
13,33
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
26,42
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
43,69
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
35,53
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
14,38
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
20,42
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
8,24
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
41,55
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=400
@THEN
CREATEUNIT
unit=Noble
owner=independent
veteran=no
homecity=none
locations
36,68
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=archers
veteran=no
homecity=none
locations
35,17
35,15
36,16
35,19
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=archers
owner=Independent
maprect
32,12,42,12,42,24,32,24
moveto 
31,17
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=archers
veteran=yes
homecity=none
locations
25,17
25,19
26,18
24,18
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=archers
owner=Independent
maprect
20,10,30,10,30,24,20,24
moveto 
25,25
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=archers
veteran=no
homecity=none
locations
23,33
24,32
23,31
22,34
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=archers
owner=Independent
maprect
19,27,29,27,29,39,19,39
moveto 
21,29
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=archers
veteran=yes
homecity=none
locations
15,27
14,28
16,28
16,26
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=archers
owner=Independent
maprect
13,23,19,23,19,37,13,37
moveto 
16,30
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=warriors
veteran=yes
homecity=none
locations
10,10
11,11
9,11
10,12
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=warriors
owner=Independent
maprect
1,3,17,3,17,19,1,19
moveto 
8,14
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=archers
veteran=yes
homecity=none
locations
10,32
10,34
11,33
9,33
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=archers
owner=Independent
maprect
4,26,14,26,14,36,4,36
moveto 
13,33
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=elite warriors
veteran=no
homecity=none
locations
5,23
6,24
5,25
6,22
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=elite warriors
owner=Independent
maprect
0,16,12,16,12,28,0,28
moveto 
8,24
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=elite warriors
veteran=no
homecity=none
locations
14,38
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=elite warriors
veteran=no
homecity=none
locations
20,46
20,44
21,47
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=elite warriors
owner=Independent
maprect
18,40,22,40,22,58,18,58
moveto 
17,45
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=elite warriors
veteran=no
homecity=none
locations
44,62
45,63
43,63
44,64
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=elite warriors
owner=Independent
maprect
37,57,47,57,47,71,37,71
moveto 
47,65
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=slingers
veteran=yes
homecity=none
locations
36,74
35,73
36,72
35,75
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=slingers
owner=Independent
maprect
33,61,39,61,39,85,33,85
moveto 
32,70
numbertomove=All
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
owner=independent
unit=warriors
veteran=yes
homecity=none
locations
37,57
38,58
39,57
38,56
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
MOVEUNIT
unit=slingers
owner=Independent
maprect
33,51,43,51,43,63,33,63
moveto 
32,64
numbertomove=All
@ENDIF

@ENDEVENTS
