//Merchant Parlay
(Class=Merchant AND Inv(Spices)>0 AND ParlayDifficulty(Spices)<=2)
"I have a feeling we might satisfy them with an offer of a single Spice jar..."
Spirit(-3%,Trade,D4)
ParlayOffer(Spices,D2)
#end

(Class=Merchant AND Inv(Silk)>0 AND ParlayDifficulty(Silk)<=2)
"An offer of a single Silk bolt might be enough to end this conflict."
Spirit(-3%,Trade,D4)
ParlayOffer(Silk,D2)
#end

(Class=Merchant AND Inv(Spices)>0 AND ParlayDifficulty(Spices)<=2)
"I have a feeling we might satisfy them with an offer of a single Spice jar..."
Spirit(-3%,Trade,D4)
ParlayOffer(Spices,D2)
#end

(Class=Merchant AND Inv(Silk)>0 AND ParlayDifficulty(Silk)<=2)
"An offer of a single Silk bolt might be enough to end this conflict."
Spirit(-3%,Trade,D4)
ParlayOffer(Silk,D2)
#end



//Drover Parlay
(Class=Drover AND EnemyType=Bandits AND Inv(Goats)>3)
"These men are hungry... a few Goats might be an appealing offer for them."
Spirit(-5%,Trade,D4)
ParlayOffer(Goats,D3)
#end

//Sheep is below


//The Ritegiver offers another way of earning peace...
(Class=Ritegiver AND AdvisorCulture=Han AND EnemyCulture=Han AND EnemyType!=Bandits AND Inv(Provisions)>10)
"We may share common ancestors... we should offer to pay tribute to them on their behalf, and thus avoid any further unpleasantness."
Dec(Provisions,5)
Reputation(Han,2)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND AdvisorCulture=Nomad AND EnemyCulture=Nomad AND EnemyType!=Bandits AND Inv(Provisions)>10)
"Their clan and mine are known to each other... if we honour our common ancestors, they will let us pass."
Dec(Provisions,4)
Reputation(Nomad,2)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND AdvisorCulture=Roman AND EnemyCulture=Roman AND Inv(Goats)>0)
"If we offer to sacrifice a Goat to Hermes, both sides may win favour from him, and battle may yet be avoided..."
Dec(Goats,1)
Reputation(Roman,10)
Sacrifice(Goats)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND AdvisorCulture=Parthian AND EnemyCulture=Parthian AND Inv(Goats)>0)
"A Goat sacrifice to Anahita could be a way to honour both sides and depart in peace."
Dec(Goats,1)
Reputation(Parthian,10)
Sacrifice(Goats)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND AdvisorCulture=Kushan AND EnemyCulture=Kushan AND Inv(Goats)>0)
"We might offer to sacrifice a Goat to Selene, that we might all share in the blessings of the Moon goddess."
Dec(Goats,1)
Reputation(Kushan,10)
Sacrifice(Goats)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND AdvisorCulture=Roman AND EnemyCulture=Roman AND Inv(Oxen)>0)
"Let us offer to bring favour with Zeus by sacrificing an Ox - we may avoid bloodshed this way."
Dec(Oxen,1)
Reputation(Roman,25)
Sacrifice(Oxen)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND AdvisorCulture=Parthian AND EnemyCulture=Parthian AND Inv(Oxen)>0)
"Ahura Mazda's blessing could be earned by sacrificing a bull - and we might win peace by making the offering on our enemy's behalf..."
Dec(Oxen,1)
Reputation(Parthian,25)
Sacrifice(Oxen)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND AdvisorCulture=Kushan AND EnemyCulture=Kushan AND Inv(Oxen)>0)
"Offering to make a blood gift to the Kindly One might be a way of strengthening our ties with them."
Dec(Oxen,1)
Reputation(Kushan,25)
Sacrifice(Oxen)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND EnemyCulture=Roman AND EnemyType=Defenders AND Inv(Provisions)>50 AND AdvisorCulture!=Han AND AdvisorCulture!=Nomad) OR (Rituals>=5 AND EnemyCulture=Roman AND EnemyType=Defenders AND Inv(Provisions)>50)
"If we toast to the glory of Rome at a feast with their leaders, they will look upon us with favour."
Dec(Provisions,18)
Reputation(Roman,6)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND EnemyCulture=Parthian AND EnemyType=Defenders AND Inv(Provisions)>50 AND AdvisorCulture!=Han AND AdvisorCulture!=Nomad) OR (Rituals>=5 AND EnemyCulture=Parthian AND EnemyType=Defenders AND Inv(Provisions)>50)
"A feast in the honour of the King of Kings is not something they will refuse..."
Dec(Provisions,12)
Reputation(Parthian,5)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND EnemyCulture=Kushan AND EnemyType=Defenders AND Inv(Provisions)>50) OR (Rituals>=5 AND EnemyCulture=Kushan AND EnemyType=Defenders AND Inv(Provisions)>50)
"May I offer a feast to their leaders? If we honour them, they may grant us safe passage."
Dec(Provisions,15)
Reputation(Kushan,5)
Time(1)
ParlayEnd
#end

