//
//Caravans
//
//Caravans not in game
//
//Attacking a Caravan
//(Class=Drover AND EnemyType=Caravan AND Inv(Oxen,Goats,Sheep)>0)
//"Our rivals have fled! Let me round up whatever livestock we can find and add it to our herd."
//Gain(Camels,3,Animals,D4)
//Gain(Sheep,10,Animals,D3)
//Gain(Goats,10,Animals,D2)
//#end
//
//(Class=Drover AND EnemyType=Caravan AND Inv(Oxen,Goats,Sheep)=0)
//"They flee in terror... we should try and capture some of their camels while we can!"
//Gain(Camels,3,Animals,D4)
//#end
//
//(Class=Merchant AND EnemyType=Caravan)
//"We have scattered them! Let us quickly round up whatever goods they were carrying and add them to our cargo."
//Gain(Wool,12,Trade,D2)
//Gain(Silver,9,Trade,D3)
//Gain(Spices,7,Trade,D4)
//Gain(Silk,5,Trade,D5)
//Gain(Provisions,24,Trade,D2)
//#end
//
//The above is specified as Roman for now... will need the other cultures if Caravan is a legitimate encounter option



//
//Defenders
//

//Claiming Roman settlements
(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Roman AND Terrain(Citadel))
"The city is ours! Tax the populace but share the proceeds with the magistrates, or they will turn back to Rome all too swiftly."
Spirit(10%,3%,Battle,D3)
Tribute(0.50)
Reputation(Roman,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Roman AND Terrain(Town))
"The Castrum is ours! Take a small tax from the people, but let the civil leaders take over taxation so they remain loyal to us."
Spirit(8%,2%,Battle,D3)
Tribute(0.50)
Reputation(Roman,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Roman AND Terrain(Fortress))
"We have taken this Castellum! Take some tribute from the civil leaders but let them claim the tax from now on."
Spirit(5%,1%,Battle,D3)
Tribute(0.50)
Reputation(Roman,50)
#end


//Claiming Parthian settlements
(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Parthian AND Terrain(Citadel))
"The Citadel has fallen! Take a small tribute from the people, but reassure them also that we are friends and no harm shall come to them."
Spirit(10%,3%,Battle,D3)
Tribute(0.50)
Reputation(Parthian,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Parthian AND Terrain(Fortress))
"This Fortress falls to us this day! Offer reassurances that we will not harm the people in these parts, but claim a small tribute too..."
Spirit(8%,2%,Battle,D3)
Tribute(0.50)
Reputation(Parthian,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Parthian AND Terrain(Town)) OR (Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Parthian AND Terrain(Caravanserai))
"It is ours to claim! After taking some tribute, reassure everyone that we shall protect them from any attempt at Parthian vengeance."
Spirit(5%,1%,Battle,D4)
Tribute(0.50)
Reputation(Parthian,50)
#end


//Claiming Kushan Citadels or Fortresses
(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Kushan AND Terrain(Citadel))
"The Citadel is ours! Take some tribute from those who live here, but do them no harm - we need allies in this war more than we need goods."
Spirit(10%,3%,Battle,D3)
Tribute(0.50)
Reputation(Kushan,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Kushan AND Terrain(Fortress))
"The Fortress has fallen to our might! Let us take a tithe in tribute, but reassure those who live here that we will not harm civilians."
Spirit(8%,2%,Battle,D3)
Tribute(0.50)
Reputation(Kushan,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Kushan AND Terrain(Town)) OR (Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Kushan AND Terrain(Caravanserai))
"This place is ours! We will take some tribute, but reassure the populace that we are their friends and no harm shall befall them."
Spirit(5%,1%,Battle,D4)
Tribute(0.50)
Reputation(Kushan,50)
#end




