Hi how can i turn this
obj
shopguy
icon = 'bloke.dmi'
density = 1
usr << "yo whatcha wanna buy??"
//into a shop??
//i think i use sumthing like this =
item = input(Buy what??) in list('sword')
if(item == "sword")
new/obj/sword in usr.items
//or whatever the built in var is...
^i know that wont work but can sumone help??^
ID:177506
Aug 31 2002, 7:33 am
|
|
Well, first you have to add a verb.
Then you put what you would like to sell.
The complete code:
Just copy and paste the code if you like. Every two spaces is a tab. If you highlight four spaces, press tab two times etc.
DiZzyBonne