aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/rei
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-08-31 23:19:30 +0200
committernea <nea@nea.moe>2023-08-31 23:19:30 +0200
commit36d5ef29e45a57e88d9d608d1becb5cb7de27cf5 (patch)
treeecf7df1eaa4feffee6786e5cc62a5305c28963e9 /src/main/kotlin/moe/nea/firmament/rei
parentece429c361b0ac30490d74ec33c6ef4a74a1fc5d (diff)
downloadfirmament-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')
-rw-r--r--src/main/kotlin/moe/nea/firmament/rei/SBItemEntryDefinition.kt4
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()