A railway is enlisting the help of a classic steam-powered locomotive to draw back tourists to an area ravaged by flooding.