Files
VMSolidusandGitHub d79f16c5df Power Cell Bounty Fix (#21366)
Logistics bounties sometimes asked for a "Heavy Duty Power Cell" which
was an item that was not actually manufacturable by the ship, and could
only be obtained by stealing them from the APCs they spawned in. This PR
adds the ability for protolathes to manufacture them directly, just like
the other upgraded versions of APC power cells.
2025-09-22 13:25:46 +00:00

78 lines
2.7 KiB
Plaintext

/datum/design/item/powercell
build_type = PROTOLATHE
category = "Misc" // For the mechfab
p_category = "Power Cell Designs"
/datum/design/item/powercell/AssembleDesignDesc()
..()
var/obj/item/cell/C = build_path
desc += " This level of power cell stores [initial(C.maxcharge)] units of energy."
/datum/design/item/powercell/Fabricate()
var/obj/item/cell/C = ..()
C.charge = 0 //shouldn't produce power out of thin air.
return C
// This is actually a battery.
/datum/design/item/powercell/basic
name = "Basic"
req_tech = list(TECH_POWER = 1)
materials = list(DEFAULT_WALL_MATERIAL = 700, MATERIAL_GLASS = 50)
build_path = /obj/item/cell
// This is actually the standard power cell found in APCs. And is called for by logistics bounties.
/datum/design/item/powercell/apc
name = "Heavy-Duty"
req_tech = list(TECH_POWER = 1)
materials = list(DEFAULT_WALL_MATERIAL = 700, MATERIAL_GLASS = 50)
build_path = /obj/item/cell/apc
/datum/design/item/powercell/high
name = "High-Capacity"
req_tech = list(TECH_POWER = 2)
materials = list(DEFAULT_WALL_MATERIAL = 700, MATERIAL_GLASS = 60)
build_path = /obj/item/cell/high
/datum/design/item/powercell/super
name = "Super-Capacity"
req_tech = list(TECH_POWER = 3, TECH_MATERIAL = 2)
materials = list(DEFAULT_WALL_MATERIAL = 700, MATERIAL_GLASS = 70)
build_path = /obj/item/cell/super
/datum/design/item/powercell/hyper
name = "Hyper-Capacity"
req_tech = list(TECH_POWER = 5, TECH_MATERIAL = 4)
materials = list(DEFAULT_WALL_MATERIAL = 400, MATERIAL_GOLD = 150, MATERIAL_SILVER = 150, MATERIAL_GLASS = 70)
build_path = /obj/item/cell/hyper
/datum/design/item/powercell/device
name = "Device"
req_tech = list(TECH_POWER = 1)
materials = list(DEFAULT_WALL_MATERIAL = 70, MATERIAL_GLASS = 5)
build_path = /obj/item/cell/device
/datum/design/item/powercell/device/high
name = "Advanced Device"
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