mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-08 23:08:35 +07:00
Add Repair and Pillaging Roads (#8015)
* Reapply Changes * Logic clean up * Adding getImprovementToPillage() and getRepairableImprovement() * Cleaning up Unit Actions * getImprovementToPillage() needs to check for Unpillagable * Remove redundant logic since canBuildImprovement() returns true if currently repairing * More redundant logic * Prevent City Center from being Pillage status addRepairAction will not show a Repair Action Adding the improvement to be repaired/pillaged in button text Utilizing getImprovementToPillage() more * Some import cleanup Add Irremovable to blockers More consolidation of code * More translation files * When improvements/roads are built/removed, pillaged flag set to False * Better and more consistent logic * Fix dumb logic bug
This commit is contained in:
@ -75,6 +75,7 @@ object Constants {
|
||||
const val rising = "Rising"
|
||||
const val lowering = "Lowering"
|
||||
const val remove = "Remove "
|
||||
const val repair = "Repair"
|
||||
|
||||
const val uniqueOrDelimiter = "\" OR \""
|
||||
|
||||
|
Reference in New Issue
Block a user