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
| Field | Value |
|---|---|
| Display | Get Restaurant Cleanup Queue |
| Category | household_biz |
| Access | Public |
| Scope | B2Authority |
| Tags | — |
| Aliases | — |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| household_biz_id | entityId | no | — | Target HouseholdBiz entity id (default: possessed) |
Returns
Returns a JSON array; each element is an object with the following fields:
| Field | Type | Required | Description |
|---|---|---|---|
table_entity_id | entityId | yes | Dirty restaurant table entity id |
enqueued_ticks | int | yes | Game tick when the table entered the cleanup FIFO |
target_foods | array<object> | yes | Exact ServedFood entities tracked through pickup and disposal |
target_foods[].entity_id | entityId | yes | Tracked ServedFood entity id |
target_foods[].exists | bool | yes | Whether the entity still exists |
target_foods[].is_empty | bool | yes | Whether no food remains; false is valid for restaurant leftover cleanup |
target_foods[].interaction_owner_entity_id | entityId | yes | Current interaction owner |
Usage
await inzoi.cli.execute('household_biz.get_restaurant_cleanup_queue', {
household_biz_id: 0, // optional
});