@BEGINEVENTS
@DEBUG
@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
UNITKILLED
unit=King
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
A king has died. The citizens of thier nation fill the streets weeping. Noblemen decide to donate to
thier cause again, in honor of thier memory!  Mercenaries flock to the killing rulers cause.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERDEFENDER
amount=500
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=99
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Iceberg
owner=Barbarians
veteran=no
homecity=none
locations
113,9
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
MAKEAGGRESSION
who=Coldscales
whom=Fanatics
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
MAKEAGGRESSION
who=Fanatics
whom=Coldscales
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
MAKEAGGRESSION
who=Fanatics
whom=Dominicans
@ENDIF

@IF
RANDOMTURN
denominator=10
@THEN
MAKEAGGRESSION
who=Tlincalli
whom=Protectors
@ENDIF

@IF
UNITKILLED
unit=Dragon
attacker=ANYBODY
defender=ANYBODY
@THEN
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
GIVETECHNOLOGY
receiver=TRIGGERATTACKER
technology=93
@ENDIF

@IF
UNITKILLED
unit=Peddler
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
^^A peddler is killed!
^^Other peddlers stop visiting that nation.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=-100
@ENDIF

@IF
UNITKILLED
unit=Merchant
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
^^A merchant is killed!
^^The Merchansts League
^^boycotts the offending nation!
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=-500
@ENDIF

@IF
UNITKILLED
unit=Assassain
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
^^An assassain has been captured!
^^His employer pays a large ransom...
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=200
@ENDIF

@IF
UNITKILLED
unit=Assassain
attacker=ANYBODY
defender=ANYBODY
@THEN
CHANGEMONEY
receiver=TRIGGERDEFENDER
amount=-200
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=0
receiver=ANYBODY
@THEN
TEXT
^^The secret of turning lead to gold has been discovered!!
^^There is evidence that a deadlier secret is just around the corner....
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=2
receiver=ANYBODY
@THEN
TEXT
^^The most deadly advance has been discovered...
^^The power to invoke revenants is now at hand...
^^How will the world put this to use??
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=30
receiver=Fanatics
@THEN
TEXT
^^The Fanatics have contacted the Golden Dawn!
ENDTEXT
JUSTONCE
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
TEXT
A plague breaks out along the Great Stone Barrier.
ENDTEXT
CREATEUNIT
unit=Revenant
owner=Barbarians
veteran=no
homecity=none
locations
128,32
0,0
0,0
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
CREATEUNIT
unit=Fishman
owner=Barbarians
veteran=no
homecity=none
locations
9,53
10,52
11,55
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
CREATEUNIT
unit=Fishman
owner=Barbarians
veteran=no
homecity=none
locations
92,114
94,116
95,113
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=25
@THEN
TEXT
Ph'nglu cthulhu fhtagn rl'yeh wagn fhtagn
ENDTEXT
CREATEUNIT
unit=Deep One
owner=Barbarians
veteran=no
homecity=none
locations
26,50
24,50
24,48
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=30
receiver=Tlincalli
@THEN
TEXT
^^The Tlincalli have contacted the Golden Dawn!
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=30
receiver=Coldscales
@THEN
TEXT
^^The Coldscales have contacted the Golden Dawn!
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=30
receiver=Golden Sun
@THEN
TEXT
^^The Golden Sun have contacted the Golden Dawn!
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=30
receiver=Northern
@THEN
TEXT
^^The Northern race has contacted the Golden Dawn!
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=30
receiver=Protectors
@THEN
TEXT
^^The Protectors have contacted the Golden Dawn!
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=30
receiver=Dominicans
@THEN
TEXT
^^The Dominicans have contacted the Golden Dawn!
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=93
receiver=ANYBODY
@THEN
TEXT
^^A Dragon has been killed!
^^The world is a safer place!
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=2
receiver=Protectors
@THEN
CREATEUNIT
unit=Hellfire
owner=Barbarians
veteran=no
homecity=none
locations
7,5
6,4
8,4
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=2
receiver=Protectors
@THEN
TEXT
^^The protectors have gone against thier commandments and expirement with sacrifical rites!
^^A curse is sent down upon thier civilization!
ENDTEXT
CREATEUNIT
unit=Hellfire
owner=Barbarians
veteran=no
homecity=none
locations
8,4
6,4
7,5
0,0
0,0
0,0
0,0
0,0
0,0
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Burecks
attacker=Fanatics
defender=Protectors
@THEN
TEXT
^^The Fanatics have crossed many miles and finally brought low the city of Burecks
^^While fortifying, they discover secret tunnels that lead to the hidden city,
^^Nostrascalus feels that his prophecy has been completed, he calls upon the holy power
^^of the Fanatics, and the Protectors, guardians of the hidden city are destroyed.
ENDTEXT
DESTROYACIVILIZATION
whom=Protectors
@ENDIF

