diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm
index 829dec80b2..e3f7795f64 100644
--- a/code/modules/mob/living/living_defense.dm
+++ b/code/modules/mob/living/living_defense.dm
@@ -87,7 +87,7 @@
var/armor = run_armor_check(zone, "melee", "Your armor has protected your [parse_zone(zone)].", "Your armor has softened hit to your [parse_zone(zone)].",I.armour_penetration)
apply_damage(I.throwforce, dtype, zone, armor)
if(I.thrownby)
- add_logs(I.thrownby, src, "hit", I)
+ add_logs(I.thrownby, src, "threw and hit", I)
else
return 1
else
@@ -148,6 +148,7 @@
var/grab_upgrade_time = 30
visible_message("[user] starts to tighten [user.p_their()] grip on [src]!", \
"[user] starts to tighten [user.p_their()] grip on you!")
+ add_logs(user, src, "attempted to strangle", addition="grab")
if(!do_mob(user, src, grab_upgrade_time))
return 0
if(!user.pulling || user.pulling != src || user.grab_state != old_grab_state || user.a_intent != INTENT_GRAB)
@@ -155,18 +156,20 @@
user.grab_state++
switch(user.grab_state)
if(GRAB_AGGRESSIVE)
- add_logs(user, src, "grabbed", addition="aggressively")
+ add_logs(user, src, "grabbed", addition="aggressive grab")
visible_message("[user] has grabbed [src] aggressively!", \
"[user] has grabbed [src] aggressively!")
drop_all_held_items()
stop_pulling()
if(GRAB_NECK)
+ add_logs(user, src, "grabbed", addition="neck grab")
visible_message("[user] has grabbed [src] by the neck!",\
"[user] has grabbed you by the neck!")
update_canmove() //we fall down
if(!buckled && !density)
Move(user.loc)
if(GRAB_KILL)
+ add_logs(user, src, "strangled", addition="grab")
visible_message("[user] is strangling [src]!", \
"[user] is strangling you!")
update_canmove() //we fall down
@@ -275,7 +278,7 @@
return 1
/mob/living/proc/electrocute_act(shock_damage, obj/source, siemens_coeff = 1, safety = 0, tesla_shock = 0, illusion = 0, stun = TRUE)
- if(tesla_shock && HAS_SECONDARY_FLAG(src, TESLA_IGNORE))
+ if(tesla_shock && (flags_2 & TESLA_IGNORE_2))
return FALSE
if(shock_damage > 0)
if(!illusion)
@@ -337,7 +340,7 @@
return
if(stat != DEAD && !is_servant_of_ratvar(src))
- for(var/obj/item/weapon/implant/mindshield/M in implants)
+ for(var/obj/item/implant/mindshield/M in implants)
qdel(M)
if(!add_servant_of_ratvar(src))
to_chat(src, "A blinding light boils you alive! Run!")
diff --git a/code/modules/mob/living/living_defense.dm.rej b/code/modules/mob/living/living_defense.dm.rej
deleted file mode 100644
index 1793cdd6f4..0000000000
--- a/code/modules/mob/living/living_defense.dm.rej
+++ /dev/null
@@ -1,14 +0,0 @@
-diff a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm (rejected hunks)
-@@ -72,9 +72,9 @@
- if (I.throwforce > 0) //If the weapon's throwforce is greater than zero...
- if (I.throwhitsound) //...and throwhitsound is defined...
- playsound(loc, I.throwhitsound, volume, 1, -1) //...play the weapon's throwhitsound.
-- else if(W.hitsound) //Otherwise, if the weapon's hitsound is defined...
-- playsound(loc, Ihitsound, volume, 1, -1) //...play the weapon's hitsound.
-- else if(!W.throwhitsound) //Otherwise, if throwhitsound isn't defined...
-+ else if(I.hitsound) //Otherwise, if the weapon's hitsound is defined...
-+ playsound(loc, I.hitsound, volume, 1, -1) //...play the weapon's hitsound.
-+ else if(!I.throwhitsound) //Otherwise, if throwhitsound isn't defined...
- playsound(loc, 'sound/weapons/genhit.ogg',volume, 1, -1) //...play genhit.ogg.
-
- else if(!I.throwhitsound && I.throwforce > 0) //Otherwise, if the item doesn't have a throwhitsound and has a throwforce greater than zero...