From 60dadf48fe7d1e0f3ddc534b2feca5cf7c992df2 Mon Sep 17 00:00:00 2001 From: DGamerL <108773801+DGamerL@users.noreply.github.com> Date: Thu, 8 Feb 2024 22:13:22 +0100 Subject: [PATCH] Makes the VTEC subtract 1 speed instead of setting it to -1 [NPFC] (#24104) * Dear god why didn't we think of this before * Remove extra space --- code/game/objects/items/robot/robot_upgrades.dm | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/code/game/objects/items/robot/robot_upgrades.dm b/code/game/objects/items/robot/robot_upgrades.dm index 82ab263d447..2b2d16b77b5 100644 --- a/code/game/objects/items/robot/robot_upgrades.dm +++ b/code/game/objects/items/robot/robot_upgrades.dm @@ -261,21 +261,7 @@ to_chat(usr, "There's no room for another VTEC unit!") return - for(var/obj/item/borg/upgrade/floorbuffer/U in R.contents) - if(R.floorbuffer) - R.floorbuffer = FALSE - R.speed -= U.buffer_speed - - for(var/datum/action/innate/robot_magpulse/magpulse in R.module_actions) - if(magpulse.active) - REMOVE_TRAIT(R, TRAIT_MAGPULSE, "innate boots") - to_chat(R, "You turn your magboots off.") - R.speed -= magpulse.slowdown_active - magpulse.button_icon_state = initial(magpulse.button_icon_state) - magpulse.active = FALSE - - R.speed = -1 // Gotta go fast. - + R.speed -= 1 // Gotta go fast. return TRUE /***********************/