mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-25 21:16:39 +01:00
Removed unused substation batteryrack code.
This commit is contained in:
@@ -12,36 +12,12 @@
|
||||
var/cells_amount = 0
|
||||
var/capacitors_amount = 0
|
||||
|
||||
// Smaller capacity, but higher I/O
|
||||
// Starts fully charged, as it's used in substations. This replaces Engineering SMESs round start charge.
|
||||
/obj/machinery/power/smes/batteryrack/substation
|
||||
name = "Substation PSU"
|
||||
desc = "A rack of power cells working as a PSU. This one seems to be equipped for higher power loads."
|
||||
output_level = 150000
|
||||
input_level = 150000
|
||||
output_attempt = 1
|
||||
|
||||
// One high capacity cell, two regular cells. Lots of room for engineer upgrades
|
||||
// Also five basic capacitors. Again, upgradeable.
|
||||
/obj/machinery/power/smes/batteryrack/substation/add_parts()
|
||||
component_parts = list()
|
||||
component_parts += new /obj/item/weapon/circuitboard/batteryrack
|
||||
component_parts += new /obj/item/weapon/cell/high
|
||||
component_parts += new /obj/item/weapon/cell
|
||||
component_parts += new /obj/item/weapon/cell
|
||||
component_parts += new /obj/item/weapon/stock_parts/capacitor
|
||||
component_parts += new /obj/item/weapon/stock_parts/capacitor
|
||||
component_parts += new /obj/item/weapon/stock_parts/capacitor
|
||||
component_parts += new /obj/item/weapon/stock_parts/capacitor
|
||||
component_parts += new /obj/item/weapon/stock_parts/capacitor
|
||||
|
||||
/obj/machinery/power/smes/batteryrack/New()
|
||||
..()
|
||||
add_parts()
|
||||
RefreshParts()
|
||||
return
|
||||
|
||||
|
||||
//Maybe this should be moved up to obj/machinery
|
||||
/obj/machinery/power/smes/batteryrack/proc/add_parts()
|
||||
component_parts = list()
|
||||
|
||||
Reference in New Issue
Block a user