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:
FlimFlamm
2017-02-05 23:24:50 -04:00
parent ce75e7370d
commit 4666222ab5
@@ -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