Inventory:matchData

From Nutscript Developer Wiki
Jump to navigation Jump to search


   Inventory:matchData(id, matchData)

This function returns whether the Item Class fulfills the matchData condition or not. If Item does fulfills the condition it returns true, if not return false.

Arguments[edit]

  • Integer ID
  • Table List of Variables to compare.

Return Values[edit]

  • Boolean

Is it fulfills the conditions?

Examples[edit]

none