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
ID:139262
Apr 8 2011, 12:13 pm
|
|
Apr 8 2011, 12:17 pm
|
|
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 |