ID:139262
 
Code:obj
landmine
density = 1
icon = 'landmine.dmi'
Bump(usr/src)
usr.ouch(10)



Problem description:
im not takeing damage from trying to touch landmine
also i tryed changeing usr.ouch(10) to src.ouch(10) but doesnt do anything
Bump() is when something bumps into something else. In this case you'd to give the player a Bumped() proc that's called when they bump something.
In response to LordAndrew
okay thanks
In response to Laserdog
i did this

mob
icon= 'player.dmi'
Login()
loc = locate(/turf/start)
..()
var/health = 100
Bump(usr/landmine)
usr.ouch(10)
but its doing damage to every collideable damage