@BEGINEVENTS

@IF
NEGOTIATION
talker=United Irishmen
talkertype=HumanOrComputer
listener=British
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
NEGOTIATION
talker=British
talkertype=HumanOrComputer
listener=United Irishmen
listenertype=HumanOrComputer
@THEN
@ENDIF

@IF
TURN
turn=98
@THEN
TEXT
^On March 27th Britain and France, along with several other major European powers sign the
^Treaty of Amiens, achieving a peace in Europe that lasts a mere fourteen months.  Nevertheless,
^it allows Britain to finally divert it's energies into crushing any remaining rebellious sentiment left in
^Ireland.
ENDTEXT
JUSTONCE
GIVETECHNOLOGY
receiver=British
technology=95
@ENDIF

@IF
TURN
turn=68
@THEN
TEXT
^After almost three years of fighting, the United Irishmen bear little resemblance to the disparate
^mob that they were at the beginning of the rebellion.  The ones that remain have faced
^professional soldiers and survived...  Equipped with firearms smuggled in from abroad and taken
^from the British dead, they can no longer be dismissed as easy prey for British muskets.  These
^changes are reflected by the improved statistics for some of your units.
^
^With the passing of the Act of Union however, the trickle of British aid to Ireland will soon turn
^to a flood with Westminster now directly responsible for the security of the island.  With France
^embroiled in conflict in Europe the United Irishmen are on their own against the British onslaught.
ENDTEXT
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=80
receiver=British
@THEN
MOVEUNIT
unit=ANYUNIT
owner=British
maprect
85,73,99,73,99,87,85,87
moveto
88,122
numbertomove=ALL
CREATEUNIT
unit=Guards
owner=British
veteran=yes
homecity=NONE
locations
97,85
97,79
94,76
92,66
100,42
100,38
endlocations
CHANGEMONEY
receiver=British
amount=100
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=80
receiver=British
@THEN
CREATEUNIT
unit=Guards
owner=British
veteran=yes
homecity=NONE
locations
97,85
97,79
94,76
92,66
100,42
100,38
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=80
receiver=British
@THEN
CREATEUNIT
unit=Infantry
owner=British
veteran=yes
homecity=NONE
locations
97,79
94,76
92,66
97,85
98,44
100,30
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=80
receiver=British
@THEN
CREATEUNIT
unit=Infantry
owner=British
veteran=yes
homecity=NONE
locations
97,79
94,76
92,66
97,85
98,44
100,30
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=80
receiver=British
@THEN
CREATEUNIT
unit=Cavalry
owner=British
veteran=yes
homecity=NONE
locations
94,76
92,66
97,85
97,79
100,30
98,44
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=British
@THEN
CREATEUNIT
unit=Loyalists
owner=British
veteran=no
homecity=NONE
locations
92,82
88,76
86,80
98,44
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=British
@THEN
CREATEUNIT
unit=Loyalists
owner=British
veteran=yes
homecity=NONE
locations
92,82
88,76
86,80
93,45
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=British
@THEN
CREATEUNIT
unit=Loyalists
owner=British
veteran=no
homecity=NONE
locations
88,76
86,80
92,82
100,42
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=79
receiver=British
@THEN
CREATEUNIT
unit=Loyalists
owner=British
veteran=yes
homecity=NONE
locations
88,76
86,80
92,82
100,38
endlocations
@ENDIF

@IF
TURN
turn=93
@THEN
TEXT
It is now 1802.
ENDTEXT
@ENDIF

@IF
TURN
turn=119
@THEN
TEXT
It is now 1803.
ENDTEXT
@ENDIF

@IF
TURN
turn=132
@THEN
TEXT
^On 27th July Robert Emmet starts an insurrection against British rule in Dublin.  Using firearms
^smuggled in from France he plans to capture Dublin Castle.
ENDTEXT
CREATEUNIT
unit=R. Emmet
owner=United Irishmen
veteran=no
homecity=NONE
locations
96,86
96,84
94,86
100,84
endlocations
@ENDIF

@IF
TURN
turn=132
@THEN
CREATEUNIT
unit=Ir. Infantry
owner=United Irishmen
veteran=no
homecity=NONE
locations
96,84
96,86
94,86
100,84
endlocations
@ENDIF

@IF
TURN
turn=132
@THEN
CREATEUNIT
unit=Militia
owner=United Irishmen
veteran=yes
homecity=NONE
locations
100,84
96,86
96,84
94,86
endlocations
@ENDIF

