blob: 610c8a2c4fdec644c3a599050c92330c6203a9f0 [file] [log] [blame] [raw]
package li.cil.oc.server.component
import li.cil.oc.common.component
import li.cil.oc.api.Network
import li.cil.oc.api.network.Visibility
import li.cil.oc.Settings
class UpgradeBattery(val tier: Int) extends component.ManagedComponent {
val node = Network.newNode(this, Visibility.Network).
withConnector(Settings.get.bufferCapacitorUpgrades(tier)).
create()
}