U N L I M I T E D P O W E R

Since there was demand for more cell types this is a weapon cell that recharges, but this one has less charge than a normal one, meaning less burst at the reward of regen over time.

Unlike the normal      **C U B E**    cell this one requires weapon tech as well and Silver.
This commit is contained in:
Sharkmare
2019-02-13 12:52:33 +01:00
committed by GitHub
parent 5a42b35e3f
commit 192f3e2993
+26 -1
View File
@@ -4,9 +4,34 @@
icon_state = "hcell"
maxcharge = 2000//Trade in charge for recharge
matter = list(DEFAULT_WALL_MATERIAL = 1000, "glass" = 100)
description_info = "This 'cell' holds a max charge of 1k and self recharges over time."
description_info = "This 'cell' holds a max charge of 2k and self recharges over time."
self_recharge = TRUE
/obj/item/weapon/cell/high/hightech/empty/New()
..()
charge = 0
/obj/item/weapon/cell/device/weapon/hightech
name = "Self-charging weapon power cell"
icon_state = "wcell"
maxcharge = 1000
charge_amount = 20
desc = "This 'cell' holds a max charge of 1k and self recharges over time. It is specialized for weaponary although a bit too msall for some weapons"
self_recharge = TRUE
origin_tech = list(TECH_POWER = 7, TECH_MATERIAL = 6,TECH_BLUESPACE = 6,TECH_COMBAT = 1)
/obj/item/weapon/cell/device/weapon/hightech/empty/initialize()
. = ..()
charge = 0
update_icon()
//////DESIGN SECTION TO BE MOVED TO DESIGNS//////////////
/datum/design/item/powercell/high/hightech
name = "Self-charging weapon cell"
id = "selfch_cell_weapon"
req_tech = list(TECH_POWER = 5, TECH_MATERIAL = 5,TECH_BLUESPACE = 5,TECH_COMBAT = 3)
materials = list(DEFAULT_WALL_MATERIAL = 2000,"glass" = 500, "silver" = 500)
build_path = /obj/item/weapon/cell/high/hightech
category = "Misc"
sort_string = "DAAAF" //Unique Letter String, this decides how the list of printable items is arranged