Spielerando

A one-of-a-kind item shows up twice after loading, in the bag and on the ground

Throw a legendary item, save during the throw, or close the game while it is changing hands, and some saves hold two copies. Here is a check that runs when loading, which copy it keeps, and how to report what it removed.

Why this works

A one-of-a-kind thing cannot be in two places, so the only honest repair is to choose one. Ranking the places by how much the player would miss the item means the loss is the smallest one, and telling them keeps the repair from looking like a theft.

When not to use it

Do not clean up after the fact if you can prevent the double in the first place, by moving an item in one step instead of copying then deleting. Cleaning is a safety net. Also skip it where rare items are meant to be copied.

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 "A one-of-a-kind item shows up twice after loading, in the bag and on the ground" (read_entry rpg-unique-item-found-twice) 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