[freeciv-ai] Re: A TODO item
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Generally a good idea. I thought the AI already did it, but I guess I'm
wrong :)
There's a number of WAGs here that should be documented and made in to
constants so we can play with them more easily.
-- Benoît
More comments follow:
On Tue, May 31, 2005 at 06:48:11PM +0200, Jordi Negrevernis i Font wrote:
> /**************************************************************************
> + This function does 2 things:
> + 1. Estimulate research of obsoleting techs for enemy wonders
> + 2. Deinsentivate research of obsoleting techs for own wonders
> +**************************************************************************/
'stimulate research want' and 'decrease research want' ?
> + tech_want = MAX(2, tech_want / 20);
this is mysterious: why 20? why 2?
> + /* now, we rise want for prerequisites */
> + tech_type_iterate(k) {
> + if (is_tech_a_req_for_goal(pplayer, k, tech_obs)) {
> + pplayer->ai.tech_want[k] += tech_want / 2;
why tech_want / 2 rather than tech_want ?
> + "decrising prereq %s with %d (%d)",
"decrease"
|
|