mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
[MIRROR] Fixes mousetraps causing mice to become invisible when splatted (#7954)
* Fixes mousetraps causing mice to become invisible when splatted (#61201) * Fixes mousetraps causing mice to become invisible when splatted Co-authored-by: aaaa1023 <74441292+aaaa1023@users.noreply.github.com>
This commit is contained in:
@@ -34,7 +34,9 @@
|
||||
|
||||
/mob/living/simple_animal/mouse/Initialize()
|
||||
. = ..()
|
||||
AddElement(/datum/element/animal_variety, "mouse", pick("brown","gray","white"), FALSE)
|
||||
if(body_color == null)
|
||||
body_color = pick("brown","gray","white")
|
||||
AddElement(/datum/element/animal_variety, "mouse", body_color, FALSE)
|
||||
AddComponent(/datum/component/squeak, list('sound/effects/mousesqueek.ogg' = 1), 100, extrarange = SHORT_RANGE_SOUND_EXTRARANGE) //as quiet as a mouse or whatever
|
||||
add_cell_sample()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user