4,683
edits
(Adding dungeon completions) |
(→Add Item to Bank: Added console command to search for item IDs) |
||
Line 20: | Line 20: | ||
! Attribute !! Type !! Optional? !! Default Value !! Description | ! Attribute !! Type !! Optional? !! Default Value !! Description | ||
|- | |- | ||
| itemID || string || No || || The ID of the item. | | itemID || string || No || || The ID of the item. | ||
For a complete list of items, see: [[Table of Items]]. Item IDs are on their respective wiki page. | |||
Item IDs can also be searched through the console with the following command: <code>console.log(game.items.filter(x => x.name.toLowerCase().includes('SEARCHTERM'.toLowerCase())).map((a) => a.id + ' - ' + a.name).join('\n'))</code>. Replace <code>SEARCHTERM</code> with any part of the item's name. | |||
|- | |- | ||
| quantity || int || No || || Quantity of item to add. | | quantity || int || No || || Quantity of item to add. |