diff --git a/code/game/objects/weapons.dm b/code/game/objects/weapons.dm index 7920399d7f..26a2b3405f 100644 --- a/code/game/objects/weapons.dm +++ b/code/game/objects/weapons.dm @@ -141,6 +141,10 @@ if(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 SPLAT!") + M.splat() playsound(target.loc, 'snap.ogg', 50, 1) icon_state = "mousetrap" armed = 0 @@ -197,9 +201,7 @@ continue O.show_message("\red [H] accidentally steps on the mousetrap.", 1) if(ismouse(AM)) - var/mob/living/simple_animal/mouse/M = AM - src.visible_message("\red SPLAT!") - M.splat() + triggered(AM) ..() /obj/item/weapon/mousetrap/hitby(A as mob|obj) diff --git a/code/modules/food/food.dm b/code/modules/food/food.dm index d9a620d526..a4046430aa 100644 --- a/code/modules/food/food.dm +++ b/code/modules/food/food.dm @@ -194,7 +194,7 @@ usr << "\blue The egg refuses to take on this color!" return - usr << "\blue You color \the [C] [clr]" + usr << "\blue You color \the [src] [clr]" icon_state = "egg-[clr]" color = clr else diff --git a/code/modules/mob/living/simple_animal/cat.dm b/code/modules/mob/living/simple_animal/cat.dm index 317f733b3a..ccb4459f4d 100644 --- a/code/modules/mob/living/simple_animal/cat.dm +++ b/code/modules/mob/living/simple_animal/cat.dm @@ -35,7 +35,7 @@ for(var/mob/living/simple_animal/mouse/M in view(1,src)) if(!M.stat) M.splat() - emote("\the [src] SPLATS \the [M]") + emote("SPLATS \the [M]") movement_target = null stop_automated_movement = 0 break