Create a user structure with a few fields: Burger.Patties, .Ketchup, .Mustard. You can make them boolean or integer, depending on your process.
Create a block of your structure, along with a few extra for in and output b instructions. Use the FIFOLOAD instruction to queue them up when ordered, and use a Queue.Empty is false instruction to trigger a FIFO UNLOAD and start the burger building process