[Freeciv-Dev] AI and effects of techs without buildings

2013-03-05 Thread Imhotep


I have a modpack where a lot of effects require only techs, not improvements
(For example the knowledge Barter or Pottery reduce waste directly, 
without the need of any additional building.)


AI seems to have trouble coping with that.
I searched the code, and as far as I can see, all tech assessment is 
done for improvements only.


Now I'm in doubt if this is a bug in the code or in my search.

Can anyone familliar with the code please give me a hint?

In case no one can tell me anything, I will open a bug.

(Because no-o-o-one knowing anything about this would be a bug by itself 
;-) )


Imhotep

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] AI and effects of techs without buildings

2013-03-05 Thread Marko Lindqvist
On 5 March 2013 16:22, Imhotep jmho...@slehr.de wrote:

 I have a modpack where a lot of effects require only techs, not improvements
 (For example the knowledge Barter or Pottery reduce waste directly, without
 the need of any additional building.)

 AI seems to have trouble coping with that.
 I searched the code, and as far as I can see, all tech assessment is done
 for improvements only.

 You are correct about current state of the AI code. For most part
tech want is increased only indirectly when there's building or unit
want.

 That's one of the big shortcomings of the current (quite ancient,
predating effects code) AI code.


 - ML

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev