mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-16 18:59:15 +07:00
"Consumes resources" unique not displayed twice for units
This commit is contained in:
@ -56,7 +56,8 @@ object BaseUnitDescriptions {
|
||||
lines += "$strengthLine${baseUnit.movement}${Fonts.movement}"
|
||||
|
||||
if (baseUnit.replacementTextForUniques != "") lines += baseUnit.replacementTextForUniques
|
||||
else baseUnit.uniquesToDescription(lines) { type == UniqueType.Unbuildable }
|
||||
else baseUnit.uniquesToDescription(lines) { type == UniqueType.Unbuildable
|
||||
|| type == UniqueType.ConsumesResources } // Already displayed in the resource requirements
|
||||
|
||||
if (baseUnit.promotions.isNotEmpty()) {
|
||||
val prefix = "Free promotion${if (baseUnit.promotions.size == 1) "" else "s"}:".tr() + " "
|
||||
|
Reference in New Issue
Block a user