[freeciv-ai] Re: AI does not accept big gifts O_o
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|