//clothing
obj/inventory
Kun
name = "Kun"
icon = 'Kun.dmi'
verb
Throw(mob/characters/M in oview(6))
usr.overlays += /obj/inventory/Kun
view(6) <<"[usr] kuns [M]"
usr.overlays -= /obj/inventory/Kun
M.HP -= usr.Str
Drop()
set category = "Options"
src.loc=locate(usr.x,usr.y+1,usr.z)
del src
Get()
set category = "Options"
set src in oview(1)
Move(usr)
The errors i get are
kun.dm:395:error:M:undefined type: M
kun.dm:397:error:M.HP:undefined type: M.HP
help?