tlongstretch / freeserf-with-AI-plus

THIS PROJECT WAS MOVED TO 'Forkserf', GO THERE INSTEAD
https://github.com/forkserf/forkserf
GNU General Public License v3.0
1 stars 0 forks source link

AI logic - way too many windmills after warehouse/stocks built #54

Closed tlongstretch closed 3 years ago

tlongstretch commented 3 years ago

I suspect this is not specific to windmills and instead is a general issue with non-castle stock/warehouses where there is no building of this type whose "attached" (closest) stock is this stock, but when one is actually placed it is placed closer to some other stock and the process repeats.

See if that is the case, or if this is a windmill specific problem.

It should be easy to add a check before building any building if nearest stock == this stock, otherwise don't build

tlongstretch commented 3 years ago

part of a wider issue,mostly fixed