@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
NOSCHISM
defender=ANYBODY
@THEN
@ENDIF

@IF
NEGOTIATION
talker=ANYBODY
talkertype=Computer
listener=ANYBODY
listenertype=Computer
@THEN
@ENDIF

@IF
TURN
turn=12
@THEN
TEXT
Lajos Kossuth returns to Hungary with reinforcements. He has gained French, British, and 
American favor.They have agreed to support the Magyar cause by supplying money and helping 
Kossuth re-organize the disbanded Hungarian Legion that never went into action.
ENDTEXT
CREATEUNIT
unit=Field Marshall
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
CHANGEMONEY
receiver=Magyarország
amount=800
@ENDIF

@IF
TURN
turn=12
@THEN
CREATEUNIT
unit=M Regulars
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
@ENDIF

@IF
TURN
turn=12
@THEN
CREATEUNIT
unit=M Regulars
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
@ENDIF

@IF
TURN
turn=12
@THEN
CREATEUNIT
unit=M Infantry
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
@ENDIF

@IF
TURN
turn=12
@THEN
CREATEUNIT
unit=M Infantry
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
@ENDIF

@IF
TURN
turn=12
@THEN
CREATEUNIT
unit=Hussars
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
@ENDIF

@IF
TURN
turn=12
@THEN
CREATEUNIT
unit=Hussars
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
@ENDIF

@IF
TURN
turn=12
@THEN
CREATEUNIT
unit=Artillery
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
@ENDIF

@IF
TURN
turn=12
@THEN
CREATEUNIT
unit=Artillery
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
@ENDIF

@IF
TURN
turn=12
@THEN
CREATEUNIT
unit=Transport
owner=Magyarország
veteran=no
homecity=NONE
locations
51,27
endlocations
@ENDIF

@IF
TURN
turn=14
@THEN
TEXT
Magyar government recieves funds from France
ENDTEXT
CHANGEMONEY
receiver=Magyarország
amount=150
@ENDIF

@IF
TURN
turn=18
@THEN
TEXT
Magyar government recieves funds from Britian.
ENDTEXT
CHANGEMONEY
receiver=Magyarország
amount=150
@ENDIF

@IF
TURN
turn=21
@THEN
TEXT
Magyar government recieves funds from America.
ENDTEXT
CHANGEMONEY
receiver=Magyarország
amount=150
@ENDIF

@IF
TURN
turn=22
@THEN
TEXT
Francis Joseph decides to put a blocked of ships on the Danube and Adriatic Sea to stop foreign 
supplies from reaching Hungary.
ENDTEXT
CREATEUNIT
unit=Ironclad
owner=Austrians
veteran=no
homecity=NONE
locations
31,17
endlocations
@ENDIF

@IF
TURN
turn=22
@THEN
CREATEUNIT
unit=Ironclad
owner=Austrians
veteran=no
homecity=NONE
locations
31,17
endlocations
@ENDIF

@IF
TURN
turn=22
@THEN
CREATEUNIT
unit=Ironclad
owner=Austrians
veteran=yes
homecity=NONE
locations
31,17
endlocations
@ENDIF

@IF
TURN
turn=22
@THEN
CREATEUNIT
unit=Ironclad
owner=Austrians
veteran=yes
homecity=NONE
locations
31,17
endlocations
@ENDIF

@IF
TURN
turn=22
@THEN
CREATEUNIT
unit=Ironclad
owner=Austrians
veteran=no
homecity=NONE
locations
6,70
endlocations
@ENDIF

@IF
TURN
turn=22
@THEN
CREATEUNIT
unit=Frigate
owner=Austrians
veteran=yes
homecity=NONE
locations
8,70
endlocations
@ENDIF

@IF
TURN
turn=22
@THEN
CREATEUNIT
unit=Ironclad
owner=Austrians
veteran=no
homecity=NONE
locations
10,70
endlocations
@ENDIF

@IF
TURN
turn=23
@THEN
TEXT
The nations who are supporting Hungary stop the shipments. They say to the public that there's no 
way the ships can get past the blockcade and they don't want to chance war with the Austrians. 
The real reason is that they figure 30% of the ships won't make it and they don't want to lose that 
money. The Magyars are on their own
ENDTEXT
CHANGEMONEY
receiver=Magyarország
amount=-30
@ENDIF

@IF
UNITKILLED
unit=King Francis
attacker=Magyarország
defender=Austrians
@THEN
TEXT
Francis Joseph has been killed! The Hungarians win the war and celebrate their independence 
throughout the kingdom.
ENDTEXT
DESTROYACIVILIZATION
whom=Austrians
@ENDIF

@IF
UNITKILLED
unit=Count Andrássy
attacker=Austrians
defender=Magyarország
@THEN
TEXT
Andrassy has been killed and so has the Magyar dream for independence. Francis Joseph 
decides to punish Hungary by sending troops to pillage all cities that had taken arms against him.
ENDTEXT
DESTROYACIVILIZATION
whom=Magyarország
@ENDIF

@ENDEVENTS
