Skip to content

Commit

Permalink
Update code/game/objects/items/storage/firstaid.dm
Browse files Browse the repository at this point in the history
Co-authored-by: Drathek <[email protected]>
  • Loading branch information
Git-Nivrak and Drulikar authored Apr 25, 2024
1 parent 6f2141d commit f966285
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions code/game/objects/items/storage/firstaid.dm
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,21 @@
/obj/item/storage/pill_bottle/proc/choose_color(mob/user)
if(!user)
user = usr
var/list/possible_colors = list("Orange" = "", "Blue" = "1", "Yellow" = "2", "Light Purple" = "3", "Light Grey" = "4",
"White" = "5", "Light Green" = "6", "Cyan" = "7", "Red" = "8", "Aquamarine" = "9", "Grey" = "10", "Bordeaux" = "11", "Black" = "12")
var/list/possible_colors = list(
"Orange" = "",
"Blue" = "1",
"Yellow" = "2",
"Light Purple" = "3",
"Light Grey" = "4",
"White" = "5",
"Light Green" = "6",
"Cyan" = "7",
"Red" = "8",
"Aquamarine" = "9",
"Grey" = "10",
"Bordeaux" = "11",
"Black" = "12",
)
var/selected_color = tgui_input_list(usr, "Select a color.", "Color choice", possible_colors)

if (!selected_color)
Expand Down

0 comments on commit f966285

Please sign in to comment.