My code below doesn't work... Both of the usr << show up, but no objects are created.
Code:
obj/item/food/seeds/cornseeds
icon = 'items1.dmi'
icon_state = "seeds"
iweight = 1
description = "Some seeds"
verb
Plant()
set src in usr.contents
usr << "[usr.x]"
new/obj/plant/babycorn(locate(usr.x,usr.y,usr.z))
usr << "You plant Corn Seeds"
del(src)
obj/plant/babycorn
icon = 'items1.dmi'
icon_state = "scorn"
ID:149849
Feb 7 2002, 8:55 am
|
|
Feb 7 2002, 9:02 am
|
|
Why not just give it to the usr and put it in their inventory?
|
In response to LordJR
|
|
Plants don't grow in your inventory :oP
|
In response to Foomer
|
|
lol. Of course not. But that doesn't answer the question...
|
In response to Foomer
|
|
Foomer wrote:
Plants don't grow in your inventory :oP They could if you left in there long enough! :P |
I figured it out!!!
I had icon_state = "scorn" (Small Corn), but it should have been lcorn (little corn)!! |
In response to Nova2000
|
|
anything's possible in afantasy world!!!
|