[Freeciv-Dev] Re: Criticism
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
--- Petr Baudis <pasky@xxxxxxxxxxx> wrote:
> Dear diary, on Sat, Dec 08, 2001 at 02:17:01AM CET, I got a letter,
> where Raahul Kumar <raahul_da_man@xxxxxxxxx> told me, that...
> > --- "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx> wrote:
> > >
> > > Choice want is
> > > < 0 an error, with a few hack-ceptions like (-199 == get_a_boat)
> > > == 0 no want, nothing to do
> > > <= 100 normal want
> > > > 100 critical want, used to requisition emergency needs
> >= 200 breath of death ;), even more emergency needs. advdomestic.c will
> reduce desire to 199 if it's more. In aicity.c we will buy that
> even if we already bought something in that turn.
> > > > ??? probably an error (1024 is a reasonable upper bound)
> IMHO 300 would be sufficient?
> > >
> >
> > This want is -199. Can you tell me more? I thought if the want > 100 we
> > tended to reset it to 100. Is this commented anywhere in the code? If not,
> > would you mind sending a patch to do so.
> We tended to reset it to 100 if we don't want it to be bought for emergency
> reasons. I.e. we certainly don't want settlers to be bought just because that
> place is so incredibly great for building new city.
>
> I would like to see comments near struct ai_choice. Currently it just says
> that
> range is 0-100, which is obviously wrong. Maybe we can even make AI section
> in
> freeciv hacking guide by the time ;).
>
Is it just me, or we are the only people who know this obscure stuff about the
AI? It shouldn't be this hard.
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
- [Freeciv-Dev] Re: Freeciv Todo, (continued)
- [Freeciv-Dev] Criticism, Raahul Kumar, 2001/12/06
- [Freeciv-Dev] Re: Criticism, Ross W. Wetmore, 2001/12/07
- [Freeciv-Dev] Re: Criticism, Raahul Kumar, 2001/12/07
- [Freeciv-Dev] Re: Criticism, Petr Baudis, 2001/12/08
- [Freeciv-Dev] Re: Criticism,
Raahul Kumar <=
|
|