[BTS] SGOTM 26 - Home Slices

I thought that way for years, but somebody corrected me.
I'll try to find it.
Well, that is embarrassing. :o

But it's the value of the imbalance of our trade divided by # of turns, no?

It seems it IS about lopsided trades, and my initial instincts were correct?
https://forums.civfanatics.com/threads/you-traded-with-our-worst-enemy.538067/#post-13543739
The worst enemy code:

Code:
int CvPlayerAI::AI_getRivalTradeAttitude(PlayerTypes ePlayer) const
{
    // XXX human only?
    return -(range(((GET_TEAM(getTeam()).AI_getEnemyPeacetimeGrantValue(GET_PLAYER(ePlayer).getTeam()) + (GET_TEAM(getTeam()).AI_getEnemyPeacetimeTradeValue(GET_PLAYER(ePlayer).getTeam()) / 3)) / ((GET_TEAM(getTeam()).AI_getHasMetCounter(GET_PLAYER(ePlayer).getTeam()) + 1) * 10)), 0, 4));
}

AI_getHasMetCounter returns the turns the civs are known each other, this is why you often see -4 for traded w/ worst enemies upon meeting.

Passing time (turns) decays worst-enemy value.

Things like gifting units, or opening borders, triggers trade with worst enemies. But it is insignificant compared to lopsided tech trades.

Buying techs with gold will never trigger worst enemy as long as you don't overpay. Zero value (i.e. neutral) trades don't do anything for trade with the worst enemy.

That means I've been spouting nonsense the last 2 years saying Worst Enemy -diplo wasn't about lopsided trades. >_<

In my current game, I had a tech-trade in which I got a little money (less than the AI had) to make the deal equal. I still got -1 trading with worst enemy.

From all of my experience, trades only needing to be equal to not cause the malus is definately wrong, I remember often to have gotten -1, -2, or even -3 on relations in big trades, even if gold equalled them out.

Then again...

Maybe I should just do some testing on this.
 
Last edited:
Well, that is embarrassing. :o



It seems it IS about lopsided trades, and my initial instincts were correct?
https://forums.civfanatics.com/threads/you-traded-with-our-worst-enemy.538067/#post-13543739


That means I've been spouting nonsense the last 2 years saying Worst Enemy -diplo wasn't about lopsided trades. >_<



Then again...

Maybe I should just do some testing on this.
So we should have gifted 10g to get plusmods and OBs. Maybe not too late to get plusmods at least with Sal. Medit for 20g?
 
So we should have gifted 10g to get plusmods and OBs. Maybe not too late to get plusmods at least with Sal. Medit for 20g?
I'd say wait for us to meet white before making any moves with new AI.

I've got a feeling White is the AI we want to be best friends with.

Ya, any -4 worst enemy hit would quickly fade if it was 10 gold or Meditation.
Same with +diplo fair trade I think.
 
No, I think for every +1 you get, you also get -1
The point is we grab OBs, but the diplo fades rapidly. Because Medit is so cheap we can do this Karl doesn’t need any cheap techs. It wiukd be nice to have OBs to drop off a GS.

Sal could tech Medit any time then we lose this chance.
 
I wish I could find where klarius said the value of map tiles. I think it’s 1g per land tile and 5 water tiles per 1g. But not at all sure.
 
Medit is 124b but I think the WE value used is the trade value, which is much lower, especially if others know it.

Medit for 20g is probably lower in vslue than our maps.
 
Back
Top Bottom