From f11af8be92b815e1a84bd511e5269a3dfe9d3d1f Mon Sep 17 00:00:00 2001 From: oranges Date: Fri, 10 Jun 2022 04:14:19 +1200 Subject: [PATCH] ooga's go down, fixed rand, not recalculating every tick, Novaa I banged ur mum (#67594) * I'm on levels of existence that are byond anything your mortal mind can even comprehend in otherwords, this is to go even further byond SS2 * Update code/modules/mob/living/simple_animal/hostile/gorilla/gorilla.dm Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> * Safety first motherfucker Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com> --- .../mob/living/simple_animal/hostile/gorilla/gorilla.dm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/modules/mob/living/simple_animal/hostile/gorilla/gorilla.dm b/code/modules/mob/living/simple_animal/hostile/gorilla/gorilla.dm index 19b695b19ba..2af880ca3ba 100644 --- a/code/modules/mob/living/simple_animal/hostile/gorilla/gorilla.dm +++ b/code/modules/mob/living/simple_animal/hostile/gorilla/gorilla.dm @@ -110,10 +110,11 @@ return FALSE /mob/living/simple_animal/hostile/gorilla/proc/oogaooga() - oogas++ - if(oogas >= rand(2,6)) + oogas -= 1 + if(oogas <= 0) + oogas = rand(2,6) playsound(src, 'sound/creatures/gorilla.ogg', 50) - oogas = 0 + /mob/living/simple_animal/hostile/gorilla/cargo_domestic name = "Cargorilla" // Overriden, normally