Switch input = ?? in Developer Help
This is good but it can lead to bloated code. Be carefull.
mob npc itemgiver //all the stuff like icon and name goes here verb Get_Something() //the '_' will make a space var/choice = input("What do you want?","Get Something") in list("Sword","Nothing") if(choice == "Sword") usr<<"You got a sword!" usr.contents += /obj/sword //or what ever the path is for the sword else return
Crispy, I answered his question, and you can use type paths for the usr.contents. I use it and it works. But i forgot the new.
usr.contents += new /obj/ //bla bla bla