Objects Items Requirements Entity

The objects_items_requirements entity defines the price of the items a trader sells: what the player has to give to buy each item.

Managing trade requirements in the admin panel

Trade requirements are in the Game Objects section of the admin sidebar, under Trade - Items Requirements (/reldens-admin/objects-items-requirements). See NPC Traders.

Key Properties

  • object_id: The trader object
  • item_key: The item the player buys
  • required_item_key: The item the player pays with
  • required_quantity: Quantity of the required item
  • auto_remove_requirement: Whether the required items are removed automatically from the player inventory

Database Relations

  • objects: The trader object
  • items_item: The bought item and the required item, by their key
Go Up