//Title: Bumped
//Credit to: Popisfizzy
/*
Just a simple Bumped() proc. This will be called when an
/atom is bumped into by an /obj or /mob.
*/
atom
proc/Bumped(atom/movable/o)
return 0
movable/Bump(atom/a)
a.Bumped(src) //Call Bumped() for the /atom that
//has been bumped into, with src for
//the argumemt, meaning that src is
//what bumped into it.
return ..(a) //Return the value of the parent proc.
ID:195039
![]() Dec 27 2008, 3:11 pm
|
|