//Soldier - DestinyWar

//Soldier asks for Silver instead of Wool if DestinyWar: Roman
(Class=Soldier AND TownCulture=Roman AND DestinyWar AND Inv(Wool)>=TradeGive(Wool,Silver))
"The merchants may prefer to carry Wool for trade, but it is Silver that will win us our war in the end."
RosterTrade(Wool,Silver)
#end

//Soldier asks for Silver instead of Wool if DestinyWar: Parthian
(Class=Soldier AND TownCulture=Parthian AND DestinyWar AND Inv(Wool)>=TradeGive(Wool,Silver))
"Silver serves our purposes far better than anything else... Let's get rid of our Wool here."
RosterTrade(Wool,Silver)
#end

//Soldier asks for Silver instead of Spices if DestinyWar: Kushan
(Class=Soldier AND TownCulture=Kushan AND DestinyWar AND Inv(Spices)>=TradeGive(Spices,Silver) AND Carry(Spices,Silver))
"I don't care how much the merchants want Spices, the path to victory is lined with Silver."
RosterTrade(Spices,Silver)
#end

//Soldier asks for Silver instead of Wool if DestinyWar: Kushan
(Class=Soldier AND TownCulture=Kushan AND DestinyWar AND Inv(Wool)>=TradeGive(Wool,Silver))
"We can't hire Guards with Wool - Let us take the Silver instead."
RosterTrade(Wool,Silver)
#end

//Soldier asks for Silver instead of Silk if DestinyWar: Han
(Class=Soldier AND TownCulture=Han AND DestinyWar AND Inv(Silk)>=TradeGive(Silk,Silver) AND Carry(Silk,Silver))
"The only reason to carry Silk is to trade it for Silver, whether here or somewhere else."
RosterTrade(Silk,Silver)
#end

//Soldier asks for Silver instead of Wool if DestinyWar: Nomad
(Class=Soldier AND TownCulture=Nomad AND DestinyWar AND Inv(Wool)>=TradeGive(Wool,Silver))
"If they have Silver, we want it; if they want Wool, we give it - there is nothing to discuss about this."
RosterTrade(Wool,Silver)
#end



//Soldier - Generic Silver-for-Guards patter when you have no Silver
//Soldier asks for Silver instead of Wool
(Class=Soldier AND Inv(Silver)=0 AND Inv(Wool)>=TradeGive(Wool,Silver))
"Whatever value the Wool may have in trade, I would prefer Silver so we can hire Guards..."
RosterTrade(Wool,Silver)
#end

//Soldier asks for Silver instead of Spices
(Class=Soldier AND Inv(Silver)=0 AND Inv(Spices)>=TradeGive(Spices,Silver) AND Carry(Spices,Silver))
"We shold trade Spices for some Silver, so we can hire Guards."
RosterTrade(Spices,Silver)
#end

//Soldier asks for Silver instead of Silk
(Class=Soldier AND Inv(Silver)=0 AND Inv(Silk)>=TradeGive(Silk,Silver) AND Carry(Silk,Silver))
"Give up a Silk bolt for some Silver - I dislike not being able to hire Guards."
RosterTrade(Silk,Silver)
#end



//Soldier - Generic Silver-for-Guards patter when you have little Silver
//Soldier asks for Silver instead of Wool
(Class=Soldier AND Inv(Silver)<10 AND Inv(Wool)>=TradeGive(Wool,Silver))
"I have no use for Wool - I should like more Silver in our coffers instead."
RosterTrade(Wool,Silver)
#end

//Soldier asks for Silver instead of Spices
(Class=Soldier AND Inv(Silver)<10 AND Inv(Spices)>=TradeGive(Spices,Silver) AND Carry(Spices,Silver))
"On a hundred days you could ask me and I should still want Silver and not Spices."
RosterTrade(Spices,Silver)
#end

//Soldier asks for Silver instead of Silk
(Class=Soldier AND Inv(Silver)<10 AND Inv(Silk)>0 AND Carry(Silk,Silver))
"Whatever value the Silk may have, I would rather have more Silver..."
RosterTrade(Silk,Silver)
#end



