mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-28 06:27:26 +01:00
Refactor and Fixes EMP's (#13420)
This commit is contained in:
@@ -20,6 +20,10 @@
|
||||
..()
|
||||
storage = new /obj/item/storage/hidden/implant(src)
|
||||
|
||||
/obj/item/implant/storage/emp_act(severity)
|
||||
..()
|
||||
storage.emp_act(severity)
|
||||
|
||||
/obj/item/implant/storage/activate()
|
||||
storage.MouseDrop(imp_in)
|
||||
|
||||
|
||||
@@ -77,6 +77,10 @@
|
||||
item_state = "gift"
|
||||
w_class = WEIGHT_CLASS_BULKY
|
||||
|
||||
/obj/item/gift/emp_act(severity)
|
||||
..()
|
||||
gift.emp_act(severity)
|
||||
|
||||
/obj/item/kidanglobe
|
||||
name = "Kidan homeworld globe"
|
||||
icon = 'icons/obj/decorations.dmi'
|
||||
|
||||
@@ -481,10 +481,10 @@
|
||||
return ..()
|
||||
|
||||
/obj/item/storage/emp_act(severity)
|
||||
if(!istype(loc, /mob/living))
|
||||
for(var/obj/O in contents)
|
||||
O.emp_act(severity)
|
||||
..()
|
||||
for(var/i in contents)
|
||||
var/atom/A = i
|
||||
A.emp_act(severity)
|
||||
|
||||
/obj/item/storage/hear_talk(mob/living/M as mob, list/message_pieces)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user