Fix android config not being built fully

This commit is contained in:
DBotThePony 2023-02-17 07:57:16 +07:00
parent 4fc05e1f3a
commit 882d60ebc6
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -13,6 +13,10 @@ object AndroidConfig : AbstractConfig("androids") {
object NanobotsRegeneration { object NanobotsRegeneration {
init {
builder.push("NanobotsRegeneration")
}
val COOLDOWN: List<Int> by builder val COOLDOWN: List<Int> by builder
.comment("In ticks, time between heal ticks") .comment("In ticks, time between heal ticks")
.comment("One heal tick restores 1 heart (2 health points) at most") .comment("One heal tick restores 1 heart (2 health points) at most")
@ -30,6 +34,10 @@ object AndroidConfig : AbstractConfig("androids") {
val ENERGY_PER_HITPOINT by builder val ENERGY_PER_HITPOINT by builder
.comment("Energy required to regenerate 1 health point (half a heart)") .comment("Energy required to regenerate 1 health point (half a heart)")
.defineDecimal("ENERGY_PER_HITPOINT", Decimal(800)) .defineDecimal("ENERGY_PER_HITPOINT", Decimal(800))
init {
builder.pop()
}
} }
val ANDROID_ENERGY_PER_HUNGER_POINT by builder.defineDecimal("energyPerHunger", Decimal(2000), Decimal.ZERO) val ANDROID_ENERGY_PER_HUNGER_POINT by builder.defineDecimal("energyPerHunger", Decimal(2000), Decimal.ZERO)
@ -105,4 +113,11 @@ object AndroidConfig : AbstractConfig("androids") {
} }
} }
init {
NanobotsRegeneration
EnderTeleporter
JumpBoost
Magnet
Shockwave
}
} }