diff --git a/code/game/objects/items/weapons/storage/boxes.dm b/code/game/objects/items/weapons/storage/boxes.dm index 62d5d2415d6..914c985783e 100644 --- a/code/game/objects/items/weapons/storage/boxes.dm +++ b/code/game/objects/items/weapons/storage/boxes.dm @@ -440,7 +440,8 @@ /obj/item/storage/box/pillbottles/populate_contents() for(var/I in 1 to 7) - new /obj/item/storage/pill_bottle(src) + var/obj/item/storage/pill_bottle/P = new /obj/item/storage/pill_bottle(src) + P.apply_wrapper_color(I) /obj/item/storage/box/patch_packs name = "box of patch packs" @@ -449,7 +450,8 @@ /obj/item/storage/box/patch_packs/populate_contents() for(var/I in 1 to 7) - new /obj/item/storage/pill_bottle/patch_pack(src) + var/obj/item/storage/pill_bottle/P = new /obj/item/storage/pill_bottle/patch_pack(src) + P.apply_wrapper_color(I) /obj/item/storage/box/bodybags name = "body bags" diff --git a/code/game/objects/items/weapons/storage/firstaid.dm b/code/game/objects/items/weapons/storage/firstaid.dm index 74f094d40ae..f50cb2fc226 100644 --- a/code/game/objects/items/weapons/storage/firstaid.dm +++ b/code/game/objects/items/weapons/storage/firstaid.dm @@ -357,6 +357,11 @@ else return ..() +/obj/item/storage/pill_bottle/proc/apply_wrapper_color(color_number) + var/static/list/colors = list(COLOR_RED, COLOR_ORANGE, COLOR_YELLOW, COLOR_GREEN, COLOR_CYAN_BLUE, COLOR_VIOLET, COLOR_PURPLE) + wrapper_color = colors[(color_number - 1) % length(colors) + 1] + apply_wrap() + /obj/item/storage/pill_bottle/patch_pack name = "patch pack" desc = "It's a container for storing medical patches." diff --git a/code/modules/reagents/chemistry/machinery/chem_master.dm b/code/modules/reagents/chemistry/machinery/chem_master.dm index 5a9b01f86a1..c0d15d5492f 100644 --- a/code/modules/reagents/chemistry/machinery/chem_master.dm +++ b/code/modules/reagents/chemistry/machinery/chem_master.dm @@ -24,16 +24,18 @@ var/production_mode = null var/printing = FALSE var/static/list/pill_bottle_wrappers = list( - COLOR_RED = "Red", + COLOR_RED_LIGHT = "Red", COLOR_GREEN = "Green", COLOR_PALE_BTL_GREEN = "Pale Green", - COLOR_BLUE = "Blue", COLOR_CYAN_BLUE = "Light Blue", COLOR_TEAL = "Teal", COLOR_YELLOW = "Yellow", COLOR_ORANGE = "Orange", COLOR_PINK = "Pink", - COLOR_MAROON = "Brown" + COLOR_MAROON = "Brown", + COLOR_INDIGO = "Indigo", + COLOR_VIOLET = "Violet", + COLOR_PURPLE = "Purple" ) var/list/datum/chemical_production_mode/production_modes = list() diff --git a/icons/obj/chemical.dmi b/icons/obj/chemical.dmi index b4c5d6bafaf..f025eabce3c 100644 Binary files a/icons/obj/chemical.dmi and b/icons/obj/chemical.dmi differ