Files
CHOMPStation2/code/modules/research/designs/power_cells.dm
2024-09-30 21:36:41 +02:00

129 lines
4.3 KiB
Plaintext

//CHOMP Disabled in DME in favor of modular_chomp folder
/datum/design/item/powercell
build_type = PROTOLATHE | MECHFAB
/datum/design/item/powercell/AssembleDesignName()
name = "Power Cell Model ([item_name])"
/datum/design/item/powercell/AssembleDesignDesc()
if(build_path)
var/obj/item/cell/C = build_path
desc = "Allows the construction of power cells that can hold [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.
C.update_icon()
return C
/datum/design/item/powercell/basic
name = "basic"
id = "basic_cell"
req_tech = list(TECH_POWER = 1)
materials = list(MAT_STEEL = 700, MAT_GLASS = 50)
build_path = /obj/item/cell
category = list("Misc")
sort_string = "BAAAA"
department = LATHE_ALL | LATHE_ENGINEERING | LATHE_PUBLIC // CHOMPAdd
/datum/design/item/powercell/high
name = "high-capacity"
id = "high_cell"
req_tech = list(TECH_POWER = 2)
materials = list(MAT_STEEL = 700, MAT_GLASS = 60)
build_path = /obj/item/cell/high
category = list("Misc")
sort_string = "BAAAB"
department = LATHE_ALL | LATHE_ENGINEERING // CHOMPAdd
/datum/design/item/powercell/super
name = "super-capacity"
id = "super_cell"
req_tech = list(TECH_POWER = 3, TECH_MATERIAL = 2)
materials = list(MAT_STEEL = 700, MAT_GLASS = 70)
build_path = /obj/item/cell/super
category = list("Misc")
sort_string = "BAAAC"
department = LATHE_ALL | LATHE_ENGINEERING // CHOMPAdd
/datum/design/item/powercell/hyper
name = "hyper-capacity"
id = "hyper_cell"
req_tech = list(TECH_POWER = 5, TECH_MATERIAL = 4)
materials = list(MAT_STEEL = 400, MAT_GOLD = 150, MAT_SILVER = 150, MAT_GLASS = 70)
build_path = /obj/item/cell/hyper
category = list("Misc")
sort_string = "BAAAD"
department = LATHE_ALL | LATHE_ENGINEERING // CHOMPAdd
/datum/design/item/powercell/device
name = "device"
build_type = PROTOLATHE
id = "device"
materials = list(MAT_STEEL = 350, MAT_GLASS = 25)
build_path = /obj/item/cell/device
category = list("Misc")
sort_string = "BAABA"
department = LATHE_ALL | LATHE_ENGINEERING // CHOMPAdd
//Yawn changes
/datum/design/item/powercell/advance_device
name = "device, advanced"
build_type = PROTOLATHE
id = "advance_device"
materials = list(MAT_STEEL = 700, MAT_GLASS = 50)
build_path = /obj/item/cell/device/weapon
category = list("Misc")
sort_string = "BAABB"
department = LATHE_ALL | LATHE_ENGINEERING // CHOMPAdd
/datum/design/item/powercell/super_device
name = "device, super"
id = "super_device"
req_tech = list(TECH_POWER = 3, TECH_MATERIAL = 2)
materials = list(MAT_STEEL = 700, MAT_GLASS = 70, "gold" = 50, "silver" = 20)
build_path = /obj/item/cell/device/super
category = list("Misc")
sort_string = "BAABC"
department = LATHE_ALL | LATHE_ENGINEERING // CHOMPAdd
/datum/design/item/powercell/hype_device
name = "device, hyper"
id = "hyper_device"
req_tech = list(TECH_POWER = 5, TECH_MATERIAL = 4)
materials = list(MAT_STEEL = 1400, MAT_GLASS= 1400, "gold" = 150, "silver" = 150)
build_path = /obj/item/cell/device/hyper
category = list("Misc")
sort_string = "BAABD"
department = LATHE_ALL | LATHE_ENGINEERING // CHOMPAdd
/datum/design/item/powercell/omni_device
name = "device, omni"
req_tech = list(TECH_POWER = 8, TECH_MATERIAL = 7, TECH_ARCANE = 2, TECH_PHORON = 4, TECH_PRECURSOR = 2)
build_type = PROTOLATHE
id = "omni-device"
materials = list(MAT_STEEL = 1700, MAT_GLASS = 550, MAT_DURASTEEL = 230, MAT_MORPHIUM = 320, MAT_METALHYDROGEN = 600, MAT_URANIUM = 60, MAT_VERDANTIUM = 150, MAT_PHORON = 900)
build_path = /obj/item/cell/device/weapon/recharge/alien/omni
category = list("Misc")
sort_string = "BAABE"
department = LATHE_ALL | LATHE_ENGINEERING // CHOMPAdd
//End of Yawn add
/datum/design/item/powercell/mecha/high
name = "high-capacity mecha"
id = "high_mech_cell"
req_tech = list(TECH_POWER = 3, TECH_MATERIAL = 3)
materials = list(MAT_STEEL = 600, MAT_SILVER = 150, MAT_GLASS = 70)
build_path = /obj/item/cell/mech/high
category = list("Misc")
sort_string = "BAACA"
/datum/design/item/powercell/mecha/super
name = "super-capacity mecha"
id = "super_mech_cell"
req_tech = list(TECH_POWER = 5, TECH_MATERIAL = 4)
materials = list(MAT_STEEL = 500, MAT_GOLD = 200, MAT_SILVER = 200, MAT_GLASS = 80)
build_path = /obj/item/cell/mech/super
category = list("Misc")
sort_string = "BAACB"