Protolathe Power Cells Tweak

Fixes power cells and device cells not having the empty-charge icon when made.

Tweaks the protolathe so all items that come with power cells start empty (such as energy weapons)
This commit is contained in:
Nalarac
2019-11-28 15:46:52 -06:00
parent 4aecbd344d
commit 33c07f0ee6
4 changed files with 52 additions and 1 deletions

View File

@@ -18,6 +18,7 @@
/obj/item/weapon/cell/secborg/empty/New()
..()
charge = 0
update_icon()
/obj/item/weapon/cell/apc
name = "heavy-duty power cell"
@@ -35,6 +36,7 @@
/obj/item/weapon/cell/high/empty/New()
..()
charge = 0
update_icon()
/obj/item/weapon/cell/super
name = "super-capacity power cell"
@@ -46,6 +48,7 @@
/obj/item/weapon/cell/super/empty/New()
..()
charge = 0
update_icon()
/obj/item/weapon/cell/hyper
name = "hyper-capacity power cell"
@@ -57,6 +60,7 @@
/obj/item/weapon/cell/hyper/empty/New()
..()
charge = 0
update_icon()
/obj/item/weapon/cell/infinite
name = "infinite-capacity power cell!"