Addressing request by Fox

This commit is contained in:
TullyBurnalot
2017-01-12 22:05:13 +00:00
parent d8d5279d66
commit 632030daa3
+7 -7
View File
@@ -266,14 +266,14 @@ var/global/list/captain_display_cases = list()
to_chat(user, "<span class='warning'>It's locked, you can't put anything into it.</span>")
return
if(!occupant)
if(user.drop_item())
to_chat(user, "<span class='notice'>You insert \the [W] into \the [src], and it floats as the hoverfield activates.</span>")
W.forceMove(src)
occupant=W
update_icon()
else
to_chat(user, "<span class='notice'>That tool is attached to you!</span>")
if(!user.drop_item())
to_chat(user, "<span class='notice'>The [W] is stuck to you. You cannot put it in the [src]!</span>")
return
to_chat(user, "<span class='notice'>You insert \the [W] into \the [src], and it floats as the hoverfield activates.</span>")
user.drop_item()
W.forceMove(src)
occupant=W
update_icon()
/obj/structure/displaycase/attack_hand(mob/user as mob)
if(destroyed || (!locked && user.a_intent == I_HARM))