From 8d1e1bd18357daa248190c71d570a2e6347bdcf5 Mon Sep 17 00:00:00 2001 From: Viz <107632879+Inadvizable@users.noreply.github.com> Date: Wed, 6 Jul 2022 00:53:10 +0200 Subject: [PATCH] Makes bolas knock down instead of stunning (#18207) * Bola stun't * now with extra readability * hold on a minute --- code/game/gamemodes/cult/cult_items.dm | 2 +- code/game/objects/items/weapons/legcuffs.dm | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/code/game/gamemodes/cult/cult_items.dm b/code/game/gamemodes/cult/cult_items.dm index 4fce21806ea..09cf69e420d 100644 --- a/code/game/gamemodes/cult/cult_items.dm +++ b/code/game/gamemodes/cult/cult_items.dm @@ -67,7 +67,7 @@ icon_state = "bola_cult" item_state = "bola_cult" breakouttime = 45 - weaken = 2 SECONDS + knockdown_duration = 2 SECONDS /obj/item/restraints/legcuffs/bola/cult/throw_impact(atom/hit_atom, datum/thrownthing/throwingdatum) if(iscultist(hit_atom)) diff --git a/code/game/objects/items/weapons/legcuffs.dm b/code/game/objects/items/weapons/legcuffs.dm index bfc8c35adfa..1cdc44ee1cb 100644 --- a/code/game/objects/items/weapons/legcuffs.dm +++ b/code/game/objects/items/weapons/legcuffs.dm @@ -158,8 +158,8 @@ gender = NEUTER origin_tech = "engineering=3;combat=1" hitsound = 'sound/effects/snap.ogg' - ///the duration of the stun in seconds - var/weaken = 0 + ///the duration of the knockdown in seconds + var/knockdown_duration = 0 /obj/item/restraints/legcuffs/bola/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback) playsound(loc,'sound/weapons/bolathrow.ogg', 50, TRUE) @@ -177,7 +177,7 @@ C.update_inv_legcuffed() SSblackbox.record_feedback("tally", "handcuffs", 1, type) to_chat(C, "[src] ensnares you!") - C.Weaken(weaken) + C.KnockDown(knockdown_duration) playsound(loc, hitsound, 50, TRUE) /obj/item/restraints/legcuffs/bola/tactical //traitor variant @@ -187,7 +187,7 @@ item_state = "bola_r" breakouttime = 70 origin_tech = "engineering=4;combat=3" - weaken = 2 SECONDS + knockdown_duration = 2 SECONDS /obj/item/restraints/legcuffs/bola/energy //For Security name = "energy bola"