;Events text for Star Trek Scenario
:Project Began 8/13/98
;Project Finished 10/04/98
; Created by Chris K.

@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
TEXT
^In 2369, the Borg came. The Federation steped up production on the
^U.S.S.Enterprise and now it's done.
^"The end is near, the Borg are here!!"
^A Borg ship is entering our Territory!!!!!! Run!!!
ENDTEXT
@ENDIF

@IF
NEGOTIATION
talker=anybody
talkertype=humanorcomputer
listener=borg
listenertype=humanorcomputer
@ENDIF

@IF
NEGOTIATION
talker=borg
talkertype=humanorcomputer
listener=anybody
listenertype=humanorcomputer
@ENDIF

@IF
TURN
turn=2
@THEN
TEXT
^Let's go cruis'n, watch out there's been alot of
^Maque spotings
ENDTEXT
PLAYWAVEFILE
tngintro.wav
@ENDIF

@IF
TURN
turn=3
@THEN
TEXT
^Reports confirm:
^The Borg have begun thier invasion!!!!
ENDTEXT
PLAYWAVEFILE
weborg.wav
@ENDIF

@IF
TURN
turn=3
@THEN
PLAYWAVEFILE
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
TURN
turn=5
@THEN
TEXT
^The Federation begs of Lt.Comdr.Data to assist in the research of creating
Androids, but Data knows should they achieve the knowledge of creating 
androids they would become slaves. Still, Data has put it under
consideration.
ENDTEXT
PLAYWAVFILE
notgood.wav
@ENDIF

@IF
TURN
turn=50
@THEN
TEXT
^To the Borg from the Queen: Why haven't you conqured 
the LOWER LIFEFORMS yet??
ENDTEXT
PLAYWAVEFILE
weborg.wav
@ENDIF

@IF
DONTPLAYWONDERS
@THEN
@ENDIF

@IF
UNITKILLED
unit=Data
attacker=anybody
defender=anybody
@THEN
TEXT 
^Data is destroyed in the battle.  Remaining parts are scraped.
There is NO hope of rebuilding him.
ENDTEXT
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
TURN
turn=10
@THEN
TEXT
^Data has decided to release information about androids. 
ENDTEXT
PLAYWAVEFILE
wewon.wav
@ENDIF

@IF
UNITKILLED
unit=Enterprise
attacker=anybody
defender=anybody
@THEN
TEXT 
^The Federation Flagship,Enterprise, is destroyed in the battle.  
Remaining parts are scraped.
ENDTEXT
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
UNITKILLED
unit=Defiant
attacker=anybody
defender=anybody
@THEN
TEXT 
^The Federation Warship, Defiant, is destroyed in the battle.  
Remaining parts are scraped.
ENDTEXT
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
UNITKILLED
unit=Voyager
attacker=anybody
defender=anybody
@THEN
TEXT 
^The Federation Expirimental ship, Voyager, is destroyed in the battle.  
Remaining parts are scraped.
ENDTEXT
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
UNITKILLED
unit=Reklar
attacker=anybody
defender=anybody
@THEN
TEXT 
^The Cardassian Flagship, Reklar, is destroyed in the battle.  
Remaining parts are scraped.
ENDTEXT
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
UNITKILLED
unit=Barruc
attacker=anybody
defender=anybody
@THEN
TEXT 
^The Klingon Flagship, Barruc, is destroyed in the battle.  
Remaining parts are scraped.
ENDTEXT
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
UNITKILLED
unit=Warbird Terix
attacker=anybody
defender=anybody
@THEN
TEXT 
^The Romulan Flagship, Terix, is destroyed in the battle.  
Remaining parts are scraped.
ENDTEXT
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
UNITKILLED
unit=Gem.Drednuagt
attacker=anybody
defender=anybody
@THEN
TEXT 
^The Dominion Flagship is destroyed in the battle.  
Remaining parts are scraped.
ENDTEXT
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
UNITKILLED
unit=Picard
attacker=anybody
defender=anybody
@THEN
TEXT 
^Picard is Dies in the battle.
ENDTEXT
PLAYWAVEFILE
welost.wav
@ENDIF

@IF
UNITKILLED
unit=Borg Cube
attacker=anybody
defender=anybody
@THEN
TEXT 
^A Victory for the goodguys, 1 Cube Down!!! :)
ENDTEXT
PLAYWAVEFILE
wewon.wav
@ENDIF


@ENDEVENTS