mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 22:37:02 -04:00
Manhattan project is not disabled for no-nuclear-weapon games
This commit is contained in:
parent
a2aab6f071
commit
39439f72a2
@ -287,6 +287,7 @@ class Building : NamedStats(), IConstruction {
|
||||
}
|
||||
|
||||
for (unique in uniqueObjects) when (unique.placeholderText) {
|
||||
"Enables nuclear weapon" -> if(!construction.cityInfo.civInfo.gameInfo.gameParameters.nuclearWeaponsEnabled) return "Disabled by setting"
|
||||
"Must be on []" -> if (!cityCenter.matchesUniqueFilter(unique.params[0], civInfo)) return unique.text
|
||||
"Must not be on []" -> if (cityCenter.matchesUniqueFilter(unique.params[0], civInfo)) return unique.text
|
||||
"Must be next to []" -> if (!(unique.params[0] == "Fresh water" && cityCenter.isAdjacentToRiver()) // Fresh water is special, in that rivers are not tiles themselves but also fit the filter.
|
||||
|
Loading…
x
Reference in New Issue
Block a user