From eb4fefd945e6f997a2396767c531f53a31c40718 Mon Sep 17 00:00:00 2001 From: PowerfulBacon <26465327+PowerfulBacon@users.noreply.github.com> Date: Tue, 4 Jun 2024 16:07:12 +0100 Subject: [PATCH] Increases weapon slowdown for heavier weapons (#10977) * Update gun.dm * Removes KA slowdown --- code/modules/projectiles/gun.dm | 2 +- code/modules/projectiles/guns/energy/kinetic_accelerator.dm | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/projectiles/gun.dm b/code/modules/projectiles/gun.dm index b48e5cea4e24a..bca6b20fd47e0 100644 --- a/code/modules/projectiles/gun.dm +++ b/code/modules/projectiles/gun.dm @@ -116,7 +116,7 @@ spread_unwielded = weapon_weight * 10 + 10 if (has_weapon_slowdown) if (!slowdown) - slowdown = 0.3 + weapon_weight * 0.1 + slowdown = 0.1 + weapon_weight * 0.3 item_flags |= SLOWS_WHILE_IN_HAND if(requires_wielding) RegisterSignal(src, COMSIG_TWOHANDED_WIELD, PROC_REF(wield)) diff --git a/code/modules/projectiles/guns/energy/kinetic_accelerator.dm b/code/modules/projectiles/guns/energy/kinetic_accelerator.dm index 497702868519c..ee52f6589509e 100644 --- a/code/modules/projectiles/guns/energy/kinetic_accelerator.dm +++ b/code/modules/projectiles/guns/energy/kinetic_accelerator.dm @@ -17,6 +17,7 @@ can_bayonet = TRUE knife_x_offset = 20 knife_y_offset = 12 + has_weapon_slowdown = FALSE var/max_mod_capacity = 100 var/list/modkits = list()