Fixes and updates pod's emergency suits storage.

This commit is contained in:
Ghommie
2019-06-02 18:28:30 +02:00
parent a6a54219fe
commit d6e54bf237
8 changed files with 52 additions and 44 deletions
+1 -1
View File
@@ -105,7 +105,7 @@
if(isturf(A))
return
if(istype(A,/obj/item/storage/lockbox))
if(istype(A,/obj/item/storage/lockbox) || istype(A, /obj/item/storage/pod)))
A.emag_act(user)
uses = max(uses - 1, 0)
if(!uses)
+1
View File
@@ -241,6 +241,7 @@ GLOBAL_DATUM_INIT(acid_overlay, /mutable_appearance, mutable_appearance('icons/e
//what happens when the obj's health is below integrity_failure level.
/obj/proc/obj_break(damage_flag)
SEND_SIGNAL(src, COMSIG_OBJ_BREAK, damage_flag)
return
//what happens when the obj's integrity reaches zero.