Yes, though to expand on your question filter is an option for room.find that uses lodash's filter to search the result of the FIND_* you call, your passing it an object, filter, with the arguments you want it to use when searching. When you pass it a filter, it calls the lodash here: https://github.com/screeps/engine/blob/master/src/game/rooms.js#L641 You can read more about lodash's filter here: https://lodash.com/docs/3.10.1#filter