From 6f4b0284614f3926a73f049c57b7910ee3a1619a Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sun, 9 Jul 2023 00:12:36 +0700 Subject: [PATCH] Clarify about exopack and android energy max capacity config values --- .../kotlin/ru/dbotthepony/mc/otm/config/AndroidConfig.kt | 5 ++++- .../kotlin/ru/dbotthepony/mc/otm/config/ExopackConfig.kt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/config/AndroidConfig.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/config/AndroidConfig.kt index 9614c5948..73d1b105e 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/config/AndroidConfig.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/config/AndroidConfig.kt @@ -52,7 +52,10 @@ object AndroidConfig : AbstractConfig("androids") { } val ANDROID_ENERGY_PER_HUNGER_POINT by builder.defineDecimal("energyPerHunger", Decimal(2000), Decimal.ZERO) - val ANDROID_MAX_ENERGY by builder.comment("Internal battery of every android has this much storage").defineDecimal("capacity", Decimal(80_000), Decimal.ZERO) + val ANDROID_MAX_ENERGY by builder + .comment("Internal battery of every android has this much storage") + .comment("Keep in mind that already existing players won't get their value changed since it is", "stored inside their savedata") + .defineDecimal("capacity", Decimal(80_000), Decimal.ZERO) val NIGHT_VISION_POWER_DRAW by builder.defineDecimal("nightVisionPowerDraw", Decimal(8), Decimal.ZERO) val FALL_DAMAGE_REDUCTION_PER_LEVEL_P: Double by builder diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/config/ExopackConfig.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/config/ExopackConfig.kt index c62aaa42b..ecc938e42 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/config/ExopackConfig.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/config/ExopackConfig.kt @@ -6,6 +6,7 @@ import ru.dbotthepony.mc.otm.core.math.defineDecimal object ExopackConfig : AbstractConfig("exopack") { val ENERGY_CAPACITY by builder .comment("Internal battery capacity of Exopack") + .comment("Keep in mind that already existing players won't get their value changed since it is", "stored inside their savedata") .defineDecimal("ENERGY_CAPACITY", Decimal(200_000), Decimal.ZERO) val FURNACE_POWER_CONSUMPTION by builder