How do you know? You can't guarantee that! 🤣
---
To address the "magic lore" thing again:
I think it depends. I have absolutely played bad games that were saved by the Expansive Lore. I've also played games with terrible lore and storytelling that were saved by the Mechanics and Gameplay.
I wouldn't call the gameplay of Dragon Age Origins to be anything other than "sub par" or "mediocre", but I was absolutely immersed in the story enough to have a great time and see the game to its end.
Path of Exile, on the other hand, has a really boring, predictable, and stupid story... but has a lot of great mechanics and gameplay to salvage it.
A part of a game that's done very well can absolutely make up for parts of a game that are done very poorly.
This might be slightly off topic, but Lisa: The Painful balances good (or at least interesting) gameplay with a really good plot and a really good vibe that, incidentally, feels genuinely more 'descended' from Earthbound than other 'Earthbound-inspired' games. Having a card 'magician' who casts spells by being simultaneously good and bad at card juggling sounds like it could have been in Earthbound. But the art style is also kind of like Earthbound.
Yume Nikki is another well-rounded EB-like, because even though it doesn't even have fights, it makes up for that with exploration and a sort of Metroidvania-like use of 'effects'. The vibe is immaculate. The story is to some extent what you want it to be.
I sincerely think 'vibe' is a third point that you can't ignore. It's not really part of the information, it's just the feel of how everything is delivered. Undertale is a game where I think the gameplay could have been fleshed out but is still fun, and the plot is pretty alright but lacking originality in places, but mainly the 'quirky 2015 webcomic' vibe is what gives it life to me. I think that may also be the thing a lot of people hate it for.
I would say OFF is carried by the story, not to mention the music. It is 100% bland and unoriginal when it comes to gameplay apart from some of the puzzles. But a lot of the dialogue goes hard.
As for a game I would say is carried by the gameplay--Crystal Project. I haven't beaten it yet, but the plot seems like an
Avant Garde™ Meta™ Deconstruction Of The Genre™ spiel that's done to death as a first resort by people who want to be original and artistic, and it has a kind of jarring 'Minecraft-ification' of the map, allowing for less awkward traversal of the south sides of cliffs, etc but making the whole thing look very bizarre. However, it's got a slightly refined version of the FF5 class system, and frankly that's a buying point in and of itself. It does the nostalgic FF callback feel right, though, too.
Then there's Ch--I probably shouldn't mention it here by name, nevermind. But I like the aliased art style. If you know, you know.