Exosuit Nuclear Power Cores (#18268)

* Added power cores, a type of large battery cell that get used by
exosuits. The nuclear and phoron variants are self-charging.
* Combat mechs now start with nuclear power cores, allowing them to
sustain themselves indefinitely, so long as they stay out of the action
for a bit.
* Removed basic power cells from the mechfab, replaced with the mech
powercores.
* Mech cell statuses now instantly update as soon as the cell charges or
discharges.
* Added a stack of 10 uranium to the machinist's workshop, which can
print two nuclear power cores.
This commit is contained in:
Geeves
2024-06-09 23:14:59 +02:00
committed by GitHub
parent 566aeaa2da
commit 2bf39c7ee9
22 changed files with 178 additions and 74 deletions
@@ -1,5 +1,5 @@
/datum/design/item/powercell
build_type = PROTOLATHE | MECHFAB
build_type = PROTOLATHE
category = "Misc" // For the mechfab
p_category = "Power Cell Designs"
@@ -48,3 +48,22 @@
req_tech = list(TECH_POWER = 2)
materials = list(DEFAULT_WALL_MATERIAL = 150, MATERIAL_GLASS = 10)
build_path = /obj/item/cell/device/high
/datum/design/item/powercell/mecha
name = "Power Core"
build_type = MECHFAB
req_tech = list(TECH_POWER = 2)
materials = list(DEFAULT_WALL_MATERIAL = 20000, MATERIAL_GLASS = 10000)
build_path = /obj/item/cell/mecha
/datum/design/item/powercell/mecha/nuclear
name = "Nuclear Power Core"
req_tech = list(TECH_POWER = 3, TECH_MATERIAL = 3)
materials = list(DEFAULT_WALL_MATERIAL = 20000, MATERIAL_GLASS = 10000, MATERIAL_URANIUM = 10000)
build_path = /obj/item/cell/mecha/nuclear
/datum/design/item/powercell/mecha/phoron
name = "Phoron Power Core"
req_tech = list(TECH_POWER = 5, TECH_MATERIAL = 5)
materials = list(DEFAULT_WALL_MATERIAL = 20000, MATERIAL_GLASS = 10000, MATERIAL_PHORON = 5000)
build_path = /obj/item/cell/mecha/phoron