Skip to content

Commit

Permalink
Update ConstructionAutomation.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
EmperorPinguin committed Oct 25, 2024
1 parent 507f113 commit ee53616
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,5 +379,10 @@ class ConstructionAutomation(val cityConstructions: CityConstructions) {
buildingStats[Stat.Food] += foodGain * relativeAmount // Essentialy gives us the food per turn this unique saves us
}
}
for (unique in building.getMatchingUniques(UniqueType.CreatesOneImprovement)) {
val tileImprovementValue = 5f
// Placeholder, let's for now assume the tile improvement yields 5 science, to let the AI in Civ6 mod build Campuses etc.
buildingStats[Stat.Science] += tileImprovementValue
}
}
}

0 comments on commit ee53616

Please sign in to comment.