mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Addressing request by Fox
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user