@BEGINEVENTS

@IF
NEGOTIATION
talker=Californians
talkertype=Human
listener=Jebusland
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Californians
talkertype=Human
listener=Earth
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Californians
talkertype=Human
listener=Americans
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Californians
talkertype=Human
listener=Texans
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Jebusland
talkertype=Computer
listener=Californians
listenertype=Human
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Jebusland
talkertype=Computer
listener=Earth
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Jebusland
talkertype=Computer
listener=Americans
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Jebusland
talkertype=Computer
listener=Texans
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Earth
talkertype=Computer
listener=Californians
listenertype=Human
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Earth
talkertype=Computer
listener=Jebusland
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Earth
talkertype=Computer
listener=Americans
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Earth
talkertype=Computer
listener=Texans
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Americans
talkertype=Computer
listener=Californians
listenertype=Human
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Americans
talkertype=Computer
listener=Jebusland
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Americans
talkertype=Computer
listener=Earth
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Americans
talkertype=Computer
listener=Texans
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Texans
talkertype=Computer
listener=Californians
listenertype=Human
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Texans
talkertype=Computer
listener=Jebusland
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Texans
talkertype=Computer
listener=Earth
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Texans
talkertype=Computer
listener=Americans
listenertype=Computer
@THEN
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF


@IF
RECEIVEDTECHNOLOGY
technology=47
receiver=Californians
@THEN
TEXT
^^Pacifica, California-
^
^The latest success of Housing Poobah Barrington's
^Duct Tape not Red Tape initiative, the Fenwick Tower 
^has brought gadjillions of new housing units onto 
^the market overlooking the Pacific Ocean.
ENDTEXT
CREATEUNIT
unit=Fenwick Tower Top
owner=Earth
veteran=no
homecity=none
locations
9,37
endlocations
JUSTONCE
CHANGETERRAIN
terraintype=5
maprect
9,35,9,35,9,35,9,35
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=47
receiver=Californians
@THEN
CREATEUNIT
unit=Fenwick Tower
owner=Earth
veteran=no
homecity=none
locations
4,39
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=65
receiver=Californians
@THEN
TEXT
^^Richmond, California-
^
^Thousands attended in person and millions watched 
^via webcast the ribbon cutting at Rochdale III.  
^This giant city rises from the shallows of San Pablo Bay 
^and promises to house over a million residents in the 
^latest word in sustainable living.
ENDTEXT
JUSTONCE
CHANGETERRAIN
terraintype=5
maprect
29,23,27,25,29,27,31,25
@ENDIF

@IF
TURN
turn=125
@THEN
GIVETECHNOLOGY
receiver=Earth
technology=76
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Earth
@THEN
TEXT
^8.5 earthquake rocks the Hayward Fault!
^Bridges collapse throughout the Bay Area!
ENDTEXT
JUSTONCE
CREATEUNIT
unit=Bridge Out
owner=Jebusland
veteran=no
homecity=none
locations
14,28
15,29
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Earth
@THEN
JUSTONCE
CREATEUNIT
unit=Bridge Out
owner=Jebusland
veteran=no
homecity=none
locations
22,36
32,35
24,34
endlocations
@ENDIF


@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Earth
@THEN
JUSTONCE
CREATEUNIT
unit=Bridge Out
owner=Jebusland
veteran=no
homecity=none
locations
26,46
24,46
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Earth
@THEN
JUSTONCE
CREATEUNIT
unit=Bridge Out
owner=Jebusland
veteran=no
homecity=none
locations
29,51
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Earth
@THEN
JUSTONCE
CREATEUNIT
unit=Bridge Out
owner=Jebusland
veteran=no
homecity=none
locations
25,27
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Earth
@THEN
JUSTONCE
CREATEUNIT
unit=Bridge Out
owner=Jebusland
veteran=no
homecity=none
locations
37,25
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Earth
@THEN
JUSTONCE
CREATEUNIT
unit=Bridge Out
owner=Jebusland
veteran=no
homecity=none
locations
39,29
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Earth
@THEN
JUSTONCE
CREATEUNIT
unit=Bridge Out
owner=Jebusland
veteran=no
homecity=none
locations
54,34
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Earth
@THEN
TEXT
^Bridge repair teams dispatched.
ENDTEXT
JUSTONCE
CREATEUNIT
unit=Bridge Crew
owner=Californians
veteran=no
homecity=none
locations
77,79
89,77
70,0
endlocations
@ENDIF

