;
; Events text for The Next Generation Scenario
; Copyright(c) 1996, MicroProse Studios Inc.
;
;

@BEGINEVENTS
@DEBUG

@IF
NEGOTIATION
talker=Borg
talkertype=computer
listener=anybody
listenertype=humanorcomputer
@THEN

@ENDIF

@IF
NEGOTIATION
talker=anybody
talkertype=humanorcomputer
listener=Borg
listenertype=computer
@THEN

@ENDIF

@IF
UNITKILLED
unit=Enterprise-D
attacker=Anybody
defender=Anybody
@THEN
JUSTONCE
TEXT
^The distinguished service of the Starship Enterprise, NCC-1701-D, comes to a sudden end
as the vessel is destroyed in battle. The loss of Starfleet's flagship is a damaging blow to the Federation.
ENDTEXT
PLAYWAVEFILE
10sec.wav
@ENDIF

@IF
UNITKILLED
unit=Enterprise-D Officers
attacker=Anybody
defender=Anybody
@THEN
JUSTONCE
TEXT
^Captain Picard and his elite team of officers are tragically killed in battle.
The Federation mourns the loss of some of the finest personnel ever to serve in Starfleet.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=Enterprise-D Crew
attacker=Anybody
defender=Anybody
@THEN
JUSTONCE
TEXT
^A fierce battle results in the loss of many crewmen and women from the Enterprise-D.
Starfleet regrets the loss of so many fine, dedicated people. 
ENDTEXT
@ENDIF

@IF
RANDOMTURN
denominator=3
@THEN
CREATEUNIT
owner=Barbarians
unit=Terrorist Leaders
veteran=Yes
homecity=None
locations
66,58
67,55
71,55
69,61
69,53
68,54
66,56
70,54
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=3
@THEN
CREATEUNIT
owner=Barbarians
unit=Terrorist Leaders
veteran=Yes
homecity=None
locations
70,54
66,56
68,54
69,53
69,61
71,55
67,55
66,58
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=3
@THEN
CREATEUNIT
owner=Barbarians
unit=Terrorist Leaders
veteran=Yes
homecity=None
locations
69,61
71,55
67,55
66,58
70,54
66,56
68,54
69,53
endlocations
@ENDIF


@IF
CITYTAKEN
city=Bajor
attacker=Barbarians
defender=Anybody
@THEN
JUSTONCE
TEXT
^Bajoran terrorists, after decades of fighting the occupational forces, finally win control of their home
star system. A provisional government is installed.
ENDTEXT 
@ENDIF

@IF
TURN
turn=2
@THEN
TEXT
^Stardate 41148. Captain Jean-Luc Picard assumes command of the Starship Enterprise NCC-1701-D. 
^The ship's crew are charged with the mission 'to boldly go where no one has gone before.'
ENDTEXT
@ENDIF

@IF
TURN
turn=12
@THEN
TEXT
^Stardate 41775.5 A conspiracy within Starfleet is revealed as the work of an extragalactic intelligence. 
Key personnel are found to be under alien control. However, the intelligence is stopped and the control neutralised, 
although significant damage has been done. The origin and purpose of the aliens is a total mystery.
ENDTEXT
CHANGEMONEY
receiver=Humans
amount=-800
@ENDIF

@IF
TURN
turn=20
@THEN
TEXT
^Stardate 42761.3. The entity known as Q uses his powers to send a Federation ship 7000 light years 
across the galaxy, leading to Starfleet encountering the race known as the Borg. 
The Borg are seen to be a highly advanced race of cybernetically-enhanced humanoids, 
who appear to operate with a collective consciousness. The aliens react aggressively towards Starfleet
personnel and their vast cube-shaped vessel is seen to change course; it is now heading for Federation
space. The encounter ends when Q returns the Federation crew to known space. 
ENDTEXT
@ENDIF

@IF
TURNINTERVAL
interval=32
@THEN
MOVEUNIT
unit=Cube Ship
owner=Borg
maprect
0,0
99,0
0,99
99,99
moveto
95,57
numbertomove=All
@ENDIF