//Merchant trade options

//Roman: merchants trade anything but Wool here for Silver

(Class=Merchant AND AdvisorCulture=Roman AND TownCulture=Roman AND Inv(Silk)>0 AND Carry(Silk,Silver))
"Rome adores fine Silk - we can get a generous amount of Silver here for our bolts."
Trade(Silk,Silver)
#end

(Class=Merchant AND AdvisorCulture!=Roman AND TownCulture=Roman AND Inv(Silk)>0 AND Carry(Silk,Silver))
"In these lands Silk will never be in higher demand, nor Silver more plentiful - we should trade as much as we can."
Trade(Silk,Silver)
#end

(Class=Merchant AND TownCulture=Roman AND Inv(Spices)>0 AND Carry(Spices,Silver))
"There is always a demand for Spices in these parts, and Silver ingots will become more valuable as we travel east."
Trade(Spices,Silver)
#end

(Trade>=3 AND TownCulture=Roman AND Inv(Spices)>0 AND Carry(Spices,Silver)) OR (Trade>=2 AND AdvisorCulture=Roman AND TownCulture=Roman AND Inv(Spices)>0 AND Carry(Spices,Silver))
"Many caravans bring Spices from the east and trade them for Silver with Roman merchants - shall we do the same?"
Trade(Spices,Silver)
#end

(Trade>=3 AND TownCulture=Roman AND Inv(Silk)>0 AND Carry(Silk,Silver)) OR (Trade>=2 AND AdvisorCulture=Roman AND TownCulture=Roman AND Inv(Silk)>0 AND Carry(Silk,Silver))
"Silk for Silver is an excellent trade in Roman towns..."
Trade(Silk,Silver)
#end



//Parthian: merchants will happily trade Spices or Silk for Silver

(Class=Merchant AND TownCulture=Parthian AND Inv(Silk)>0 AND Carry(Silk,Silver))
"We could do worse than to trade our Silk for Silver ingots here, especially if we don't want to head into Roman territory."
Trade(Silk,Silver)
#end

(Class=Merchant AND TownCulture=Parthian AND Inv(Spices)>0 AND Carry(Spices,Silver))
"Spices for Silver is a deal that is likely to be in our favour..."
Trade(Spices,Silver)
#end

(Trade>=6 AND TownCulture=Parthian AND Inv(Wool)>=TradeGive(Wool,Silver))
"These Parthian merchants don't want to give up their Silver for just Wool, but they will come around to it if I am forceful enough."
Trade(Wool,Silver)
#end

