Fixes RIGs with no boots suffering slowdown for not deploying boots (#22890)

Some light rigs don't even have boots to deploy, so they shouldn't get
slowdown because of it.
Decided just to make all light RIGs have no slowdown, as none of them
had footstep sounds anyway.

changes:
- bugfix: "Fixes light rigs getting slowdown from having undeployed
boots."
  - bugfix: "Fixes light rigs having no energy armour."
This commit is contained in:
FenodyreeAv
2026-07-21 00:33:11 +00:00
committed by GitHub
parent e5ed03f291
commit 1a3caa5deb
3 changed files with 18 additions and 10 deletions
@@ -943,15 +943,6 @@
if(!wearer || wearer.back != src) ///Prevents an edge case where a suit with a storage module can be removed while deploying, causing a runtime.
piece_being_deployed = FALSE
return FALSE
// If we're deploying the chest, we also try to deploy boots. If we can't also deploy boots, the entire thing fails.
if(use_obj == chest)
var/obj/item/boots_slot = wearer.shoes
var/obj/item/boots_obj = boots
if(boots_slot != boots_obj)
to_chat(initiator, SPAN_DANGER("You are unable to deploy \the [piece] as the boots were unable to also deploy!"))
playsound(src, 'sound/items/rfd_empty.ogg', 20, FALSE)
piece_being_deployed = FALSE
return FALSE
use_obj.forceMove(wearer)
if(src.color)
use_obj.color = src.color
@@ -11,7 +11,7 @@
MELEE = ARMOR_MELEE_MAJOR,
BULLET = ARMOR_BALLISTIC_SMALL,
LASER = ARMOR_LASER_RIFLE,
energy = ARMOR_MELEE_MINOR,
ENERGY = ARMOR_MELEE_MINOR,
BOMB = ARMOR_BOMB_PADDED
)
emp_protection = 100
@@ -28,6 +28,16 @@
boot_type = /obj/item/clothing/shoes/magboots/rig/light
glove_type = /obj/item/clothing/gloves/rig/light
/obj/item/rig/light/update_slowdown() //Light rigs do not suffer a penalty for undeployed boots
var/new_slowdown = initial(slowdown)
if(offline)
new_slowdown = offline_slowdown
if(slowdown != new_slowdown)
slowdown = new_slowdown
wearer?.update_equipment_speed_mods() //This should only proc if worn, but just in case we check.
/obj/item/clothing/suit/space/rig/light
name = "suit"
breach_threshold = 18 //comparable to voidsuits
@@ -0,0 +1,7 @@
author: Fenodyree
delete-after: True
changes:
- bugfix: "Fixes light rigs getting slowdown from having undeployed boots."
- bugfix: "Fixes light rigs having no energy armour."
- bugfix: "Fixes one more no chest deployment without boots check."