Hyra provides a Roblox Lua wrapper for its Order Logging system
handed_to
- The order has been handed to the customersubmitted
- The order has been submitted by the cashierwaiting_for_preparation
- The order is waiting for preparation by a chef or other staff memberfinding_new_colleague
- The order is waiting for a new colleague to take over preparation (for example, if the previous chef left the game)preparing
- The order is being prepared by a chef or other staff membercompleted
- The order has been completedwaiting_for_pickup
- The order is waiting for pickup by the customer or a delivery personcancelled
- The order has been cancelledapiKey
and workspaceId
at the beginning of your main script:
Creating an order
items
and the initial
status
.The customer
and the actor
are both Player instances.id
and order_number
for the order.actor
. In some cases, you may not have a valid player, for example if the order was submitted via a kiosk. In this case, there are a few system IDs you can use:1
- POS (Point of Sale System)2
- Kiosk3
- Mobile Ordering4
- NPCUpdating order status
id
(not the order_number) you can update the status of an order