//Claiming Han Citadels or Fortresses
(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Han AND Terrain(Citadel))
"The Han Citadel is ours! Reassure the people that we will not abandon them to the desert, and claim a modest tribute."
Spirit(10%,3%,Battle,D3)
Tribute(0.50)
Reputation(Han,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Han AND Terrain(Fortress))
"The Fortress has fallen! These people have kin for leagues in all directions, so take only a small tribute and reassure them that we will protect them just as the Han did."
Spirit(8%,2%,Battle,D3)
Tribute(0.50)
Reputation(Han,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Han AND Terrain(Town)) OR (Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Han AND Terrain(Caravanserai))
"There is no further resistance - take a small tribute from the people, but assure them we will protect them just as the Han did before."
Spirit(5%,1%,Battle,D4)
Tribute(0.50)
Reputation(Han,50)
#end



//Claiming Nomad settlements
(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Nomad AND Terrain(Citadel))
"We have captured the Citadel! Take a fair tribute but let the clan we defeated here govern in our name - they will value our generosity, and we need all the allies we can get."
Spirit(10%,3%,Battle,D3)
Tribute(0.50)
Reputation(Nomad,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Nomad AND Terrain(Fortress))
"We have taken the Fortress! After taking a small tribute, strike an agreement with the clan leaders to hold this place in our name that we might add their support to our cause..."
Spirit(8%,2%,Battle,D3)
Tribute(0.50)
Reputation(Nomad,50)
#end

(Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Nomad AND Terrain(Town)) OR (Class=Soldier AND EnemyType=Defenders AND EnemyCulture=Nomad AND Terrain(Caravanserai))
"The Nomads have surrendered! Accept half their tribute, but let the clan leaders remain in charge, that they may aid us in our wider struggle."
Spirit(5%,1%,Battle,D4)
Tribute(0.5)
Reputation(Nomad,50)
#end



//Special Drover tactics when claiming settlements of any culture
(Class=Drover AND EnemyType=Defenders AND TownInv(Horses)>100)
"Never mind the tribute - there are so many Horses here, we would be remiss if we did not reinforce our army with them."
Gain(Horses,100,Animals,D4)
#end

(Class=Drover AND EnemyType=Defenders AND TownInv(Horses)>20)
"In the carnage of our occupation, no-one will notice if some of the Horses join those in our army, especially if we neglect to take any other tribute..."
Gain(Horses,20,Animals,D4)
#end

(Class=Drover AND EnemyType=Defenders AND TownInv(Horses)>5)
"Let me round up some Horses during the chaos of our takeover of this place - I'll wager no-one will challenge us provided we treat this as our tribute."
Gain(Horses,5,Animals,D4)
#end


//Merchant or Guide offers supplies
(Class=Merchant AND EnemyType=Defenders AND Terrain(Citadel)) OR (Class=Guide AND EnemyType=Defenders AND Terrain(Citadel))
"Now this Citadel is ours, just give the word I will arrange for the people here to gather a generous amount of Provisions for us, in lieu of tribute."
Spirit(8%,2%,Trade,D3)
Supplies(5.0)
#end

(Class=Merchant AND EnemyType=Defenders AND Terrain(Fortress)) OR (Class=Guide AND EnemyType=Defenders AND Terrain(Fortress))
"The Fortress is captured! If you wish, I will have the people who live here gather supplies as our tribute, that we might restock our Provisions."
Spirit(6%,2%,Trade,D3)
Supplies(5.0)
#end

(Class=Merchant AND EnemyType=Defenders AND Terrain(Town)) OR (Class=Guide AND EnemyType=Defenders AND Terrain(Town))
"Victory is ours! As tribute, shall I arrange for the townsfolk to gather additional supplies for us?"
Spirit(3%,1%,Trade,D4)
Supplies(5.0)
#end


//Greedy options for Battle but low Rituals
(Battle>=1 AND Rituals<3 AND EnemyType=Defenders AND EnemyCulture=Roman)
"Now we have taken this place from Rome, let us force them to provide additional tribute, lest they suffer our wrath!"
Spirit(5%,1%,Battle,D3)
Tribute(3.0)
Supplies(4.0)
Reputation(Roman,-50)
#end

