Anvil
icon_state="Anvil"
DblClick()
if(get_dist(src,usr)<2)
var/HA=/obj/items/Blacksmithing/Other/Hammer
if(locate(HA)in usr)
switch(input("What type would you like to smith?")in list("Armor","Weapons","Shields","Cancel"))
if("Armor")
var/list/Armorlist=list()
for(var/O as anything in typesof(/obj/items/Blacksmithing/Armor))
if(!locate(O) in Armorlist)
Armorlist+=O
var/T=input("Which piece would you like to smith?","Anvil")as null|anything in Armorlist
if(!T)
return
else
The problem is that the directories show up in the list. Is it possible to make it so the name shows up, and not the directory?