Adds defines for organ slots

This commit is contained in:
Jordan Brown
2017-10-15 19:34:42 -05:00
committed by CitadelStationBot
parent be2dc49384
commit f205911b5a
56 changed files with 323 additions and 118 deletions
+1 -1
View File
@@ -251,7 +251,7 @@
to_chat(C, "<span class='notice'>You are no longer running on internals.</span>")
icon_state = "internal0"
else
if(!C.getorganslot("breathing_tube"))
if(!C.getorganslot(ORGAN_SLOT_BREATHING_TUBE))
if(!istype(C.wear_mask, /obj/item/clothing/mask))
to_chat(C, "<span class='warning'>You are not wearing an internals mask!</span>")
return 1