As Arguments to API Methods
In addition to accepting standard optional arguments that modify some specific aspect of an API call, methods that return an array of objects (most notably find*()
methods) accept a Lodash filter as an optional argument. While the example syntax provided by the game will not work in your Python code, only minor changes are needed to produce a similar result.
Examples
Finding all extensions in a room:
Finding the closest dropped resource that meets a multiple criteria:
Last updated
Was this helpful?