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 - don't build warehouses near enemy borders #34

Closed tlongstretch closed 3 years ago

tlongstretch commented 3 years ago

the warehouse placement logic is using the same scoring mechanism as expand_borders (for building huts) which favors borders near enemies. I have now added a bool scoring_warehouse that avoids favoring borders near enemies. Could also make it negatively weight, if needed

tlongstretch commented 3 years ago

image