diff --git a/code/datums/elements/footstep.dm b/code/datums/elements/footstep.dm index d837e58155b1..417e9431a63f 100644 --- a/code/datums/elements/footstep.dm +++ b/code/datums/elements/footstep.dm @@ -197,6 +197,9 @@ volume_multiplier = 0.6 range_adjustment = -2 + if(HAS_TRAIT(source, TRAIT_OBFUSCATED)) // DARKPACK EDIT ADD START - POWERS - Cancels footstep noise + return // DARKPACK EDIT ADD END - POWERS + // list returned by playsound() filled by client mobs who heard the footstep. given to play_fov_effect() var/list/heard_clients var/picked_sound = pick(footstep_sounds[1]) diff --git a/code/datums/elements/squish_sound.dm b/code/datums/elements/squish_sound.dm index a245bb48a73c..8ea5cbcd13e5 100644 --- a/code/datums/elements/squish_sound.dm +++ b/code/datums/elements/squish_sound.dm @@ -22,6 +22,6 @@ playsound( source = source, soundin = sound_to_play, - vol = HAS_TRAIT(crossed, TRAIT_LIGHT_STEP) ? 20 : 50, + vol = (HAS_TRAIT(crossed, TRAIT_LIGHT_STEP) || HAS_TRAIT(crossed, TRAIT_OBFUSCATED)) ? 20 : 50, // DARKPACK EDIT CHANGE - POWERS vary = TRUE, ) diff --git a/code/game/objects/items/stacks/sheets/glass.dm b/code/game/objects/items/stacks/sheets/glass.dm index 285d1293db02..4687413157a6 100644 --- a/code/game/objects/items/stacks/sheets/glass.dm +++ b/code/game/objects/items/stacks/sheets/glass.dm @@ -426,7 +426,7 @@ GLOBAL_LIST_INIT(plastitaniumglass_recipes, list( if(isliving(AM)) var/mob/living/L = AM if(!(L.movement_type & MOVETYPES_NOT_TOUCHING_GROUND) || L.buckled) - playsound(src, 'sound/effects/footstep/glass_step.ogg', HAS_TRAIT(L, TRAIT_LIGHT_STEP) ? 30 : 50, TRUE) + playsound(src, 'sound/effects/footstep/glass_step.ogg', (HAS_TRAIT(L, TRAIT_LIGHT_STEP) || HAS_TRAIT(L, TRAIT_OBFUSCATED)) ? 30 : 50, TRUE) // DARKPACK EDIT CHANGE - POWERS /obj/item/shard/plasma name = "purple shard" diff --git a/code/modules/power/lighting/light_items.dm b/code/modules/power/lighting/light_items.dm index 84449e5bc4e2..ccc10deaf007 100644 --- a/code/modules/power/lighting/light_items.dm +++ b/code/modules/power/lighting/light_items.dm @@ -123,7 +123,7 @@ return var/mob/living/moving_mob = moving_atom if(!(moving_mob.movement_type & MOVETYPES_NOT_TOUCHING_GROUND) || moving_mob.buckled) - playsound(src, 'sound/effects/footstep/glass_step.ogg', HAS_TRAIT(moving_mob, TRAIT_LIGHT_STEP) ? 30 : 50, TRUE) + playsound(src, 'sound/effects/footstep/glass_step.ogg', (HAS_TRAIT(moving_mob, TRAIT_LIGHT_STEP) || HAS_TRAIT(moving_mob, TRAIT_OBFUSCATED)) ? 30 : 50, TRUE) // DARKPACK EDIT CHANGE - POWERS if(status == LIGHT_BURNED || status == LIGHT_OK) shatter(moving_mob)