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/gui | |
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/gui')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt | 2 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt index 82d2fef..6daeca4 100644 --- a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt +++ b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/PetsPage.kt @@ -73,7 +73,7 @@ object PetsPage : ProfilePage { Text.literal("Magic Find: ").styled { it.withColor(Formatting.AQUA) } .append( Text.literal( - FirmFormatters.toString( + FirmFormatters.formatCurrency( RepoManager.neuRepo.constants.bonuses.getPetRewards( petScore )["magic_find"] ?: 0.0F, 1 diff --git a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt index 74bf88c..197f560 100644 --- a/src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt +++ b/src/main/kotlin/moe/nea/firmament/gui/profileviewer/SkillPage.kt @@ -49,7 +49,7 @@ object SkillPage : ProfilePage { ) { override fun addTooltip(tooltip: TooltipBuilder) { tooltip.add(Text.literal("$level/$maxLevel")) - tooltip.add(Text.translatable("firmament.pv.skills.total", FirmFormatters.toString(exp, 1))) + tooltip.add(Text.translatable("firmament.pv.skills.total", FirmFormatters.formatCurrency(exp, 1))) } } } |