@BEGINEVENTS
;@DEBUG

@IF
TURN
turn=6
@THEN
TEXT
To destroy French Colonial agriculture, FLN leaders order Muslims
to give up smoking and alcohol on pain of mutilation or death.
ENDTEXT
GIVETECHNOLOGY
receiver=Wilaya 5 Rebels
technology=99
@ENDIF

@IF
TURN
turn=10
@THEN
TEXT
Colons (European residents) retaliate against Muslim atrocities with atrocities
of their own. This turns Muslim public opinion even more against French.
ENDTEXT
GIVETECHNOLOGY
receiver=Wilaya 5 Rebels
technology=98
@ENDIF

@IF
TURN
turn=17
@THEN
TEXT
Morocco and Tunisia achieve independence from France and decide to assist the FLN.
ENDTEXT
GIVETECHNOLOGY
receiver=Wilaya 1 Rebels
technology=97
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 1 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
57,39
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=17
@THEN
GIVETECHNOLOGY
receiver=Wilaya 2 Rebels
technology=97
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 2 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
58,14
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=17
@THEN
GIVETECHNOLOGY
receiver=Wilaya 3 Rebels
technology=97
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 3 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
41,27
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=17
@THEN
GIVETECHNOLOGY
receiver=Wilaya 4 Rebels
technology=97
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 4 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
21,27
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=17
@THEN
GIVETECHNOLOGY
receiver=Wilaya 5 Rebels
technology=97
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 5 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
3,71
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=17
@THEN
GIVETECHNOLOGY
receiver=Wilaya 6 Rebels
technology=97
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 6 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
27,47
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=25
@THEN
TEXT
Britain and France land troops in the Suez Canal Zone.
An Angry Egyptian President Nasser promises aid to the Algerian rebels.
ENDTEXT
GIVETECHNOLOGY
receiver=Wilaya 1 Rebels
technology=96
@ENDIF

@IF
TURN
turn=25
@THEN
GIVETECHNOLOGY
receiver=Wilaya 2 Rebels
technology=96
@ENDIF

@IF
TURN
turn=25
@THEN
GIVETECHNOLOGY
receiver=Wilaya 3 Rebels
technology=96
@ENDIF

@IF
TURN
turn=25
@THEN
GIVETECHNOLOGY
receiver=Wilaya 4 Rebels
technology=96
@ENDIF

@IF
TURN
turn=25
@THEN
GIVETECHNOLOGY
receiver=Wilaya 5 Rebels
technology=96
@ENDIF

@IF
TURN
turn=25
@THEN
GIVETECHNOLOGY
receiver=Wilaya 6 Rebels
technology=96
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Wilaya 1 Rebels
technology=96
@THEN
CHANGEMONEY
AMOUNT=10
receiver=Wilaya 1 Rebels
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Wilaya 2 Rebels
technology=96
@THEN
CHANGEMONEY
AMOUNT=10
receiver=Wilaya 2 Rebels
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Wilaya 3 Rebels
technology=96
@THEN
CHANGEMONEY
AMOUNT=10
receiver=Wilaya 3 Rebels
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Wilaya 4 Rebels
technology=96
@THEN
CHANGEMONEY
AMOUNT=10
receiver=Wilaya 4 Rebels
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Wilaya 5 Rebels
technology=96
@THEN
CHANGEMONEY
AMOUNT=10
receiver=Wilaya 5 Rebels
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Wilaya 6 Rebels
technology=96
@THEN
CHANGEMONEY
AMOUNT=10
receiver=Wilaya 6 Rebels
@ENDIF

@IF
TURN
turn=26
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 1 Rebels
VETERAN=True
HOMECITY=none
LOCATIONS
57,39
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=26
@THEN
receiver=Wilaya 2 Rebels
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 2 Rebels
VETERAN=True
HOMECITY=none
LOCATIONS
58,14
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=26
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 3 Rebels
VETERAN=True
HOMECITY=none
LOCATIONS
41,27
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=26
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 4 Rebels
VETERAN=True
HOMECITY=none
LOCATIONS
21,27
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=26
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 5 Rebels
VETERAN=True
HOMECITY=none
LOCATIONS
3,71
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=26
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 6 Rebels
VETERAN=True
HOMECITY=none
LOCATIONS
27,47
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=43
@THEN
TEXT
Colons in Algiers riot, demanding the return of Gen. Charles De Gaulle to power.
ENDTEXT
CHANGEMONEY
receiver=Frenchmen
amount=-500
@ENDIF

