mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-22 10:54:19 -04:00
Update WorkerAutomation.kt
This commit is contained in:
parent
2a6ba73644
commit
67d8b91b43
@ -285,8 +285,10 @@ class WorkerAutomation(
|
||||
if (tile.providesYield()) priority += 2
|
||||
if (tile.isPillaged()) priority += 1
|
||||
if (tile.hasFalloutEquivalent()) priority += 1
|
||||
if (tile.terrainFeatures.isNotEmpty() && tile.lastTerrain.hasUnique(UniqueType.ProductionBonusWhenRemoved)) priority += 0.5f else if (tile.lastTerrain.hasUnique(UniqueType.Vegetation)) priority -= 0.4f
|
||||
// Removing our forests is good for tempo, jungles not as much
|
||||
if (tile.terrainFeatures.isNotEmpty()) {
|
||||
if (tile.lastTerrain.hasUnique(UniqueType.ProductionBonusWhenRemoved)) priority += 0.5f
|
||||
else if (tile.lastTerrain.hasUnique(UniqueType.Vegetation)) priority -= 0.3f
|
||||
} // Removing our forests is good for tempo, jungles not as much
|
||||
if (tile.terrainHasUnique(UniqueType.FreshWater)) priority += 1
|
||||
// we want our farms up when unlocking Civil Service
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user