Selling excess equipment is a time-honoured way to raise money for any adventuring group. But not all games need to be concerned with the microeconomics of collecting money to buy better equipment. Or even just to get rich.
You can have a game where the protagonists are either (a) just assumed to be rich enough to buy whatever they want, or (b) work for an agency that gives them whatever equipment they need. Think (a) Batman or (b) James Bond. You can definitely still get into adventures and face villains and problems without having to worry about trying to make money.
So if you run games where accumulating money is always a goal, try shaking it up with a different style.
Commentary by Keybounce (who has not seen the movie)
[Keybounce's comments will appear here when received.]
Commentary by memnarch (who has not seen the movie)
Hah, how could I forget about Yanni's greed? This provides Yanni an excellent reason to not sabotage the Falcon. The mystery modulator? Sure that could be important. Antique ship that still works? I bet someone would pay pretty good money for that (never mind that the chance of finding said person is tiny). The party just needs to keep Yanni from properly sabotaging the ship while they're in it so they all can escape the rathtars and other gangs.
Also, having one of the other characters talk about the experimental hyperdrive modulator somehow makes it more real. Previously, all we had was Rey's word that it wasn't some random hyperdrive modulator as the other Resistance member here, BB-8, hadn't heard of it before. And since Pete was keeping privileged character knowledge from other players, it could have been something he'd made up to hide the real backstory. Maybe the modulator is the new Orb of Phanastacoria equivalent and we'll end up with the First Order and the Resistance fighting over it?
Rey: We have to take the Falcon! It has the experimental hyperdrive modulator!
Chewbacca: You found it?
Chewbacca: Tally ho, then!
Yanni: But if we sabotage the Falcon, that could cause problems.
Rey: There’s a simple solution for that.
Yanni: Right. We sell it to someone before it breaks down. Good thinking!
Finn: But... hear me out... you could get more money for it if it isn’t sabotaged.
Yanni: Hmm. I like it! We repair the sabotage before we sell it!