Examples that i have tried.... (newbish mistakes most likely...)
mob
proc()
get_meat()
usr.contents << "Meat"
obj
loot
meat
icon = 'loot_meat.dmi'
name = "Meat"
I put it in a proc() so i wouldn't have to spend alot of time to copy and paste (At the library...) but in essence, that is the situation, hopefully someone can help, or point me in the right direction (i looked at the guide, mulitple times, no where does it say, how to send a obj, to a the 'usr.contents' or 'contents' list...
Thanks in advance.
2) That is not how you define a procedure, there's no parenthesis after the proc. You would want
3) This would be much better as a verb:
4) In your death procedure, you should set up a procedure that is called when the creature dies:
As you can see, there's two ways to place an item to someone's content:
1) X.Move(Y)
This moves X in to Y's contents
2) new/path/X(Y)
This creates X (ex: /obj/food/pie) in Y's contents
3) (as a note, #2 is much useful and faster than this anyways - has the same effect)
Y.contents += X (or new/path/X)
This is if you wish to duplicate item X instead of moving it (if you want to keep the original in the same location).
** I am not too sure if += X works but the new/path/X should! Again, this is similar to #2