Inventory:getItemsByID

From Nutscript Developer Wiki
Jump to: navigation, search


   Inventory:getItemsByID(id, onlyMain)

This function finds and returns the Item Classes which has certain Item ID. This function returns the list of the items that fulfills the condition. If this returns more than two items, You're screwed. You need to report that to me.

Arguments[edit]

  • Integer id
  • Boolean onlyScanMain

Return Values[edit]

  • Table

A List of Items

Examples[edit]

none