@IF
CITYTAKEN
city=Burecks
attacker=Tlincalli
defender=Protectors
@THEN
TEXT
^^The Tlincalli have landed and taken Burecks,
^^While digging a new home for thier queen they discover
^^thousands of caves and tunnels tha lead to the hidden city!
^^They decide to use thier secret chemical plague to
^^clear the passages, it kills all of the protectors!
ENDTEXT
DESTROYACIVILIZATION
whom=Protectors
@ENDIF

@IF
CITYTAKEN
city=Burecks
attacker=Coldscales
defender=Protectors
@THEN
TEXT
^^Throuhg some sort of miracle the Coldscales take Burecks,
^^during thier drunken orgy of victory they discover a secret
^^Burecks IS the hidden city, this inspires a coup de grace
^^of destruction that skill astounds scientists today.
ENDTEXT
DESTROYACIVILIZATION
whom=Protectors
@ENDIF

@IF
CITYTAKEN
city=Burecks
attacker=Golden Sun
defender=Protectors
@THEN
TEXT
^^The Golden Sun has risen over Burecks, 
^^Goldeyes long knew that Burecks was directly over the hidden city.
^^He tells his soldiers this, the people of the Protectors are
^^disheartened, and they abondon this land,
ENDTEXT
DESTROYACIVILIZATION
whom=Protectors
@ENDIF

@IF
CITYTAKEN
city=Burecks
attacker=Northern
defender=Protectors
@THEN
TEXT
^^The barbarians to the North have taken Burecks
^^While celebrating they discover the Hidden City!
^^And scrolls and rites too terrible to mention,
^^An unlcuky northern warrior reads the scroll,
^^The entire race of protectors is wiped out!
ENDTEXT
DESTROYACIVILIZATION
whom=Protectors
@ENDIF

@IF
CITYTAKEN
city=Burecks
attacker=Dominicans
defender=Protectors
@THEN
TEXT
^^The Dominicans have taken the longest journey and captured Burecks
^^While excavating they discover the Hidden City!
^^They spread thier fungual spores down the chutes,
^^Disease is spread throughout the country
^^The protectors are destroyed.
ENDTEXT
DESTROYACIVILIZATION
whom=Protectors
@ENDIF

@IF
RandomTurn
Denominator=15
@THEN
CreateUnit
Unit=Bat Swarm
Owner=Barbarians
Veteran=No
HomeCity=None
Locations
81,119
EndLocations
@ENDIF

@IF
RandomTurn
Denominator=15
@THEN
CreateUnit
Unit=Bat Swarm
Owner=Barbarians
Veteran=No
HomeCity=None
Locations
59,9
EndLocations
@ENDIF

@IF
RandomTurn
Denominator=15
@THEN
CreateUnit
Unit=Bat Swarm
Owner=Barbarians
Veteran=No
HomeCity=None
Locations
1,1
EndLocations
@ENDIF

@IF
CityTaken
City=Slooecond
Attacker=Barbarians
Defender=Tlincalli
@THEN
CHANGETERRAIN
terraintype=10
maprect
9,49,15,49,15,57,9,57
Text
The City of Slooecond sinks beneath the ocean as it is overun by Fishmen,
EndText
@ENDIF

@ENDEVENTS
