In a sci-fi RPG I eventually intend to run for a couple of friends, I had the idea of them visiting ancient ruins on a planet orbiting a shedding red giant.
Now, ignoring the problem of intelligent life evolving in a habitable zone with as short a lifespan as that around a red giant. What, if any, effects would the matter ejected as the star shedds its outer layers have on said planet?
Asked to provide more details, so, here are some examples of effects that come to mind:
Assuming a planet similar to Earth in habitabiliy before the star starts shedding.
Would the shedd material result in the planets atmosphere being reduced or even disappear?
Would it affect the planets temperature?
Would the planet have near constant auroras?