turf
ground
ground1
name = "Ground"
icon = 'Turfs.dmi'
icon_state = "ground1"
minable = 1 // Can be mined
Entered(var/atom/movable/M)
if(mined) // If the turf is mined
M << "You stepped on a mine!"
M.Mined() // Does the mine damage procedure
Problem description:
Well the code itself keeps telling me that Mined() is an undefined procedure. Which it isn't.
Mined() // Mine Damage
src.Hp -= 10 // Lose 10 Hp
So I think for some reason I can't call other procedures from the Entered procedure? (Which I should be I think) So I've got no idea what I'm doing wrong.
NOTE: Please don't post code, just tell me where I'm going wrong.