@IF
TURN
turn=132
@THEN
CREATEUNIT
unit=Militia
owner=United Irishmen
veteran=yes
homecity=NONE
locations
100,84
96,86
96,84
94,86
endlocations
@ENDIF

@IF
TURN
turn=132
@THEN
CREATEUNIT
unit=Artillery
owner=United Irishmen
veteran=no
homecity=NONE
locations
94,86
100,0
96,86
96,84
endlocations
@ENDIF

@IF
TURN
turn=155
@THEN
TEXT
It is now 1804.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=R. Emmet
attacker=British
defender=United Irishmen
@THEN
TEXT
^"Let no man write my epitaph; for, as no man who knows my motives dares now vindicate them,
^let not prejudice or ignorance asperse them.  Let them and me rest in obscurity and peace, and
^my tomb remain uninscribed, and my memory in oblivion, until other times and other men can do
^justice to my character.  When my country takes her place among the nations of the earth, then,
^and not till then, let my epitaph be written."
^
^After the failure of his rebellion Emmet managed to escape.  However he was later captured
^when he emerged from his hiding place in the Wicklow mountains in order to say goodbye to his
^sweetheart, Sarah Curran.  The British court found him guilty of treason.  He was hanged and
^then decapitated the next day.
ENDTEXT
@ENDIF

@IF
UNITKILLED
unit=C. Cornwallis
attacker=United Irishmen
defender=British
@THEN
TEXT
^General Cornwallis, having once again underestimated the threat posed by a rebellion, finds his
^forces routed yet again.  Pitt, having had enough of Cornwallis' failures, dismisses him and sends
^him back to England in disgrace.
ENDTEXT
CHANGEMONEY
receiver=United Irishmen
amount=500
@ENDIF

@IF
UNITKILLED
unit=Wolfe Tone
attacker=British
defender=United Irishmen
@THEN
TEXT
^Tone is captured by the British but hoped to be allowed to escape by posing as a French officer.
^Unfortunately he was recognised by a former fellow-student and was condemned to death.  As
^a last request he asked to be shot like a soldier, but was refused.  Rather than endure the
^humiliation of a public hanging, he took his own life.
^
^"I have sacrificed all my views in life;  I have courted poverty;  I have left a beloved wife
^unprotected, and children whom I adored, fatherless.  After all this sacrifice, in a cause I have
^always considered as the cause of justice and freedom, it is no great effort at this day, to add the
^sacrifice of my life."
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Dublin
attacker=United Irishmen
defender=British
@THEN
TEXT
^After years of tyrannical rule under the British and the Protestant Ascendancy, the people of
^Ireland celebrate their new found independence.  A new constitution is drawn up declaring
^Ireland a republic and promising civil liberties for all citizens.  Despite this great step forward, the
^battle for independence is not over yet: British forces still control a large part of the country,
^while hard line Unionists fight on in the north.  There is tension in the air, the current situation
^seeming like the quiet before a storm...
^
^You may now research "A New Constitution".
ENDTEXT
CHANGEMONEY
receiver=United Irishmen
amount=1500
GIVETECHNOLOGY
receiver=United Irishmen
technology=91
@ENDIF

