mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-21 03:56:47 +01:00
Converts gas, mat and reagent strings to defines
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
var/sizemult
|
||||
var/weight
|
||||
var/aflags
|
||||
var/breath_type = "oxygen"
|
||||
var/breath_type = GAS_O2
|
||||
|
||||
/datum/transhuman/body_record/New(var/copyfrom, var/add_to_db = 0, var/ckeylock = 0)
|
||||
..()
|
||||
|
||||
@@ -74,10 +74,10 @@
|
||||
I.digitize()
|
||||
|
||||
//Give breathing equipment if needed
|
||||
if(current_project.breath_type != "oxygen")
|
||||
if(current_project.breath_type != GAS_O2)
|
||||
H.equip_to_slot_or_del(new /obj/item/clothing/mask/breath(H), slot_wear_mask)
|
||||
var/obj/item/tank/tankpath
|
||||
if(current_project.breath_type == "phoron")
|
||||
if(current_project.breath_type == GAS_PHORON)
|
||||
tankpath = /obj/item/tank/vox
|
||||
else
|
||||
tankpath = text2path("/obj/item/tank/" + current_project.breath_type)
|
||||
|
||||
Reference in New Issue
Block a user