@BEGINEVENTS

@IF
CITYTAKEN
city=Lindisfarne
attacker=Vikings
defender=English
@THEN
TEXT
The Monastery of lindisfarne was sacket and burned to the ground. The monks merciless
slaughtered and their treasuries was taken.Vikings recieved 300 gold.
ENDTEXT
CHANGEMONEY
receiver=Vikings
amount=300
JUSTONCE
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
UNITKILLED
unit=Caliph
attacker=ANYBODY
defender=Al-Andalus
@THEN
TEXT
The calif of Cordoba was killed and his treasures was plundered!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=300
@ENDIF

@IF
UNITKILLED
unit=King
attacker=ANYBODY
defender=French
@THEN
TEXT
The french king was killed and the nobels takes control of the whole of France.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=King
attacker=ANYBODY
defender=English
@THEN
TEXT
The English king was killed and his treasuries plundered!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=300
@ENDIF

@IF
UNITKILLED
unit=Pope
attacker=ANYBODY
defender=German-Roman Empire
@THEN
TEXT
The pope of Rome was killed, and the church's large treasuries was plundered!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=1000
@ENDIF

@IF
UNITKILLED
unit=King
attacker=ANYBODY
defender=Vikings
@THEN
TEXT
The viking king was killed, long live the king!
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=King
attacker=ANYBODY
defender=German-Roman Empire
@THEN
TEXT
The Saxian king was killed, long live emperor Otto.
ENDTEXT
@ENDIF

@IF
NEGOTIATION
talker=French
talkertype=Computer
listener=German-Roman Empire
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=German-Roman Empire
talkertype=Computer
listener=French
listenertype=Computer
@THEN
@ENDIF

@IF
UNITKILLED
unit=Bichop
attacker=Vikings
defender=ANYBODY
@THEN
TEXT
A bichop was slaughtered by the vikings and his treasuries was taken.
ENDTEXT
CHANGEMONEY
receiver=Vikings
amount=50
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Caliph
attacker=ANYBODY
defender=Abbasids
@THEN
TEXT
The Caliph of Bagdad was Killed and his
treasures was taken.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=300
@ENDIF

@IF
RANDOMTURN
denominator=30
@THEN
TEXT
The emperor in Constantinople has 
recruited new varangian bodygaurds.
ENDTEXT
CREATEUNIT
unit=Varangians
owner=Byzantians
veteran=yes
homecity=Constantinople
locations
70,80
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
The Caliph in Cordoba has recruited
new varangian bodygaurds.
ENDTEXT
CREATEUNIT
unit=Varangians
owner=Al-Andalus
veteran=yes
homecity=Cordoba
locations
40,86
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
The Caliph in Bagdad has recruited
new varangian bodygaurds.
ENDTEXT
CREATEUNIT
unit=Varangians
owner=Abbasids
veteran=yes
homecity=Bagdad
locations
93,97
endlocations
@ENDIF

@IF
UNITKILLED
unit=Bichop
attacker=Al-Andalus
defender=ANYBODY
@THEN
TEXT
The Andalusian have killed another christian bichop.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Bichop
attacker=Abbasids
defender=ANYBODY
@THEN
TEXT
The Abbasids have killed another christian bichop
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=King
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
An independent king was killed and his tresuries was plundered.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=100
@ENDIF

@IF
CITYTAKEN
city=Jerusalem
attacker=Byzantians
defender=Abbasids
@THEN
TEXT
The holy city of Jerusalem has been retaken from the hethens.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Jerusalem
attacker=German-Roman Empire
defender=Abbasids
@THEN
TEXT
The holy city of Jerusalem has been retaken from the hethens.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Bagdad
attacker=ANYBODY
defender=Abbasids
@THEN
TEXT
The great city of Bagdad has finally 
been taken from Abbasid rule.
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Mecca
attacker=ANYBODY
defender=Abbasids
@THEN
TEXT
The holy city of Mecca, the center of islamic 
culture and religion, has been plundered.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Constantinople
attacker=Abbasids
defender=Byzantians
@THEN
TEXT
Constantinople finally fall to the invadors from east.
ENDTEXT
@ENDIF

@ENDEVENTS
