mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 22:37:02 -04:00
Fishing boats can no longer create oil wells in cities with oil
This commit is contained in:
parent
ab7ce12a87
commit
3ff78ef6b3
@ -174,6 +174,7 @@ class UnitActions {
|
||||
|
||||
for(improvement in listOf("Fishing Boats","Oil well")) {
|
||||
if (unit.hasUnique("May create improvements on water resources") && tile.resource != null
|
||||
&& tile.isWater // because fishing boats can enter cities, and if there's oil in the city... ;)
|
||||
&& tile.improvement==null
|
||||
&& tile.getTileResource().improvement == improvement
|
||||
&& unit.civInfo.tech.isResearched(GameBasics.TileImprovements[improvement]!!.techRequired!!)
|
||||
|
Loading…
x
Reference in New Issue
Block a user