mob
player
RF(var/mob/player/M)
//Load code goes here.
sleep(40)
Lvl(M)
Also, My items pnel doesn't show what items the user has. Can anyone help?(I added a few ways to tell me if i was able to pick up the item or not and if the item was in my inventory.) So what it comes out with is:
Yes
You picked up [item]
But it doesn't show up on my inventory panel.
obj
Item
verb
Get()
set src in oview(1)
if(Move(usr))
if(src in usr.contents)
usr << "Yes"
else
usr << "No"
usr << "You got the [src]"
del(src)
usr.verbs += /obj/Item/verb/Equip
usr.verbs += /obj/Item/verb/Drop
else
usr << "You couldn't get [src]"
It's not showing up because you no longer have it. You're deleting it as soon as you pick it up. Incidentally, a proc or verb whose src is deleted will stop immediately, so nothing after that del(src) line would even be processed.