mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-19 20:28:56 +07:00
Research agreement cost display (#8639)
This commit is contained in:
@ -42,8 +42,8 @@ data class TradeOffer(val name: String, val type: TradeType, var amount: Int = 1
|
||||
else -> name
|
||||
}.tr()
|
||||
|
||||
if (type.numberType == TradeTypeNumberType.Simple || name == Constants.researchAgreement) offerText += " ($amount)"
|
||||
else if (type.numberType == TradeTypeNumberType.Gold) offerText += " ($amount)"
|
||||
if (type.numberType == TradeTypeNumberType.Simple || type.numberType == TradeTypeNumberType.Gold) offerText += " ($amount)"
|
||||
else if (name == Constants.researchAgreement) offerText += " (-$amount${Fonts.gold})"
|
||||
|
||||
if (duration > 0) offerText += "\n" + duration + Fonts.turn
|
||||
|
||||
|
Reference in New Issue
Block a user