mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 05:38:15 +01:00
[MIRROR] Voidsuit Oxygen Integration (#10475)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
ffa35bb936
commit
22cd33a0b6
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user