@BEGINEVENTS

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Protestants
@THEN
TEXT
A mercenary army has been hired by Protestants princes.
ENDTEXT
CREATEUNIT
unit=Ind Musketeers
owner=Protestants
veteran=yes
homecity=None
locations
60,78
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Protestants
@THEN
CREATEUNIT
unit=Ind Pikemen
owner=Protestants
veteran=yes
homecity=None
locations
60,78
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Protestants
@THEN
CREATEUNIT
unit=Ind Musketeers
owner=Protestants
veteran=yes
homecity=None
locations
60,78
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Protestants
@THEN
CREATEUNIT
unit=Ind Commander
owner=Protestants
veteran=yes
homecity=None
locations
60,78
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Protestants
@THEN
CREATEUNIT
unit=Cannon
owner=Protestants
veteran=yes
homecity=None
locations
60,78
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Swedish
@THEN
TEXT
Swedish regular troops have arrived to Germany from the mother country to help in
campaigns against the Imperials.
ENDTEXT
CREATEUNIT
unit=Swd Musketeers
owner=Swedish
veteran=yes
homecity=None
locations
59,73
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Swedish
@THEN
CREATEUNIT
unit=Swd Pikemen
owner=Swedish
veteran=yes
homecity=None
locations
59,73
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Swedish
@THEN
CREATEUNIT
unit=Swd Dragoons
owner=Swedish
veteran=yes
homecity=None
locations
59,73
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Swedish
@THEN
CREATEUNIT
unit=Swd Pikemen
owner=Swedish
veteran=yes
homecity=None
locations
59,73
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Swedish
@THEN
CREATEUNIT
unit=Swd Commander
owner=Swedish
veteran=yes
homecity=None
locations
59,73
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=Swedish
@THEN
CREATEUNIT
unit=Cannon
owner=Swedish
veteran=yes
homecity=None
locations
59,73
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=French
@THEN
TEXT
France has hired a mercenary army for its war against the Habsburgs.
ENDTEXT
CREATEUNIT
unit=Ind Musketeers
owner=French
veteran=yes
homecity=None
locations
36,94
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=French
@THEN
CREATEUNIT
unit=Ind Musketeers
owner=French
veteran=yes
homecity=None
locations
36,94
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=French
@THEN
CREATEUNIT
unit=Ind Musketeers
owner=French
veteran=yes
homecity=None
locations
36,94
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=French
@THEN
CREATEUNIT
unit=Ind Pikemen
owner=French
veteran=yes
homecity=None
locations
36,94
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=French
@THEN
CREATEUNIT
unit=Ind Pikemen
owner=French
veteran=yes
homecity=None
locations
36,94
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=French
@THEN
CREATEUNIT
unit=Ind Commander
owner=French
veteran=yes
homecity=None
locations
36,94
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=52
receiver=French
@THEN
CREATEUNIT
unit=Cannon
owner=French
veteran=yes
homecity=None
locations
36,94
endlocations
JUSTONCE
@ENDIF

@IF
RANDOMTURN
denominator=4
@THEN
CREATEUNIT
unit=Ottomans
owner=Independents
veteran=yes
homecity=None
locations
84,114
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Cossacks
owner=Independents
veteran=yes
homecity=None
locations
99,89
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=4
@THEN
CREATEUNIT
unit=Cossacks
owner=Independents
veteran=yes
homecity=None
locations
94,60
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=7
@THEN
CREATEUNIT
unit=Cossacks
owner=Independents
veteran=yes
homecity=None
locations
102,58
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=5
@THEN
CREATEUNIT
unit=Ottomans
owner=Independents
veteran=yes
homecity=None
locations
20,176
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=15
@THEN
CREATEUNIT
unit=Swd Dragoons
owner=Swedish
veteran=yes
homecity=None
locations
58,68
endlocations
@ENDIF

@IF
TURN
turn=297
@THEN
TEXT
SAVE THE GAME AS 30YW.SAV AND INSTALL THE FINAL PHASE OF
THE WAR.
ENDTEXT
@ENDIF

