@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
22
DONTPLAYWONDERS
@ENDIF

@IF
TURN
turn=1
@THEN
TEXT
Lysander Bennett, you are starting your term as President of the United Earth Alliance.
For the past hundred years, humanity has been spreading throughout the solar system, from tiny,
parched Mercury, to cold, lonely Persephone.  Fifty years ago, the leaders of the various system
governments decided to merge into a single body.  You are now in direct control of that body.
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=2
@THEN
TEXT
Humanity has established colonies on or around each of the ten major planets in the solar system,
and on the moons of these planets.  While the solar system is largely explored and known from
sensor scans, much of the system remains to be explored in detail.
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=15
@THEN
TEXT
You have just lost contact with a sensor probe in the outer Oort cloud.  Although it has certainly
malfunctioned, you cannot help but feel a little uneasy when you find out.
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=16
@THEN
TEXT
Priority alert.  Every single sensor probe in a 50,000 kilometre area of the Oort Cloud has gone
dead.  This is no co-incidence, as each reported a massive energy buildup just prior to our losing
contact.  Either it is pirates, or something is deliberately destroying our drones.
ENDTEXT
JUSTONCE
@ENDIF

@IF
TURN
turn=17
@THEN
TEXT
An observatory in orbit of Persephone has sent a batch of holographs to your office.  The fuzzy
images show that an enormous ring-shaped structure has appeared in the Oort Cloud.  Readings
from the remainng sensor drones reveal a massive fleet of unidentifiable ships around it, on a
direct course for Persephone.
ENDTEXT
JUSTONCE
CHANGETERRAIN
terraintype=10
maprect
196,4,196,4,196,4,196,4
@ENDIF

@IF
CITYTAKEN
city=Lucan
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
Lucan colony has been overrun by what appears to be a large armada of alien vessels.  The
United Earth Intelligence Bureau has code-named the new threat 'Nephilim' until we can ascertain
the name of the race.  In the meantime, you must stop this invasion.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Persephone
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
Persephone has fallen.  Turning their sights to Pluto, the aliens press deeper into the solar system.
ENDTEXT
PLAYCDTRACK
2
@ENDIF

@IF
UNITKILLED
unit=Shipyards
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
The Nephilim have destroyed some of your shipyards!  Your production in nearby colonies has
been affected!
ENDTEXT
@ENDIF

@IF
TURN
turn=17
@THEN
CHANGETERRAIN
terraintype=10
maprect
187,17,187,17,187,17,187,17
@ENDIF

@IF
CITYTAKEN
city=Neptune
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
Neptune has fallen!  The populace are becoming terrified, and suicide rates throughout the system
have quadrupled.  The aliens are encroaching ever further towards Earth!
ENDTEXT
PLAYCDTRACK
2
@ENDIF

@IF
CITYTAKEN
city=Uranus
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
Uranus is bathed in an ethereal organge light as the colonies around it burn.  The Nephilim,
sweeping aside all defences, seem unstoppable.
ENDTEXT
PLAYCDTRACK
2
@ENDIF

@IF
CITYTAKEN
city=Saturn
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
Staurn has fallen against the alien onslaught.  In desperation, one of your ships rams the largest
alien vessel.  Although their flagship is now scattered evenly throughout known space, the
Nephilim press further into the heart of your solar system.
ENDTEXT
PLAYCDTRACK
2
@ENDIF

@IF
CITYTAKEN
city=Jupiter
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
Jupiter, the last line of defence before the Asteroid Belt, has been sucessfully attacked by the
Nephilim fleet.  If the Nephilim are not stopped shortly, they will be walking on Earth within a
year.
ENDTEXT
PLAYCDTRACK
2
@ENDIF

@IF
CITYTAKEN
city=Cirphan Station
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
Cirphan Station, the gateway to the inner solar System, has fallen.  Defeat now seems inevitable,
though you would be unwise to abandon hope just yet.
ENDTEXT
PLAYCDTRACK
2
@ENDIF

@IF
CITYTAKEN
city=Mars
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
You stare blindly at your holo-screen as the news of the destruction of Mars plays across it.
Unable to take the planet properly, the Nephilim immolated the entire world.  There were no
survivors.
ENDTEXT
PLAYCDTRACK
2
CHANGETERRAIN
terraintype=1
maprect
22,14,22,14,22,14,22,14
@ENDIF

@IF
CITYTAKEN
city=Earth
attacker='Nephilim'
defender=United Earth Alliance
@THEN
TEXT
Evacuating just in time, you watch as Earth falls beneath the Nephilim.  Retreating to a secret
staging point in the asteroid belt for a final desperate attack against the Nephilim, you realise that,
within a year, your race will be all but extinct.
However, it seems that that may not necessarily be the case.  A ship of a different design to the
Nephilim appears in front of your ship.  Identifying themselves as the Selanora, the new aliens
offer their help to humanity.  Accepting, you watch your holo-screen playing live footage from the
Oort Cloud.  A second stargate ripples open, and a huge fleet of Selanoran ships pour through.
ENDTEXT
CHANGEMONEY
receiver=United Earth Alliance
amount=10000
PLAYCDTRACK
2
CHANGETERRAIN
terraintype=10
maprect
179,17,179,17,179,17,179,17
GIVETECHNOLOGY
receiver=United Earth Alliance
technology=98
@ENDIF