(Rituals>=5 AND EnemyCulture=Roman AND Inv(Oxen)>0)
"If we sacrifice a bull to honour Zeus, they might let us pass..."
Dec(Oxen,1)
Reputation(Roman,25)
Sacrifice(Oxen)
Time(1)
ParlayEnd
#end

(Rituals>=5 AND EnemyCulture=Parthian AND Inv(Oxen)>0)
"We could offer to sacrifice to Marduk, and try to earn their favour."
Dec(Oxen,1)
Reputation(Parthian,25)
Sacrifice(Oxen)
Time(1)
ParlayEnd
#end

(Rituals>=5 AND EnemyCulture=Kushan AND Inv(Oxen)>0)
"If we offer to sacrifice a bull on their behalf, they will likely let us pass."
Dec(Oxen,1)
Reputation(Kushan,25)
Sacrifice(Oxen)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND AdvisorCulture=Han AND EnemyCulture=Han AND EnemyType!=Bandits AND Inv(Provisions)>20) OR (Class=Ritegiver AND AdvisorCulture=Nomad AND EnemyCulture=Han AND EnemyType!=Bandits AND Inv(Provisions)>20) OR (Rituals>=5 AND EnemyCulture=Han AND EnemyType!=Bandits AND Inv(Provisions)>20)
"A sacrifice to honour their ancestors may help them look upon us favourably..."
Dec(Provisions,7)
Reputation(Han,2)
Time(1)
ParlayEnd
#end

(Class=Ritegiver AND AdvisorCulture=Nomad AND EnemyCulture=Nomad AND EnemyType!=Bandits AND Inv(Provisions)>20) OR (Class=Ritegiver AND AdvisorCulture=Han AND EnemyCulture=Nomad AND EnemyType!=Bandits AND Inv(Provisions)>20) OR (Rituals>=5 AND EnemyCulture=Nomad AND EnemyType!=Bandits AND Inv(Provisions)>20)
"May I make an offering in honour of their ancestors? They may let us pass unharmed if we do."
Dec(Provisions,6)
Reputation(Nomad,2)
Time(1)
ParlayEnd
#end



//Standard Trade Offers: Drover and Merchant
(Class=Drover AND EnemyType=Bandits AND Inv(Sheep)>=3)
"These bandits are desperate men... why not offer some Sheep and see if that buys peace?"
Spirit(-5%,Trade,D4)
ParlayOffer(Sheep,D3)
#end

(Class=Merchant AND Inv(Spices)>0 AND ParlayDifficulty(Spices)<=4)
"We should see if a single jar of Spices will suffice as a settlement."
Spirit(-3%,Trade,D4)
ParlayOffer(Spices,D3)
#end

(Class=Merchant AND Inv(Silk)>0 AND ParlayDifficulty(Silk)<=3)
"Silk often serves as an effective peacemaker... even just one bolt might be enough."
Spirit(-3%,Trade,D4)
ParlayOffer(Silk,D2)
#end

(Class=Merchant AND Inv(Wool)>5)
"Let us see if they will take some Wool to end these hostilities."
Spirit(-5%,Trade,D4)
ParlayOffer(Wool,D3)
#end

(Class=Merchant AND Inv(Silver)>10)
"Offering Silver is a reliable way to buy peace."
Spirit(-5%,Trade,D4)
ParlayOffer(Silver,D3)
#end

(Class=Merchant AND Inv(Spices)>0)
"We should see if Spices will satisfy them."
Spirit(-5%,Trade,D4)
ParlayOffer(Spices,D3)
#end

