Finished colors for other prespawned pillbottles, new colors, finished template for changing wrappers in chemmaster

This commit is contained in:
Arkatos1
2019-06-30 16:08:33 +02:00
parent e6dca3ffa1
commit d33d018e62
6 changed files with 99 additions and 15 deletions
+1
View File
@@ -54,6 +54,7 @@
/obj/item/storage/pill_bottle/random_drug_bottle
name = "pill bottle (???)"
desc = "Huh."
wrapper_color = COLOR_GRAY
/obj/item/storage/pill_bottle/random_drug_bottle/New()
..()
+1
View File
@@ -123,6 +123,7 @@
/obj/item/storage/pill_bottle/random_meds
name = "unlabelled pillbottle"
desc = "The sheer recklessness of this bottle's existence astounds you."
wrapper_color = COLOR_GRAY
var/labelled = FALSE
/obj/item/storage/pill_bottle/random_meds/New()
@@ -269,9 +269,6 @@
var/image/I = image(icon, "pillbottle_wrap")
I.color = wrapper_color
overlays += I
else
wrapper_color = pick(COLOR_RED, COLOR_BLUE, COLOR_CYAN, COLOR_GRAY, COLOR_GREEN, COLOR_ORANGE, COLOR_PINK, COLOR_RED, COLOR_YELLOW)
apply_wrap()
/obj/item/storage/pill_bottle/attack(mob/M, mob/user)
if(iscarbon(M) && contents.len)
@@ -288,6 +285,9 @@
else
return ..()
/obj/item/storage/pill_bottle/ert
wrapper_color = COLOR_TEAL
/obj/item/storage/pill_bottle/ert/New()
..()
new /obj/item/reagent_containers/food/pill/salicylic(src)
@@ -333,6 +333,7 @@
/obj/item/storage/pill_bottle/patch_pack
name = "Patch Pack"
desc = "It's a container for storing medical patches."
icon_state = "patch_pack"
can_hold = list(/obj/item/reagent_containers/food/pill/patch)
cant_hold = list()
@@ -358,7 +359,7 @@
/obj/item/storage/pill_bottle/painkillers
name = "Pill Bottle (Salicylic Acid)"
desc = "Contains various pills for minor pain relief."
wrapper_color = COLOR_RED
wrapper_color = LIGHT_COLOR_RED
/obj/item/storage/pill_bottle/painkillers/New()
..()
@@ -371,8 +372,11 @@
new /obj/item/reagent_containers/food/pill/salicylic(src)
new /obj/item/reagent_containers/food/pill/salicylic(src)
/obj/item/storage/pill_bottle/fakedeath
wrapper_color = COLOR_GRAY
/obj/item/storage/pill_bottle/fakedeath/New()
..()
new /obj/item/reagent_containers/food/pill/fakedeath(src)
new /obj/item/reagent_containers/food/pill/fakedeath(src)
new /obj/item/reagent_containers/food/pill/fakedeath(src)
new /obj/item/reagent_containers/food/pill/fakedeath(src)
@@ -110,6 +110,7 @@
/obj/item/storage/pill_bottle/psychiatrist
name = "psychiatrist's pill bottle"
desc = "Contains various pills to calm or sedate patients."
wrapper_color = COLOR_WHITE
/obj/item/storage/pill_bottle/psychiatrist/New()
..()