mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 00:35:45 +01:00
[MIRROR] EMP & Wires refactor (#12658)
Co-authored-by: Guti <32563288+TheCaramelion@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Guti
Cameron Lennox
parent
494fc9bea9
commit
b116cc450d
@@ -61,7 +61,10 @@
|
||||
desc = "A small power cell designed to power handheld devices. Shielded from EMPs."
|
||||
icon_state = "s_st"
|
||||
matter = list(MAT_STEEL = 400, MAT_GLASS = 60)
|
||||
emp_proof = TRUE
|
||||
|
||||
/obj/item/cell/device/empproof/Initialize(mapload)
|
||||
AddElement(/datum/element/empprotection, EMP_PROTECT_SELF)
|
||||
return ..()
|
||||
|
||||
/obj/item/cell/device/empproof/empty
|
||||
charge = 0
|
||||
@@ -90,7 +93,10 @@
|
||||
desc = "A small power cell designed to power handheld weaponry. Shielded from EMPs."
|
||||
icon_state = "s_hi"
|
||||
matter = list(MAT_STEEL = 400, MAT_GLASS = 60)
|
||||
emp_proof = TRUE
|
||||
|
||||
/obj/item/cell/device/weapon/empproof/Initialize(mapload)
|
||||
AddElement(/datum/element/empprotection, EMP_PROTECT_SELF)
|
||||
return ..()
|
||||
|
||||
/obj/item/cell/device/weapon/empproof/empty
|
||||
charge = 0
|
||||
|
||||
@@ -151,7 +151,10 @@
|
||||
maxcharge = 30000 //determines how badly mobs get shocked
|
||||
matter = list(MAT_STEEL = 700, MAT_GLASS = 80)
|
||||
robot_durability = 200
|
||||
emp_proof = TRUE
|
||||
|
||||
/obj/item/cell/infinite/Initialize(mapload)
|
||||
AddElement(/datum/element/empprotection, EMP_PROTECT_SELF)
|
||||
return ..()
|
||||
|
||||
/obj/item/cell/infinite/check_charge()
|
||||
return 1
|
||||
|
||||
Reference in New Issue
Block a user