Merge pull request #6528 from Citadel-Station-13/upstream-merge-37439
[MIRROR] admins can now var edit the sound frogs make when they are stepped on
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
pass_flags = PASSTABLE | PASSGRILLE | PASSMOB
|
||||
mob_size = MOB_SIZE_TINY
|
||||
gold_core_spawnable = HOSTILE_SPAWN
|
||||
var/stepped_sound = 'sound/effects/huuu.ogg'
|
||||
|
||||
/mob/living/simple_animal/hostile/retaliate/frog/Initialize()
|
||||
. = ..()
|
||||
@@ -40,4 +41,4 @@
|
||||
if(!stat && isliving(AM))
|
||||
var/mob/living/L = AM
|
||||
if(L.mob_size > MOB_SIZE_TINY)
|
||||
playsound(src, 'sound/effects/huuu.ogg', 50, 1)
|
||||
playsound(src, stepped_sound, 50, 1)
|
||||
|
||||
Reference in New Issue
Block a user