メインコンテンツまでスキップ

MMOItem Count

The mmoitems_count_objective tracks when a player possesses a specific amount of MMOItems defined in a fact. It can check the inventory, secondary inventory, and main hand based on the fact configuration.

Configuration

mmoitems_count_objectiveMap

Configuration for the objective.

Properties

id

Unique identifier for this objective. fact

" required> The MMOItems Count Fact to pick items from. selectionModeEnum

How to choose items from the fact.

  • ALL: Select all items defined in the linked fact.
  • INDEXES: Select items by their index in the fact's items list.
  • IDS: Select items by their MMOItem ID. selectedIndexes

"> Indices of items to select from the fact's list (if mode is INDEXES). 0-based. selectedItemIds

"> MMOItem IDs to select from the fact (if mode is IDS). amount

"> The required amount of selected items to possess. Default is 1. display

"> Text to display in quest logs. Supports <current> and <required> placeholders. onComplete

"> Optional entry to trigger upon completion. onCompleteModifiers

"> Modifiers to apply when the objective is completed.