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

Mmoinventory Check Item Fact

Check if player has specific MMOItem(s) in a MMOInventory

フィールド

フィールド型デフォルト説明
groupRef<GroupEntry>——
inventoryNameVar<String>——
itemsToCheckVar<String>——
requireAllItemsVar<Boolean>false—
TypeWriter 共通フィールド(comment)
フィールド型デフォルト説明
commentString——

How to use it​

The fact returns 1 when the check succeeds and 0 otherwise. Use it in a criteria with the value 1.

  • inventoryName is the name of a custom inventory defined in MMOInventory.
  • itemsToCheck is a comma-separated list of TYPE:ID or TYPE:ID:amount tokens, for example ACCESSORY:RING_OF_FIRE, ACCESSORY:AMULET:2. Without an amount, one item is required.
  • requireAllItems off: one matching item is enough. On: every listed item must be present in the requested amount.

Only MMOItems are counted; other items are ignored. See the extension page for troubleshooting.