mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 20:11:04 +01:00
Added a message to placing an item in your own storage container (bags, etc.) (#20679)
Title
This commit is contained in:
@@ -595,13 +595,11 @@
|
||||
add_fingerprint(user)
|
||||
|
||||
if(!prevent_warning)
|
||||
for(var/mob/M in viewers(user, null))
|
||||
if(M == usr)
|
||||
continue
|
||||
else if (M in range(1)) //If someone is standing close enough, they can tell what it is...
|
||||
M.show_message(SPAN_NOTICE("\The [user] puts [W] into [src]."))
|
||||
else if (W && W.w_class >= WEIGHT_CLASS_NORMAL) //Otherwise they can only see large or normal items from a distance...
|
||||
M.show_message(SPAN_NOTICE("\The [user] puts [W] into [src]."))
|
||||
if(W?.w_class >= WEIGHT_CLASS_NORMAL)
|
||||
user.visible_message(SPAN_NOTICE("\The [user] puts [W] into [src]."), SPAN_NOTICE("You put [W] into [src]."))
|
||||
else
|
||||
user.visible_message(SPAN_NOTICE("\The [user] puts [W] into [src]."), SPAN_NOTICE("You slip [W] into [src]."), null, 2)
|
||||
|
||||
orient2hud(user)
|
||||
if(user.s_active)
|
||||
user.s_active.show_to(user)
|
||||
|
||||
Reference in New Issue
Block a user