@IF
CITYTAKEN
city=Wolf 359
attacker=Borg
defender=Humans
@THEN
JUSTONCE
TEXT
^The Borg collective inflict a crushing defeat on the Federation in the battle of Wolf 359.
ENDTEXT
PLAYWAVEFILE
oneborg.wav
@ENDIF

@IF
CITYTAKEN
city=Sol
attacker=Borg
defender=Humans
@THEN
JUSTONCE
TEXT
^Led by Locutus of Borg, the former Captain Picard, the Borg collective begin the assimilation
of the inhabitants of Earth.
ENDTEXT
PLAYWAVEFILE
oneborg.wav
@ENDIF

@IF
TURN
turn=45
@THEN
TEXT
^Stardate 44246.3. K'mpec, leader of the Klingon High Council reveals that he has been poisoned by
his enemies. He dies soon after, and rite of succession, to select the next Council Leader, begins.
Claims are made by the Duras familiy and a newcomer, Gowron. Installation of a leader will take place
in several month's time.
ENDTEXT
@ENDIF

@IF
TURN
turn=53
@THEN
TEXT
^Stardate 44995.3. Just before Gowron is due to be installed in the position of High Council leader,
the powerful Duras family challenge his claim for the post.
It is suspected that the powerful Duras family has been working with Romulan operatives to install
Toral, son of Duras, in the position. However, the Duras claim is rejected and Gowron becomes Chancellor.
The conflict erupts into warfare between forces loyal to Duras and those still serving Gowron. 
A full scale Klingon civil war is feared by many.
ENDTEXT
CREATEUNIT
owner=Barbarians
unit=Leaders
veteran=Yes
homecity=None
locations
130,82
131,83
127,83
127,87
endlocations
@ENDIF

@IF
TURN
turn=53
CREATEUNIT
owner=Barbarians
unit=Leaders
veteran=Yes
homecity=None
locations
127,87
127,83
131,83
130,82
endlocations
@ENDIF

@IF
TURN
turn=53
CREATEUNIT
owner=Barbarians
unit=Warriors
veteran=Yes
homecity=None
locations
126,86
128,88
129,87
128,84
endlocations
@ENDIF

@IF
TURN
turn=53
CREATEUNIT
owner=Barbarians
unit=Warriors
veteran=Yes
homecity=None
locations
128,84
129,97
128,88
126,86
endlocations
@ENDIF

@IF
TURN
turn=53
@THEN
CREATEUNIT
owner=Barbarians
unit=Leaders
veteran=Yes
homecity=None
locations
127,79
127,83
126,84
124,84
endlocations
@ENDIF

@IF
TURN
turn=53
@THEN
CREATEUNIT
owner=Barbarians
unit=Leaders
veteran=Yes
homecity=None
locations
124,84
126,84
127,83
127,79
endlocations
@ENDIF

@IF
TURN
turn=53
@THEN
CREATEUNIT
owner=Barbarians
unit=Warriors
veteran=Yes
homecity=None
locations
123,83
122,82
122,80
123,79
endlocations
@ENDIF

@IF
TURN
turn=53
@THEN
CREATEUNIT
owner=Barbarians
unit=Warriors
veteran=Yes
homecity=None
locations
123,79
122,80
122,82
123,83
endlocations
@ENDIF

@IF
TURN
turn=53
@THEN
CREATEUNIT
owner=Barbarians
unit=Leaders
veteran=Yes
homecity=None
locations
135,79
137,79
137,85
139,83
endlocations
@ENDIF

@IF
TURN
turn=53
@THEN
CREATEUNIT
owner=Barbarians
unit=Leaders
veteran=Yes
homecity=None
locations
139,83
137,85
137,79
135,79
endlocations
@ENDIF

@IF
TURN
turn=53
@THEN
CREATEUNIT
owner=Barbarians
unit=Warriors
veteran=Yes
homecity=None
locations
134,84
136,86
136,78
140,82
endlocations
@ENDIF

