From 5fd9b421638ee5fe87645a0926709a8d9eb5b930 Mon Sep 17 00:00:00 2001 From: tigercat2000 Date: Wed, 25 Apr 2018 16:41:58 -0700 Subject: [PATCH] Revert all mob-code changes --- code/modules/mob/living/carbon/carbon.dm | 1 - .../mob/living/carbon/human/human_attackhand.dm | 10 ++++++---- code/modules/mob/living/living_defense.dm | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 823ad0c58ed..7cdebe4502c 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -201,7 +201,6 @@ swap_hand() /mob/living/carbon/proc/help_shake_act(mob/living/carbon/M) - add_attack_logs(M, src, "Shaked", admin_notify = FALSE) if(src.health >= config.health_threshold_crit) if(src == M && istype(src, /mob/living/carbon/human)) var/mob/living/carbon/human/H = src diff --git a/code/modules/mob/living/carbon/human/human_attackhand.dm b/code/modules/mob/living/carbon/human/human_attackhand.dm index a3f153d59f1..57be152295b 100644 --- a/code/modules/mob/living/carbon/human/human_attackhand.dm +++ b/code/modules/mob/living/carbon/human/human_attackhand.dm @@ -19,7 +19,7 @@ ..() if((M != src) && M.a_intent != INTENT_HELP && check_shields(0, M.name, attack_type = UNARMED_ATTACK)) - add_attack_logs(M, src, "Melee attacked with fists (miss/block)", admin_notify = FALSE) + add_attack_logs(M, src, "Melee attacked with fists (miss/block)") visible_message("[M] attempted to touch [src]!") return 0 @@ -38,9 +38,11 @@ if(S.next_step(M, src)) return 1 help_shake_act(M) + add_attack_logs(M, src, "Shaked") return 1 if(health >= config.health_threshold_crit) help_shake_act(M) + add_attack_logs(M, src, "Shaked") return 1 if(!H.check_has_mouth()) to_chat(H, "You don't have a mouth, you cannot perform CPR!") @@ -105,7 +107,7 @@ var/datum/unarmed_attack/attack = M.species.unarmed M.do_attack_animation(src) - add_attack_logs(M, src, "Melee attacked with fists", admin_notify = ckey ? TRUE : FALSE) + add_attack_logs(M, src, "Melee attacked with fists") if(!iscarbon(M)) LAssailant = null @@ -144,7 +146,7 @@ if(attacker_style && attacker_style.disarm_act(H, src)) return 1 else - add_attack_logs(M, src, "Disarmed", admin_notify = FALSE) + add_attack_logs(M, src, "Disarmed") if(w_uniform) w_uniform.add_fingerprint(M) @@ -154,7 +156,7 @@ apply_effect(2, WEAKEN, run_armor_check(affecting, "melee")) playsound(loc, 'sound/weapons/thudswoosh.ogg', 50, 1, -1) visible_message("[M] has pushed [src]!") - add_attack_logs(M, src, "Pushed over", admin_notify = FALSE) + add_attack_logs(M, src, "Pushed over") if(!iscarbon(M)) LAssailant = null else diff --git a/code/modules/mob/living/living_defense.dm b/code/modules/mob/living/living_defense.dm index 506b819f195..d1eeafa6b19 100644 --- a/code/modules/mob/living/living_defense.dm +++ b/code/modules/mob/living/living_defense.dm @@ -240,7 +240,7 @@ to_chat(user, "You already grabbed [src].") return - add_attack_logs(user, src, "Grabbed passively", admin_notify = FALSE) + add_attack_logs(user, src, "Grabbed passively") var/obj/item/grab/G = new /obj/item/grab(user, src) if(buckled)