mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
Merge pull request #9129 from Fox-McCloud/honkkkkkkk
Customize Honk Sound for Clown Uniform
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user