@IF
TURN
turn=43
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
30,12
30,14
30,16
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=43
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
29,13
29,15
29,17
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=43
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
28,14
28,16
28,18
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=43
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
27,13
27,15
27,17
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=44
@THEN
TEXT
^The Algiers riots bring down the Fourth Republic.
^Gen. De Gaulle comes out of retirement to head the Fifth Republic.
ENDTEXT
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Frenchmen
technology=95
@THEN
JUSTONCE
TEXT
The first troops committed to the Challe Plan arrive in Algeria.
ENDTEXT
CREATEUNIT
UNIT=B26 Invader
OWNER=Frenchmen
VETERAN=True
HOMECITY=NONE
LOCATIONS
28,12
7,27
7,35
46,16
ENDLOCATIONS
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Frenchmen
technology=95
@THEN
JUSTONCE
@THEN
CREATEUNIT
UNIT=Paras
OWNER=Frenchmen
VETERAN=True
HOMECITY=NONE
LOCATIONS
28,12
7,27
7,35
46,16
ENDLOCATIONS
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Frenchmen
technology=95
@THEN
JUSTONCE
@THEN
CREATEUNIT
UNIT=Engineers
OWNER=Frenchmen
VETERAN=True
HOMECITY=NONE
LOCATIONS
28,12
7,27
7,35
46,16
ENDLOCATIONS
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Frenchmen
technology=95
@THEN
JUSTONCE
@THEN
CREATEUNIT
UNIT=B26 Invader
OWNER=Frenchmen
VETERAN=True
HOMECITY=NONE
LOCATIONS
28,12
7,27
7,35
46,16
ENDLOCATIONS
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Frenchmen
technology=95
@THEN
JUSTONCE
@THEN
CREATEUNIT
UNIT=Paras
OWNER=Frenchmen
VETERAN=True
HOMECITY=NONE
LOCATIONS
28,12
7,27
7,35
46,16
ENDLOCATIONS
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Frenchmen
technology=95
@THEN
JUSTONCE
@THEN
CREATEUNIT
UNIT=Engineers
OWNER=Frenchmen
VETERAN=True
HOMECITY=NONE
LOCATIONS
28,12
7,27
7,35
46,16
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=63
@THEN
TEXT
^More Colon riots happen in Algiers.
^The Colons are disappointed with De Gaulle.
ENDTEXT
CHANGEMONEY
receiver=Frenchmen
amount=-500
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
30,12
30,14
30,16
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
29,13
29,15
29,17
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
28,14
28,16
28,18
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=63
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
27,13
27,15
27,17
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=78
@THEN
TEXT
^Disgruntled Army officers attempt a coup near Algiers.
^Gen. Challe is among the ringleaders!
ENDTEXT
@ENDIF

@IF
TURN
turn=78
@THEN
CREATEUNIT
UNIT=Centurions
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
30,12
30,14
30,16
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=78
@THEN
CREATEUNIT
UNIT=Centurions
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
29,13
29,15
29,17
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=78
@THEN
CREATEUNIT
UNIT=Centurions
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
28,14
28,16
28,18
ENDLOCATIONS
@ENDIF

@IF
TURN
turn=78
@THEN
CREATEUNIT
UNIT=Centurions
OWNER=Barbarians
VETERAN=true
HOMECITY=none
LOCATIONS
27,13
27,15
27,17
ENDLOCATIONS
@ENDIF

@IF
NEGOTIATION
talker=Frenchmen
talkertype=HumanorComputer
listener=Anybody
listenertype=Computer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Anybody
talkertype=Computer
listener=Frenchmen
listenertype=HumanorComputer
@THEN
@ENDIF

@IF
UNITKILLED
Unit=Caid
Defender=Frenchmen
Attacker=Anybody
@THEN
JUSTONCE
TEXT
The rebels sieze weapons and arm guerilla fighters in the first successful rebel raid
ENDTEXT
@ENDIF

@IF
UNITKILLED
Unit=Caid
Defender=Frenchmen
Attacker=Wilaya 1 Rebels
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Wilaya 1 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
57,39
ENDLOCATIONS
@ENDIF

@IF
UNITKILLED
Unit=Caid
Defender=Frenchmen
Attacker=Wilaya 2 Rebels
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Wilaya 2 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
58,14
ENDLOCATIONS
@ENDIF

@IF
UNITKILLED
Unit=Caid
Defender=Frenchmen
Attacker=Wilaya 3 Rebels
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Wilaya 3 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
41,27
ENDLOCATIONS
@ENDIF

@IF
UNITKILLED
Unit=Caid
Defender=Frenchmen
Attacker=Wilaya 4 Rebels
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Wilaya 4 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
21,27
ENDLOCATIONS
@ENDIF

