mob/enemy/proc/drop()
world<<src
for(var/i=0;i<src.drop.len;i++)
var/obj/items/it=src.drop[i+1]
world<<it
var/obj/items/dropped=it.type;dropped.icon=it.icon;dropped.icon_state=it.icon_state
dropped=new dropped(locate(src.x,src.y,src.z))
Problem description: When a get the output from the world it gets exactly the icon i need, but that is not what is dropped. I actually get an error when i try to assign icon/icon_states into dropped. And ive tried to just spawn "it" too but it just appears invisble.
Please help thank you!!