@IF
CITYTAKEN
city=Jupiter
attacker=United Earth Alliance
defender='Nephilim'
@THEN
TEXT
Jupiter has been retaken!  With the aid of the Selanora, it seems that the UEA may just be able to
defeat this alien menace.
ENDTEXT
PLAYCDTRACK
3
@ENDIF

@IF
CITYTAKEN
city=Earth
attacker='Nephilim'
defender=United Earth Alliance
@THEN
GIVETECHNOLOGY
receiver=Selanora
technology=95
@ENDIF

@IF
RANDOMTURN
denominator=35
@THEN
TEXT
An asteroid has been detected.  Scientists predict that it is on a collision course with one of our
colonies.  You must destroy it before impact!
ENDTEXT
CREATEUNIT
unit=ASTEROID
owner=TRIGGERATTACKER
veteran=no
homecity=
locations
141,7
152,14
100,10
152,16
148,4
94,4
114,4
120,16
144,8
endlocations
@ENDIF

@IF
CITYTAKEN
city=Earth
attacker='Nephilim'
defender=United Earth Alliance
@THEN
GIVETECHNOLOGY
receiver=United Earth Alliance
technology=93
@ENDIF

@IF
CITYTAKEN
city=Earth
attacker='Nephilim'
defender=United Earth Alliance
@THEN
GIVETECHNOLOGY
receiver=Selanora
technology=93
@ENDIF

@IF
CITYTAKEN
city=Earth
attacker='Nephilim'
defender=United Earth Alliance
@THEN
GIVETECHNOLOGY
receiver='Nephilim'
technology=92
@ENDIF

@IF
TURN
turn=17
@THEN
CREATEUNIT
unit='Sheath'
owner='Nephilim'
veteran=yes
homecity=
locations
198,10
198,9
199,9
198,8
0,0
0,0
0,0
0,0
0,0
endlocations
CHANGETERRAIN
terraintype=10
maprect
187,17,187,17,187,17,187,17
@ENDIF

@IF
NEGOTIATION
talker=United Earth Alliance
talkertype=Human
listener='Nephilim'
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=United Earth Alliance
talkertype=Human
listener=Selanora
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker='Nephilim'
talkertype=Computer
listener=United Earth Alliance
listenertype=Human
@THEN
@ENDIF

@IF
NEGOTIATION
talker='Nephilim'
talkertype=Computer
listener=Selanora
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Selanora
talkertype=Computer
listener=United Earth Alliance
listenertype=Human
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Selanora
talkertype=Computer
listener='Nephilim'
listenertype=Computer
@THEN
@ENDIF

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

@IF
NOSCHISM
defender=United Earth Alliance
@THEN
@ENDIF

@IF
NOSCHISM
defender='Nephilim'
@THEN
@ENDIF

@IF
NOSCHISM
defender=Selanora
@THEN
@ENDIF

@IF
CITYTAKEN
city=Earth
attacker=United Earth Alliance
defender='Nephilim'
@THEN
TEXT
Earth has been re-taken!  You sigh as you set foot on your homeworld once more.
ENDTEXT
PLAYCDTRACK
3
@ENDIF

@IF
CITYTAKEN
city=Entry Point
attacker=United Earth Alliance
defender='Nephilim'
@THEN
TEXT
The Nephilim stargate has been destroyed.  Cut off from their homeowrld, the remaining alien
ships should be easy meat for the newly-restored United Earth Alliance!
ENDTEXT
PLAYCDTRACK
3
@ENDIF

@IF
TURN
turn=17
@THEN
CREATEUNIT
unit='Sheath'
owner='Nephilim'
veteran=yes
homecity=
locations
198,10
198,9
199,9
198,8
197,9
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=17
@THEN
CREATEUNIT
unit='Sheath'
owner='Nephilim'
veteran=yes
homecity=
locations
198,10
198,9
199,9
198,8
197,9
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=17
@THEN
CREATEUNIT
unit='Sheath'
owner='Nephilim'
veteran=yes
homecity=
locations
198,10
198,9
199,9
198,8
197,9
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=17
@THEN
CREATEUNIT
unit='Sheath'
owner='Nephilim'
veteran=yes
homecity=
locations
198,10
198,9
199,9
198,8
197,9
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=17
@THEN
CREATEUNIT
unit='Sheath'
owner='Nephilim'
veteran=yes
homecity=
locations
198,10
198,9
199,9
198,8
197,9
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=17
@THEN
CREATEUNIT
unit='Sheath'
owner='Nephilim'
veteran=yes
homecity=
locations
198,10
198,9
199,9
198,8
197,9
0,0
0,0
0,0
0,0
endlocations
@ENDIF

@IF
TURN
turn=17
@THEN
CREATEUNIT
unit='Sheath'
owner='Nephilim'
veteran=yes
homecity=
locations
198,10
198,9
199,9
198,8
197,9
0,0
0,0
0,0
0,0
endlocations
CHANGEMONEY
receiver='Nephilim'
amount=10000
@ENDIF

@ENDEVENTS
