mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
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
This commit is contained in:
@@ -261,21 +261,7 @@
|
||||
to_chat(usr, "<span class='notice'>There's no room for another VTEC unit!</span>")
|
||||
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
|
||||
|
||||
/***********************/
|
||||
|
||||
Reference in New Issue
Block a user