mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-22 04:24:20 +01:00
This commit adds a cancel option to the decal selection list and spruces up the names to make them more legible
This commit is contained in:
@@ -66,13 +66,14 @@
|
||||
qdel(src)
|
||||
return
|
||||
if(istype(W, /obj/item/weapon/storage/fancy/crayons)) /////addendum by flimflamm
|
||||
var/decalselection = input("Please select a decal") in list("atmos", "bar", "barber", "blueshield", "brigphysician", "captain",
|
||||
"cargo", "ce", "caplain", "chef", "chemist", "civilian", "clown", "cmo", "coroner", "detective", "engineering", "genetics", "hop",
|
||||
"hos", "hydroponics", "ia", "janitor", "magistrate", "mechanic", "medical", "mime", "mining", "ntrep", "paramedic", "podpilot",
|
||||
"prisoner", "rd", "security", "syndicate", "therapist", "virology", "warden", "xenobiology")
|
||||
|
||||
icon_opened = addtext("cardboard_open_", decalselection)
|
||||
icon_closed = addtext("cardboard_", decalselection)
|
||||
var/decalselection = input("Please select a decal") in list( "cancel", "atmospherics", "bartender", "barber", "blueshield", "brig_physician", "captain",
|
||||
"cargo", "chief_engineer", "chaplain", "chef", "chemist", "civilian", "clown", "cmo", "coroner", "detective", "engineering", "genetics", "hop",
|
||||
"hos", "hydroponics", "internal_affairs_agent", "janitor", "magistrate", "mechanic", "medical", "mime", "mining", "nt_representative", "paramedic", "pod_pilot",
|
||||
"prisoner", "research_director", "security", "syndicate", "therapist", "virology", "warden", "xenobiology")
|
||||
if(decalselection == "cancel")
|
||||
return
|
||||
icon_opened = ("cardboard_open_"+decalselection)
|
||||
icon_closed = ("cardboard_"+decalselection)
|
||||
update_icon() // a proc declared in the closets parent file used to update opened/closed sprites on normal closets
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user