Add config categories
This commit is contained in:
@@ -39,7 +39,7 @@ object PickaxeAbility : FirmamentFeature {
|
||||
get() = "pickaxe-info"
|
||||
|
||||
|
||||
object TConfig : ManagedConfig(identifier) {
|
||||
object TConfig : ManagedConfig(identifier, Category.MINING) {
|
||||
val cooldownEnabled by toggle("ability-cooldown") { true }
|
||||
val cooldownScale by integer("ability-scale", 16, 64) { 16 }
|
||||
val drillFuelBar by toggle("fuel-bar") { true }
|
||||
|
||||
@@ -49,7 +49,7 @@ object PristineProfitTracker : FirmamentFeature {
|
||||
override val config: ManagedConfig?
|
||||
get() = TConfig
|
||||
|
||||
object TConfig : ManagedConfig(identifier) {
|
||||
object TConfig : ManagedConfig(identifier, Category.MINING) {
|
||||
val timeout by duration("timeout", 0.seconds, 120.seconds) { 30.seconds }
|
||||
val gui by position("position", 80, 30) { Point(0.05, 0.2) }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user