From 25e7dbb86f16b9e1cca0d2e2223c8590847b1663 Mon Sep 17 00:00:00 2001 From: Kelenius Date: Mon, 14 Mar 2016 14:46:43 +0300 Subject: [PATCH] Cuts down shard spam --- code/game/objects/items/weapons/material/shards.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/objects/items/weapons/material/shards.dm b/code/game/objects/items/weapons/material/shards.dm index bb4b80c1b8..e708cc0765 100644 --- a/code/game/objects/items/weapons/material/shards.dm +++ b/code/game/objects/items/weapons/material/shards.dm @@ -68,7 +68,6 @@ if(M.buckled) //wheelchairs, office chairs, rollerbeds return - M << "You step on \the [src]!" playsound(src.loc, 'sound/effects/glass_step.ogg', 50, 1) // not sure how to handle metal shards with sounds if(ishuman(M)) var/mob/living/carbon/human/H = M @@ -79,6 +78,8 @@ if( H.shoes || ( H.wear_suit && (H.wear_suit.body_parts_covered & FEET) ) ) return + M << "You step on \the [src]!" + var/list/check = list("l_foot", "r_foot") while(check.len) var/picked = pick(check)