Here's a sample code:
turf
icon1
icon = 'hi.dmi'
Bump()
src<<"you bumped this!"
Why is it you get an error: Bump, undefined proc?
Shouldn't this code work? If so, why not?
Thanks!
Kirone
ID:157963
![]() Nov 27 2009, 9:30 am
|
|
Okay, so it seems Bump has been removed from the DM language, or something.
Here's a sample code: turf Why is it you get an error: Bump, undefined proc? Shouldn't this code work? If so, why not? Thanks! Kirone |
![]() Nov 27 2009, 10:18 am
|
|
Bump() is a proc which is called when a moving atom bumps into something. Because turfs and areas cannot move, and so cannot bump into anything, Bump() isn't defined on them. Bump() is defined at /atom/movable, from which both /mob and /obj are derived.
|