(Battle>=1 AND Rituals<3 AND EnemyType=Defenders AND EnemyCulture=Parthian)
"Now we have beaten the Parthian enemy, let us force them to offer double the usual tribute to us!"
Spirit(5%,1%,Battle,D3)
Tribute(3.0)
Supplies(4.0)
Reputation(Parthian,-50)
#end

(Battle>=1 AND Rituals<3 AND EnemyType=Defenders AND EnemyCulture=Kushan)
"These Kushan dogs will pay twice the tribute if we threaten them with further reprisals..."
Spirit(5%,1%,Battle,D3)
Tribute(3.0)
Supplies(4.0)
Reputation(Kushan,-50)
#end

(Battle>=1 AND Rituals<3 AND EnemyType=Defenders AND EnemyCulture=Han)
"The Han defenders surrender! Let us punish them for their insolence by demanding additional tribute from them."
Spirit(5%,1%,Battle,D3)
Tribute(3.0)
Supplies(4.0)
Reputation(Han,-50)
#end

(Battle>=1 AND Rituals<3 AND EnemyType=Defenders AND EnemyCulture=Nomad)
"Now we have overcome the Nomad guards, we should make them pay extra for the blood we have spilled this day..."
Spirit(5%,1%,Battle,D3)
Tribute(3.0)
Supplies(4.0)
Reputation(Nomad,-50)
#end



//Defaults for claiming a settlement
(EnemyType=Defenders AND Terrain(Citadel))
"We have taken the Citadel!"
Spirit(8%,2%,Battle,D3)
Tribute(1.0)
Supplies(3.0)
#end

(EnemyType=Defenders AND Terrain(Fortress))
"The Fortress is ours!"
Spirit(6%,2%,Battle,D3)
Tribute(1.0)
Supplies(3.0)
#end

(EnemyType=Defenders AND Terrain(Town))
"This town is ours!"
Spirit(3%,1%,Battle,D4)
Tribute(1.0)
Supplies(3.0)
#end

(EnemyType=Defenders)
"We have successfully taken this place!"
Spirit(3%,1%,Battle,D4)
Tribute(1.0)
Supplies(3.0)
#end
 


//
//Troops
//

//Recruitment options
(Class=Soldier AND EnemyType=Troop AND AdvisorCulture=Roman AND EnemyCulture=Roman) OR (Class=Soldier AND EnemyType=Defenders AND AdvisorCulture=Roman AND EnemyCulture=Roman)
"Victory is ours, and I know some of these defeated legionnaires... shall I recruit new troops from the ranks of the defeated?"
Gain(Guards,30,Battle,D4)
#end

(Class=Soldier AND EnemyType=Troop AND AdvisorCulture=Parthian AND EnemyCulture=Parthian) OR (Class=Soldier AND EnemyType=Defenders AND AdvisorCulture=Parthian AND EnemyCulture=Parthian)
"We have routed them - and there are soldiers among the defeated I have fought beside in the past. Give me the word, and I shall recruit the willing into our ranks."
Gain(Guards,15,Battle,D4)
RosterGain(Horses,20,Animals,D4)
#end

(Class=Soldier AND EnemyType=Troop AND AdvisorCulture=Kushan AND EnemyCulture=Kushan) OR (Class=Soldier AND EnemyType=Defenders AND AdvisorCulture=Kushan AND EnemyCulture=Kushan)
"They flee! But there are good warriors amongst the defeated, and they may come fight for us if you permit me to make the offer."
Gain(Guards,20,Battle,D4)
RosterGain(Horses,10,Animals,D4)
#end

(Class=Soldier AND EnemyType=Troop AND AdvisorCulture=Han AND EnemyCulture=Han) OR (Class=Soldier AND EnemyType=Defenders AND AdvisorCulture=Han AND EnemyCulture=Han)
"We are victorious, and there are those among the ranks of the defeated that will come to our side if I extend a hand in merciful friendship..."
Gain(Guards,25,Battle,D4)
RosterGain(Horses,5,Animals,D4)
#end

