Adds the powerup spawn logic to the terrain.