So I go to start a treaty up with the AI, lets say its an Economic treaty (the behavior is the same either way) and the out come would be I get 1G(we call this X) per turn, and it gets 12G(Call this Y) per turn..
I would take Adjust the x10 by how your relationship is going, if you are siting at -2 then Add 2 points to the 10, if you are sitting at +2 then take 2 from it.
X=Your outcome , Y=Their outcome
DipRel=The total over all standing between you
((X+Y+(DipRel*-1))x10)/X = Value
Getting 12 GP a turn, Getting 1G per turn
DipRel@0 = 130 , 10
DipRel@+2 = 110 , 10(rounded)
DipRel@-2 = 150 , 13(rounded)
So the two trading partners would ''perceived'' about ten rounds of income's worth of value out of this, In good realtionships they would percive less thus incuraging trading, and in bad times would percive more thus discuraging. This would only work with Human VS AI as I guess it would stuff up the AI's idea of ''value''
At the moment the numbers seem backwards, The AI values a trade where its getting a lot of gold(or tech) per turn highly. Leading to the strange situation where to get 1G per turn and GIVE the AI 10 G per turn I have to also bribe it with 100's of G.
Also later in the game when taking over cities, I have noticed an odd behaviour by the AI, Build as many houses/slums as I can fit. With some cities having over 30 per city, basically filling every spare building slot with them .