Replaces live otie grabs with a different feature.

-Grabbing a live otie no longer does the classic "break sprite offset and piss off the mob" function.
-Instead it now just leads to a disapproving growl and a loss of bonding if the grabber had befriended the thing before.
-Grabbing a dead one does the old stuff tho so ya can still 'dispose' of the bodies or whatever.
-Serious there's always someone who goes grabbing the nonhostile ones fgshjd :v
This commit is contained in:
Verkister
2017-10-20 18:50:09 +03:00
parent def5fadfa9
commit 000dcef006

View File

@@ -258,6 +258,29 @@
faction = M.faction
sleep(1 SECOND)
if(I_GRAB)
if(health > 0)
audible_emote("growls disapprovingly at [M].")
if(friend == M)
friend = null
return
if(M == src)
return
if(!(status_flags & CANPUSH))
return
var/obj/item/weapon/grab/G = new /obj/item/weapon/grab(M, src)
M.put_in_active_hand(G)
G.synch()
G.affecting = src
LAssailant = M
M.visible_message("<span class='warning'>[M] has grabbed [src] passively!</span>")
M.do_attack_animation(src)
ai_log("attack_hand() I was grabbed by: [M]",2)
else
..()