Adds unloaded item state for the STS-35.

This commit is contained in:
mwerezak
2015-03-29 02:40:57 -04:00
parent ba9b8756da
commit c59fac2e16
7 changed files with 14 additions and 15 deletions

View File

@@ -63,6 +63,15 @@
/obj/item/device
icon = 'icons/obj/device.dmi'
//Checks if the item is being held by a mob, and if so, updates the held icons
/obj/item/proc/update_held_icon()
if(ismob(src.loc))
var/mob/M = src.loc
if(M.l_hand == src)
M.update_inv_l_hand()
if(M.r_hand == src)
M.update_inv_r_hand()
/obj/item/ex_act(severity)
switch(severity)
if(1.0)