D cell also now has a recharger form science can make

Allows Circuit design to build actual generators  and multi assembly generators

Or you can have your flashlight never run out i guess
This commit is contained in:
Sharkmare
2019-02-13 21:50:02 +01:00
committed by GitHub
parent 2c201c98a2
commit fa85fb2a8f
+24 -2
View File
@@ -16,18 +16,31 @@
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"
desc = "This 'cell' holds a max charge of 1k and self recharges over time. It is specialized for weaponary although a bit too small 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/hightech
name = "Self-charging device power cell"
maxcharge = 1000
charge_amount = 20
desc = "This 'cell' holds a max charge of 1k and self recharges over time. It is specialized for devices."
self_recharge = TRUE
origin_tech = list(TECH_POWER = 7, TECH_MATERIAL = 6,TECH_BLUESPACE = 6)
/obj/item/weapon/cell/device/weapon/hightech/empty/initialize()
. = ..()
charge = 0
update_icon()
/obj/item/weapon/cell/device/hightech/empty/initialize()
. = ..()
charge = 0
update_icon()
//////DESIGN SECTION TO BE MOVED TO DESIGNS//////////////
/datum/design/item/powercell/high/hightech
/datum/design/item/powercell/weapon/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)
@@ -35,3 +48,12 @@
build_path = /obj/item/weapon/cell/device/weapon/hightech
category = "Misc"
sort_string = "DAAAF" //Unique Letter String, this decides how the list of printable items is arranged
/datum/design/item/powercell/device/hightech
name = "Self-charging device cell"
id = "selfch_cell_device"
req_tech = list(TECH_POWER = 5, TECH_MATERIAL = 5,TECH_BLUESPACE = 5)
materials = list(DEFAULT_WALL_MATERIAL = 2000,"glass" = 500, "silver" = 500)
build_path = /obj/item/weapon/cell/device/hightech
category = "Misc"
sort_string = "DAAAE" //Unique Letter String, this decides how the list of printable items is arranged