Re: AI does not accept big gifts O_o

Mateusz Stefek <[email protected]> Tue, 15 Feb 2005 13:05:02 +0100 (CET)
Newsgroups gmane.games.freeciv.ai
Message-ID <[email protected]>
On Sun, 13 Feb 2005, Benoit Hudson wrote:

> On Sun, Feb 13, 2005 at 08:50:27PM +0100, Mateusz Stefek wrote:
> > Navigation reduces your income from trade routes and automobile increases 
> > pollution generated by your population. So theoretically having them may 
> > harm you. That's why AI doesn't accept them as a gift.
> > 
> > I agree that this is silly (at least with default ruleset).
> 
> Looking at ai_goldequiv_clause, I don't see any code to implement your
> explanation.
> 
> I also don't see any code that would give a negative worth to receiving
> a tech, which implies something weird is going on, or I'm looking in the
> wrong place.
> 
>         -- BenoƮt

I was wrong. Look at ai_treaty_evaluate(), especially how only_gifts is 
evaluated during war. 

--
mateusz