Skip to content

Commit

Permalink
Add automatic band colors to pouch inhalers
Browse files Browse the repository at this point in the history
  • Loading branch information
noelle-lavenza committed Feb 5, 2022
1 parent 387f05d commit 372a5c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions code/game/objects/items/weapons/storage/med_pouch.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ Single Use Emergency Pouches
for(var/obj/item/chems/hypospray/autoinjector/A in contents)
A.band_color = color
A.update_icon()
for(var/obj/item/chems/inhaler/I in contents)
I.band_color = color
I.update_icon()

/obj/item/storage/med_pouch/on_update_icon()
overlays.Cut()
Expand Down Expand Up @@ -247,9 +250,7 @@ Single Use Emergency Pouches
/obj/item/chems/inhaler/pouch_auto/oxy_meds
name = "emergency oxygel autoinjector"
starts_with = list(/decl/material/liquid/oxy_meds = 5)
band_color = COLOR_BLUE

/obj/item/chems/inhaler/pouch_auto/detoxifier
name = "emergency detoxifier autoinjector"
starts_with = list(/decl/material/liquid/detoxifier = 5)
band_color = COLOR_PALE_BLUE_GRAY
starts_with = list(/decl/material/liquid/detoxifier = 5)

0 comments on commit 372a5c3

Please sign in to comment.