diff options
author | nea <nea@nea.moe> | 2023-08-31 23:19:30 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-08-31 23:19:30 +0200 |
commit | 36d5ef29e45a57e88d9d608d1becb5cb7de27cf5 (patch) | |
tree | ecf7df1eaa4feffee6786e5cc62a5305c28963e9 /src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt | |
parent | ece429c361b0ac30490d74ec33c6ef4a74a1fc5d (diff) | |
download | firmament-36d5ef29e45a57e88d9d608d1becb5cb7de27cf5.tar.gz firmament-36d5ef29e45a57e88d9d608d1becb5cb7de27cf5.tar.bz2 firmament-36d5ef29e45a57e88d9d608d1becb5cb7de27cf5.zip |
Add , seperatation to currency information
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt b/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt index 8150f4c..fc0db3d 100644 --- a/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt +++ b/src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt @@ -76,10 +76,10 @@ data class SBItemStack( ?.interpolatedStatsAtLevel(petData.levelData.currentLevel) if (stats != null) { stats.otherNumbers.forEachIndexed { index, it -> - replacementData[index.toString()] = FirmFormatters.toString(it, 1) + replacementData[index.toString()] = FirmFormatters.formatCurrency(it, 1) } stats.statNumbers.forEach { (t, u) -> - replacementData[t] = FirmFormatters.toString(u, 1) + replacementData[t] = FirmFormatters.formatCurrency(u, 1) } } replacementData["LVL"] = petData.levelData.currentLevel.toString() |