What it does
inventory.query takes an options object.
Signature
inventory.query({ category?, tag?, text? })Arguments
{ category?, tag?, text? }Keys:
category?tag?text?
Example · generated
function start() { inventory.query({ category?: 1, tag?: 1, text?: 1 });}inventory.query is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.