mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 03:57:48 +01:00
up port muffle items (#17380)
* up port muffle items * fix that * Update exonet_node.dm * fix that...
This commit is contained in:
@@ -28,7 +28,12 @@
|
||||
/*
|
||||
/obj/item/storage/backpack/dropped(mob/user)
|
||||
if (loc == user && src.use_sound)
|
||||
playsound(src, src.use_sound, 50, 1, -5)
|
||||
if(isbelly(user.loc))
|
||||
var/obj/belly/B = user.loc
|
||||
if(B.mode_flags & DM_FLAG_MUFFLEITEMS)
|
||||
return
|
||||
else
|
||||
playsound(src, src.use_sound, 50, 1, -5)
|
||||
..(user)
|
||||
*/
|
||||
|
||||
|
||||
@@ -237,7 +237,9 @@
|
||||
|
||||
/obj/item/storage/proc/open(mob/user as mob)
|
||||
if (use_sound)
|
||||
playsound(src, src.use_sound, 50, 0, -5)
|
||||
var/obj/belly/B = user.loc
|
||||
if(isliving(user) && (!isbelly(B) || !(B.mode_flags & DM_FLAG_MUFFLEITEMS)))
|
||||
playsound(src, src.use_sound, 50, 0, -5)
|
||||
|
||||
orient2hud(user)
|
||||
if(user.s_active)
|
||||
|
||||
Reference in New Issue
Block a user