ID:1502194
 
(See the best response by LordAndrew.)
Code:
obj/Bouncers
Bouncer_North
icon='turfs.dmi'
icon_state="bouncer_north"
name = "Bouncer"
density=1
Bump(obj/Bouncers)
var/oppDir = turn(src.dir, 180)
step(Bouncers, oppDir)


Problem description: I hate pestering you guys, which has seemed to be a lot lately but I'm sort of stuck.

I run the game, walk into said object but instead of pushing me back/bouncing me back it doesn't do anything.

Because you overwrote the Bump() proc for when bouncers bump into bouncers.

The format is Bumper.Bump(bumpee)

If these bouncers are stationary, you'd want to overwrite the the mob.Bump() proc.
Best response
Bump() is only called when the source object bumps by way of physically moving. Most likely your bumpers are motionless objects, so bumping into them won't call their Bump() method.

A simple fix though. It's fairly trivial to define your own Bumped() procedure to signal "hey, someone bumped into me!":

atom
proc/Bumped(atom/movable/ref)

atom/movable/Bump(atom/ref)
ref.Bumped(src)
..()