Merge pull request #9129 from Fox-McCloud/honkkkkkkk

Customize Honk Sound for Clown Uniform
This commit is contained in:
tigercat2000
2018-06-22 00:00:24 -07:00
committed by GitHub
+2 -1
View File
@@ -69,9 +69,10 @@
item_state = "clown"
item_color = "clown"
flags_size = ONESIZEFITSALL
var/honk_sound = 'sound/items/bikehorn.ogg'
/obj/item/clothing/under/rank/clown/hit_reaction()
playsound(loc, 'sound/items/bikehorn.ogg', 50, 1, -1)
playsound(loc, honk_sound, 50, 1, -1)
if(ishuman(loc))
var/mob/living/carbon/human/H = loc
if(H.mind && H.mind.assigned_role == "Clown")