Converts gas, mat and reagent strings to defines

This commit is contained in:
Kashargul
2024-12-06 17:26:00 +01:00
parent 780c07439b
commit 80edcd2c3d
155 changed files with 1183 additions and 1054 deletions
+1 -1
View File
@@ -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)
..()
+2 -2
View File
@@ -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)