Was Splinter of the Mind's Eye proof that George Lucas was making things up as he went along?
https://starwars.fandom.com/wiki/Splinter_of_the_Mind%27s_Eye
…in which Luke crash lands a Y-wing on a forest planet where there is a dark side temple and eventually, eventually…fights Vader. There is also a long sequence where he is eating some kind of survival ration from the crashed Y-wing.
https://www.quora.com/Whats-a-Star-Wars-original-and-prequel-trilogy-detail-that-made-you-realize-George-Lucas-was-making-it-up-as-he-went-along/answer/Jay-Cole-163