mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-09 16:14:13 +00:00
makes people with clumsy sometimes play special sounds when doing surgery (#31945)
* clown * quack * john carbenter
This commit is contained in:
@@ -82,10 +82,18 @@
|
||||
spawn(duration * tool.toolspeed)//in case the player doesn't go all the way through the step (if he moves away, puts the tool away,...)
|
||||
tool.icon_state = "[initial(tool.icon_state)]_off"
|
||||
|
||||
if(digging)
|
||||
playsound(target, 'sound/items/hemostatdig.ogg', 75, 1)
|
||||
if((M_CLUMSY in user.mutations) && prob(20))
|
||||
if ((istype(tool, /obj/item/tool/circular_saw)) || (istype(tool, /obj/item/tool/surgicaldrill)))
|
||||
return
|
||||
else
|
||||
var/clownsound = null
|
||||
clownsound = pick("toysqueak","partyhorn","bikehorn","quack")
|
||||
playsound(target, "sound/items/[clownsound].ogg", 75, 2)
|
||||
else
|
||||
tool.playsurgerysound(target, 75, 1)
|
||||
if(digging)
|
||||
playsound(target, 'sound/items/hemostatdig.ogg', 75, 1)
|
||||
else
|
||||
tool.playsurgerysound(target, 75, 1)
|
||||
|
||||
return
|
||||
|
||||
|
||||
BIN
sound/items/partyhorn.ogg
Normal file
BIN
sound/items/partyhorn.ogg
Normal file
Binary file not shown.
BIN
sound/items/toysqueak.ogg
Normal file
BIN
sound/items/toysqueak.ogg
Normal file
Binary file not shown.
Reference in New Issue
Block a user