@IF
UNITKILLED
unit=Bridge Crew
attacker=ANYBODY
defender=Californians
@THEN
TEXT
^Another repair team is on the way.
ENDTEXT
JUSTONCE
CREATEUNIT
unit=Bridge Crew
owner=Californians
veteran=no
homecity=none
locations
77,79
89,77
70,0
endlocations
@ENDIF

@IF
TURN
turn=2
@THEN
TEXT
^Diehard suburbanite NIMBYs take to the streets 
^to block new affordable housing construction!
ENDTEXT
CREATEUNIT
unit=NIMBY
owner=Jebusland
veteran=no
homecity=none
locations
16,34
16,36
16,38
17,35
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=NIMBY
attacker=ANYBODY
defender=Jebusland
@THEN
TEXT
Knowledge gained will aid in the placating of NIMBYs and BANANAs throughout the Bay
Area.
ENDTEXT
GIVETECHNOLOGY
receiver=Californians
technology=3
@ENDIF


@IF
TURN
turn=4
@THEN
TEXT
^^The red telephone rings.
^
^^"Jebusland tanks have broken through in the
^north.  We are falling back to Bodega Bay.
ENDTEXT
JUSTONCE
@ENDIF


@IF
TURN
turn=7
@THEN
TEXT
^Citizens welcome Rambo's arrival in Bodega Bay.
ENDTEXT
CREATEUNIT
unit=Rambo
owner=Californians
veteran=yes
homecity=none
locations
6,6
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=14
receiver=Californians
@THEN
TEXT
^Jebusland goons steal robot designs 
^and unleash the Governator G-1000!
ENDTEXT
CREATEUNIT
unit=Governator-1000
owner=Jebusland
veteran=no
homecity=none
locations
78,14
endlocations
JUSTONCE
@ENDIF

@IF
UNITKILLED
unit=Governator-1000
attacker=ANYBODY
defender=Jebusland
@THEN
TEXT
^Clean code is worth its weight in silicon.
ENDTEXT
GIVETECHNOLOGY
receiver=Californians
technology=16
@ENDIF



@IF
RECEIVEDTECHNOLOGY
technology=17
receiver=Californians
@THEN
TEXT
^Researchers demand a new UC campus to conduct 
^advanced studies in robotics.  Head Scientist 
^Polly Siffan favors the cool, overclocking-friendly 
^climate of Marin County.
ENDTEXT
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=33
receiver=Californians
@THEN
TEXT
^Freshman prank at UC Marin opening ceremonies 
^leads to the unwitting revival of G-1000 in
^football team trophy case.
^
^Ahnuld is back as the upgraded Governator G-X!
ENDTEXT
CREATEUNIT
unit=Governator G-X
owner=Jebusland
veteran=yes
homecity=none
locations
23,19
23,21
23,23
endlocations
JUSTONCE
CHANGETERRAIN
terraintype=7
maprect
24,22,24,22,24,22,24,22
@ENDIF

@IF
UNITKILLED
unit=Governator G-X
attacker=ANYBODY
defender=Jebusland
@THEN
TEXT
^Nerds report: With these parts from the G-X, 
^we'll be able to build some hella badass bots!
ENDTEXT
GIVETECHNOLOGY
receiver=Californians
technology=36
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=43
receiver=Californians
@THEN
JUSTONCE
TEXT
^Jebusland is not taking well to our latest
^peace love and happinness campaign!
^
^In addition, teh Conan has been released
^from teh Wheel of Pain into the hills!
ENDTEXT
DESTROYACIVILIZATION
whom=Americans
CREATEUNIT
unit=Conan
owner=Jebusland
veteran=no
homecity=none
locations
15,45
15,47
16,52
endlocations
@ENDIF

@IF
UNITKILLED
unit=Conan
attacker=Californians
defender=Jebusland
@THEN
TEXT
^He's back.
ENDTEXT
CREATEUNIT
unit=Ahnuld
owner=Jebusland
veteran=no
homecity=none
locations
15,45
15,47
16,52
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ahnuld
attacker=Californians
defender=Jebusland
@THEN
TEXT
^500 million in bodybuilding sponsorship money seized.
ENDTEXT
CHANGEMONEY
receiver=Californians
amount=500
@ENDIF


@IF
CITYTAKEN
city=Redwood City
attacker=Californians
defender=ANYBODY
@THEN
TEXT
^ALL YOUR SERVER ARE BELONG TO US  
^ 
^FOR GREAT JUSTICE ZOMFGBBQELEVEN
ENDTEXT
CHANGEMONEY
receiver=Californians
amount=100
JUSTONCE
GIVETECHNOLOGY
receiver=Californians
technology=12
@ENDIF

