//Roman: Sue for Peace
(Class=Soldier AND ClassCount(Ritegiver)>0 AND ShrineCulture=Roman AND IsAtWar(Roman) AND Inv(Silver)<200)
"The priestess of Apollo implores us to consider making peace with Rome, suggesting that two hundred Silver ingots would be enough to sue for peace." 
#end

(Class=Soldier AND ClassCount(Ritegiver)>0 AND ShrineCulture=Roman AND IsAtWar(Roman) AND Inv(Silver)>=200)
"If we give the priestess of Apollo two hundred Silver ingots to deliver to Rome on our behalf, they will sue for peace with the Empire on our behalf. We would still have to parlay with the individual cohorts of the legions we pass, however." 
Spirit(10%,3%,Rituals,D5)
Dec(Silver,200)
Peace(Roman)
#end



//Kushan Helios Temple - Special Case for Horse Sacrifice
//Only the Roman and Kushan Ritegivers will even consider this sacrifice

(Class=Ritegiver AND AdvisorCulture=Kushan AND ShrineCulture=Kushan AND Inv(Horses)>0)
"The brother of the moon blesses those who offer a white Horse in the name of Helios."
Dec(Horses,1)
Spirit(75%,50%,Rituals,D4)
ShrineReputation(200)
Bonus(Battle)
Time(1)
Sacrifice(Horses)
#end

(Class=Ritegiver AND AdvisorCulture=Roman AND ShrineCulture=Kushan AND Inv(Horses)>0)
"The blessing of Helios is worth having, but are we willing to give up one of our Horses to get it...?"
Dec(Horses,1)
Spirit(75%,50%,Rituals,D5)
ShrineReputation(200)
Bonus(Battle)
Time(1)
Sacrifice(Horses)
#end

(Rituals>=6 AND ShrineCulture=Kushan AND Inv(Horses)>0)
"I know the ritual for sacrificing a Horse here..."
Dec(Horses,1)
Spirit(75%,50%,Rituals,D5)
ShrineReputation(200)
Bonus(Battle)
Time(1)
#end


//Regular Sheep Sacrifice Sun Temple
(Class=Ritegiver AND AdvisorCulture=Roman AND ShrineCulture=Roman AND Inv(Sheep)>0)
"The followers of Apollo will allow us to sacrifice a Sheep to gain his blessing in battle, if we wish it."
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D3)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Class=Ritegiver AND AdvisorCulture=Roman AND ShrineCulture!=Roman AND ShrineCulture!=Kushan AND Inv(Sheep)>0)
"They will let us join their rites to honour the sun if we provide the Sheep."
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D3)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Class=Ritegiver AND AdvisorCulture=Parthian AND ShrineCulture=Parthian AND Inv(Sheep)>0)
"We may sacrifice a Sheep here to bring us fortune on the battlefield."
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D3)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Class=Ritegiver AND AdvisorCulture=Parthian AND ShrineCulture!=Parthian AND ShrineCulture!=Kushan AND Inv(Sheep)>0)
"This temple honours neither Shamash nor Mithra, but they will still accept a Sheep as a sacrifice to their sun god."
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D3)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Class=Ritegiver AND AdvisorCulture=Kushan AND ShrineCulture!=Kushan AND Inv(Sheep)>0)
"The brother of the moon blesses those who offer a Sheep in sacrifice."
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D3)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Class=Ritegiver AND AdvisorCulture=Han AND ShrineCulture!=Kushan AND Inv(Sheep)>0) OR (Class=Ritegiver AND AdvisorCulture=Nomad AND ShrineCulture!=Kushan AND Inv(Sheep)>0)
"Warriors of the west swear by Sun gods to bring victory, but do we really want to give up one of our Sheep?"
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D4)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end


//Rituals 4+
(Rituals>=5 AND AdvisorCulture=Roman AND ShrineCulture!=Kushan AND Inv(Sheep)>0)
"They will permit me to sacrifice a Sheep in the name of Apollo at this sun temple."
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D3)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Rituals>=4 AND AdvisorCulture=Parthian AND ShrineCulture=Parthian AND Inv(Sheep)>0)
"Shall I sacrifice a Sheep here? It is said that the twin brother of Ishtar will help us become victorious in battle..."
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D3)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Rituals>=4 AND AdvisorCulture=Parthian AND ShrineCulture!=Kushan AND Inv(Sheep)>0)
"The brother of the moon blesses those who offer a Sheep in sacrifice."
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D3)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Rituals>=4 AND AdvisorCulture=Kushan AND ShrineCulture!=Kushan AND Inv(Sheep)>0)
"Shall I sacrifice a Sheep to the brother of the moon goddess?"
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D3)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Rituals>=5 AND AdvisorCulture=Han AND ShrineCulture!=Kushan AND Inv(Sheep)>0) OR (Rituals>=5 AND AdvisorCulture=Nomad AND ShrineCulture!=Kushan AND Inv(Sheep)>0)
"Do you wish me to sacrifice an Sheep to this sun god...? I know the appropriate rites."
Dec(Sheep,1)
Spirit(30%,5%,Rituals,D4)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end



