mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
72 lines
2.1 KiB
Plaintext
72 lines
2.1 KiB
Plaintext
/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/weapon/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/weapon/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"
|
|
build_type = PROTOLATHE | MECHFAB
|
|
id = "basic_cell"
|
|
req_tech = list(TECH_POWER = 1)
|
|
materials = list(DEFAULT_WALL_MATERIAL = 700, "glass" = 50)
|
|
build_path = /obj/item/weapon/cell
|
|
category = "Misc"
|
|
sort_string = "BAAAA"
|
|
|
|
/datum/design/item/powercell/high
|
|
name = "high-capacity"
|
|
build_type = PROTOLATHE | MECHFAB
|
|
id = "high_cell"
|
|
req_tech = list(TECH_POWER = 2)
|
|
materials = list(DEFAULT_WALL_MATERIAL = 700, "glass" = 60)
|
|
build_path = /obj/item/weapon/cell/high
|
|
category = "Misc"
|
|
sort_string = "BAAAB"
|
|
|
|
/datum/design/item/powercell/super
|
|
name = "super-capacity"
|
|
id = "super_cell"
|
|
req_tech = list(TECH_POWER = 3, TECH_MATERIAL = 2)
|
|
materials = list(DEFAULT_WALL_MATERIAL = 700, "glass" = 70)
|
|
build_path = /obj/item/weapon/cell/super
|
|
category = "Misc"
|
|
sort_string = "BAAAC"
|
|
|
|
/datum/design/item/powercell/hyper
|
|
name = "hyper-capacity"
|
|
id = "hyper_cell"
|
|
req_tech = list(TECH_POWER = 5, TECH_MATERIAL = 4)
|
|
materials = list(DEFAULT_WALL_MATERIAL = 400, "gold" = 150, "silver" = 150, "glass" = 70)
|
|
build_path = /obj/item/weapon/cell/hyper
|
|
category = "Misc"
|
|
sort_string = "BAAAD"
|
|
|
|
/datum/design/item/powercell/device
|
|
name = "device"
|
|
build_type = PROTOLATHE
|
|
id = "device"
|
|
materials = list(DEFAULT_WALL_MATERIAL = 350, "glass" = 25)
|
|
build_path = /obj/item/weapon/cell/device
|
|
category = "Misc"
|
|
sort_string = "BAABA"
|
|
|
|
/datum/design/item/powercell/weapon
|
|
name = "weapon"
|
|
build_type = PROTOLATHE
|
|
id = "weapon"
|
|
materials = list(DEFAULT_WALL_MATERIAL = 700, "glass" = 50)
|
|
build_path = /obj/item/weapon/cell/device/weapon
|
|
category = "Misc"
|
|
sort_string = "BAABB" |