The corpse's LongDesc (its killer name, which "my kills" mode needs) arrives only
after an ID request, and AutoId may not appraise a corpse in time, so this request
has to land. CorpseOpenController recorded the corpse as asked whether or not
Host.RequestId returned true. The engine refuses RequestId during the teleport and
death settle and drops stale queued requests, so a refused or dropped request was
never retried and the claim stayed tentatively lootable until the 12 s timeout.
- A corpse is recorded as asked only when RequestId returned true; a refused one is
asked again, at least 250 ms apart per corpse.
- An accepted request that brought no LongDesc within 3 s is asked once more, once
per 3 s, with no give-up cap. Only the targeted corpse or the open container
re-asks: HasLootWork evaluates every in-range corpse, and the others would send a
stream of requests for corpses the bot is not going for. They get one accepted
request each.
- When a refusal window ends (after a teleport) every uncached corpse would be
accepted in the same tick, so at most 2 new requests go out per scan tick, the
target or open corpse first. The budget restarts after 250 ms for evaluations
made outside a scan, so it never stays exhausted.
- _corpseIdAskedAt and _corpseIdRefusedAt are cleared on delete and on the >200
prune.
Tests (ActionPacingTests): refused-then-accepted; re-ask at 3 s and not before;
two corpses where only the target re-asks; 20 uncached corpses through a refusal
window; the open-container branch; the id map clears. Each case was
mutation-checked. The test fake's RequestId can now refuse (RequestIdAccepts,
RefusedIdRequests).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>