Spielerando

After dying, some items exist twice and others are gone, how do I see it

The backpack empties into a grave, a chest changes, and somewhere an item was copied or lost. This entry compares what exists everywhere before and after an event, and shows per item what moved and what cannot be explained.

Why this works

Moving an item changes the places but not the total. Comparing totals before and after, minus what the event is allowed to create or destroy, leaves only the copies and losses.

When not to use it

Not for events that spawn items by design with random amounts, such as a loot chest. Check those by range instead of by exact total.

In the full entry

  • What to build, step by step
  • Starting values and the reason for each
  • 3 common mistakes and the fix
  • 26 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 "After dying, some items exist twice and others are gone, how do I see it" (read_entry survival-items-doubled-after-dying) 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