[MIRROR] Voidsuit Oxygen Integration (#10475)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-03-21 00:08:25 +01:00
committed by GitHub
co-authored by Cameron Lennox
parent ffa35bb936
commit 22cd33a0b6
5 changed files with 25 additions and 19 deletions
+7 -1
View File
@@ -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<tankcheck.len+1, ++i)
if(istype(tankcheck[i], /obj/item/tank))
var/obj/item/tank/t = tankcheck[i]