ID:178316
 
I need to make it so you do this verb, and when you do it, it places a new object down on the ground. So I need to know how to make a new object and then place it on the ground underneath your feet.
Likwiddraino000 wrote:
I need to make it so you do this verb, and when you do it, it places a new object down on the ground. So I need to know how to make a new object and then place it on the ground underneath your feet.

mob/verb/drop_thing()
var/A = new /obj/Thing
Thing.loc = src.loc


Poof, instant Thing-age. :)

- Malver
In response to Malver
mob/verb/thingie()
usr <<"Poof! a new thingie appears,"
new/obj/thingie(src.loc)
In response to ShadowSiientx
ShadowSiientx wrote:
mob/verb/thingie()
usr <<"Poof! a new thingie appears,"
new/obj/thingie(src.loc)

Depends on personal preference. :)

I always bind mine to a variable upon creation, if I'm going to use it or not.

- Malver