(Class=Soldier AND EnemyType=Troop AND AdvisorCulture=Nomad AND EnemyCulture=Nomad) OR (Class=Soldier AND EnemyType=Defenders AND AdvisorCulture=Nomad AND EnemyCulture=Nomad)
"The Nomad warriors scatter! But might some of the defeated and their kin come to our side, if we extend our trust to them...?"
Gain(Guards,30,Battle,D4)
RosterGain(Horses,40,Animals,D3)
#end


//Drover acquires Horses
(Class=Drover AND EnemyType=Troop AND EnemyCulture=Parthian) OR (Class=Drover AND EnemyType=Troop AND EnemyCulture=Nomad) OR (Class=Drover AND EnemyType=Defenders AND EnemyCulture=Parthian) OR (Class=Drover AND EnemyType=Defenders AND EnemyCulture=Nomad)
"They flee before us! Give me the word and I will attempt to round up some of their Horses."
Gain(Horses,30,Animals,D4)
#end

(Class=Drover AND EnemyType=Troop AND EnemyCulture=Kushan) OR (Class=Drover AND EnemyType=Troop AND EnemyCulture=Han) OR (Class=Drover AND EnemyType=Defenders AND EnemyCulture=Kushan) OR (Class=Drover AND EnemyType=Defenders AND EnemyCulture=Han)
"We have routed them! With your permission, I shall round up whatever horses I can find..."
Gain(Horses,15,Animals,D3)
#end



//
//Bandits
//

//Roman Bandits
(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Roman)
"We are victorious! Let us pursue these Roman villains to their camp and burn it to the ground."
Gain(Silver,5,Battle,D4)
Gain(Wool,9,Battle,D3)
Gain(Provisions,18,Battle,D4)
Time(3)
#end

(Class=Guide AND EnemyType=Bandits AND EnemyCulture=Roman)
"The Roman thieves scatter! Let us pursue them to their camp and burn it to the ground."
Gain(Silver,5,Wayfare,D4)
Gain(Wool,9,Wayfare,D3)
Gain(Provisions,18,Wayfare,D2)
Time(2)
#end

(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Roman) OR (Battle>=2 AND ClassCount(Soldier)=1 AND EnemyType=Bandits AND EnemyCulture=Roman)
"The brigands flee before us! Although it will take time, we should pursue them to their stockade and raid it for supplies."
Gain(Silver,5,Battle,D4)
Gain(Wool,9,Battle,D3)
Gain(Provisions,18,Battle,D4)
Time(3)
#end


//Parthian Bandits
(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Parthian)
"The Parthian brigands are defeated! We should follow them to their camp and raze it to the ground."
Gain(Silver,5,Battle,D4)
Gain(Spices,4,Battle,D3)
Gain(Provisions,16,Battle,D4)
Time(3)
#end

(Class=Guide AND EnemyType=Bandits AND EnemyCulture=Parthian)
"Our forces have scattered the Parthian raiders! Let me pick up their trail and we can pay them back by plundering their camp."
Gain(Silver,5,Wayfare,D4)
Gain(Spices,4,Wayfare,D3)
Gain(Provisions,16,Wayfare,D2)
Time(2)
#end

(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Parthian) OR (Battle>=2 AND ClassCount(Soldier)=1 AND EnemyType=Bandits AND EnemyCulture=Parthian)
"The outlaws scatter! Their stockade is surely nearby - even if it takes us a while to find it, we should take what we can from these rogues."
Gain(Silver,5,Battle,D4)
Gain(Spices,4,Battle,D3)
Gain(Provisions,16,Battle,D4)
Time(3)
#end


//Kushan Bandits
(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Kushan)
"The bandits are routed! They must have a camp in the Kushan wilds... let us raid it for supplies."
Gain(Spices,4,Battle,D4)
Gain(Provisions,21,Battle,D4)
//This additional Spoils check is on Animals and thus less likely to succeed
RosterGain(Horses,2,Animals,D7)
Time(3)
#end

