bagSave
constbagSave:SaveDeclaration<ZodMiniObject<{equipment:ZodMiniRecord<ZodMiniString<string>,ZodMiniObject<{count:ZodMiniInt;data:ZodMiniOptional<ZodMiniObject<{modifiers:ZodMiniOptional<ZodMiniRecord<…, …>>; },$catchall<ZodMiniUnknown>>>;item:ZodMiniString<string>; },$strip>>;slots:ZodMiniArray<ZodMiniNullable<ZodMiniObject<{count:ZodMiniInt;data:ZodMiniOptional<ZodMiniObject<{modifiers:ZodMiniOptional<…>; },$catchall<ZodMiniUnknown>>>;item:ZodMiniString<string>; },$strip>>>; },$strip>, readonly ["entity","player"], readonly []>
The bag and what is worn: inventory.saves.bag, kept on each saved
entity, or on the player where the game’s override says, in the
player’s game-wide record unless the game keeps it per world. Its
read returns the whole bag, an empty one as empty, so a write never
keeps an older value for what the player emptied, and each stack its
restore set aside, back where it was or after the last slot where
that slot was filled since.