ID:162282
 
Please help me get the code for when you GET the item and it is now in your inventory, and you want to see what is IN your inventory, what would be the code for putting them in your inventory, and how to check your inventory
To move something into something else's contents:

something.Move(somethingelse)


To view your own contents on a statpanel:

mob/Stat()
statpanel("inventory", contents)
In response to Garthor
Garthor wrote:
To move something into something else's contents:

something.Move(somethingelse)

To view your own contents on a statpanel:

mob/Stat()
> statpanel("inventory", contents)




Thanks!
In response to Stdw
wait.... help em arrange this right...
where do I add[ something.Move(somethingelse) ] into this?

Hypersuit
icon = 'Hypersuit.dmi'
verb
get()
set src in view(1)
usr << "You pick up the HYPERSUIT!!!!!"
del(src)
In response to Stdw
It would be better to do this...
/obj/items/
verb/get()
set src in oview(1)
usr<<"You pickup [src]!"
src.Move(usr.contents)
verb/drop()
set src in usr.contents
usr<<"You drop [src]!"
src.Move(usr.loc)
hypersuit
name = "TOTALLY AWESOME HYPERSUIT"
icon='hypersuit.dmi'

UNTESTED.
(Please put your code in DM tags next time. You might also want to read the DM Guide.)
In response to Flame Sage
sorry o_o
In response to Stdw
That's fine.
But do you understand it?
In response to Flame Sage
nope.. I put it in, and I got like 7 inconsistent identation... err.. how do I get that like white box you used for the code? sorry Im a slow learner and very new to this...
In response to Stdw
<DM> put the code here </DM>