@IF
NEGOTIATION
talker=Swedish
talkertype=HumanOrComputer
listener=Imperials
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Imperials
talkertype=HumanOrComputer
listener=Swedish
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=French
talkertype=HumanOrComputer
listener=Spanish
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Spanish
talkertype=HumanOrComputer
listener=French
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=French
talkertype=HumanOrComputer
listener=Imperials
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Imperials
talkertype=HumanOrComputer
listener=French
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
TURN
turn=252
@THEN
TEXT
A revolt has broken out in Catalonia!!!!!
Count-Duke Olivares, favourite of Philip IV, order in the starting of the war a call for arms,
where all the Spanish kingdoms contributed with the same troops and money to the supporting of
the war against France. But Catalonia negated to pay the tribute in several times. This reason, and
the excesses of the mercenaries troops in the way to South France have provoked a revolt.
Some groups of armed peasants try to enter in Barcelona and expand the revolt in all the region.
ENDTEXT
CREATEUNIT
unit=Rebeld Peasant
owner=French
veteran=yes
homecity=None
locations
27,139
26,138
24,138
25,137
endlocations
CHANGEMONEY
receiver=Spanish
amount=-30000
@ENDIF

@IF
TURN
turn=252
@THEN
CREATEUNIT
unit=Rebeld Peasant
owner=French
veteran=yes
homecity=None
locations
28,134
29,135
26,134
27,137
endlocations
@ENDIF

@IF
TURN
turn=252
@THEN
CREATEUNIT
unit=Rebeld Peasant
owner=French
veteran=yes
homecity=None
locations
29,137
29,139
31,137
30,136
endlocations
@ENDIF

@IF
TURN
turn=252
@THEN
CREATEUNIT
unit=Rebeld Peasant
owner=French
veteran=yes
homecity=None
locations
31,133
31,131
30,132
endlocations
@ENDIF

@IF
NEGOTIATION
talker=Spanish
talkertype=HumanOrComputer
listener=Imperials
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Imperials
talkertype=HumanOrComputer
listener=Spanish
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
CITYTAKEN
city=Barcelona
attacker=French
defender=Spanish
@THEN
TEXT
Barcelona has been taken by harvesters, the viceroy and all the Castillians have been assassinated
, even the refugiates in churches.
Catalonians have proclaimed their independence from Spain, and give the crown of Count of
Barcelona to Louis XIV of France.
ENDTEXT
CREATEUNIT
unit=Adv. fortress
owner=French
veteran=yes
homecity=None
locations
30,138
endlocations
JUSTONCE
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Frn Pikemen
owner=French
veteran=yes
homecity=None
locations
27,139
26,138
24,138
25,137
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Conqueror
owner=French
veteran=yes
homecity=None
locations
27,139
26,138
24,138
25,137
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Frn Pikemen
owner=French
veteran=yes
homecity=None
locations
28,134
29,135
26,134
27,137
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Conqueror
owner=French
veteran=yes
homecity=None
locations
28,134
29,135
26,134
27,137
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Frn Pikemen
owner=French
veteran=yes
homecity=None
locations
29,137
29,139
31,137
30,136
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Conqueror
owner=French
veteran=yes
homecity=none
locations
29,137
29,139
31,137
30,136
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Frn Pikemen
owner=French
veteran=yes
homecity=None
locations
31,133
31,133
30,132
endlocations
@ENDIF

@IF
TURN
turn=253
@THEN
CREATEUNIT
unit=Conqueror
owner=French
veteran=yes
homecity=None
locations
31,133
31,131
30,132
endlocations
@ENDIF

@IF
TURN
turn=261
@THEN
TEXT
A revolt has broken out in Portugal!!!!!!!
With the Spanish troops sufocating the revolt in Catalonia, the regent Margarita of Saboy has
been laid down, some members of the goverment assassinated and the Duke of Bragana
is crowned as king of Portugal with the name of John IV.
ENDTEXT
CREATEUNIT
unit=Ind Pikemen
owner=Independents
veteran=yes
homecity=None
locations
2,140
1,141
3,143
5,141
endlocations
@ENDIF

@IF
TURN
turn=261
@THEN
CREATEUNIT
unit=Conqueror
owner=Independents
veteran=yes
homecity=None
locations
2,140
1,141
3,143
5,141
endlocations
@ENDIF

@IF
TURN
turn=261
@THEN
CREATEUNIT
unit=Ind Pikemen
owner=Independents
veteran=yes
homecity=None
locations
4,150
3,151
5,153
3,153
endlocations
@ENDIF