(Class=Merchant AND Inv(Silk)>0)
"We should not have to offer them much Silk to earn our safe passage."
Spirit(-5%,Trade,D4)
ParlayOffer(Silk,D2)
#end



//Standard Trade Offers: Trade
(Trade>=3 AND Inv(Silk)>10)
"Are we willing to give them Silk so that they might let us pass...?"
Spirit(-5%,Trade,D4)
ParlayOffer(Silk,D2)
#end

(Trade>=3 AND Inv(Spices)>10)
"May I offer them some Spice jars for safe passage?"
Spirit(-5%,Trade,D4)
ParlayOffer(Spices,D3)
#end

(Trade>=3 AND Inv(Silver)>25)
"Little calms the bloodlust of the violent more effectively than an offer of Silver..."
Spirit(-5%,Trade,D4)
ParlayOffer(Silver,D3)
#end

(Trade>=3 AND Inv(Wool)>25)
"We have plenty of Wool... we should offer them some as a settlement."
Spirit(-5%,Trade,D4)
ParlayOffer(Wool,D3)
#end



//Cross-training in Trade
(Trade>=1 AND Trade<3 AND Inv(Silk)>10)
"I have only done this a few times before, but offering Silk should resolve our disagreement."
Spirit(-10%,Trade,D4)
ParlayOffer(Silk,D2)
#end

(Trade>=1 AND Trade<3 AND Inv(Spices)>10)
"If we offer them some Spices, will they let us pass...?"
Spirit(-10%,Trade,D4)
ParlayOffer(Spices,D3)
#end

(Trade>=1 AND Trade<3 AND Inv(Silver)>30)
"Silver brings peace when offered carefully, but I have little skill for the offering."
Spirit(-10%,Trade,D4)
ParlayOffer(Silver,D3)
#end

(Trade>=1 AND Trade<3 AND Inv(Wool)>40)
"Wool is hardly the most inviting gift, but it is better than no gift at all."
Spirit(-10%,Trade,D4)
ParlayOffer(Wool,D3)
#end



//Soldier - Parlay already failed
(Class=Soldier AND AdvisorCulture=Roman)
"We need to come to a bargain... but if all else fails, I am prepared to fight to resolve this."
Spirit(-5%,Battle,D6)
Combat(1,1)
#end

(Class=Soldier AND AdvisorCulture=Parthian)
"It is well to attempt a bargain, but we must be prepared to use spears if Silver-tongues fail."
Spirit(-5%,Battle,D6)
Combat(1,1)
#end

(Class=Soldier AND AdvisorCulture=Kushan) OR (Class=Soldier AND AdvisorCulture=Nomad)
"The wild stallion can be tempted by gifts, but never take your hand from the whip."
Spirit(-5%,Battle,D6)
Combat(1,1)
#end

(Class=Soldier AND AdvisorCulture=Han)
"Honour demands either an exchange of gifts or the spilling of blood."
Spirit(-5%,Battle,D6)
Combat(1,1)
#end



//Defaults
(Class=Ritegiver AND AdvisorCulture!=Han AND AdvisorCulture!=Nomad)
"Pray to whatever gods you hold dear for a peaceful resolution, but be prepared to fight if necessary."
Spirit(-10%,Rituals,D4)
Combat(1,1)
#end

(Class=Ritegiver AND AdvisorCulture=Han) OR (Class=Ritegiver AND AdvisorCulture=Nomad)
"Hostile spirits are abroad... peace will be hard to attain."
Spirit(-10%,Rituals,D4)
Combat(1,1)
#end

(AdvisorCulture=Roman)
"I have a bad feeling about this..."
Spirit(-10%,Trade,D4)
Combat(1,1)
#end

(AdvisorCulture=Parthian)
"I can see in their eyes they will not be placated."
Spirit(-10%,Trade,D4)
Combat(1,1)
#end

(AdvisorCulture=Kushan)
"I fear we have only delayed this battle..."
Spirit(-10%,Trade,D4)
Combat(1,1)
#end

(AdvisorCulture=Nomad)
"This will not end well."
Spirit(-10%,Trade,D4)
Combat(1,1)
#end

(AdvisorCulture=Han)
"Storm clouds gather, the crows shall feast this day..."
Spirit(-10%,Trade,D4)
Combat(1,1)
#end