Skip to content

Commit

Permalink
Merge pull request #5842 from Dimasw99/rig
Browse files Browse the repository at this point in the history
duct tape rig fix
  • Loading branch information
Trilbyspaceclone authored Nov 16, 2024
2 parents 84957ce + 013e9b5 commit da3c9fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/modules/clothing/spacesuits/rig/rig.dm
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@
continue
if(armor_list)
piece.armor = armor
piece.name = "[suit_type] [initial(piece.name)]"

if(canremove)
piece.item_flags &= ~(STOPPRESSUREDAMAGE|AIRTIGHT)
Expand Down
1 change: 1 addition & 0 deletions code/modules/clothing/spacesuits/rig/rig_ui.dm
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
if(ishuman(usr) && (usr.stat || usr.stunned || usr.lying))
return FALSE
toggle_piece(params["piece"], usr)
updateArmor()
. = TRUE
if("interact_module")
var/module_index = text2num(params["module"])
Expand Down
4 changes: 4 additions & 0 deletions code/modules/clothing/spacesuits/rig/rig_verbs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
return

wearing_rig.toggle_piece("helmet",user)
wearing_rig.updateArmor()

/mob/living/carbon/human/rig/verb/toggle_chest()

Expand All @@ -81,6 +82,7 @@
return

wearing_rig.toggle_piece("chest",user)
wearing_rig.updateArmor()

/mob/living/carbon/human/rig/verb/toggle_gauntlets()

Expand All @@ -96,6 +98,7 @@
return

wearing_rig.toggle_piece("gauntlets",user)
wearing_rig.updateArmor()

/mob/living/carbon/human/rig/verb/toggle_boots()

Expand All @@ -111,6 +114,7 @@
return

wearing_rig.toggle_piece("boots",user)
wearing_rig.updateArmor()

/mob/living/carbon/human/rig/verb/deploy_suit()

Expand Down

0 comments on commit da3c9fc

Please sign in to comment.