DeathCheck(mob/M)
if(M.hp<=0)// if the hp's 0
src.contents = M.contents//give mobs contents to killer
usr << "You receive [M.contents]"//tell them what they got
del(M)///delete the npc frmm the world
src.exp+=rand(10,30)/// give exp
src.Level()// call the lvl proc
return/// stop runtime errors
Rat
icon = 'npc.dmi'
icon_state = "rat"
hp=10
def=0
npc=1
contents = newlist(/obj/item/rattail)
Problem description:
I want to tell the pc what they received after killing a mob but when they kill someone it says you received /list ; how could i go display the objects instead of list?
Comma-separated sequence:
Bulleted list: