ID:170884
 
can anyone tell me how to make a verb that when you click it , it makes an inventory item that you can wear , like clothes, i want a verb that is like the one in total reallity kinda, but i have to edit it a lil, so does anyone know how to make that code?
This doesn't belong in code problems to begin with. If you have problems with a specific piece of code, post it here, but if you have a: ..."How do I...?" question, it belongs in newbie central. (Hell, I've posted a few there the last few days, so it isn't just for newbies.)

And besides, don't ask for "the code".

can anyone tell me how to make a verb that when you click it , it makes an inventory item that you can wear , like clothes...

Yes.

...want a verb that is like the one in total reallity kinda, but i have to edit it a lil...

Did you even understand what you wrote?

...does anyone know how to make that code?

Again, yes.


There, questions answered!

Now, if you wanted to know HOW to do this, here you go. Define a verb. Under it, create the item and make a variable reference to it. Add this item to the player's inventory. There you go, enjoy!
In response to Ter13
ok..
In response to Tsonic112
mob
verb
Create_Cloth_Shirt() //The proc
set category = "Moderator" //Should be an Admin verb
var/shirt = new/obj/clothshirt //Define a var for "Cloth Shirt"
shirt.loc = locate(usr.x,usr.y,usr.z) //Place it somewhere
/*And any other stuff that you can think of for this verb.*/


All untested. You can edit it if you want to, it's just a base anyway.

BTW. There. Is. No. "Code".
In response to Mega fart cannon
There is code, but your quest for "The code" will end in the death of all of your friends and the destruction of all that we know... *Dramatic music* =P
In response to Ter13
Ter13 wrote:
There is code, but your quest for "The code" will end in the death of all of your friends and the destruction of all that we know... *Dramatic music* =P


you will find danger, love, terror and Rosie O'Donnel.