; Events file for Sobieski scenario ; ; @BEGINEVENTS @INITFLAG @DEBUG @IF ScenarioLoaded @THEN PlayWaveFile victoria_short.wav @ENDIF @IF NOSCHISM DEFENDER=anybody @THEN @ENDIF @IF NEGOTIATION talker=Crimean Tartars talkertype=HumanOrComputer listener=Turks listenertype=HumanOrComputer @THEN @ENDIF @IF NEGOTIATION talker=Turks talkertype=HumanOrComputer listener=Crimean Tartars listenertype=HumanOrComputer @THEN @ENDIF ;Tartars (and Turks) & negotiation @IF Negotiation talkermask=0b00010000000000000000000000100010 listenermask=0b00000000000000000010000000000010 @THEN @ENDIF @IF Negotiation talkermask=0b00000000000000000010000000000010 listenermask=0b00010000000000000000000000100010 @THEN @ENDIF @IF TURN turn=1 @THEN JUSTONCE Negotiator who=Crimean Tartars type=Talker state=Set @ENDIF @IF TURN turn=1 @THEN JUSTONCE Negotiator who=Crimean Tartars type=Listener state=Set @ENDIF @IF CITYTAKEN CITY=Zhitomer attacker=Crimean Tartars defender=Anybody @THEN BestowImprovement improvement=8 race=Crimean Tartars capital=False wonders=False @ENDIF @IF CityTaken city=Chigirin attacker=Anybody defender=Crimean Tartars @THEN JUSTONCE Negotiator who=Crimean Tartars type=Talker state=Clear @ENDIF @IF CityTaken city=Chigirin attacker=Anybody defender=Crimean Tartars @THEN JUSTONCE Negotiator who=Crimean Tartars type=Listener state=Clear @ENDIF ;Hetman/Sobieski events @IF UNITKILLED unit=Crown Hetman attacker=anybody defender=Poles and Lithuanians @THEN TEXT ^A Hetman of the Kingdom of Poland is slain on the field of battle. ^ ^The king quickly begins searching for a replacement. ENDTEXT @ENDIF @IF UNITKILLED unit=Crown Hetman attacker=anybody defender=Poles and Lithuanians @THEN Delay Delay=1 CREATEUNIT unit=Crown Hetman Count=1 owner=Poles and Lithuanians veteran=no homecity=None locations 44,78 33,71 25,79 29,65 endlocations @ENDIF @IF UNITKILLED unit=Grand Duchy Hetman attacker=anybody defender=Poles and Lithuanians @THEN TEXT ^A Hetman of the Grand Duchy of Lithuania is slain on the field of battle. ^ ^The king quickly searches for a replacement. ENDTEXT @ENDIF @IF UNITKILLED unit=Grand Duchy Hetman attacker=anybody defender=Poles and Lithuanians @THEN Delay Delay=1 CREATEUNIT unit=Grand Duchy Hetman Count=1 owner=Poles and Lithuanians veteran=no homecity=None locations 57,43 44,40 42,50 37,55 endlocations @ENDIF @IF UNITKILLED unit=John Sobieski attacker=anybody defender=Poles and Lithuanians @AND CheckFlag Who=Poles and Lithuanians Flag=0 State=Off @THEN TEXT ^John Sobieski is wounded on the battlefield. ^ ^Sent home to recuperate, he should recover his health shortly. ENDTEXT FLAG continuous flag=0 Who=Poles and Lithuanians state=on @ENDIF @IF UNITKILLED unit=John Sobieski attacker=anybody defender=Poles and Lithuanians @AND CheckFlag Who=Poles and Lithuanians Flag=0 State=Off @THEN Delay Delay=1 CREATEUNIT unit=John Sobieski Count=1 owner=Poles and Lithuanians veteran=no homecity=None locations 44,78 33,71 25,79 29,65 endlocations FLAG continuous flag=0 Who=Poles and Lithuanians state=on @ENDIF @IF UNITKILLED unit=John Sobieski attacker=anybody defender=Poles and Lithuanians @AND CheckFlag Who=Poles and Lithuanians Flag=0 State=On @THEN TEXT ^John Sobieski, Hetman of the Polish Crown, is killed. ENDTEXT EndGame endscreens=yes @ENDIF @IF UNITKILLED unit=John III Sobieski attacker=anybody defender=Poles and Lithuanians @AND CheckFlag Who=Poles and Lithuanians Flag=0 State=Off @THEN TEXT ^^ John III Sobieski is wounded on the battlefield. ^^ ^^ His retinue manages to take him to safety, where he should soon recover from his wounds ^^ and be ready again for battle. ENDTEXT FLAG continuous flag=0 Who=Poles and Lithuanians state=on @ENDIF @IF UNITKILLED unit=John III Sobieski attacker=anybody defender=Poles and Lithuanians @AND CheckFlag Who=Poles and Lithuanians Flag=0 State=Off @THEN Delay Delay=1 CREATEUNIT unit=John III Sobieski Count=1 owner=Poles and Lithuanians veteran=no homecity=None locations 44,78 33,71 25,79 29,65 endlocations @ENDIF @IF UNITKILLED unit=John III Sobieski attacker=anybody defender=Poles and Lithuanians @AND CheckFlag Who=Poles and Lithuanians Flag=0 State=On @THEN TEXT ^^ John III Sobieski, King of Poland and Grand Duke of Lithuania, is killed. ENDTEXT EndGame endscreens=yes @ENDIF ;Ukraine events @IF CITYTAKEN CITY=Kiev attacker=Poles and Lithuanians defender=Anybody @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=On Flag=4 @ENDIF @IF CITYTAKEN CITY=Kiev attacker=Poles and Lithuanians defender=Anybody @THEN JustOnce PlayWaveFile powergrow.wav TEXT ^^ Polish-Lithuanian forces enter Kiev. The city's residents are worried. ^^ ^^ In 1648 Chmielnicki was hailed as a new Moses when he entered the city; ^^ will Poland be a new Pharaoh? ENDTEXT @ENDIF @IF CITYTAKEN CITY=Kiev attacker=Anybody defender=Poles and Lithuanians @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=Off Flag=4 @ENDIF @IF CITYTAKEN CITY=Sietch attacker=Poles and Lithuanians defender=Anybody @THEN JustOnce PlayWaveFile powergrow.wav TEXT ^^ The Zaprohozian Sietch, stronghold of the Dneiper Cossacks and locus of the ^^ 1647 rebellion, falls to Polish forces. ^^ ^^ Cossacks look on in disbelief as the standard of the white eagle is raised ^^ over their traditional home... ENDTEXT @ENDIF @IF CITYTAKEN CITY=Sietch attacker=Poles and Lithuanians defender=Anybody @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=On Flag=5 @ENDIF @IF CITYTAKEN CITY=Sietch attacker=Anybody defender=Poles and Lithuanians @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=Off Flag=5 @ENDIF @IF CITYTAKEN CITY=Czernigov attacker=Poles and Lithuanians defender=Anybody @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=On Flag=6 @ENDIF @IF CITYTAKEN CITY=Czernigov attacker=Anybody defender=Poles and Lithuanians @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=Off Flag=6 @ENDIF @IF CITYTAKEN CITY=Lubnie attacker=Poles and Lithuanians defender=Anybody @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=On Flag=12 @ENDIF @IF CITYTAKEN CITY=Lubnie attacker=Anybody defender=Poles and Lithuanians @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=Off Flag=12 @ENDIF @IF CITYTAKEN CITY=Chigirin attacker=Poles and Lithuanians defender=Anybody @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=On Flag=13 @ENDIF @IF CITYTAKEN CITY=Chigirin attacker=Anybody defender=Poles and Lithuanians @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=Off Flag=13 @ENDIF @IF CITYTAKEN CITY=Poltava attacker=Poles and Lithuanians defender=Anybody @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=On Flag=14 @ENDIF @IF CITYTAKEN CITY=Poltava attacker=Anybody defender=Poles and Lithuanians @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=Off Flag=14 @ENDIF @IF CITYTAKEN CITY=Perejaslav attacker=Poles and Lithuanians defender=Anybody @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=On Flag=15 @ENDIF @IF CITYTAKEN CITY=Perejaslav attacker=Anybody defender=Poles and Lithuanians @THEN Flag CONTINUOUS Who=Poles and Lithuanians State=Off Flag=15 @ENDIF @IF TURN turn=Every @AND CheckFlag Who=Poles and Lithuanians Mask=0b00000000000000001111000001110000 Threshold=7 State=On @THEN JustOnce TEXT ^^ What was once only nominal is now a reality: the Polish-Lithuanian Commonwealth now ^^ controls the Ukraine. ^^ ^^ Not all Ukrainians are happy with this turn of events, however; many rebellious ^^ Cossacks still roam the steppe. ^^ ^^ Perhaps the talks that resulted in the failed Treaty of Hadiach should be revived... ENDTEXT GIVETECHNOLOGY technology=4 receiver=Poles and Lithuanians @ENDIF ;Cossack Spawn and Other such things @IF TurnInterval interval=6 @AND ReceivedTechnology receiver=Poles and Lithuanians technology=74 @THEN Randomize CREATEUNIT unit=Cossacks* Count=5 owner=Barbarians veteran=yes homecity=None locations 78,82 80,76 67,79 79,77 79,81 68,80 endlocations @ENDIF @IF TurnInterval interval=6 @AND ReceivedTechnology receiver=Poles and Lithuanians technology=52 @THEN Randomize CREATEUNIT unit=Cossacks* Count=5 owner=Barbarians veteran=yes homecity=None locations 79,77 78,84 66,80 77,85 67,79 endlocations @IF TurnInterval interval=6 @AND ReceivedTechnology receiver=Poles and Lithuanians technology=78 @THEN Randomize CREATEUNIT unit=Cossacks* Count=5 owner=Barbarians veteran=yes homecity=None locations 66,80 79,83 81,77 79,81 67,79 80,76 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=14 @THEN TAKETECHNOLOGY whom=Poles and Lithuanians technology=52 @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=3 @THEN TAKETECHNOLOGY whom=Poles and Lithuanians technology=74 @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=42 @THEN TAKETECHNOLOGY whom=Poles and Lithuanians technology=78 @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=15 @THEN JustOnce TEXT ^^After a long period of negotiations, the Republic of Two Nations now adds ^^a third country to the list. ^^ ^^With a variation of the Treaty of Hadiach approved by all necessary parties ^^and Poland still in control of much of the Ukraine,a semi-autonomous Duchy ^^of Ruthenia comes into being. ^^ ^^With great pomp and ceremony, a Cossack elder takes a royal baton, becoming ^^the first Ataman of Ruthenia. ENDTEXT CREATEUNIT unit=Duchy Ataman Count=1 owner=Poles and Lithuanians veteran=yes homecity=None locations 65,71 69,63 70,74 73,09 80,70 76,78 86,82 @ENDIF @IF UNITKILLED unit=Duchy Ataman attacker=anybody defender=Poles and Lithuanians @THEN TEXT ^^The Ataman of Ruthenia has been killed. ^^ ^^Cossacks still in the Ukraine assemble to elect a replacement. ENDTEXT @ENDIF @IF UNITKILLED unit=Duchy Ataman attacker=anybody defender=Poles and Lithuanians @THEN Delay Delay=1 CREATEUNIT unit=Grand Duchy Hetman Count=1 owner=Poles and Lithuanians veteran=no homecity=None locations 65,71 86,82 endlocations @ENDIF ;East Prussia events @IF CityTaken City=Königsberg attacker=Poles and Lithuanians defender=Anybody @AND CheckFlag who=Poles and Lithuanians flag=2 state=off @THEN JustOnce PlayWaveFile powergrow.wav TEXT ^^Commonwealth troops enter the East Prussian capital of Konigsburg. ^^ ^^Declaring himself the Duke of the region, John Sobieski makes a formal ^^act of submission to the Polish king, formally returning East Prussia to ^^its status as a vassal of the Polish crown. ^^ ^^The King of Poland gratefully accepts the homage and praises Sobieski ^^for reclaiming the land for the Commonwealth; other Polish nobles, ^^however, note that this could also be a sign of Sobieski claiming power ^^for himself... ENDTEXT @ENDIF @IF CityTaken City=Königsberg attacker=Poles and Lithuanians defender=Anybody @AND CheckFlag who=Poles and Lithuanians flag=2 state=on @THEN JustOnce PlayWaveFile powergrow.wav TEXT ^^Commonwealth troops enter the East Prussian capital of Konigsburg. ^^ ^^The King quickly installs his son as Duke of Prussia, who quickly pays ^^formal homage to his father, returning the Duchy to vassalage under ^^the Polish crown. ^^ ^^With Prussia now a hereditary fief of the Sobieski family, the king ^^now has a power base above the other Commonwealth magnates, bringing ^^him one step closer to establishing a royal dynasty... ENDTEXT @ENDIF ; Scanian War Events @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce TEXT ^^ Troops under Fredrick William of Brandenberg retake the town of Fehrbellin from ^^ the invading Swedes, proving that the northern power can be defeated. ^^ ^^ Other countries, such as Sweden's rival Denmark, take note... ENDTEXT Flag CONTINUOUS Who=Swedes State=On Flag=1 @ENDIF @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce Delay Delay=12 TEXT ^^With the Swedes' defeat last year at Fehrbellin firmly in their minds, the Danish ^^invade Sweden via the Dane-inhabited Swedish territory of Scania. ENDTEXT CREATEUNIT unit=Infantry [Dan] Count=6 owner=Barbarians veteran=yes homecity=None locations 1,45 0,46 2,46 0,44 endlocations @ENDIF @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce Delay Delay=12 CREATEUNIT unit=Cavalry [Dan] Count=4 owner=Barbarians veteran=yes homecity=None locations 1,45 0,46 2,46 0,44 endlocations @ENDIF @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce Delay Delay=12 CREATEUNIT unit=Dragoons [Dan] Count=2 owner=Barbarians veteran=yes homecity=None locations 1,45 0,46 2,46 0,44 endlocations @ENDIF @IF CityTaken City=Fehrbellin attacker=House of Brandenburg defender=Swedes @THEN JustOnce Delay Delay=12 CREATEUNIT unit=Cannon Count=3 owner=Barbarians veteran=yes homecity=None locations 1,45 0,46 2,46 0,44 endlocations @ENDIF ;Siege of Kamieniec @IF CITYTAKEN CITY=Braclaw attacker=Anybody defender=Poles and Lithuanians @THEN Flag CONTINUOUS Who=Turks State=On Flag=5 @ENDIF @IF TURN Turn=61 @THEN MAKEAGGRESSION who=Turks whom=Poles and Lithuanians @ENDIF @IF TURN Turn=61 @THEN CreateUnit owner=Barbarians unit=Militia [Swd] veteran=false homecity=none locations 109,127 109,129 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN FLAG continuous flag=4 Who=Turks state=on TEXT ^^ Turks prepare to invade Podolia. ENDTEXT @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Cannon [Tur] Count=4 owner=Turks veteran=yes homecity=None locations 51,83 50,82 52,82 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Cannon Count=2 owner=Turks veteran=yes homecity=None locations 51,83 50,82 52,82 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Sappers Count=3 owner=Turks veteran=yes homecity=None locations 51,83 50,82 52,82 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN JustOnce CREATEUNIT unit=Janissaries Count=12 owner=Turks veteran=yes homecity=None locations 51,83 50,82 52,82 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN JustOnce CREATEUNIT unit=Sipahis Count=6 owner=Turks veteran=yes homecity=None locations 51,83 50,82 52,82 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN JustOnce CREATEUNIT unit=Azabs Count=10 owner=Turks veteran=yes homecity=None locations 51,83 50,82 52,82 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN JustOnce unit=Turfekci Count=10 owner=Turks veteran=yes homecity=None locations 51,83 50,82 52,82 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Wallachian Inf. Count=9 owner=Turks veteran=yes homecity=None locations 51,83 50,82 52,82 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Wallachian Cavalry Count=4 owner=Turks veteran=yes homecity=None locations 51,83 50,82 52,82 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Raiders [Tar] Count=7 owner=Turks veteran=yes homecity=None locations 49,79 50,80 49,81 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Cossacks Count=3 owner=Turks veteran=yes homecity=None locations 49,79 50,80 49,81 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Raiders [Tar] Count=7 owner=Turks veteran=yes homecity=None locations 53,79 52,80 53,81 endlocations @ENDIF @IF UnitKilled unit=Militia [Swd] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Cossacks Count=3 owner=Turks veteran=yes homecity=None locations 53,79 52,80 53,81 endlocations @ENDIF @IF TURNINTERVAL interval=1 @AND RecievedTechnology technology=90 receiver=Turks @THEN MAKEAGGRESSION who=Turks whom=Poles and Lithuanians @ENDIF @IF CityTaken City=Kamieniec attacker=Turks defender=Poles and Lithuanians @THEN JustOnce PlayWaveFile wardrums.wav TEXT ^^Ottoman forces take the fortress of Kamieneic Podolski, ^^converting the cathedral into a mosque and eyeing the ^^rest of Podolia and the Ukraine... ENDTEXT Flag CONTINUOUS Who=Turks State=On Flag=0 TakeTechnology whom=Turks technology=90 @ENDIF @IF CityTaken City=Kamieniec attacker=Turks defender=Poles and Lithuanians @THEN JustOnce CREATEUNIT unit=Garrison Count=1 owner=Turks veteran=yes homecity=None locations 51,81 endlocations @ENDIF @IF CheckFlag Who=Turks Mask=0b00000000000000000000000000100001 Threshold=2 State=On @THEN JUSTONCE Negotiator who=Turks type=Listener state=Clear @ENDIF @IF CheckFlag Who=Turks Mask=0b00000000000000000000000000100001 Threshold=2 State=On @THEN JUSTONCE Negotiator who=Turks type=Talker state=Clear @ENDIF ;Battle of Chocim @IF TURN Turn=76 @THEN PlayWaveFile wardrums.wav TEXT ^^In the small fortified town of Chocim (modern-day Khotym), the Ottoman commander ^^Huessein Pasha gathers his army, plotting to take the Turkish Cresecent into the ^^Polish heartland... ENDTEXT @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Janissaries Count=8 owner=Turks veteran=yes homecity=None locations 51,83 51,85 51,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Sipahis Count=13 owner=Turks veteran=yes homecity=None locations 51,83 51,85 51,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Turfekci Count=4 owner=Turks veteran=yes homecity=None locations 51,83 51,85 51,87 endlocations @ENDIF @IF TURN Turn=61 @THEN CREATEUNIT unit=Azabs Count=5 owner=Turks veteran=yes homecity=None locations 51,83 51,85 51,87 endlocations @ENDIF ;Battle of Lwow @IF TURN Turn=95 @THEN CreateUnit owner=Barbarians unit=Seymen veteran=false homecity=none locations 109,127 109,129 endlocations @ENDIF @IF UnitKilled unit=Seymen attacker=Turks defender=Barbarians @THEN FLAG continuous flag=8 Who=Turks state=on TEXT ^^ As the summer sun shines down on central Europe, Ottoman forces under Ibrahim ^^ Shyshman ("Abraham the Fat") cross the Dnister to invade Ruthenia, with a special ^^ focus on Lwow... ENDTEXT @ENDIF @IF UnitKilled unit=Seymen attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Sipahis Count=4 owner=Turks veteran=yes homecity=None locations 50,82 51,83 endlocations @ENDIF @IF UnitKilled unit=Seymen attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Azabs Count=4 owner=Turks veteran=yes homecity=None locations 50,82 51,83 endlocations @ENDIF @IF UnitKilled unit=Seymen attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Turfekci Count=4 owner=Turks veteran=yes homecity=None locations 50,82 51,83 endlocations @ENDIF @IF UnitKilled unit=Seymen attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Sappers Count=2 owner=Turks veteran=yes homecity=None locations 50,82 51,83 endlocations @ENDIF @IF UnitKilled unit=Seymen attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Janissaries Count=6 owner=Turks veteran=yes homecity=None locations 50,82 51,83 endlocations @ENDIF @IF UnitKilled unit=Seymen attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Cannon [Tur] Count=2 owner=Turks veteran=yes homecity=None locations 50,82 51,83 endlocations @ENDIF @IF UnitKilled unit=Seymen attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Raiders [Tar] Count=4 owner=Turks veteran=yes homecity=None locations 48,82 endlocations @ENDIF @IF UnitKilled unit=Seymen attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Uhlans [Tar] Count=4 owner=Turks veteran=yes homecity=None locations 48,82 endlocations @ENDIF @IF CheckFlag Who=Turks Flag=8 State=on @AND TURN turn=Every @THEN MOVEUNIT unit=AnyUnit owner=Turks maprect 43,77,53,77,53,85,43,85 moveto 44,78 numbertomove=ALL @ENDIF @IF CITYTAKEN CITY=Lwów attacker=Turks defender=Poles and Lithuanians @THEN JustOnce PlayWaveFile loss.wav TEXT ^^ Continuing their march through the Polish-Lithuanian Commonwealth, Ottoman ^^ forces capture the Polish city of Lwów. ^^ ^^ With Ruthenia in Turkish hands, the Polish homeland lies vulnerable... ENDTEXT Flag CONTINUOUS Who=Turks State=On Flag=1 @ENDIF @IF TURN Turn=97 @THEN CREATEUNIT unit=Janissaries Count=6 owner=Turks veteran=yes homecity=None locations 50,80 50,82 51,83 endlocations @ENDIF @IF TURN Turn=97 @THEN CREATEUNIT unit=Sipahis Count=3 owner=Turks veteran=yes homecity=None locations 50,80 50,82 51,83 endlocations @ENDIF @IF TURN Turn=97 @THEN CREATEUNIT unit=Turfekci Count=4 owner=Turks veteran=yes homecity=None locations 50,80 50,82 51,83 endlocations @ENDIF @IF TURN Turn=97 @THEN CREATEUNIT unit=Azabs Count=4 owner=Turks veteran=yes homecity=None locations 50,80 50,82 51,83 endlocations @ENDIF @IF TURN Turn=97 @THEN CREATEUNIT unit=Raiders [Tar] Count=10 owner=Turks veteran=yes homecity=None locations 50,80 50,82 51,83 endlocations @ENDIF @IF TURN Turn=97 @THEN CREATEUNIT unit=Cannon [Tur] Count=1 owner=Turks veteran=yes homecity=None locations 50,80 50,82 51,83 endlocations @ENDIF ;Thököly's rebellion @IF TURN Turn=126 @THEN MAKEAGGRESSION who=Turks whom=Imperials @ENDIF @IF TURN Turn=126 @THEN CreateUnit owner=Barbarians unit=Militia [Imp] veteran=false homecity=none locations 109,127 109,129 endlocations @ENDIF @IF UnitKilled unit=Militia [Imp] attacker=Turks defender=Barbarians @THEN FLAG continuous flag=4 Who=Turks state=on TEXT ^^ Tired of the Hapsburgs' oppressive political and religious policies, ^^ Hungarians under Imre Thököly rebel in Slovakia! ENDTEXT @ENDIF @IF UnitKilled unit=Militia [Imp] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Infantry [Hun] Count=8 owner=Turks veteran=yes homecity=None locations 36,88 38,88 37,89 35,89 34,88 endlocations @ENDIF @IF UnitKilled unit=Militia [Imp] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Hussars [Hun] Count=4 owner=Turks veteran=yes homecity=None locations 36,88 38,88 37,89 35,89 34,88 endlocations @ENDIF @IF UnitKilled unit=Militia [Imp] attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Cannon Count=2 owner=Turks veteran=yes homecity=None locations 36,88 38,88 37,89 35,89 34,88 endlocations @ENDIF @IF UnitKilled unit=Militia [Imp] attacker=Turks defender=Barbarians @THEN JUSTONCE Negotiator who=Turks type=Talker state=Set @ENDIF @IF UnitKilled unit=Militia [Imp] attacker=Turks defender=Barbarians @THEN JUSTONCE Negotiator who=Turks type=Listener state=Set @ENDIF @IF CITYTAKEN CITY=Kosice attacker=Turks defender=Imperials @THEN FLAG continuous flag=6 Who=Turks state=on @ENDIF @IF CITYTAKEN CITY=Sathmar attacker=Turks defender=Imperials @THEN FLAG continuous flag=7 Who=Turks state=on @ENDIF @IF CheckFlag Who=Turks Mask=0b00000000000000000000000011000000 Threshold=2 State=On @THEN JUSTONCE Negotiator who=Turks type=Talker state=Clear @ENDIF @IF CheckFlag Who=Turks Mask=0b00000000000000000000000011000000 Threshold=2 State=On @THEN JUSTONCE Negotiator who=Turks type=Listener state=Clear @ENDIF ;Battle of Vienna (if Lwow not taken) @IF TURN turn=191 @THEN JUSTONCE Negotiator who=Turks type=Talker state=Set @ENDIF @IF TURN turn=191 @THEN JUSTONCE Negotiator who=Turks type=Listener state=Set @ENDIF @IF TURN Turn=191 @THEN MAKEAGGRESSION who=Turks whom=Poles and Lithuanians GIVETECHNOLOGY receiver=Turks technology=93 @ENDIF @IF ReceivedTechnology receiver=Turks technology=93 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN FLAG continuous flag=3 Who=Turks state=on @ENDIF @IF TURN Turn=191 @THEN MAKEAGGRESSION who=Turks whom=Imperials @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Wallachian Inf. Count=10 owner=Turks veteran=no homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Moldavian Infantry Count=10 owner=Turks veteran=no homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Sipahis Count=9 owner=Turks veteran=yes homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Azabs Count=12 owner=Turks veteran=yes homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Turfekci Count=12 owner=Turks veteran=yes homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Sappers Count=8 owner=Turks veteran=yes homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Janissaries Count=16 owner=Turks veteran=yes homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=97 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Cannon [Tur] Count=4 owner=Turks veteran=yes homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=97 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Cannon Count=2 owner=Turks veteran=no homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Kara Mustafa Pasha Count=1 owner=Turks veteran=no homecity=None locations 21,95 endlocations @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Raiders [Tar] Count=10 owner=Turks veteran=no homecity=None locations 16,98 endlocations @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Raiders [Tar] Count=10 owner=Turks veteran=no homecity=None locations 16,98 endlocations @ENDIF @IF CheckFlag Who=Turks Flag=3 State=on @AND TURN turn=Every @THEN MOVEUNIT unit=AnyUnit owner=Turks maprect 12,92,26,92,26,98,12,98 moveto 12,92 numbertomove=ALL @ENDIF @IF UNITKILLED unit=Austrian Frontier attacker=Turks defender=Imperials @THEN PlayWaveFile wardrums.wav TEXT ^^Rather than risk a losing fight, the Imperial garrison at Gyor withdraws ^^from the fortress and retreats to Vienna. ^^ ^^Once news of this reaches the capital, nearly sixty thousand Viennese flee, ^^others riot, and all able-bodied men are drafted into the defense of the city. ^^ ^^The seige of Vienna has begun. ENDTEXT Randomize CREATEUNIT unit=Militia [Imp] Count=4 owner=Imperials veteran=no homecity=None locations 12,92 endlocations @ENDIF @IF UNITKILLED unit=Austrian Frontier attacker=Turks defender=Imperials @THEN CREATEUNIT unit=Turkish Camp Count=1 owner=Turks veteran=no homecity=None locations 13,93 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Bav. Cuirassiers Count=2 owner=Poles and Lithuanians veteran=no homecity=None locations 4,94 1,93 2,94 3,95 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Bavarian Infantry Count=4 owner=Poles and Lithuanians veteran=no homecity=None locations 4,94 1,93 2,94 3,95 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Infantry [Imp] Count=4 owner=Poles and Lithuanians veteran=no homecity=None locations 4,94 1,93 2,94 3,95 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Cuirassiers [Imp] Count=1 owner=Poles and Lithuanians veteran=no homecity=None locations 4,94 1,93 2,94 3,95 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Saxon Infantry Count=4 owner=Poles and Lithuanians veteran=no homecity=None locations 2,76 3,75 3,73 1,73 1,75 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Saxon Cuirassiers Count=2 owner=Poles and Lithuanians veteran=no homecity=None locations 2,76 3,75 3,73 1,73 1,75 endlocations @ENDIF @IF UNITKILLED unit=Turkish Camp attacker=Poles and Lithuanians defender=Turks @THEN PlayWaveFile triumph.wav TEXT ^^ Sobieski breaks the Ottoman seige with a cavalry charge down the Kahlenberg ridge, ^^ and into the Turkish camp. ^^ ^^ While the victorious army marvels at the Visier's menagerie of riches, the people ^^ acclaim Sobieski as their savior, venerating even his garments and wishing "to kiss ^^ so valiant a hand!" ^^ ^^ The coalition has saved Vienna, but the Pasha's army remains; they must now advance ^^ into Hungary and finish the job... ENDTEXT @ENDIF @IF UNITKILLED unit=Turkish Camp attacker=Poles and Lithuanians defender=Turks @THEN JUSTONCE Negotiator who=Turks type=Talker state=Clear @ENDIF @IF UNITKILLED unit=Turkish Camp attacker=Poles and Lithuanians defender=Turks @THEN JUSTONCE Negotiator who=Turks type=Listener state=Clear @ENDIF @IF UNITKILLED unit=Turkish Camp attacker=Poles and Lithuanians defender=Turks @THEN FLAG continuous flag=3 Who=Turks state=off @ENDIF ; Mobilizing Army Events @IF TURN turn=10 @THEN GIVETECHNOLOGY technology=98 receiver=Poles and Lithuanians @ENDIF @IF TurnInterval interval=12 @THEN Delay Delay=10 GIVETECHNOLOGY technology=98 receiver=Poles and Lithuanians @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Cannon Count=1 owner=Imperials veteran=yes homecity=None locations 3,81 2,94 13,85 15,89 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Infantry [Imp] Count=6 owner=Imperials veteran=yes homecity=None locations 3,81 2,94 13,85 15,89 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Cuirassiers [Imp] Count=4 owner=Imperials veteran=yes homecity=None locations 3,81 2,94 13,85 15,89 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Hussars [Imp] Count=1 owner=Imperials veteran=yes homecity=None locations 3,81 2,94 13,85 15,89 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Dragoons [Imp] Count=2 owner=Imperials veteran=yes homecity=None locations 3,81 2,94 13,85 15,89 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Cannon Count=1 owner=House of Brandenburg veteran=yes homecity=None locations 0,64 25,51 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Infantry [Br] Count=3 owner=House of Brandenburg veteran=yes homecity=None locations 0,64 25,51 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Cuirassiers [Br] Count=2 owner=House of Brandenburg veteran=yes homecity=None locations 0,64 25,51 endlocations @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Dragoons [Br] Count=1 owner=House of Brandenburg veteran=yes homecity=None locations 0,64 25,51 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Cannon Count=1 owner=Swedes veteran=yes homecity=None locations 0,56 35,35 15,23 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Infantry [Swd] Count=6 owner=Swedes veteran=no homecity=None locations 0,56 35,35 15,23 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Cuirassiers [Swd] Count=4 owner=Swedes veteran=no homecity=None locations 0,56 35,35 15,23 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Dragoons [Swd] Count=2 owner=Swedes veteran=no homecity=None locations 0,56 35,35 15,23 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Sloop Count=2 owner=Swedes veteran=no homecity=None locations 0,56 35,35 15,23 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Cannon Count=1 owner=Muscovites veteran=yes homecity=None locations 50,28 56,22 70,42 88,54 66,42 65,71 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Infantry [Mus] Count=6 owner=Muscovites veteran=yes homecity=None locations 50,28 56,22 70,42 88,54 66,42 65,71 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Strelets Count=3 owner=Muscovites veteran=yes homecity=None locations 50,28 56,22 70,42 88,54 66,42 65,71 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Reitars [Mus] Count=6 owner=Muscovites veteran=yes homecity=None locations 50,28 56,22 70,42 88,54 66,42 65,71 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Dragoons [Mus] Count=3 owner=Muscovites veteran=yes homecity=None locations 50,28 56,22 70,42 88,54 66,42 65,71 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN CREATEUNIT unit=Cannon [Tur] Count=1 owner=Turks veteran=yes homecity=None locations 59,125 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN CREATEUNIT unit=Janissaries Count=3 owner=Turks veteran=yes homecity=None locations 59,125 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN CREATEUNIT unit=Azabs Count=3 owner=Turks veteran=yes homecity=None locations 59,125 endlocations @ENDIF @IF ReceivedTechnology receiver=Turks technology=98 @THEN CREATEUNIT unit=Turfekci Count=3 owner=Turks veteran=yes homecity=None locations 59,125 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN CREATEUNIT unit=Sipahis Count=4 owner=Turks veteran=yes homecity=None locations 59,125 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN CREATEUNIT unit=Wallachian Inf. Count=2 owner=Turks veteran=yes homecity=None locations 54,110 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN CREATEUNIT unit=Wallachian Cavalry Count=1 owner=Turks veteran=yes homecity=None locations 54,110 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN CREATEUNIT unit=Moldavian Infantry Count=2 owner=Turks veteran=yes homecity=None locations 56,92 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN CREATEUNIT unit=Transylvanian Inf. Count=2 owner=Turks veteran=yes homecity=None locations 42,100 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN CREATEUNIT unit=Transylvanian Cav. Count=2 owner=Turks veteran=yes homecity=None locations 42,100 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Infantry [Hun] Count=3 owner=Turks veteran=yes homecity=None locations 32,86 39,91 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Hussars [Hun] Count=1 owner=Turks veteran=yes homecity=None locations 32,86 39,91 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Cannon Count=1 owner=Turks veteran=yes homecity=None locations 32,86 39,91 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Raiders [Tar] Count=4 owner=Crimean Tartars veteran=yes homecity=None locations 73,89 79,91 82,92 70,98 86,102 endlocations @ENDIF @IF ReceivedTechnology receiver=Poles and Lithuanians technology=98 @THEN Randomize CREATEUNIT unit=Uhlans [Tar] Count=4 owner=Crimean Tartars veteran=yes homecity=None locations 73,89 79,91 82,92 70,98 86,102 endlocations @ENDIF @IF RECEIVEDTECHNOLOGY technology=98 receiver=Poles and Lithuanians @THEN TakeTechnology whom=Poles and Lithuanians technology=98 @ENDIF ; Coronations, elections and all that @IF TURN Turn=13 @THEN PlayWaveFile christian.wav TEXT ^^ Broken down and exhausted after over a decade of constant warfare as well as ^^ the death of his wife, the king of Poland, John II Casimir, abdicates his throne ^^ and retires to a monastery in France. ENDTEXT @ENDIF @IF TURN Turn=23 @THEN PlayWaveFile rev.wav TEXT ^^ Outside Warsaw, the nobility elects as their king Michal Wisniowiecki largely on the ^^ basis of his father Jarema, the fericous magnate and warrior who distinguished himself ^^ during Chmielnicki's uprising. ^^ ^^ In this case, however, the apple falls far from the tree... ENDTEXT FLAG continuous flag=1 Who=Poles and Lithuanians state=on @ENDIF @IF TURN Turn=76 @THEN PlayWaveFile christian.wav TEXT ^^ After four and a half years of passive and ineffective rule, King Michal Wisniowiecki ^^ dies from a surfeit of gherkins. ^^ ^^ The interregnum begins again, and the Republic prepares for another royal election... ENDTEXT FLAG continuous flag=1 Who=Poles and Lithuanians state=off @ENDIF @IF TURN Turn=82 @THEN PlayWaveFile rev.wav TEXT ^^ Just as they did five years ago, the Republic's nobles elect a king; this time, they ^^ choose none other than Jan Sobieski himself for their monarch. ^^ ^^ Both Jan's military prowess and his wife's intrigues factor in his election... ENDTEXT FLAG continuous flag=2 Who=Poles and Lithuanians state=on @ENDIF @IF TURN Turn=18 @THEN PlayWaveFile RussiaMad.wav TEXT ^^ According to the Treaty of Andrusuovo, Moscow is supposed to return the city of Kiev ^^ to the Republic of Poland and Lithuania. ^^ ^^ The Tsar's forces, however, have not left the city... ENDTEXT MAKEAGGRESSION who=Muscovites whom=Poles and Lithuanians @ENDIF @IF UNITKILLED unit=Vybrannye Infantry attacker=ANYBODY defender=Muscovites @THEN Delay Delay=1 CREATEUNIT unit=Vybrannye Infantry Count=1 owner=Muscovites veteran=no homecity=None locations 80,32 endlocations @ENDIF ;Battle of Krakow (If Lwow taken) @IF TURN turn=191 @THEN JUSTONCE Negotiator who=Turks type=Talker state=Set @ENDIF @IF TURN turn=191 @THEN JUSTONCE Negotiator who=Turks type=Listener state=Set @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=On @THEN MAKEAGGRESSION who=Turks whom=Poles and Lithuanians @ENDIF @IF TURN Turn=191 @AND CheckFlag Who=Turks Flag=1 State=On @THEN CreateUnit owner=Barbarians unit=Levy veteran=false homecity=none locations 109,127 109,129 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Wallachian Inf. Count=10 owner=Turks veteran=no homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Moldavian Infantry Count=10 owner=Turks veteran=no homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Sipahis Count=9 owner=Turks veteran=yes homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Azabs Count=12 owner=Turks veteran=yes homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Turfekci Count=12 owner=Turks veteran=yes homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Sappers Count=8 owner=Turks veteran=yes homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Janissaries Count=16 owner=Turks veteran=yes homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Cannon [Tur] Count=4 owner=Turks veteran=yes homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF TURN Turn=97 @THEN CREATEUNIT unit=Cannon Count=2 owner=Turks veteran=no homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Kara Mustafa Pasha Count=1 owner=Turks veteran=no homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Raiders [Tar] Count=10 owner=Turks veteran=no homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF UNITKILLED unit=Levy attacker=Turks defender=Barbarians @THEN CREATEUNIT unit=Raiders [Tar] Count=10 owner=Turks veteran=no homecity=None locations 42,78 43,77 44,78 endlocations @ENDIF @IF CheckFlag Who=Turks Flag=1 State=On @AND TURN turn=Every @THEN MOVEUNIT unit=AnyUnit owner=Turks maprect 22,76,46,76,46,82,22,82 moveto 25,79 numbertomove=ALL @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=On @THEN CREATEUNIT unit=Bav. Cuirassiers Count=2 owner=Poles and Lithuanians veteran=no homecity=None locations 13,91 12,90 13,89 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=On @THEN CREATEUNIT unit=Bavarian Infantry Count=4 owner=Poles and Lithuanians veteran=no homecity=None locations 13,91 12,90 13,89 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=On @THEN CREATEUNIT unit=Infantry [Imp] Count=4 owner=Poles and Lithuanians veteran=no homecity=None locations 13,91 12,90 13,89 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=On @THEN CREATEUNIT unit=Cuirassiers [Imp] Count=1 owner=Poles and Lithuanians veteran=no homecity=None locations 13,91 12,90 13,89 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Saxon Infantry Count=4 owner=Poles and Lithuanians veteran=no homecity=None locations 2,76 3,75 3,73 1,73 1,75 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=Off @THEN CREATEUNIT unit=Saxon Cuirassiers Count=2 owner=Poles and Lithuanians veteran=no homecity=None locations 2,76 3,75 3,73 1,73 1,75 endlocations @ENDIF endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=On @THEN CREATEUNIT unit=Infantry [Imp] Count=4 owner=Poles and Lithuanians veteran=no homecity=None locations 13,91 12,90 13,89 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=On @THEN CREATEUNIT unit=Cuirassiers [Imp] Count=1 owner=Poles and Lithuanians veteran=no homecity=None locations 13,91 12,90 13,89 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=On @THEN CREATEUNIT unit=Saxon Infantry Count=4 owner=Poles and Lithuanians veteran=no homecity=None locations 13,91 12,90 13,89 endlocations @ENDIF @IF TURN Turn=192 @AND CheckFlag Who=Turks Flag=1 State=On @THEN CREATEUNIT unit=Saxon Cuirassiers Count=2 owner=Poles and Lithuanians veteran=no homecity=None locations 13,91 12,90 13,89 endlocations @ENDIF ;Kraków taken @IF CITYTAKEN city=Kraków attacker=Turks defender=Poles and Lithuanians @THEN JUSTONCE TEXT ^^ After a bloody and brutal siege, Ottoman forces take Kraków, Poland's historical ^^ capital. ^^ ^^ Pious Cracovians watch in horror as Kara Mustafa Pasha takes up residence on Wawel Hill, ^^ transforming the famous Cathedral into a mosque... ENDTEXT PlayWaveFile loss.wav @ENDIF @IF TURN Turn=48 @THEN TEXT ^^ The Khan of the Crimean Tartars, Adil Giray, is deposed and a new ruler, ^^ Selim Giray, becomes Khan. ^^ ^^ The hand of the Turkish Sultan is suspected... ENDTEXT MAKEAGGRESSION who=Crimean Tartars whom=Poles and Lithuanians @ENDIF @ENDEVENTS