@IF
CITYTAKEN
city=Milpitas
attacker=Californians
defender=ANYBODY
@THEN
TEXT
^The Great Mall of Milpitas has been liberated!
^
^800 million of consumer goods fenced.
ENDTEXT
CHANGEMONEY
receiver=Californians
amount=800
@ENDIF


@IF
CITYTAKEN
city=Livermore
attacker=Californians
defender=ANYBODY
@THEN
TEXT
^"Cloyne, would you like the good news or the bad news?"
^
^"I'd like both, thank you."
^
^"It is a great day for SCIENCE! with the liberation 
^of the Lawrence Livermore National Lab.  A crack 
^team of hacker ninjas secured atomic secrets sought 
^by our fuel cell researchers.
^
^It is a bad day for PEACE! as the Reverends of
^Southern California and Utavada have ordered their
^forces into war."
ENDTEXT
JUSTONCE
DESTROYACIVILIZATION
whom=Texans
GIVETECHNOLOGY
receiver=Californians
technology=27
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=57
receiver=Californians
@THEN
TEXT
^Aquarius shines bright in the evening sky.
^What do you suppose this means, Ashby?
^
^I think it may be telling us something
^about our search for the meaning of life.
^If this is indeed the start of the
^Aquarian Age, us water signs ought to
^go look for some water.
ENDTEXT
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Tesla Portal
attacker=Californians
defender=ANYBODY
@THEN
TEXT
^Meaning of Life discovered in old water tunnels.
^It's a lot more than 42.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Californians
technology=69
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=38
receiver=Californians
@THEN
TEXT
^BREAKING-
^Jebusland declares a second War on Drugs.
^Air Force has been mobilized.
ENDTEXT
GIVETECHNOLOGY
receiver=Jebusland
technology=91
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=91
receiver=Jebusland
@THEN
CREATEUNIT
unit=Jet
owner=Jebusland
veteran=yes
homecity=none
locations
85,3
endlocations
@ENDIF




@IF
RECEIVEDTECHNOLOGY
technology=80
receiver=Californians
@THEN
TEXT
^Jebusland corporate exploitation have created Hell on Earth.
^Along with it has come a new Satan.
^
^Breaking loose in South Bay swamps, this missile launching
^skyscraper with goat legs is on the rampage.  
^Where's the BFG when you need it?
^
^----------------------------------------------
^Memorandum from our scientists
^
^Um, yeah.  This ain't Mars and we don't have
^BFG9000s don't exist in real life.  In fact
^we don't recommend directly engaging the
^Cyberdemon.
^
^Instead, we suspect that the Cyberdemon is being
^controlled by masterminds inside the Dark Tower
^of Sacreth Mental.  Destroying the Tower ought
^to drain the demon of its energy.
^
^  Peace, Love, and Victory
^     - Lawrence Berkeley Laboratory
^       Occult Biology Group
ENDTEXT
JUSTONCE
CREATEUNIT
unit=Cyberdemon
owner=Jebusland
veteran=no
homecity=none
locations
32,52
33,53
33,55
31,49
endlocations
@ENDIF

@IF
UNITKILLED
unit=Dark Tower
attacker=Californians
defender=Jebusland
@THEN
TEXT
^Mama said not to make pacts with the Devil.
ENDTEXT
GIVETECHNOLOGY
receiver=Jebusland
technology=95
CHANGETERRAIN
terraintype=1
maprect
83,13,83,13,83,13,83,13
@ENDIF

@IF
UNITKILLED
unit=Cyberdemon
attacker=Californians
defender=Jebusland
@THEN
TEXT
Dude, lay back on the cocaine already!
ENDTEXT
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Californians
@THEN
TEXT
^The first black helicopter lands at United Nations Plaza.
^
^More are ready for deployment once an airbase has been secured.
ENDTEXT
CREATEUNIT
unit=Black Helicopter
owner=Californians
veteran=yes
homecity=none
locations
20,36
endlocations
JUSTONCE
@ENDIF



@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Californians
@THEN
CREATEUNIT
unit=Black Helicopter
owner=Californians
veteran=no
homecity=none
locations
85,3
endlocations
@ENDIF

