Skip to main content

household_biz.get_restaurant_cleanup_queue

Overview

  • Returns the persistent FIFO of Dirty restaurant tables and their exact in-flight cleanup foods (BL-58476).

Metadata

FieldValue
DisplayGet Restaurant Cleanup Queue
Categoryhousehold_biz
AccessPublic
ScopeB2Authority
Tags—
Aliases—

Parameters

NameTypeRequiredDefaultDescription
household_biz_identityIdno—Target HouseholdBiz entity id (default: possessed)

Returns

Returns a JSON array; each element is an object with the following fields:

FieldTypeRequiredDescription
table_entity_identityIdyesDirty restaurant table entity id
enqueued_ticksintyesGame tick when the table entered the cleanup FIFO
target_foodsarray<object>yesExact ServedFood entities tracked through pickup and disposal
target_foods[].entity_identityIdyesTracked ServedFood entity id
target_foods[].existsboolyesWhether the entity still exists
target_foods[].is_emptyboolyesWhether no food remains; false is valid for restaurant leftover cleanup
target_foods[].interaction_owner_entity_identityIdyesCurrent interaction owner

Usage

await inzoi.cli.execute('household_biz.get_restaurant_cleanup_queue', {
household_biz_id: 0, // optional
});