From e5483acc6acc7fbc488770ef67c86bb7255e0f8a Mon Sep 17 00:00:00 2001 From: Cameron Lennox Date: Thu, 20 Mar 2025 10:58:18 -0400 Subject: [PATCH] Voidsuit Oxygen Integration (#17387) * Makes oxygen tanks able to be used in voidsuits again Actually incorporates and lets you use the oxygen tank that is INSIDE OF THE SUIT without it being put into your suit storage. When I was bugfixing and saw it just spew the oxygen tank out into the suit storage slot I thought to myself 'what is even the point' Rigsuits can already do this and are superior in every way (they splint all your limbs, they have integrated oxygen tanks, self cooling, among other things), so let's let voidsuits have a little buff * POCKET_ALL_TANKS --- code/_onclick/hud/screen_objects.dm | 8 +++++++- code/modules/clothing/spacesuits/rig/rig.dm | 9 +++++++++ code/modules/clothing/spacesuits/void/event.dm | 8 ++++---- code/modules/clothing/spacesuits/void/station.dm | 6 +++--- code/modules/clothing/spacesuits/void/void.dm | 13 ++----------- 5 files changed, 25 insertions(+), 19 deletions(-) diff --git a/code/_onclick/hud/screen_objects.dm b/code/_onclick/hud/screen_objects.dm index b2c0608cf6d..a517b78e542 100644 --- a/code/_onclick/hud/screen_objects.dm +++ b/code/_onclick/hud/screen_objects.dm @@ -324,7 +324,7 @@ usr.m_int = "13,14" if("Reset Machine") usr.unset_machine() - if("internal") + if("internal") //dear god this entire thing needs to be rewritten this is literally assaulting my eyes with how awful it is. FUCK. if(iscarbon(usr)) var/mob/living/carbon/C = usr if(!C.stat && !C.stunned && !C.paralysis && !C.restrained()) @@ -368,6 +368,12 @@ nicename |= "hardsuit" tankcheck |= Rig.air_supply + var/obj/item/clothing/suit/space/void/Void = C.get_voidsuit() + if(Void && Void.tank) + from = "in" + nicename |= "hardsuit" + tankcheck |= Void.tank + for(var/i=1, i