ID:148040
 
I'm not sure what im doing wrong but when this part runs it gets a runtime error.

for(var/mob/Cards/L in usr.contents)
if(L.Slot == 0)
world << "TRY"
var/mob/W = new L
W.loc = locate(7,6,usr.z)

It says it cannot create type of. Any help?
L is a mob, not a type path. If you want to create another mob of the same type as L, use "new L.type" instead (without the quotes).