Format

Bump(atom/Obstacle)

When

Called when a movement fails due to a dense blockage.

Args

Obstacle: The blocking object.

Default action

If the obstacle is a mob and src is in its group, swap their positions. This is only done if the mobs both move by full tiles and do not use pixel movement, to preserve the behavior of older games.

See also

Pixel movement