buy(x as text)
var/obj/x/w = new
w.loc = usr.contents
I was having a bit of trouble with some shtuff. Just kinda walking along the coding sidewalk when I found this little problem. I was trying to make a buy verb. It was to be used with an interface. (I'm experimenting) And i wanted it to me somewhat universal. I didn't want to have to write out Buysword(...) Buybow(...) Because that would be a lot of work. I was curious if somone could come along, slap me, and tell me how poory i'm coding this and that i'm using the wrong input type most likely
As a side note, I suggest reading the DM Guide and using the reference to answer your questions.