View Categories

Restocking an Inventory

< 1 min read

Table of Contents

Restocking an Inventory #

When an inventory needs restocking:

  1. The item allocator checks the loot list if the actor lacks a vendor component.
  2. If a vendor component is present, it uses vendor details.
  3. Items are restocked based on chance and maximum allowed amounts, overriding stack sizes if necessary.