From 3435a47a7c836901a1d943a91c9e059e4a70aa5b Mon Sep 17 00:00:00 2001 From: Erthilo Date: Thu, 10 May 2012 01:59:55 +0100 Subject: [PATCH] TG: Added an ex_act for simple animals Revision: r3558 Author: kortgstation --- code/modules/mob/simple_animal/life.dm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/code/modules/mob/simple_animal/life.dm b/code/modules/mob/simple_animal/life.dm index fea5278ddbc..f10a1a473b6 100644 --- a/code/modules/mob/simple_animal/life.dm +++ b/code/modules/mob/simple_animal/life.dm @@ -352,3 +352,18 @@ stat = DEAD density = 0 return + +/mob/living/simple_animal/ex_act(severity) + flick("flash", flash) + switch (severity) + if (1.0) + health -= 500 + gib() + return + + if (2.0) + health -= 60 + + + if(3.0) + health -= 30 \ No newline at end of file