world
mob = /mob/player
Every reference to 'usr' or 'usr.[something]' is an error. I did this to all references to the player...
mob/player
var
[vars]
proc
[procs]
verb
[verbs]
...but left some references, as in the death proc, alone. Where do 1102 errors come from? Did I mioss something in all those libraries and demos?
--Vito
Well, you're abusing usr massively all over your code. No wonder you have all those errors!
No put usr in proc. Ungh!
This has come up enough times for you that you really should know better by now. Why do you keep trying to debug code at all if you're not going to fix it?
DM knows usr is supposed to be a /mob, but it knows nothing more specific than that. What you need to be using is either src or another var.
Now in your death proc, you should have two important vars: src, the victim, and the killer. In order for the proc to know who the killer is, you need to tell it; send the killer as an argument to the proc.
Fix your usr abuse and you'll fix most of your errors. In verbs, all you'll need to do is type-cast usr to a /mob/player var, like so:
var/mob/player/M = usr
In procs, you need to get rid of all references to usr. Change it to whatever is appropriate. Add arguments to your procs as needed.
Lummox JR