[Freeciv-Dev] [patch #3697] When city growth is blocked, AI shouldn't give any value to food surplus

2014-04-09 Thread Marko Lindqvist
Update of patch #3697 (project freeciv): Status: Ready For Test => Done Open/Closed:Open => Closed ___ Reply to this item at:

[Freeciv-Dev] [patch #3697] When city growth is blocked, AI shouldn't give any value to food surplus

2014-03-26 Thread Marko Lindqvist
Update of patch #3697 (project freeciv): Status:None => Ready For Test Assigned to:None => cazfi Planned Release: => 2.6.0

[Freeciv-Dev] [patch #3697] When city growth is blocked, AI shouldn't give any value to food surplus

2014-03-22 Thread Emmet Hikory
Follow-up Comment #4, patch #3697 (project freeciv): Excellent catch: I hadn't considered the possibility that a ruleset might require an improvement for cities to grow beyond size 1: I didn't actually test what would happen: code inspection led me to believe it would set the value from the -1 ent

[Freeciv-Dev] [patch #3697] When city growth is blocked, AI shouldn't give any value to food surplus

2014-03-22 Thread Marko Lindqvist
Follow-up Comment #3, patch #3697 (project freeciv): - "if(" -> "if (" - If ruleset has aqueduct_size = 1, and thus cities of size 1 can end here: extra_food += pcity->food_stock - city_granary_size(city_size_get(pcity) - 1); What does city_granary_size(1 - 1) do?

[Freeciv-Dev] [patch #3697] When city growth is blocked, AI shouldn't give any value to food surplus

2014-03-19 Thread Emmet Hikory
Follow-up Comment #2, patch #3697 (project freeciv): Patch rebased against r24699 (file #20391) ___ Additional Item Attachment: File name: reduce-food-interest-with-full-granary+rebase.patch Size:3 KB

[Freeciv-Dev] [patch #3697] When city growth is blocked, AI shouldn't give any value to food surplus

2013-04-23 Thread Emmet Hikory
Follow-up Comment #1, patch #3697 (project freeciv): Attached is a patch that seems to work for me. Note that the increase in appeal for the improvements is essential here: early revisions of the patch didn't include that, with the result that when the granary was full, the AI deprioritised food,

[Freeciv-Dev] [patch #3697] When city growth is blocked, AI shouldn't give any value to food surplus

2013-02-12 Thread Marko Lindqvist
URL: Summary: When city growth is blocked, AI shouldn't give any value to food surplus Project: Freeciv Submitted by: cazfi Submitted on: Wed 13 Feb 2013 04:17:56 AM EET Category: ai