@IF
TURN
turn=261
@THEN
CREATEUNIT
unit=Conqueror
owner=Independents
veteran=yes
homecity=None
locations
4,150
3,151
5,153
3,153
endlocations
@ENDIF

@IF
TURN
turn=261
@THEN
CREATEUNIT
unit=Ind Pikemen
owner=Independents
veteran=yes
homecity=None
locations
6,136
4,136
5,133
4,134
endlocations
@ENDIF

@IF
TURN
turn=261
@THEN
CREATEUNIT
unit=Conqueror
owner=Independents
veteran=yes
homecity=None
locations
6,136
4,136
5,133
4,134
endlocations
@ENDIF

@IF
TURN
turn=261
@THEN
CREATEUNIT
unit=Ind Pikemen
owner=Independents
veteran=yes
homecity=None
locations
4,126
5,129
4,136
5,127
endlocations
@ENDIF

@IF
TURN
turn=261
@THEN
CREATEUNIT
unit=Conqueror
owner=Independents
veteran=yes
homecity=None
locations
4,126
5,129
4,136
5,127
endlocations
@ENDIF

@IF
CITYTAKEN
city=Faro
attacker=Independents
defender=Spanish
@THEN
CREATEUNIT
unit=Adv. fortress
owner=Independents
veteran=yes
homecity=None
locations
4,152
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Lisbon
attacker=Independents
defender=Spanish
@THEN
CREATEUNIT
unit=Adv. fortress
owner=Independents
veteran=yes
homecity=None
locations
3,141
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Coimbra
attacker=Independents
defender=Spanish
@THEN
CREATEUNIT
unit=Adv. fortress
owner=Independents
veteran=yes
homecity=None
locations
5,135
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Porto
attacker=Independents
defender=Spanish
@THEN
CREATEUNIT
unit=Adv. fortress
owner=Independents
veteran=yes
homecity=None
locations
4,128
endlocations
JUSTONCE
@ENDIF

@IF
TURN
turn=265
@THEN
TEXT
A revolt has broken out in Andalusia!!!!!!!
The Duke of Medina Sidonea has started a revolt near of Ayamonte, against Spanish power,
he wants to create a independent kingdom in Andalusia and be crowned as the king of this kindom.
ENDTEXT
CREATEUNIT
unit=Ind Commander
owner=Independents
veteran=yes
homecity=None
locations
7,155
7,157
7,153
endlocations
@ENDIF

@IF
TURN
turn=265
@THEN
CREATEUNIT
unit=Revolt Peasant
owner=Independents
veteran=yes
homecity=none
locations
7,157
7,153
7,155
endlocations
@ENDIF

@IF
TURN
turn=278
@THEN
CREATEUNIT
unit=Conqueror
owner=Swedish
veteran=yes
homecity=None
locations
67,97
68,98
66,98
69,99
endlocations
@ENDIF

@IF
TURN
turn=278
@THEN
CREATEUNIT
unit=Swd Commander
owner=Swedish
veteran=yes
homecity=None
locations
67,97
68,98
66,98
69,99
endlocations
@ENDIF

@IF
TURN
turn=278
@THEN
CREATEUNIT
unit=Swd Pikemen
owner=Swedish
veteran=yes
homecity=None
locations
67,97
68,98
66,98
69,99
endlocations
@ENDIF

@IF
TURN
turn=278
@THEN
CREATEUNIT
unit=Swd Musketeers
owner=Swedish
veteran=yes
homecity=None
locations
67,97
68,98
66,98
69,99
endlocations
@ENDIF

@IF
TURN
turn=278
@THEN
CREATEUNIT
unit=Light Cannon
owner=Swedish
veteran=yes
homecity=None
locations
68,98
66,98
69,99
endlocations
@ENDIF

@IF
TURN
turn=278
@THEN
CREATEUNIT
unit=Swd Pikemen
owner=Swedish
veteran=yes
homecity=None
locations
68,98
66,98
69,99
endlocations
@ENDIF

@IF
TURN
turn=278
@THEN
CREATEUNIT
unit=Swd Dragoons
owner=Swedish
veteran=yes
homecity=None
locations
68,98
66,98
69,99
endlocations
@ENDIF