//Rituals 2+ and matching culture
(Rituals>=2 AND AdvisorCulture=Parthian AND ShrineCulture=Parthian AND Inv(Sheep)>0)
"There is a priest here willing to let me assist in a Sheep sacrifice..."
Dec(Sheep,1)
Spirit(25%,4%,Rituals,D4)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

(Rituals>=2 AND AdvisorCulture=Roman AND ShrineCulture=Roman AND Inv(Sheep)>0)
"The priestess of Apollo is happy for me to assist in a blood sacrifice, if we provide a Sheep."
Dec(Sheep,1)
Spirit(25%,4%,Rituals,D4)
ShrineReputation(75)
Bonus(Battle)
Time(1)
Sacrifice(Sheep)
#end

//Roman Soldier mentions sacrifices to Mithras
(Class=Soldier AND Rituals>=2 AND AdvisorCulture=Roman AND ShrineCulture=Roman AND Inv(Oxen)=0)
"I have learned a little of the rites of Mithras, but we have no bull, and I'm not sure they will permit that particular sacrifice at this temple..."
#end

(Class=Soldier AND Rituals>=2 AND AdvisorCulture=Roman AND ShrineCulture=Roman AND Inv(Oxen)>0)
"I know a little of the rite to sacrifice to Mithras, but the priests of Apollo are not willing to assist me."
#end



//No Ritegiver
(RosterSkill(Rituals)<3) OR (ClassCount(Ritegiver)=0)
"We need a Ritegiver if we are to perform the rituals of this temple."
#end



//Horse errors
(Class=Ritegiver AND AdvisorCulture=Kushan AND ShrineCulture=Kushan AND Inv(Horses)=0) OR (Class=Ritegiver AND AdvisorCulture=Roman AND ShrineCulture=Kushan AND Inv(Horses)=0)
"We have no Horse to offer to Helios today."
#end

(Class=Ritegiver AND AdvisorCulture=Kushan AND ShrineCulture=Kushan AND Inv(Horses)=0)
"The Sun god Helios is lord of light and life, and the wealthy sacrifice white Horses to win his favour."
#end

(Class=Ritegiver AND AdvisorCulture=Parthian AND ShrineCulture=Kushan)
"Forgive me, but I will not partake of a rite that sacrifices a Horse."
#end

(Class=Ritegiver AND AdvisorCulture=Han AND ShrineCulture=Kushan) OR (Class=Ritegiver AND AdvisorCulture=Nomad AND ShrineCulture=Kushan)
"Honouring the Sun God is all well and good, but a Horse is a sacrifice I am not prepared to make."
#end



//Kushan Sun Temple defaults
(AdvisorCulture=Kushan AND ShrineCulture=Kushan)
"If we wish to befriend the people around here, we should consider sacrificing a Horse..."
#end

(AdvisorCulture=Roman AND ShrineCulture=Kushan)
"Is it not astonishing that Helios has followers this far east?"
#end

(AdvisorCulture=Parthian AND ShrineCulture=Kushan)
"The Macedonians brought their rites here..."
#end

(AdvisorCulture=Han AND ShrineCulture=Kushan) OR (AdvisorCulture=Nomad AND ShrineCulture=Kushan)
"If we wish to befriend the people around here, we should consider sacrificing a Horse..."
#end



//No Sheep errors
(Class=Ritegiver AND AdvisorCulture=Roman AND Inv(Sheep)=0)
"We have no Sheep to offer to Apollo this day."
#end

(Class=Ritegiver AND AdvisorCulture=Parthian AND Inv(Sheep)=0)
"Shamash is the twin brother of Ishtar, and accepts the blood of a Sheep, not that we have any to offer this day..."
#end

(Class=Ritegiver AND AdvisorCulture=Kushan AND Inv(Sheep)=0)
"They do not sacrifice Horses to Helios here, but Sheep, which we do not have..."
#end

(Class=Ritegiver AND AdvisorCulture=Han AND Inv(Sheep)=0) OR (Class=Ritegiver AND AdvisorCulture=Nomad AND Inv(Sheep)=0)
"They wish to sacrifice Sheep to their sun god here, but we have none."
#end



//Defaults
(Class=Soldier AND AdvisorCulture=Roman)
"Dedicating to Mithras is all the rage in the legions these days... there's always some new god for the citizens to sacrifice to."
#end

(AdvisorCulture=Roman)
"Mithras has become the more popular sun god in Rome in recent years... I'm sure the fashion will pass."
#end

(AdvisorCulture=Parthian)
"The angel of Oaths shines with the light of the midday sun."
#end

(AdvisorCulture=Kushan AND ShrineCulture=Parthian)
"The priests here don't recognise Helios, but they will let us sacrifice a Sheep to the Sun, if we wish."
#end

(AdvisorCulture=Kushan AND ShrineCulture=Roman)
"We learned of Helios from the west, yet every Sun temple here is dedicated to either Apollo or Mithras. Foreigners... what can you do."
#end

(AdvisorCulture=Han) OR (AdvisorCulture=Nomad)
"The fool tests their strength against the sun itself."
#end