(Trade>=3 AND TownCulture=Parthian AND Inv(Spices)>0 AND Carry(Spices,Silver)) OR (Trade>=2 AND AdvisorCulture=Parthian AND TownCulture=Parthian AND Inv(Spices)>0 AND Carry(Spices,Silver)
"Should we trade Spices for Silver here? It should be a good trade..."
Trade(Spices,Silver)
#end

(Trade>=3 AND TownCulture=Parthian AND Inv(Silk)>0 AND Carry(Silk,Silver) AND Carry(Silk,Silver)) OR (Trade>=2 AND AdvisorCulture=Parthian AND TownCulture=Parthian AND Inv(Silk)>0 AND Carry(Silk,Silver) AND Carry(Silk,Silver))
"The merchants in this bazaar have a great desire for Silk, and will offer much Silver for it. Shall I make the deal?"
Trade(Silk,Silver)
#end



//Kushan: Silk is a possible trade for Silver, but Spices would make no sense and Wool would be a strange trade

(Class=Merchant AND AdvisorCulture=Kushan AND TownCulture=Kushan AND Inv(Silk)>0 AND Carry(Silk,Silver))
"My people love Silk, but I would trade Silk for Silver only if we aren't heading further west, where it would be an even better trade."
Trade(Silk,Silver)
#end

(Class=Merchant AND AdvisorCulture!=Kushan AND TownCulture=Kushan AND Inv(Silk)>0 AND Carry(Silk,Silver))
"If we don't plan on travelling west, where Silk is even more valuable, we could trade a bolt here for some Silver."
Trade(Silk,Silver)
#end

(Class!=Merchant AND Trade>=3 AND TownCulture=Kushan AND Inv(Spices)>=TradeGive(Spices,Silver) AND Carry(Spices,Silver))
"Do you want to give up some of our Spice jars for Silver...?"
Trade(Spices,Silver)
#end

(Class!=Merchant AND Trade>=3 AND TownCulture=Kushan AND Inv(Wool)>=TradeGive(Wool,Silver))
"Would you like to get some more Silver by trading some of our Wool bolts here?"
Trade(Wool,Silver)
#end

(Class!=Merchant AND Trade>=3 AND TownCulture=Kushan AND Inv(Silk)>0)
"Shall we trade Silk for Silver here?"
Trade(Silk,Silver)
#end



//Han: Silver might be on offer, but it will be more expensive here than anywhere else.

(Class=Merchant AND TownCulture=Han AND Inv(Spices)>0 AND Carry(Spices,Silver))
"I shall get Silver for our Spices if you wish, but Silk would be better since we must surely travel west soon enough..."
Trade(Spices,Silver)
#end

(Class=Merchant AND TownCulture=Han AND Inv(Wool)>0 AND Carry(Wool,Silver))
"We have little to gain here by trading Wool for Silver, but I will make the trade if you wish..."
Trade(Wool,Silver)
#end

(Trade>=3 AND TownCulture=Han AND Inv(Wool)>0 AND Carry(Wool,Silver)) OR (Trade>=2 AND AdvisorCulture=Han AND TownCulture=Han AND Inv(Wool)>0 AND Carry(Wool,Silver))
"I'm unsure if we should trade our Wool for Silver here, but there are plenty of merchants willing to take that deal..."
Trade(Wool,Silver)
#end

(Trade>=3 AND TownCulture=Han AND Inv(Spices)>0 AND Carry(Spices,Silver)) OR (Trade>=2 AND AdvisorCulture=Han AND TownCulture=Han AND Inv(Spices)>0 AND Carry(Spices,Silver))
"Do you wish to trade Spices for Silver here?"
Trade(Spices,Silver)
#end

(Trade>=2 AND AdvisorCulture=Han AND TownCulture=Han AND Inv(Silk)>0 AND Carry(Silk,Silver))
"My people will take Silk for Silver, but they would laugh at us as we made the trade!"
Trade(Silk,Silver)
#end

(Class=Merchant AND TownCulture=Han AND Inv(Silk)>0)
"I refuse to trade Silk for Silver in the Han Empire!"
#end



//Nomad: Silk or Spices could be traded for Silver, while Wool for Silver would be a strange trade

(Class=Merchant AND TownCulture=Nomad AND Inv(Spices)>0 AND Carry(Spices,Silver))
"Spices for Silver is an unusual trade with Nomads, but there are certainly times when Silver is more useful..."
Trade(Spices,Silver)
#end

(Class=Merchant AND TownCulture=Nomad AND Inv(Silk)>0 AND Carry(Silk,Silver))
"They will gladly take our Silks for Silver, but it might not be our best trade..."
Trade(Silk,Silver)
#end

(Class=Merchant AND TownCulture=Nomad AND Inv(Wool)>0 AND Carry(Wool,Silver))
"These Nomads would be glad to take our Wool and give us Silver, but we'd have to really want the Silver to do it..."
Trade(Wool,Silver)
#end

(Trade>=3 AND TownCulture=Nomad AND Inv(Silk)>0 AND Carry(Silk,Silver)) OR (Trade>=2 AND AdvisorCulture=Nomad AND TownCulture=Nomad AND Inv(Silk)>0 AND Carry(Silk,Silver))
"The traders here are happy to take our Silks for their Silver."
Trade(Silk,Silver)
#end

(Trade>=3 AND TownCulture=Nomad AND Inv(Wool)>0 AND Carry(Wool,Silver)) OR (Trade>=2 AND AdvisorCulture=Han AND TownCulture=Han AND Inv(Wool)>0 AND Carry(Wool,Silver))
"It seems they are very interested in our Wool bolts as a trade for their Silver."
Trade(Wool,Silver)
#end

(Trade>=3 AND TownCulture=Nomad AND Inv(Spices)>0 AND Carry(Spices,Silver)) OR (Trade>=2 AND AdvisorCulture=Nomad AND TownCulture=Nomad AND Inv(Spices)>0 AND Carry(Spices,Silver))
"They are quite happy to take our Spices for their Silver here."
Trade(Spices,Silver)
#end



//Inexperienced Trader
(Trade>0 AND Trade<3 AND Inv(Wool)>0 AND Carry(Wool,Silver) AND TownCulture!=Roman AND TownCulture!=Parthian)
"Do we want to trade Wool for Silver? I am happy to try and haggle on our behalf."
Trade(Wool,Silver)
#end

(Trade>0 AND Trade<3 AND Inv(Spices)>0 AND Carry(Spices,Silver))
"Is Spices for Silver a trade we should like to make here?"
Trade(Spices,Silver)
#end

(Trade>0 AND Trade<3 AND Inv(Silk)>0 AND Carry(Silk,Silver))
"I am not greatly experienced in the Bazaar, but I should be able to trade Silk for Silver."
Trade(Silk,Silver)
#end



//No Merchant warning
(RosterSkill(Trade)<3)
"The Bazaar is a treacherous place without an experienced hand - we should look out for a Merchant in the Caravanserai near here."
#end



//Errors
(AdvisorCulture=Roman AND Inv(Spices)>0 AND NOT Carry(Spices,Silver)) OR (AdvisorCulture=Parthian AND Inv(Spices)>0 AND NOT Carry(Spices,Silver)) OR (AdvisorCulture=Kushan AND Inv(Spices)>0 AND NOT Carry(Spices,Silver))
"We cannot trade Spices for Silver here - we won't be able to carry the Silver we'll get!"
#end

(AdvisorCulture=Han AND Inv(Spices)>0 AND NOT Carry(Spices,Silver)) OR (AdvisorCulture=Nomad AND Inv(Spices)>0 AND NOT Carry(Spices,Silver))
"There is little more we can carry at the moment. If we wish to exchange our Spices for Silver, we must first acquire the animals to transport it..."
#end

(AdvisorCulture=Roman AND Inv(Silk)>0 AND NOT Carry(Silk,Silver)) OR (AdvisorCulture=Parthian AND Inv(Silk)>0 AND NOT Carry(Silk,Silver)) OR (AdvisorCulture=Kushan AND Inv(Silk)>0 AND NOT Carry(Silk,Silver))
"The caravan is already laden with goods... we can't trade Silk for Silver here unless we get more pack animals first."
#end

(AdvisorCulture=Han AND Inv(Silk)>0 AND NOT Carry(Silk,Silver)) OR (AdvisorCulture=Nomad AND Inv(Silk)>0 AND NOT Carry(Silk,Silver))
"To trade Silk for Silver, we will certainly require more animals to carry it."
#end



//Error: Not enough goods to trade
(Trade>=1 AND Inv(Wool)<TradeGive(Wool,Silver) AND Inv(Spices)<TradeGive(Spices,Silver) AND Inv(Silk)<TradeGive(Silk,Silver))
"We have nothing worth trading for a Silver ingot at the moment."
#end



//Defaults and advice by region

//Roman

//Roman trade not advised
(Trade>=5 AND TownCulture=Roman AND Inv(Wool)>0)
"We should not trade our Wool here... Wool gains in value more than Silver as we travel east."
#end

(Class=Merchant AND TownCulture=Roman AND Inv(Wool)>0) OR (Class=Drover AND TownCulture=Roman AND Inv(Wool)>0)
"Only sheep herders trade Wool for Silver in Roman markets."
#end

//Roman Hints
(Class=Merchant AND TownCulture=Roman) OR (Class=Guide AND TownCulture=Roman)
"Silver has great value wherever we go, but there is far more of it in the Roman Empire than in the East... We should take as much of it as we can carry, it's just a matter of deciding what to trade for it."
#end

//Roman defaults
(AdvisorCulture=Roman AND TownCulture=Roman)
"Our Silver is perhaps what the people of the East most covet."
#end

(TownCulture=Roman)
"Don't underestimate the Roman love of Silver, just because they love Gold even more..."
#end



//Parthian

//Parthian trade not advised
(Class=Merchant AND TownCulture=Parthian AND Inv(Wool)>0) OR (Class=Guide AND TownCulture=Parthian AND Inv(Wool)>0)
"Wool for Silver would be a bad trade here if we head eastward, and pointless if we head westward."
#end

//Parthian Hints
(Class=Merchant AND TownCulture=Parthian) OR (Class=Guide AND TownCulture=Parthian)
"Even though Rome and Parthia are at war, a tremendous amount of Roman Silver ends up in Parthian towns..."
#end

//Parthian defaults
(AdvisorCulture=Parthian AND TownCulture=Parthian)
"I sometimes wonder whether my people would have lived peacefully if they never discovered Silver..."
#end

(AdvisorCulture!=Parthian AND TownCulture=Parthian)
"There's something odd about Parthian Silver drachms that I cannot put my finger upon..."
#end



//Kushan

//Kushan trade not advised
(Class=Merchant AND TownCulture=Kushan AND Inv(Spices)>0) OR (AdvisorCulture=Kushan AND TownCulture=Kushan AND Inv(Spices)>0)
"We should not trade Spices for Silver in the Kushan Empire - that is entirely the wrong deal to strike!"
#end

(Class=Merchant AND TownCulture=Kushan AND Inv(Wool)>0) OR (Class=Guide AND TownCulture=Kushan AND Inv(Wool)>0)
"In the bazaars of the Kushan we should trade our Wool for Spices, not Silver."
#end

//Kushan Hints
(Class=Merchant AND TownCulture=Kushan) OR (Class=Guide AND TownCulture=Kushan)
"There are enough Silver mines in the Kushan Empire to supply the towns - but not so many that they do not desire more..."
#end

//Kushan defaults
(AdvisorCulture=Kushan AND TownCulture=Kushan)
"Much of our Silver ends up going to the Imperial Mint in Balkh, which is perhaps the most heavily guarded place in all of Kushan!"
#end

(AdvisorCulture!=Kushan AND TownCulture=Kushan)
"I do like the coins the Kushan make... they have so many interesting things upon them."
#end



//Han

//Han trade not advised
(Class=Merchant AND AdvisorCulture!=Han AND TownCulture=Han AND Inv(Silk)>0)
"Why would we trade Silk for Silver here? This is not a very sensible trade..."
#end

//Han Hints
(Class=Merchant AND TownCulture=Han) OR (Class=Guide AND TownCulture=Han)
"There is never enough shiny metal to satisfy the Han nobles... this is not a good place to be trading to acquire it, though."
#end

//Han defaults
(AdvisorCulture=Han AND TownCulture=Han)
"So much Silver is brought in from the West... but it is never enough."
#end

(AdvisorCulture!=Han AND TownCulture=Han)
"I thought the Han did not trade Silver?"
#end



//Nomad

//Nomad Hints
(Class=Merchant AND AdvisorCulture=Nomad AND TownCulture=Nomad) OR (Class=Guide AND  AdvisorCulture=Nomad AND TownCulture=Nomad)
"Our clans do not greatly share in the love of Silver - it is far too soft to make tools or weapons."
#end

(Class=Merchant AND TownCulture=Nomad) OR (Class=Guide AND TownCulture=Nomad)
"Nomads have little interest in ornamental metals, but they occasionally end up with some through trading."
#end

//Nomad defaults
(AdvisorCulture=Nomad AND TownCulture=Nomad)
"It is rare to find my people with Silver to trade..."
#end

(TownCulture=Nomad)
"It feels as if this Silver did not come from around here..."
#end