(Class=Guide AND EnemyType=Bandits AND EnemyCulture=Kushan)
"These Kushan brigands are cowards - but they may yet have valuable goods at their camp. May I attempt to pick up their trail? "
Gain(Spices,4,Wayfare,D4)
Gain(Provisions,21,Wayfare,D2)
//This additional Spoils check is on Animals and thus less likely to succeed
RosterGain(Horses,2,Animals,D7)
Time(2)
#end

(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Kushan) OR (Battle>=2 AND ClassCount(Soldier)=1 AND EnemyType=Bandits AND EnemyCulture=Kushan)
"They flee into the wilds of Kushan! Their stockade cannot be far... can we spare the time to search for it?"
Gain(Spices,4,Wayfare,D4)
Gain(Provisions,21,Wayfare,D2)
//This additional Spoils check is on Animals and thus less likely to succeed
RosterGain(Horses,2,Animals,D7)
Time(3)
#end


//Han Bandits
(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Han)
"These Han brigands have no backbone! But they may have Silk stored at their stockade - give the order, and I shall pursue!"
Gain(Silver,4,Battle,D5)
Gain(Silk,7,Battle,D4)
Gain(Provisions,12,Battle,D4)
Time(3)
#end

(Class=Guide AND EnemyType=Bandits AND EnemyCulture=Han)
"Our forces have overcome the marauding Han! Give the word, and I will track them to their camp, that we might raid it."
Gain(Silver,4,Wayfare,D5)
Gain(Silk,7,Wayfare,D4)
Gain(Provisions,12,Wayfare,D2)
Time(2)
#end

(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Han) OR (Battle>=2 AND ClassCount(Soldier)=1 AND EnemyType=Bandits AND EnemyCulture=Han)
"So much for the bandits! If we can spare the time to locate their stockade, we should certainly raid it."
Gain(Silver,4,Wayfare,D5)
Gain(Silk,7,Wayfare,D4)
Gain(Provisions,12,Wayfare,D2)
Time(3)
#end


//Nomad Raiders
(Class=Soldier AND EnemyType=Bandits AND AdvisorCulture=Nomad AND EnemyCulture=Nomad AND DestinyWar) OR (Class=Soldier AND EnemyType=Bandits AND AdvisorCulture=Nomad AND EnemyCulture=Nomad AND AtWar)
"The Nomad raiders are defeated! But they will be impressed by our strength - shall we invite them and their kin to join our ranks?"
Gain(Guards,12,Battle,D4)
RosterGain(Horses,16,Animals,D3)
#end

(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Nomad)
"The Nomads are defeated! They may have a camp near here... let us pursue and see if we can steal some of their horses and supplies."
Gain(Provisions,12,Battle,D4)
// This additional Spoils check is on Animals and thus less likely to succeed
RosterGain(Horses,3,Animals,D6)
Time(3)
#end

(Class=Guide AND EnemyType=Bandits AND EnemyCulture=Nomad)
"We have scattered the Nomad raiders! If you will permit me to track them, we might yet capture some of their horses and fodder."
Gain(Provisions,12,Wayfare,D2)
// This additional Spoils check is on Animals and thus less likely to succeed
RosterGain(Horses,3,Animals,D6)
Time(3)
#end

(Class=Soldier AND EnemyType=Bandits AND EnemyCulture=Nomad) OR (Battle>=2 AND ClassCount(Soldier)=1 AND EnemyType=Bandits AND EnemyCulture=Nomad)
"They scatter before us! I'll wager they have Horses at a stockade not far from here... can we spare the time to search for it?"
Gain(Provisions,12,Battle,D4)
// This additional Spoils check is on Animals and thus less likely to succeed
RosterGain(Horses,3,Animals,D6)
Time(3)
#end



//Defaults
(AdvisorCulture=Roman)
"We are victorious! Watch these dogs scatter!"
#end

(AdvisorCulture=Parthian)
"The enemy fall to our superior might! Victory is ours."
#end

(AdvisorCulture=Kushan)
"We have overcome the enemy! Watch them scatter."
#end

(AdvisorCulture=Nomad)
"This day the battle was ours to win."
#end

(AdvisorCulture=Han)
"The honour of victory is ours this day."
#end