@IF
TURN
turn=53
@THEN
CREATEUNIT
owner=Barbarians
unit=Warriors
veteran=Yes
homecity=None
locations
140,82
136,78
136,86
134,84
endlocations
@ENDIF

@IF
TURN
turn=54
@THEN
TEXT
^Stardate 45047.2. The suspected Romulan operation to supply the Duras forces is discovered by Federation agents.
Romulan operative Sela, seeking to avoid an interstellar incident, withdraws support for the rebels. 
ENDTEXT
@ENDIF

@IF
TURN
turn=58
@THEN
TEXT
^Stardate 45233.1. Federation Ambassador Sarek dies from Bendii syndrome, a degenerative brain disorder.
His son, Ambassador Spock, is reported to be undertaking unknown activities on Romulus. Starfleet, concerned
by Spock's unauthorised visit to the Romulan homeworld, despatch two agents to investigate. The agents, working
covertly on Romulus, are successful in contacting Ambassador Spock and a Romulan senator Pardek.
ENDTEXT
@ENDIF

@IF
TURN
turn=59
@THEN
TEXT
^Stardate 45245.8. Spock reveals to Starfleet agents that his mission on Romulus is support the goal
of Vulcan-Romulan reunification. Senator Pardek also claims to pledge his support. However, later
developments reveal that Romulan operatives, under the direction of Sela, have been using the pretext
of reunification to cover a plan to invade Vulcan. Once discovered, this plan is aborted, and the Romulans
destroy all resources linked to the operation. Despite this, Spock elects to remain on Romulus to continue
his work for reunification.
ENDTEXT
CHANGEMONEY
receiver=Romulans
amount=-800
@ENDIF

@IF
TURN
turn=84
@THEN
TEXT
^Stardate 46852.2. Klingon clerics create a clone of the ancient, legendary Klingon Emperor, Kahless. 
At first Chancellor Gowron denounces the new Kahless, but later concedes that the clone is the rightful
heir to the throne. Kahless is proclaimed emperor, serving as the spiritual leader of the people.
The new Kahless is the first emperor to reign in three centuries, and, although his role is largely
symbolic, his presence is seen to bring real benefit to the empire.
ENDTEXT
CHANGEMONEY
receiver=Klingons
amount=800
@ENDIF

@IF
TURN
turn=96
@THEN
TEXT
^Stardate 47779.4. Intelligence sources report that a new terrorist group, calling themselves the Maquis, has formed
near the Federation-Cardassian border. The group appears to be hostile towards Cardassia, and is resentful
of the current Federation policy towards the Cardassian government.
ENDTEXT
CREATEUNIT
owner=Barbarians
unit=Terrorist Leaders
veteran=Yes
homecity=None
locations
61,71
63,75
61,73
63,77
endlocations
@ENDIF

@IF
TURN
turn=96
@THEN
CREATEUNIT
owner=Barbarians
unit=Terrorist Leaders
veteran=Yes
homecity=None
locations
62,78
61,79
61,81
63,81
endlocations
@ENDIF

@IF
TURN
turn=97
@THEN
CREATEUNIT
owner=Barbarians
unit=Terrorist Leaders
veteran=Yes
homecity=None
locations
61,71
63,75
61,73
63,77
endlocations
@ENDIF

@IF
TURN
turn=98
@THEN
CREATEUNIT
owner=Barbarians
unit=Terrorist Leaders
veteran=Yes
homecity=None
locations
62,78
61,79
61,81
63,81
endlocations
@ENDIF

@IF
TURN
turn=99
@THEN
CREATEUNIT
owner=Barbarians
unit=Terrorist Leaders
veteran=Yes
homecity=None
locations
61,71
63,75
61,73
63,77
endlocations
@ENDIF

@IF
TURN
turn=100
@THEN
CREATEUNIT
owner=Barbarians
unit=Terrorist Leaders
veteran=Yes
homecity=None
locations
62,78
61,79
61,81
63,81
endlocations
@ENDIF

@ENDEVENTS
  