Spielerando

My bag shows empty slots with a name, or three small piles of the same thing

After many pickups, drops and loads the list of what you carry can hold piles of zero, piles that should be one, or a count that went below nothing. Your AI can tidy the list, say what it changed and flag the entries that should never have existed.

Why this works

Tidying and reporting are different jobs. Merging and splitting piles is routine, but a negative count means some other code removed too much, and quietly dropping it would hide the real bug.

When not to use it

If every item is unique, such as one-of-a-kind relics, there are no piles to merge. If you track items by exact slot position, tidying would move things players placed deliberately.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 3 common mistakes and the fix
  • 31 lines of example code with 3 checks that pass
  • How your AI shows you that it works

Say this to your AI

Use the Spielerando entry "My bag shows empty slots with a name, or three small piles of the same thing" (read_entry rpg-ghost-stacks-in-the-bag) 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