From e0037ffefeb47348b6980067e5b002d77f77e8c3 Mon Sep 17 00:00:00 2001 From: datlo Date: Tue, 20 Nov 2018 15:03:38 +0000 Subject: [PATCH] space activated mama mia stop the copy pasta --- code/modules/martial_arts/cqc.dm | 28 ++++++++++++++-------------- code/modules/martial_arts/martial.dm | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/code/modules/martial_arts/cqc.dm b/code/modules/martial_arts/cqc.dm index 876334c4b63..ab7ce5dd250 100644 --- a/code/modules/martial_arts/cqc.dm +++ b/code/modules/martial_arts/cqc.dm @@ -17,23 +17,23 @@ return FALSE if(findtext(streak,SLAM_COMBO)) streak = "" - Slam(A,D) + Slam(A, D) return TRUE if(findtext(streak,KICK_COMBO)) streak = "" - Kick(A,D) + Kick(A, D) return TRUE if(findtext(streak,RESTRAIN_COMBO)) streak = "" - Restrain(A,D) + Restrain(A, D) return TRUE if(findtext(streak,PRESSURE_COMBO)) streak = "" - Pressure(A,D) + Pressure(A, D) return TRUE if(findtext(streak,CONSECUTIVE_COMBO)) streak = "" - Consecutive(A,D) + Consecutive(A, D) return FALSE /datum/martial_art/cqc/proc/Slam(mob/living/carbon/human/A, mob/living/carbon/human/D) @@ -95,7 +95,7 @@ "[A] strikes your abdomen, neck and back consecutively!") playsound(get_turf(D), 'sound/weapons/cqchit2.ogg', 50, 1, -1) var/obj/item/I = D.get_active_hand() - if(I && D.drop_item()) + if(I && D.drop_item()) A.put_in_hands(I) D.adjustStaminaLoss(50) D.apply_damage(25, BRUTE) @@ -104,10 +104,10 @@ /datum/martial_art/cqc/grab_act(mob/living/carbon/human/A, mob/living/carbon/human/D) if(!can_use(A)) return FALSE - add_to_streak("G",D) - if(check_streak(A,D)) + add_to_streak("G", D) + if(check_streak(A, D)) return TRUE - var/obj/item/grab/G = D.grabbedby(A,1) + var/obj/item/grab/G = D.grabbedby(A, 1) if(G) G.state = GRAB_AGGRESSIVE //Instant aggressive grab return TRUE @@ -115,8 +115,8 @@ /datum/martial_art/cqc/harm_act(mob/living/carbon/human/A, mob/living/carbon/human/D) if(!can_use(A)) return FALSE - add_to_streak("H",D) - if(check_streak(A,D)) + add_to_streak("H", D) + if(check_streak(A, D)) return TRUE A.do_attack_animation(D) var/picked_hit_type = pick("CQC'd", "Big Bossed") @@ -142,9 +142,9 @@ /datum/martial_art/cqc/disarm_act(mob/living/carbon/human/A, mob/living/carbon/human/D) if(!can_use(A)) return FALSE - add_to_streak("D",D) + add_to_streak("D", D) var/obj/item/I = null - if(check_streak(A,D)) + if(check_streak(A, D)) return TRUE if(prob(65)) if(!D.stat || !D.weakened || !restraining) @@ -183,4 +183,4 @@ to_chat(usr, "Pressure: Disarm Grab. Decent stamina damage.") to_chat(usr, "Consecutive CQC: Disarm Disarm Harm. Mainly offensive move, huge damage and decent stamina damage.") - to_chat(usr, "In addition, by having your throw mode on when being attacked, you enter an active defense mode where you have a chance to block and sometimes even counter melee attacks done to you.") + to_chat(usr, "In addition, by having your throw mode on when being attacked, you enter an active defense mode where you have a chance to block and sometimes even counter melee attacks done to you.") \ No newline at end of file diff --git a/code/modules/martial_arts/martial.dm b/code/modules/martial_arts/martial.dm index dde7524a2f1..aed823b372b 100644 --- a/code/modules/martial_arts/martial.dm +++ b/code/modules/martial_arts/martial.dm @@ -193,7 +193,7 @@ name = "old manual" desc = "A small, black manual. There are drawn instructions of tactical hand-to-hand combat." icon = 'icons/obj/library.dmi' - icon_state ="cqcmanual" + icon_state = "cqcmanual" /obj/item/CQC_manual/attack_self(mob/living/carbon/human/user) if(!istype(user) || !user)