@IF
CITYTAKEN
city=Olomouc
attacker=Swedish
defender=ANYBODY
@THEN
TEXT
Having quelled the disorders in Banrs former army, Torstensson went on the offensive.
With the road into the Imperial lands thus opened, he moved southeast into Moravia, taking the
capital Olomouc. Torstensson has fortified the place which was to serve as the linchpin of
Swedish-held territory in the east for the remainder of the war.
ENDTEXT
CREATEUNIT
unit=Fortress
owner=Swedish
veteran=yes
homecity=None
locations
67,99
endlocations
JUSTONCE
@ENDIF

@IF
TURN
turn=285
@THEN
TEXT
Armand-Jean du Plessis, Cardinal Richelieu, has died. His health had long been weak and he had
persisted in his labors only by dint of his preternatural will. He was succeeded as Louis XIIIs
chief minister by the Sicilian Giulio Mazarini, more commonly known as Cardinal Mazarin.
ENDTEXT
CREATEUNIT
unit=Cardinal
owner=French
veteran=yes
homecity=None
locations
36,94
endlocations
@ENDIF

@IF
TURN
turn=289
@THEN
CREATEUNIT
unit=Conqueror
owner=Spanish
veteran=yes
homecity=None
locations
40,90
39,89
endlocations
@ENDIF

@IF
TURN
turn=289
@THEN
CREATEUNIT
unit=Conqueror
owner=Spanish
veteran=yes
homecity=None
locations
40,90
39,89
endlocations
@ENDIF

@IF
TURN
turn=289
@THEN
CREATEUNIT
unit=Spn Musketeers
owner=Spanish
veteran=yes
homecity=None
locations
39,89
40,90
endlocations
@ENDIF

@IF
CITYTAKEN
city=Reims
attacker=Spanish
defender=French
@THEN
CREATEUNIT
unit=Frn Pikemen
owner=French
veteran=yes
homecity=None
locations
38,92
39,93
37,91
38,90
endlocations
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Reims
attacker=Spanish
defender=French
@THEN
CREATEUNIT
unit=Light Cannon
owner=French
veteran=yes
homecity=None
locations
38,92
39,93
37,91
38,90
endlocations
@ENDIF

@IF
CITYTAKEN
city=Reims
attacker=Spanish
defender=French
@THEN
CREATEUNIT
unit=Frn Commander
owner=French
veteran=yes
homecity=None
locations
39,93
37,91
38,90
endlocations
@ENDIF

@IF
CITYTAKEN
city=Reims
attacker=French
defender=Spanish
@THEN
TEXT
The French have defeated the Spanish army in the Battle of Rocroi.
The French calvary attacked at the dawn to a group of 500 Musketeers who where hidden in a small
forest. Albuquerque counter attacked the French positions but their lines were repelled and the left
wing of French army started its attack.
The Catholic calvary of Isemburg charged and destroyed the French ones reaching the Swiss mercenary infantry and damaged it very seriously.
In this point the victory looked that would be to Spanish side, both wings of French calvary joined
their power and destroyed Isemburgs calvary, leaving  helpless the first line of Spanish tercios.
The French commander, Louis II of Bourbon and duke of Enghien, seeing the sucess of the
attack started a new one against the second line of the tercios, but the Flemish and German
tercios started a coward falling back. Seeing this, Italian ones started the retreating, leaving to
Spanish troops the covering of the retreat.
The Spanish troops suffered 40.000 deads, almost all Spanish, while French only suffered 2500.
It is the first time that invencible tercios has been defeated in a battlefield, it significates the end of
supremacy of Spanish arms in Europe, and the time for Frances' start.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=Spanish
technology=0
@ENDIF

@IF
NEGOTIATION
talker=Spanish
talkertype=Computer
listener=Imperials
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Imperials
talkertype=Computer
listener=Spanish
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Swedish
talkertype=Computer
listener=French
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=French
talkertype=Computer
listener=Swedish
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=Polish
talkertype=Computer
listener=Swedish
listenertype=HumanOrComputer
@THEN

@IF
NEGOTIATION
talker=Protestants
talkertype=Computer
listener=French
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=French
talkertype=Computer
listener=Protestants
listenertype=HumanOrComputer
@THEN
@ENDIF

@ENDEVENTS
