obj
protein
icon = 'protein.dmi'
Entered(A)
if(ismob(A))
var/message = rand(1,3)
if(message == 1)
view() << "The trilobite devours the protein molecule."
else if(message == 2)
view() << "The trilobite hastily consumes the protein molecule."
else if(message == 3)
view() << "The trilobite scarfs down the molecule."
usr.ProteinConsumed += 1
del /obj/protein
Problem description:
I'm trying to get it to where when you walk over a protein molecule, you eat it, add a variable, and then it goes away. Oh, and have it display a random message.