mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
some tweaks to mice and roaches, tried to get the gameticker to periodically spawn them but failed (will come back to)
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -148,6 +148,14 @@
|
||||
affecting.take_damage(1, 0)
|
||||
H.UpdateDamageIcon()
|
||||
H.updatehealth()
|
||||
else if(ismouse(target))
|
||||
var/mob/living/simple_animal/mouse/M = target
|
||||
src.visible_message("\red \icon[src] <b>SPLAT!</b>")
|
||||
M.splat()
|
||||
else if(isroach(target))
|
||||
var/obj/effect/critter/roach/R = target
|
||||
src.visible_message("\red \icon[src] <b>CRUNCH!</b>")
|
||||
R.Die()
|
||||
playsound(target.loc, 'snap.ogg', 50, 1)
|
||||
icon_state = "mousetrap"
|
||||
armed = 0
|
||||
|
||||
Reference in New Issue
Block a user