When you try to search the corpse its just says no corpse in view help please
mob/proc/SearchCorpse()
if(/obj/corpse in oview(5))
if(Wait==1)
return
Wait=1
LoadSearch()
Wait=0
src.lock=0
switch(rand(1,5))
if(1)
src << "You found nothing"
if (2)
src << "You found 4 Supplies"
Sup+=4
if (3)
src << "You found 6 Supplies"
Sup+=6
else
src<<"No corpse in view"
..()
obj/corpse
New(atom/newloc,atom/body)
icon=body.icon
icon_state="corpse"
..()
spawn(100) Decay()