@IF
CITYTAKEN
city=Dublin
attacker=United Irishmen
defender=British
@THEN
TEXT
^With the fall of Dublin to the United Irishmen, the British conclude that the Act of Union has
^ceased to exist; it has become an anachronism.  They can no longer pretend that Ireland is
^simply in the throes of a major rebellion:  The United Irishmen now hold the capital itself!  The
^Act of Union is dissolved by the British parliament as they prepare for nothing less than a full
^scale military invasion of the country.  When word reaches Pitt of Ireland's declaration of
^independence, he uses the occasion to declare war between the British Empire and the Irish
^Republic.
ENDTEXT
GIVETECHNOLOGY
receiver=British
technology=34
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=34
receiver=British
@THEN
MOVEUNIT
unit=ANYUNIT
owner=British
maprect
92,28,102,28,102,46,92,46
moveto
96,84
numbertomove=ALL
CREATEUNIT
unit=Guards
owner=British
veteran=yes
homecity=NONE
locations
100,42
100,38
100,30
endlocations
CHANGEMONEY
receiver=British
amount=200
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=34
receiver=British
@THEN
CREATEUNIT
unit=Guards
owner=British
veteran=yes
homecity=NONE
locations
100,42
100,38
100,30
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=34
receiver=British
@THEN
CREATEUNIT
unit=Infantry
owner=British
veteran=yes
homecity=NONE
locations
92,66
93,45
92,26
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=34
receiver=British
@THEN
CREATEUNIT
unit=Infantry
owner=British
veteran=yes
homecity=NONE
locations
92,66
93,45
92,26
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=34
receiver=British
@THEN
CREATEUNIT
unit=Cavalry
owner=British
veteran=no
homecity=NONE
locations
98,44
93,45
92,26
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=34
receiver=British
@THEN
CREATEUNIT
unit=Artillery
owner=British
veteran=yes
homecity=NONE
locations
100,38
100,30
92,26
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=95
receiver=British
@THEN
CREATEUNIT
unit=Guards
owner=British
veteran=yes
homecity=NONE
locations
97,85
97,79
94,76
100,38
100,30
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=95
receiver=British
@THEN
CREATEUNIT
unit=Infantry
owner=British
veteran=yes
homecity=NONE
locations
86,80
88,76
97,79
98,44
93,45
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=95
receiver=British
@THEN
CREATEUNIT
unit=Infantry
owner=British
veteran=yes
homecity=NONE
locations
86,80
88,76
97,79
98,44
93,45
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=95
receiver=British
@THEN
CREATEUNIT
unit=Cavalry
owner=British
veteran=yes
homecity=NONE
locations
92,82
97,79
94,76
68,24
80,14
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=93
receiver=United Irishmen
@THEN
CHANGEMONEY
receiver=United Irishmen
amount=50
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=94
receiver=United Irishmen
@THEN
CREATEUNIT
unit=Ir. Infantry
owner=United Irishmen
veteran=no
homecity=NONE
locations
79,111
65,121
29,115
47,147
endlocations
@ENDIF

@IF
TURN
turn=128
@THEN
TEXT
^Conflict once again erupts between Britain and France.
ENDTEXT
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
TEXT
^Belfast falls to the United Irishmen.  This city has been a bastion of Unionism since the Ulster
^Plantation as well as being the second largest city in the country.  A large British force is
^immediately dispatched to regain the city.  Realizing how grave the situation is, Pitt appoints
^Wellington as commander of the British expidition.
ENDTEXT
CREATEUNIT
unit=Wellington
owner=British
veteran=yes
homecity=NONE
locations
100,38
97,39
103,43
100,36
98,44
106,42
100,46
endlocations
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
CREATEUNIT
unit=Infantry
owner=British
veteran=yes
homecity=NONE
locations
98,44
97,39
103,43
100,46
endlocations
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
CREATEUNIT
unit=Infantry
owner=British
veteran=yes
homecity=NONE
locations
106,42
103,43
100,46
100,36
endlocations
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
CREATEUNIT
unit=Infantry
owner=British
veteran=yes
homecity=NONE
locations
106,42
103,43
100,46
100,36
endlocations
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
CREATEUNIT
unit=Guards
owner=British
veteran=no
homecity=NONE
locations
97,39
106,42
100,38
98,44
endlocations
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
CREATEUNIT
unit=Guards
owner=British
veteran=yes
homecity=NONE
locations
97,39
106,42
100,38
98,44
endlocations
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
CREATEUNIT
unit=Artillery
owner=British
veteran=yes
homecity=NONE
locations
98,44
100,38
100,36
100,46
endlocations
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
CREATEUNIT
unit=Artillery
owner=British
veteran=yes
homecity=NONE
locations
103,43
97,39
100,38
98,44
endlocations
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
CREATEUNIT
unit=Artillery
owner=British
veteran=yes
homecity=NONE
locations
103,43
97,39
100,38
98,44
endlocations
@ENDIF

@IF
CITYTAKEN
city=Belfast
attacker=United Irishmen
defender=British
@THEN
CREATEUNIT
unit=Cavalry
owner=British
veteran=yes
homecity=NONE
locations
100,36
106,42
100,46
98,44
endlocations
@ENDIF

@IF
UNITKILLED
unit=Wellington
attacker=United Irishmen
defender=British
@THEN
TEXT
^"The next misfortune to losing a battle is to gain such a victory as this."
^
^Wellington's army is defeated after a pitched battle.  He returns to England, his reputation 
^tarnished.  Pitt decides to give him another chance and puts Wellington in charge of British 
^forces in the Peninsular War.  Maybe he'll make a better impact down there...
ENDTEXT
@ENDIF

@IF
TURN
turn=-1
@THEN
MAKEAGGRESSION
who=United Irishmen
whom=British
@ENDIF

@IF
TURN
turn=-1
@THEN
MAKEAGGRESSION
who=British
whom=United Irishmen
@ENDIF

@ENDEVENTS
