Skip to content

Commit

Permalink
Increase multi-cell charging rack max power to 1.5MW (#2927)
Browse files Browse the repository at this point in the history
* Update multi_cell_charger.dm

* Update multi_cell_charger.dm

---------

Co-authored-by: lessthanthree <[email protected]>
Co-authored-by: SomeRandomOwl <[email protected]>
  • Loading branch information
3 people authored Apr 17, 2024
1 parent 67ac323 commit a4444bc
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
/// Number of concurrent batteries that can be charged
var/max_batteries = 4
/// The base charge rate when spawned
var/charge_rate = 250 KILO WATTS
var/charge_rate = 375 KILO WATTS

/obj/machinery/cell_charger_multi/update_overlays()
. = ..()
Expand Down Expand Up @@ -98,7 +98,7 @@
var/list/charging_queue = list()
for(var/obj/item/stock_parts/cell/battery_slot in charging_batteries)
if(battery_slot.percent() >= 100)
continue
continue
LAZYADD(charging_queue, battery_slot)

if(!length(charging_queue))
Expand All @@ -109,7 +109,7 @@
var/charge_current = (charge_rate / length(charging_queue)) * seconds_per_tick
if(!charge_current)
return

for(var/obj/item/stock_parts/cell/charging_cell in charging_queue)
use_energy(charge_current * 0.01) //use a small bit for the charger itself, but power usage scales up with the part tier
charge_cell(charge_current, charging_cell, grid_only = TRUE)
Expand Down Expand Up @@ -196,7 +196,7 @@
name = "Multi-Cell Charger (Machine Board)"
greyscale_colors = CIRCUIT_COLOR_ENGINEERING
build_path = /obj/machinery/cell_charger_multi
req_components = list(/datum/stock_part/capacitor = 4)
req_components = list(/datum/stock_part/capacitor = 6)
needs_anchored = FALSE


Expand Down

0 comments on commit a4444bc

Please sign in to comment.