Remove ad astra compat config
This commit is contained in:
parent
eb38466467
commit
71094aed76
@ -44,7 +44,6 @@ import ru.dbotthepony.mc.otm.config.ClientConfig;
|
||||
import ru.dbotthepony.mc.otm.config.ExopackConfig;
|
||||
import ru.dbotthepony.mc.otm.config.ItemsConfig;
|
||||
import ru.dbotthepony.mc.otm.config.MachinesConfig;
|
||||
import ru.dbotthepony.mc.otm.config.ServerCompatConfig;
|
||||
import ru.dbotthepony.mc.otm.config.ServerConfig;
|
||||
import ru.dbotthepony.mc.otm.config.ToolsConfig;
|
||||
import ru.dbotthepony.mc.otm.data.DecimalProvider;
|
||||
@ -170,7 +169,6 @@ public final class OverdriveThatMatters {
|
||||
ClientConfig.INSTANCE.register(container);
|
||||
ServerConfig.INSTANCE.register(container);
|
||||
CablesConfig.INSTANCE.register(container);
|
||||
ServerCompatConfig.INSTANCE.register(container);
|
||||
AndroidConfig.INSTANCE.register(container);
|
||||
ExopackConfig.INSTANCE.register(container);
|
||||
ItemsConfig.INSTANCE.register(container);
|
||||
|
@ -1,40 +0,0 @@
|
||||
package ru.dbotthepony.mc.otm.config
|
||||
|
||||
object ServerCompatConfig : AbstractConfig("compat-server") {
|
||||
object AdAstra {
|
||||
init {
|
||||
builder.push("AD_ASTRA")
|
||||
}
|
||||
|
||||
val ANDROIDS_DO_NOT_NEED_OXYGEN: Boolean by builder
|
||||
.comment("Android do not need oxygen in space")
|
||||
.define("ANDROIDS_DO_NOT_NEED_OXYGEN", true)
|
||||
|
||||
val WHATS_UP_WITH_TEMPERATURE: Boolean by builder
|
||||
.comment("Disables temperature mechanics on planets without atmosphere.")
|
||||
.comment("I attended physics classes in middle school, and this kills me.")
|
||||
.define("WHATS_UP_WITH_TEMPERATURE", true)
|
||||
|
||||
val ANDROID_COSMIC_RAYS: Boolean by builder
|
||||
.comment("Androids without spacesuit will get damaged over time by cosmic radiation")
|
||||
.comment("on planets without atmosphere.")
|
||||
.define("ANDROID_COSMIC_RAYS", true)
|
||||
|
||||
val ANDROID_COSMIC_RAYS_CHANCE: Double by builder
|
||||
.comment("Chance in percent android will be damaged this tick per missing piece of spacesuit")
|
||||
.comment("Max chance in tick of damage is this value multiplied by 4 (spacesuit is completely missing)")
|
||||
.defineInRange("ANDROID_COSMIC_RAYS_CHANCE", 0.015, 0.0, 1.0)
|
||||
|
||||
val TRITANIUM_ARMOR_PROTECTS_AGAINST_COSMIC_RAYS: Boolean by builder
|
||||
.comment("Should androids get 3/4th protection from cosmic rays per piece of tritanium armor")
|
||||
.define("TRITANIUM_ARMOR_PROTECTS_AGAINST_COSMIC_RAYS", true)
|
||||
|
||||
init {
|
||||
builder.pop()
|
||||
}
|
||||
}
|
||||
|
||||
init {
|
||||
AdAstra
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user