;
; Events text for Desert World Scenario
; Content Copyright(c) 1998, Dick Knisely
; File Format Copyright(c) 1996, MicroProse Studios Inc.
;
; Version 6.2 4/07/98 For Beta, removed debug text and removed Civ debug
; Fix problem with money events.
; Make wave files local so they work and change usage here.

@BEGINEVENTS
 
//@DEBUG

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
19
DONTPLAYWONDERS
@ENDIF

@IF
NOSCHISM
DEFENDER=anybody 
@THEN
@ENDIF

@IF
TURN
turn=1
@THEN
PLAYWAVEFILE
storm.wav
TEXT
^^Welcome to "Islands in The Sand".
^ 
^^The Earth as it might have been.
^ 
^^Enjoy your stay!
^ 
ENDTEXT
@ENDIF

@IF
RANDOMTURN
denominator=45
@THEN
CREATEUNIT
unit=Giant Snake
owner=barbarians
veteran=no
homecity=none
locations
132,32
134,32
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=43
@THEN
CREATEUNIT
unit=Giant Snake
owner=barbarians
veteran=no
homecity=none
locations
134,32
132,32
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=39
@THEN
CREATEUNIT
unit=Giant Snake
owner=barbarians
veteran=no
homecity=none
locations
37,31
39,33
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=31
@THEN
CREATEUNIT
unit=Giant Snake
owner=barbarians
veteran=no
homecity=none
locations
39,33
37,31
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=35
@THEN
CREATEUNIT
unit=Giant Snake
owner=barbarians
veteran=no
homecity=none
locations
81,79
85,73
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=43
@THEN
CREATEUNIT
unit=Giant Snake
owner=barbarians
veteran=no
homecity=none
locations
79,73
77,73
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=49
@THEN
CREATEUNIT
unit=Giant Snake
owner=barbarians
veteran=no
homecity=none
locations
81,103
82,110
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=29
@THEN
CREATEUNIT
unit=Lizard
owner=barbarians
veteran=no
homecity=none
locations
115,59
116,60
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=25
@THEN
CREATEUNIT
unit=Lizard
owner=barbarians
veteran=no
homecity=none
locations
120,24
122,24
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=25
@THEN
CREATEUNIT
unit=Lizard
owner=barbarians
veteran=no
homecity=none
locations
122,24
120,24
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=32
@THEN
CREATEUNIT
unit=Lizard
owner=barbarians
veteran=no
homecity=none
locations
32,10
32,12
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=35
@THEN
CREATEUNIT
unit=Lizard
owner=barbarians
veteran=no
homecity=none
locations
51,45
57,43
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=47
@THEN
CREATEUNIT
unit=Lizard
owner=barbarians
veteran=no
homecity=none
locations
94,92
94,86
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=27
@THEN
CREATEUNIT
unit=Lizard
owner=barbarians
veteran=no
homecity=none
locations
55,41
56,40
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=50
@THEN
PLAYWAVEFILE
storm.wav
CREATEUNIT
unit=Storm
owner=barbarians
veteran=no
homecity=none
locations
100,42
99,45
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=60
@THEN
PLAYWAVEFILE
storm.wav
CREATEUNIT
unit=Storm
owner=barbarians
veteran=no
homecity=none
locations
34,18
33,23
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=49
@THEN
PLAYWAVEFILE
storm.wav
CREATEUNIT
unit=Storm
owner=barbarians
veteran=no
homecity=none
locations
17,75
77,69
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ruins
attacker=ANYBODY
defender=ANYBODY
@THEN
JUSTONCE
TEXT
^^Capital City Journal
^^
^^Lost City Found
^
^Great news! The Journal has learned that an expedition
^into a remote part of the deep desert has discovered the 
^remains of an ancient city.  In the ruins was discovered
^a great treasure!
ENDTEXT
PLAYWAVEFILE
fanfare.wav
@ENDIF

@IF
UNITKILLED
unit=Ruins
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
^Treasure in ruins found.
ENDTEXT
PLAYWAVEFILE
money.wav
CREATEUNIT
unit=Giant Snake
owner=barbarians
veteran=no
homecity=none
locations
79,73
77,73
endlocations
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=500
@ENDIF

@IF
UNITKILLED
unit=Special
attacker=ANYBODY
defender=ANYBODY
@THEN
JUSTONCE
TEXT
^^Capital City Journal
^^
^^Treasure Found in Mystery Ruin
^
^The Journal has learned that an expedition into the desert
^discovered a mysterious group of ruins.  The group believed
^them to be the remains of an ancient temple.  Among the 
^artifacts recovered were several valuable silver artifacts.
ENDTEXT
PLAYWAVEFILE
fanfare7.wav
@ENDIF

@IF
UNITKILLED
unit=Special
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
^Desert treasure is found.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=250
PLAYWAVEFILE
money.wav
@ENDIF

@IF
UNITKILLED
unit=Giant Snake
attacker=ANYBODY
defender=ANYBODY
@THEN
JUSTONCE
TEXT
^^Capital City Journal
^^
^^Desert Serpent Slain
^
^In an exclusive interview, the Journal has learned that 
^a great monster of the desert was destroyed in a remote
^part of the deep desert.  The enormous, venomous snake is
^said to have been more than 20 feet in length!  Both the
^scaly hide and the monster's fangs are said to have been 
^brought back.  These are expected to bring a handsome
^profit for the brave group.
ENDTEXT
PLAYWAVEFILE
fanfare.wav
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=250
@ENDIF

@IF
UNITKILLED
unit=Lizard
attacker=ANYBODY
defender=ANYBODY
@THEN
JUSTONCE
TEXT
^^Capital City Journal
^^
^^Desert Monster Slain
^
^In an exclusive interview, the Journal has learned that 
^a great monster of the desert was destroyed in a remote
^part of the deep desert.  The Giant Sand Lizard is
^said to have been more than 25 feet in length!  An 
^exhibition of the remarkable creature is expected
^to bring a handsome profit for the brave group.
ENDTEXT
CHANGEMONEY
receiver=TRIGGERATTACKER
amount=250
PLAYWAVEFILE
cheers1.wav
@ENDIF

@ENDEVENTS
