added onTravel method to trigger a random event.