@BEGINEVENTS
@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF
@IF
NEGOTIATION
talker=anybody
talkertype=HumanOrComputer
listener=anybody
listenertype=HumanOrComputer
@THEN
@ENDIF
@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=African Merc
owner=Dumnonians
veteran=yes
homecity=None
locations
23,77
endlocations
@ENDIF
@IF
RANDOMTURN
denominator=1
@THEN
CREATEUNIT
unit=Bloodshield
owner=Barbarians
veteran=yes
homecity=None
locations
62,18
endlocations
@ENDIF
@IF
RANDOMTURN
denominator=1
@THEN
CREATEUNIT
unit=Bloodshield
owner=Barbarians
veteran=yes
homecity=None
locations
62,18
endlocations
@ENDIF
@IF
UNITKILLED
unit=Sagramor
attacker=anybody
defender=anybody
@THEN
TEXT
Sagramor is given an insanely stupid command. He disregards it and deserts instead, heading
home for Numidia. When asked why he ever fought for Arthur he comments "When I had nothing,
Arthur gave me everything."  He becomes a rich merchant and history forgets about him.
ENDTEXT
@ENDIF
@IF
UNITKILLED
unit=Galahad
attacker=anybody
defender=anybody
@THEN
TEXT
Galahad was a lost soul.  His parents and friends were killed when Clovis conquered Ynys Trebes. Becasue he never married in his years of wandering Britian, Pyddrig the Bard dubs him "the pure" the name sticks throughout time.
ENDTEXT
@ENDIF
@IF
UNITKILLED
unit=Arthur
attacker=anybody
defender=anybody
@THEN
TEXT
The Winter King is dead. He never was a king, he was never even wanted to be king. All he wanted was some land, a hall and the rest of his life in peace. But it was not to be. The famous bard Taliesien makes a long ballad about the many feats he has accomplished. Christian monks reject him as the ENEMY OF GOD, for accepting pagans, and pagans despise him for accepting Christians. He will be gravely missed in the next years....
ENDTEXT
@ENDIF
@IF
UNITKILLED
unit=Derfel Cadarn
attacker=Anybody
defender=anybody
@THEN
TEXT
Derfel Cadarns soul finnally is snatched by the specter of the old druid Tanaburs.  Ever since he escaped a death pit as an infant Derfel Cadarn and the druid were mortal enemies. In the end the power of the gods was too much even for Defel. History forg
ets about him.
ENDTEXT
@ENDIF
@IF
UNITKILLED
unit=Agricola
attacker=anybody
defender=anybody
@THEN
TEXT
Agricola the last of the ancestors of the Roman Warlords dies at the head of a cavalry charge. Gwents greatest leader has gone...
ENDTEXT
CHANGEMONEY
receiver=Gwent
amount=-999
@ENDIF
@IF
UNITKILLED
unit=Cuneglas
attacker=anybody
defender=anybody
@THEN
TEXT
Cuneglas ap Gorfyddyd was the greatest king of Powys in recent history. With his abscence there is no one king powerful enough to fill the gap. Chaos takes place in Powys.
ENDTEXT
GIVETECHNOLOGY
receiver=Powys
technology=17
@ENDIF
@IF
RECEIVEDTECHNOLOGY
technology=17
receiver=Powys
@THEN
CREATEUNIT
unit=Rebel
owner=Barbarians
veteran=yes
homecity=none
locations
43,45
42,44
43,43
44,44
45,45
44,46
endlocations
@ENDIF
@IF
RECEIVEDTECHNOLOGY
technology=17
receiver=Powys
@THEN
CREATEUNIT
unit=Rebel
owner=Barbarians
veteran=yes
homecity=none
locations
43,45
42,44
43,43
44,44
45,45
44,46
endlocations
@ENDIF
@IF
RECEIVEDTECHNOLOGY
technology=17
receiver=Powys
@THEN
CREATEUNIT
unit=Rebel
owner=Barbarians
veteran=yes
homecity=none
locations
50,42
50,40
51,43
50,44
49,43
49,41
endlocations
@ENDIF
@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Warlord
owner=Powys
veteran=yes
homecity=none
locations
47,47
endlocations
@ENDIF
@IF
RANDOMTURN
denominator=25
@THEN
CREATEUNIT
unit=Warlord
owner=Dumnonians
veteran=yes
homecity=none
locations
63,69
endlocations
@ENDIF
@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Warlord
owner=Saxons
veteran=yes
homecity=none
locations
164,60
endlocations
@ENDIF
@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Warlord
owner=Aenglish
veteran=yes
homecity=none
locations
149,37
endlocations
@ENDIF
@IF
UNITKILLED
unit=Pellinore
attacker=ANYBODY
defender=Dumnonians
@THEN
TEXT
Old man king Pellinores body is never found. They say that when his
time came he fell dead of old age off his horse before the enemy
blade ever touched him. Arthur mourns the death of his old friend.
ENDTEXT
@ENDIF
@IF
RANDOMTURN
denominator=40
@THEN
TEXT
Aenglish warriors destroy a sacred grove! The fey are shocked and
horrified! Daione Sidh come from the hollow hills to fight the invaders
on the side of Powys.
ENDTEXT
CREATEUNIT
unit=Sidhe
owner=Powys
veteran=no
homecity=None
locations
53,39
47,47
endlocations
@ENDIF
@IF
RANDOMTURN
denominator=40
@THEN
TEXT
Cerdics Saxons calmy kill an elven family defending thier home.
Outraged Sidhe take up the spear and fight with Arthur to
avenge thier kin!
ENDTEXT
CREATEUNIT
unit=Sidhe
owner=Dumnonians
veteran=no
homecity=None
locations
59,63
63,69
endlocations
@ENDIF
@IF
RANDOMTURN
denominator=40
@THEN
TEXT
Horror, horror, horror....one of the darker magical creatures of this land
has seen the way to the destruction of all England, the sais. One of the
dark elves, the Dockalfen, has joined forces with Aelle. Beware, these
creatures are of equal power to our fearsome Sidhe warriors.
ENDTEXT
CREATEUNIT
unit=Dockalfen
owner=Aenglish
veteran=yes
homecity=None
locations
149,37
endlocations
@ENDIF
@IF
RANDOMTURN
denominator=40
@THEN
TEXT
Flowers crumble, crops fail and the skies darken. Milk spoils and babies
die early, these are all the work of the Dockalfen, the dark elves. Now
one of these dread creatures has joined Cerdics ranks. Beware, Arthur.
ENDTEXT
CREATEUNIT
unit=Dockalfen
owner=Saxons
veteran=yes
homecity=none
locations
164,60
endlocations
@ENDIF
@IF
CityTaken
Attacker=ANYBODY
Defender=Dumnonians
City=Aque Sulius
@THEN
Text
The Sais have Overrun Aque Sulius, Guinvere 
escapes from her chains and joins Arthur
in the fight for her kingdom, Dumnonia.
EndText
CreateUnit
Unit=Guinevere
Owner=Dumnonians
Veteran=Yes
HomeCity=None
Locations
64,56
64,58
63,59
63,39
EndLocations
@ENDIF
@IF
CityTaken
City=Mai Dun
Attacker=ANYBODY
Defender=Dumnonians
@THEN
Text
Mai Dun is overrun and plundered! Arthur instructs
the citizens to take what they can and flee to Caer
Cadarn, levies are hastily raised, but what good
can they do?
EndText
@ENDIF
@IF
CityTaken
City=Mai Dun
Attacker=ANYBODY
Defender=Dumnonians
@THEN
CreateUnit
Unit=Levies
Owner=Dumnonians
HomeCity=None
Veteran=Yes
Locations
67,65
66,66
69,71
69,73
65,79
EndLocations
@ENDIF
@IF
CityTaken
City=Durnovaria
Attacker=ANYBODY
Defender=ANYBODY
@THEN
Text
Pagan Fanatics sally forth from shrines 
across Britian to make sure thier homes
are never taken!
EndText
GiveTechnology
Technology=3
Receiver=Dumnonians
@ENDIF
@IF
UnitKilled
Unit=Dragon
Attacker=Dumnonians
Defender=Anybody
@THEN
Text
The DRAGON has been slain! Clovis has agreed to help
us against the Saxons, but he also says that his 
warriors cannot be commanded, and they will continue
to raid our lands as well. He also promises that 
he will form no more units of the dreaded Frankish
Shock Troops. Only the infantry from now on will 
raid our shores.
EndText
MakeAggression
Who=Franks
Whom=Saxons
GiveTechnology
Technology=4
Receiver=Franks
@ENDIF
@IF
UnitKilled
Unit=Agravain
Attacker=ANYBODY
Defender=ANYBODY
@THEN
Text
Agravain gets a disease while hiding from a Saxon raid,
in the next few weeks he gets weaker and weaker, finnaly
a Christian Horseman in his troop murders him. 
EndText
@ENDIF
@IF
CityTaken
City=Kent
Attacker=ANYBODY
Defender=Dumnonians
@THEN
Text
The enemy draws near, beware your majesty
seeing the imminent threat three walls
of Iscan spearmen join our forces
EndText
@ENDIF
@IF
CityTaken
City=Kent
Attacker=ANYBODY
Defender=Dumnonians
@THEN
CreateUnit
Unit=Iscan
Owner=Dumnonians
Veteran=Yes
HomeCity=Isca
Locations
41,73
41,71
40,70
ENDLocations
@ENDIF
@IF
CityTaken
City=Kent
Attacker=ANYBODY
Defender=Dumnonians
@THEN
CreateUnit
Unit=Iscan
Owner=Dumnonians
Veteran=Yes
HomeCity=Isca
Locations
41,73
41,71
40,70
ENDLocations
@ENDIF
@IF
CityTaken
City=Kent
Attacker=ANYBODY
Defender=Dumnonians
@THEN
CreateUnit
Unit=Iscan
Owner=Dumnonians
Veteran=Yes
HomeCity=Isca
Locations
41,73
41,71
40,70
ENDLocations
@ENDIF
@IF
UnitKilled
Unit=Sktt
Attacker=Dumnonians
Defender=Barbarians
@THEN
Text
Someone Knows the Truth has the head of a stag, the body of a 
Sidhe and the tail of a great dragon. Merlins request for help
has been granted! The Celtic Gods have risen, and soon we shall
be able to summon thier avatars to send back the sais!
The Bards return to sing our glory!
EndTExt
givetechnology
technology=97
receiver=dumnonians
@ENDIF
@IF
UnitKilled
Unit=Sktt
Attacker=Dumnonians
Defender=Barbarians
@THEN
givetechnology
technology=58
receiver=dumnonians
@ENDIF
@IF
UnitKilled
Unit=Sktt
Attacker=Dumnonians
Defender=Barbarians
@THEN
givetechnology
technology=59
receiver=dumnonians
@ENDIF
@IF
Turn
Turn=170
@THEN
Text
The Celtic Gods have emerged from the Hills and Forests
of Powys, now the Powysians have the power of the gods 
behind them too!
EndText
GiveTechnology
Technology=97
Receiver=Powys
@ENDIF
@IF
Turn
Turn=170
@THEN
givetechnology
technology=58
receiver=powys
@ENDIF
@IF
Turn
Turn=173
@THEN
Text
Bors Bona leads the Highlanders to fight for Powys!
EndText
CreateUnit
Unit=Bors Bona
Owner=Powys
Veteran=Yes
HomeCity=None
Locations
47,47
40,42
36,50
35,43
EndLocations
GiveTechnology
Technology=81
Receiver=Powys
@ENDIF
@IF
Turn
Turn=170
@THEN
givetechnology
technology=59
receiver=powys
@ENDIF
@IF
Turn
Turn=175
@THEN
Text
A Dumnonian Monk has found an translated an old version
of the Pelagian Heresy! Having one of these tomes in a city
can defy the will of enemy avatars! This is a great find, 
we had better start equipping soon, for the wrath of foreign
gods cannot be too far off.
endText
Givetechnology
technology=96
receiver=Dumnonians
@ENDIF
@IF
Turn
Turn=200
@THEN
Text
King Broceliande, a chieftan of Powys has stolen a copy of
the Pelagian Heresey from us!  Never mind, for they are 
British too and together we shall fight the foreign gods!
EndText
Givetechnology
technology=96
receiver=Powys
@ENDIF
@IF
Turn
Turn=195
@THEN
Text
Gwent is the last Christian nation in Britian, and as such
Yahweh, the nailed god, intervenes to save his people. Angels
of our lord have been sent down to smite the enemies of Gwent.
Endtext
playwavefile
lord.wav
GiveTechnology
Technology=95
Receiver=Gwent
@ENDIF
@IF
Turn
Turn=195
@THEN
givetechnology
technology=58
receiver=gwent
@ENDIF
@IF
Turn
Turn=195
@THEN
givetechnology
technology=59
receiver=gwent
@ENDIF
@IF
Turn
Turn=210
@THEN
Text
Gwent proclaims it shall resist the British gods to the end!
It is, in its own way fighting with a "Heresy"
EndText
givetechnology
technology=96
receiver=gwent
@ENDIF
@IF
Turn
Turn=220
@THEN
givetechnology
technology=96
receiver=aenglish
@ENDIF
@IF
Turn
Turn=221
@THEN
Text
The vanguard of Mordreds army is arriving at the beach
near Cammlann!
endText
GiveTechnology
Technology=93
Receiver=Franks
@ENDIF
@IF
ReceivedTechnology
Technology=93
Receiver=Franks
@THEN
CreateUnit
Unit=Pirate
Owner=Franks
Veteran=Yes
Homecity=none
Locations
43,77
42,76
EndLocations
@ENDIF
@IF
ReceivedTechnology
Technology=93
Receiver=Franks
@THEN
CreateUnit
Unit=Spearmen
Owner=Franks
Veteran=Yes
Homecity=none
Locations
50,76
51,75
EndLocations
@ENDIF
@IF
ReceivedTechnology
Technology=93
Receiver=Franks
@THEN
CreateUnit
Unit=Spearmen
Owner=Franks
Veteran=Yes
Homecity=none
Locations
51,75
50,76
EndLocations
@ENDIF
@IF
ReceivedTechnology
Technology=93
Receiver=Franks
@THEN
CreateUnit
Unit=Raiders
Owner=Franks
Veteran=Yes
Homecity=none
Locations
51,75
50,76
EndLocations
@ENDIF
@IF
ReceivedTechnology
Technology=93
Receiver=Franks
@THEN
CreateUnit
Unit=Axeman
Owner=Franks
Veteran=Yes
Homecity=none
Locations
43,77
42,76
EndLocations
@ENDIF
@IF
Turn
Turn=225
@THEN
Justonce
Text
^Mordred himself has arrived! This is it, the final battle,
the Morte D'Arthur! You must fight Mordred on the beaches
of Camlann, if you win, you have won the game! 
^
^Note- using avatars against Mordred is cheating.
EndText
CreateUnit
Unit=Mordred
Owner=Franks
HomeCity=none
Veteran=Yes
Locations
43,77
42,76
EndLocations
GiveTechnology
Technology=92
Receiver=Franks
@ENDIF
@IF
ReceivedTechnology
Technology=92
Receiver=Franks
@THEN
CreateUnit
Unit=Masterless
Owner=Franks
HomeCity=none
Veteran=Yes
Locations
43,77
42,76
EndLocations
@ENDIF
@IF
ReceivedTechnology
Technology=92
Receiver=Franks
@THEN
CreateUnit
Unit=Masterless
Owner=Franks
HomeCity=none
Veteran=Yes
Locations
43,77
42,76
EndLocations
@ENDIF
@IF
ReceivedTechnology
Technology=92
Receiver=Franks
@THEN
CreateUnit
Unit=Marauder
Owner=Franks
HomeCity=none
Veteran=Yes
Locations
42,76
43,77
EndLocations
@ENDIF
@IF
ReceivedTechnology
Technology=92
Receiver=Franks
@THEN
CreateUnit
Unit=Horsewarrior
Owner=Franks
HomeCity=none
Veteran=Yes
Locations
42,76
43,77
EndLocations
@ENDIF
@IF
Turn
Turn=230
@THEN
Text
Nimue and Merlin reappear near Ynys Wydryn.  In a final prayer to the gods, Nimue
sacrifices Merlin to the sea god, Manawydan.  The purpose of this spell is to kill
Arthur who interefered with the sacrifical rites.  The Bloodshields have joined
Nimues cause, and now join Mordred.
EndTExt
playwavefile
die.wav
GiveTechnology
Technology=92
Receiver=Aenglish
@ENDIF
@IF
ReceivedTechnology
Technology=92
Receiver=Aenglish
@THEN
CreateUnit
Unit=Bloodshield
Owner=Franks
Veteran=Yes
HomeCity=none
Locations
45,63
26,70
37,65
EndLocations
@ENDIF
@IF
UnitKilled
Unit=Mordred
Defender=Franks
Attacker=Dumnonians
@THEN
TExt
^The game is won! Arthur, you have survived the attacks of the Sais,
the Franks, the British, Celts, Irish, and Barbarians. You have fought
for your beliefs against both Saxon and Christian Gods. 
^
^Mordreds army disperses at the death of their king. The Franks 
organization is crushed, as a civilization they are no more.
^
^You may continue playing if you wish, there is much work to be done.
Britian is still not free of the Saxons, and Gwent to the north remains
a threat to pagans. The Bloodshields to the north and the Irish still
raid freely. But if you have made it this far, congratulations!
^
^If you play further you won't be able to build any more avatars. 
^^Good luck!
EndText
DestroyAcivilization
whom=franks
@ENDIF
@IF
UnitKilled
Unit=Tristan
Attacker=Anybody
Defender=Anybody
@THEN
Text
Tristan is gravely wounded in battle, he returns to his fathers
land, Kernow where he falls in love with an Irish girl named Isuelt.
EndText
@ENDIF
@IF
UnitKilled
Unit=Mordred
Defender=Franks
Attacker=Dumnonians
@THEN
GiveTechnology
Technology=91
Receiver=Gwent
@ENDIF
@IF
UnitKilled
Unit=Mordred
Defender=Franks
Attacker=Dumnonians
@THEN
GiveTechnology
Technology=91
Receiver=Powys
@ENDIF
@IF
UnitKilled
Unit=Mordred
Defender=Franks
Attacker=Dumnonians
@THEN
GiveTechnology
Technology=91
Receiver=Dumnonians
@ENDIF
@IF
UnitKilled
Unit=Horsewarrior
Attacker=Saxons
Defender=Dumnonians
@THEN
CreateUnit
Unit=Raiders
Owner=Saxons
Veteran=No
HomeCity=None
Locations
147,57
164,60
163,69
EndLocations
@ENDIF
@IF
UnitKilled
Unit=Raiders
Attacker=Dumnonians
Defender=Saxons
@THEN
CreateUnit
Unit=Horsewarrior
Owner=Dumnonians
Veteran=No
HomeCity=None
Locations
63,69
71,71
69,81
EndLocations
@ENDIF
@IF
Turn
Turn=170
@THEN
GiveTechnology
Receiver=Saxons
Technology=84
@ENDIF
@IF
Turn
Turn=170
@THEN
GiveTechnology
Receiver=Aenglish
Technology=84
@ENDIF
@IF
RandomTurn
Denominator=40
@THEN
CreateUnit
Unit=Victrix
Owner=Gwent
Veteran=Yes
HomeCity=None
Locations
64,30
70,34
71,45
76,26
86,42
EndLocations
@ENDIF
@IF
RandomTurn
Denominator=30
@THEN
CreateUnit
Unit=Kernow
Owner=Dumnonians
Veteran=Yes
HomeCity=Kernow
Locations
23,77
EndLocations
@ENDIF
@IF
RandomTurn
Denominator=20
@THEN
CreateUnit
Unit=Banshee
Owner=Barbarians
Veteran=No
HomeCity=Midhe
Locations
4,6
3,17
1,9
8,2
8,12
EndLocations
@ENDIF
@ENDEVENTS