@IF
UNITKILLED
Unit=Caid
Defender=Frenchmen
Attacker=Wilaya 5 Rebels
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Wilaya 5 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
3,71
ENDLOCATIONS
@ENDIF

@IF
UNITKILLED
Unit=Caid
Defender=Frenchmen
Attacker=Wilaya 6 Rebels
@THEN
CREATEUNIT
UNIT=Guerillas
OWNER=Wilaya 6 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
27,47
ENDLOCATIONS
@ENDIF

@IF
UNITKILLED
Unit=Freight
Defender=Frenchmen
Attacker=Anybody
@THEN
JUSTONCE
TEXT
The rebels hijack a freight for the first time and convert the cargo to cash.
ENDTEXT
@ENDIF

@IF
UNITKILLED
Unit=Freight
Defender=Frenchmen
Attacker=Wilaya 1 Rebels
@THEN
CHANGEMONEY
AMOUNT=50
receiver=Wilaya 1 Rebels
@ENDIF

@IF
UNITKILLED
Unit=Freight
Defender=Frenchmen
Attacker=Wilaya 2 Rebels
@THEN
CHANGEMONEY
AMOUNT=50
receiver=Wilaya 2 Rebels
@ENDIF

@IF
UNITKILLED
Unit=Freight
Defender=Frenchmen
Attacker=Wilaya 3 Rebels
@THEN
CHANGEMONEY
AMOUNT=50
receiver=Wilaya 3 Rebels
@ENDIF

@IF
UNITKILLED
Unit=Freight
Defender=Frenchmen
Attacker=Wilaya 4 Rebels
@THEN
CHANGEMONEY
AMOUNT=50
receiver=Wilaya 4 Rebels
@ENDIF

@IF
RECEIVEDTECHNOLOGY
receiver=Frenchmen
technology=91
@THEN
JUSTONCE
GIVETECHNOLOGY
receiver=Frenchmen
technology=77
receiver=Frenchmen
@ENDIF

@IF
UNITKILLED
Unit=Freight
Defender=Frenchmen
Attacker=Wilaya 5 Rebels
@THEN
CHANGEMONEY
AMOUNT=50
receiver=Wilaya 5 Rebels
@ENDIF

@IF
UNITKILLED
Unit=Freight
Defender=Frenchmen
Attacker=Wilaya 6 Rebels
@THEN
CHANGEMONEY
AMOUNT=50
receiver=Wilaya 6 Rebels
@ENDIF

@IF
UNITKILLED
Unit=Battleship
Defender=Frenchmen
Attacker=Anybody
@THEN
JUSTONCE
CREATEUNIT
UNIT=Battleship
OWNER=Frenchmen
VETERAN=False
HOMECITY=Oran
LOCATIONS
2,2
1,1
0,0
ENDLOCATIONS
@ENDIF

@IF
UNITKILLED
Unit=Cruiser
Defender=Frenchmen
Attacker=Anybody
@THEN
JUSTONCE
CREATEUNIT
UNIT=Cruiser
OWNER=Frenchmen
VETERAN=False
HOMECITY=Oran
LOCATIONS
2,2
1,1
0,0
ENDLOCATIONS
@ENDIF

@IF
UNITKILLED
Unit=Conscripts
Defender=Frenchmen
Attacker=Anybody
@THEN
JUSTONCE
TEXT
First conscript casualties excite French public opinion against the war.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Sidi-Bel-Abbès
defender=Frenchmen
attacker=Anybody
@THEN
TEXT
With the fall of Sidi-Bel-Abbès, Foreign Legion recruitment has been halted.
ENDTEXT
@END

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Legionnaires
OWNER=Frenchmen
VETERAN=True
HOMECITY=Sidi-Bel-Abbès
LOCATIONS
7,35
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Engineers
OWNER=Frenchmen
VETERAN=True
HOMECITY=None
LOCATIONS
28,12
7,27
7,35
46,16
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 1 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
57,39
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 2 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
58,14
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 3 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
41,27
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 4 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
21,27
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 5 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
3,71
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Rebel Leader
OWNER=Wilaya 6 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
27,47
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 1 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
57,39
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 2 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
58,14
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 3 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
41,27
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 4 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
21,27
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 5 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
3,71
ENDLOCATIONS
@ENDIF

@IF
RANDOMTURN
denominator=12
@THEN
CREATEUNIT
UNIT=Commandos
OWNER=Wilaya 6 Rebels
VETERAN=False
HOMECITY=none
LOCATIONS
27,47
ENDLOCATIONS
@ENDIF
@ENDEVENTS
