Skip to content

Barter Shop State format

The barter_shop_state.json file is used to track shop/merchant current stock and restock times.

JSON format

  • : Root object.
    • Shops: Contains restock data for all shops found.
      • <Shop_Name>: A shop/merchant.
        • Stock: Array of ints indicating how much stock is avalible for each item available for trade.
          • : How much stock there is for the shop item with the same index.
        • NextRefresh: The in-game date and time of when the next stock refresh is. In the format of <yyyy>-<MM>-<dd>T<HH>:<mm>:<ss>Z.
        • ResolveSeed: A random seed for the shop.

History

Early Access

2026.01.13-dcad8778f The barter shop state format is introduced.