@IF
CITYTAKEN
city=Sacramento
attacker=Californians
defender=ANYBODY
@THEN
JUSTONCE
TEXT
^FEMA declares state of emergency while
^armored VW microbuses roll down the streets
^of Sacramento.  
^
^Clerics declare a Crusade against Liberalism!
^
^----------------
^MEMORANDUM
^
^It's all hella bad down here!
^Columns of Mammoth Tanks are rolling in from
^the other side of the Sierra Nevadas!
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Jebusland
technology=92
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=92
receiver=Jebusland
@THEN
CREATEUNIT
unit=Mammoth Tank
owner=Jebusland
veteran=no
homecity=none
locations
88,10
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=92
receiver=Jebusland
@THEN
CREATEUNIT
unit=Mammoth Tank
owner=Jebusland
veteran=no
homecity=none
locations
87,61
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=92
receiver=Jebusland
@THEN
CREATEUNIT
unit=Mammoth Tank
owner=Jebusland
veteran=no
homecity=none
locations
87,75
endlocations
@ENDIF


@IF
CITYTAKEN
city=West Butte
attacker=Californians
defender=ANYBODY
@THEN
JUSTONCE
TEXT
^CLASSIFIED TOP SECRET
^------------------------
^Thanks for getting us the hookup
^on those crystals!  You rock!
^
^           -nerd420
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Californians
technology=64
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=64
receiver=Californians
@THEN
JUSTONCE
TEXT
^burnx0r!
^           -jebus_is_root
ENDTEXT
GIVETECHNOLOGY
receiver=Jebusland
technology=93
CHANGEMONEY
receiver=Jebusland
amount=5000
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=93
receiver=Jebusland
@THEN
CREATEUNIT
unit=Battleship
owner=Jebusland
veteran=no
homecity=none
locations
77,51
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=93
receiver=Jebusland
@THEN
CREATEUNIT
unit=Mammoth Tank
owner=Jebusland
veteran=no
homecity=none
locations
87,35
endlocations
@ENDIF

@IF
UNITKILLED
unit=Emperor Bush II
attacker=Californians
defender=Jebusland
@THEN
TEXT
^Thousands perish as Jebusland
^faith based defense system malfunctions.
ENDTEXT
CHANGETERRAIN
terraintype=10
maprect
87,35,87,35,87,35,87,35
@ENDIF

@IF
UNITKILLED
unit=Tank
attacker=Californians
defender=Jebusland
@THEN
CREATEUNIT
unit=Peace Mobile
owner=Californians
veteran=yes
homecity=Fremont
locations
36,52
endlocations
@ENDIF

@IF
UNITKILLED
unit=Cheech Wizard
attacker=Californians
defender=ANYBODY
@THEN
JUSTONCE
CREATEUNIT
unit=Cheech Wizard
owner=Californians
veteran=yes
homecity=none
locations
51,69
endlocations
@ENDIF

@IF
UNITKILLED
unit=Cheech Wizard
attacker=ANYBODY
defender=Californians
@THEN
JUSTONCE
GIVETECHNOLOGY
receiver=Californians
technology=94
@ENDIF

@IF
RANDOMTURN
denominator=2
@THEN
CREATEUNIT
unit=Mad Cow
owner=Jebusland
veteran=no
homecity=None
locations
65,9
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=2
@THEN
CREATEUNIT
unit=Mammoth Tank
owner=Jebusland
veteran=no
homecity=None
locations
78,14
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=3
@THEN
CREATEUNIT
unit=Tree
owner=Californians
veteran=no
homecity=None
locations
10,22
endlocations
@ENDIF

@IF
UNITKILLED
unit=Cloyne Lvl 1
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Cloyne Lvl 1
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Cloyne Lvl 2
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Cloyne Lvl 2
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Cloyne Lvl 3
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Cloyne Lvl 3
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Cloyne Lvl 4
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Cloyne Lvl 4
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Cloyne Lvl 5
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Cloyne Lvl 5
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Cloyne Lvl 6
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Cloyne Lvl 6
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ashby Lvl 1
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Ashby Lvl 1
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ashby Lvl 2
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Ashby Lvl 2
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ashby Lvl 3
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Ashby Lvl 3
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ashby Lvl 4
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Ashby Lvl 4
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ashby Lvl 5
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Ashby Lvl 5
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@IF
UNITKILLED
unit=Ashby Lvl 6
attacker=Jebusland
defender=Californians
@THEN
CREATEUNIT
unit=Ashby Lvl 6
owner=Californians
veteran=no
homecity=none
locations
20,36
16,32
6,6
endlocations
@ENDIF

@ENDEVENTS
