Make sure a planted item or promise pays off on every route
A gun on the wall, a promise to a dying friend: the story plants it, but one branch walks right past the moment it pays off. Here is how your AI tells apart a payoff that can happen from one that must happen, and shows you the route that skips it.
Why this works
A promise to the player is kept only if every road keeps it, not just one. Working from the ends backwards, a scene is safe if it pays off itself or if all its exits are safe. This avoids being fooled by roads that circle without ever arriving.
When not to use it
Skip it for small touches that are only colour, or when leaving something unused is the point, such as a red herring or an item that turns out to be a trick. Mark those as optional so the check keeps its weight for the promises that matter.
In the full entry
- What to build, step by step
- Starting values and the reason for each
- 4 common mistakes and the fix
- A diagram of every state
- 38 lines of example code with 4 checks that pass
- How your AI shows you that it works
Say this to your AI
Use the Spielerando entry "Make sure a planted item or promise pays off on every route" (read_entry setup-that-pays-off-on-every-route) in my game. Build it step by step, and show me how you checked that it works.Or skip this and connect the MCP: your AI then finds all of this by itself.Connect the MCP