I'm an idiot thanks Travis, and internals check fix.

This commit is contained in:
Mechoid
2020-03-01 14:20:05 -08:00
parent 69752c1c48
commit c7b7ff0781
2 changed files with 6 additions and 1 deletions

View File

@@ -356,6 +356,11 @@
if(!rig.offline && (rig.air_supply && internal == rig.air_supply)) if(!rig.offline && (rig.air_supply && internal == rig.air_supply))
rig_supply = rig.air_supply rig_supply = rig.air_supply
else if(istype(belt,/obj/item/weapon/rig))
var/obj/item/weapon/rig/rig = belt
if(!rig.offline && (rig.air_supply && internal == rig.air_supply))
rig_supply = rig.air_supply
if ((!rig_supply && !contents.Find(internal)) || !((wear_mask && (wear_mask.item_flags & AIRTIGHT)) || (head && (head.item_flags & AIRTIGHT)))) if ((!rig_supply && !contents.Find(internal)) || !((wear_mask && (wear_mask.item_flags & AIRTIGHT)) || (head && (head.item_flags & AIRTIGHT))))
internal = null internal = null

View File

@@ -893,7 +893,7 @@
desc = "A compact overclocking system for a hardsuit." desc = "A compact overclocking system for a hardsuit."
id = "rig_component_sprinter" id = "rig_component_sprinter"
req_tech = list(TECH_MATERIAL = 5, TECH_ENGINEERING = 5, TECH_BIO = 4, TECH_POWER = 4) req_tech = list(TECH_MATERIAL = 5, TECH_ENGINEERING = 5, TECH_BIO = 4, TECH_POWER = 4)
materials = list(MAT_PLASTEEL = 2000, MAT_GRAPHITE = 1500, MAT_PLASTIC = 500, TECH_VERDANTIUM = 1000) materials = list(MAT_PLASTEEL = 2000, MAT_GRAPHITE = 1500, MAT_PLASTIC = 500, MAT_VERDANTIUM = 1000)
build_path = /obj/item/rig_module/sprinter build_path = /obj/item/rig_module/sprinter
/datum/design/item/mechfab/rigsuit/meson /datum/design/item/mechfab/rigsuit/meson