;
; Events text for Heptarchy:  The Conquest of the Saxon Kingdoms
; Copyright(c) 1996, MicroProse Studios Inc.
; John Mavin (1999)
;

@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
PLAYWAVEFILE
FANFARE6.WAV
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
TURN
turn=0
@THEN
TEXT
Ecgberht of Wessex returns to England from his exile at the court of Charlemagne.
ENDTEXT
PLAYWAVEFILE
FANFARE7.WAV
@ENDIF

@IF
UNITKILLED
unit=Ecgberht
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
CIVDSOR.WAV
TEXT
Ecgberht, King of Wessex, has fallen on the battlefield.  The West Saxons will be led by
Ecgberht's sons, but they have lost their chance to claim the Bretwaldaship.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Aethelstan
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
CIVDSOR.WAV
TEXT
Aethelstan, King of East Anglia, has fallen on the battlefield.  The East Anglians will be led by
Aethelstan's sons, but they have lost their chance to claim the Bretwaldaship.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Baldred
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
CIVDSOR.WAV
TEXT
Baldred, King of Kent, has fallen on the battlefield.  The Kentish will be led by Baldred's sons,
but they have lost their chance to claim the Bretwaldaship.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Wiglaf
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
FANFARE7.WAV
TEXT
Wiglaf, King of Mercia, has fallen on the battlefield.  The Mercian crown is assumed by Coenwulf.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Wiglaf
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Coenwulf
owner=Mercians
veteran=no
homecity=NONE
locations
47,103
44,104
43,99
34,94
54,102
endlocations
@ENDIF

@IF
UNITKILLED
unit=Coenwulf
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
FANFARE7.WAV
TEXT
Coenwulf, King of Mercia, has fallen on the battlefield.  The Mercian crown is assumed by Ceowulf.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Coenwulf
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Ceowulf
owner=Mercians
veteran=no
homecity=NONE
locations
47,103
44,104
43,99
34,94
54,102
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ceowulf
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
FANFARE7.WAV
TEXT
Ceowulf, King of Mercia, has fallen on the battlefield.  The Mercian crown is assumed by Beornwulf.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Ceowulf
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Beornwulf
owner=Mercians
veteran=no
homecity=NONE
locations
47,103
44,104
43,99
34,94
54,102
endlocations
@ENDIF

@IF
UNITKILLED
unit=Beornwulf
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
FANFARE7.WAV
TEXT
Beornwulf, King of Mercia, has fallen on the battlefield.  The Mercian crown is assumed by Ludecan.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Beornwulf
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Ludecan
owner=Mercians
veteran=no
homecity=NONE
locations
47,103
44,104
43,99
34,94
54,102
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ludecan
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
CIVDSOR.WAV
TEXT
Ludecan, King of Mercia, has fallen on the battlefield.  The Mercians will be led by
Ludecan's sons, but they have lost their chance to claim the Bretwaldaship.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Eanred
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
FANFARE7.WAV
TEXT
Eanred, King of Northumbria, has fallen on the battlefield.  The Northumbian crown is assumed by Eardwulf.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Eanred
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Eardwulf
owner=Northumbrians
veteran=no
homecity=NONE
locations
54,84
58,78
45,65
49,67
35,71
endlocations
@ENDIF

@IF
UNITKILLED
unit=Eardwulf
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
FANFARE7.WAV
TEXT
Eardwulf, King of Northumbria, has fallen on the battlefield.  The Northumbian crown is assumed by Aelfwold.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Eardwulf
attacker=ANYBODY
defender=ANYBODY
@THEN
CREATEUNIT
unit=Aelfwold
owner=Northumbrians
veteran=no
homecity=NONE
locations
54,84
58,78
45,65
49,67
35,71
endlocations
@ENDIF

@IF
UNITKILLED
unit=Aelfwold
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
CIVDSOR.WAV
TEXT
Aelfwold, King of Northumbria, has fallen on the battlefield.  The Northumbrians will be led by
Aelfwold's sons, but they have lost their chance to claim the Bretwaldaship.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Aethelwulf
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
CIVDSOR.WAV
TEXT
Aethelwulf, King of Essex, has fallen on the battlefield.  The East Saxons will be led by
Aethelwulf's sons, but they have lost their chance to claim the Bretwaldaship.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Aethelwahl
attacker=ANYBODY
defender=ANYBODY
@THEN
PLAYWAVEFILE
CIVDSOR.WAV
TEXT
Aethelwahl, King of Sussex, has fallen on the battlefield.  The South Saxons will be led by
Aethelwahl's sons, but they have lost their chance to claim the Bretwaldaship.
ENDTEXT
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=HumanOrComputer
listener=ANYBODY
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
CITYTAKEN
city=Winchester
attacker=ANYBODY
defender=West Saxons
@THEN
PLAYWAVEFILE
FANFARE5.WAV
TEXT
Ecgberht's capital, the city of Winchester in Wessex, has fallen.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Chichester
attacker=ANYBODY
defender=South Saxons
@THEN
PLAYWAVEFILE
FANFARE5.WAV
TEXT
Aethelwahl's capital, the city of Chichester in Sussex, has fallen.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Sutton Hoo
attacker=ANYBODY
defender=East Anglians
@THEN
PLAYWAVEFILE
FANFARE5.WAV
TEXT
Aethelstan's capital, the city of Sutton Hoo in East Anglia, has fallen.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Canterbury
attacker=ANYBODY
defender=Kentish
@THEN
PLAYWAVEFILE
FANFARE5.WAV
TEXT
Baldred's capital, the city of Canterbury in Kent, has fallen.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Repton
attacker=ANYBODY
defender=Mercians
@THEN
PLAYWAVEFILE
FANFARE5.WAV
TEXT
Wiglaf's capital, the city of Repton in Mercia, has fallen.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=London
attacker=ANYBODY
defender=East Saxons
@THEN
PLAYWAVEFILE
FANFARE5.WAV
TEXT
Aethelwulf's capital, the city of London in Essex, has fallen.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=York
attacker=ANYBODY
defender=Northumbrians
@THEN
PLAYWAVEFILE
FANFARE5.WAV
TEXT
Eanred's capital, the city of York in Northumbria, has fallen.
ENDTEXT
@ENDIF

@ENDEVENTS
