Fix android config not being built fully
This commit is contained in:
parent
4fc05e1f3a
commit
882d60ebc6
@ -13,6 +13,10 @@ object AndroidConfig : AbstractConfig("androids") {
|
||||
|
||||
|
||||
object NanobotsRegeneration {
|
||||
init {
|
||||
builder.push("NanobotsRegeneration")
|
||||
}
|
||||
|
||||
val COOLDOWN: List<Int> by builder
|
||||
.comment("In ticks, time between heal ticks")
|
||||
.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
|
||||
.comment("Energy required to regenerate 1 health point (half a heart)")
|
||||
.defineDecimal("ENERGY_PER_HITPOINT", Decimal(800))
|
||||
|
||||
init {
|
||||
builder.pop()
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user