mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
[MIRROR] Fix for bait toy (#8811)
Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
co-authored by
Novacat
CHOMPStation2
parent
47ebd9d5b8
commit
3977bad5a9
@@ -1170,6 +1170,9 @@
|
||||
|
||||
/obj/item/weapon/toy/monster_bait/afterattack(var/atom/A, var/mob/user)
|
||||
var/mob/living/simple_mob/M = A
|
||||
if(M.z != user.z || get_dist(user,M) > 1)
|
||||
to_chat(user, "<span class='notice'>You need to stand right next to \the [M] to bait it.</span>")
|
||||
return
|
||||
if(!istype(M))
|
||||
return
|
||||
if(!M.vore_active)
|
||||
|
||||
Reference in New Issue
Block a user