| 1 |
// A regular definition. |
| 2 |
local house_rum = 'Banks Rum'; |
| 3 |
|
| 4 |
{ |
| 5 |
// A definition next to fields. |
| 6 |
local pour = 1.5, |
| 7 |
|
| 8 |
Daiquiri: { |
| 9 |
ingredients: [ |
| 10 |
{ kind: house_rum, qty: pour }, |
| 11 |
{ kind: 'Lime', qty: 1 }, |
| 12 |
{ kind: 'Simple Syrup', qty: 0.5 }, |
| 13 |
], |
| 14 |
served: 'Straight Up', |
| 15 |
}, |
| 16 |
Mojito: { |
| 17 |
ingredients: [ |
| 18 |
{ |
| 19 |
kind: 'Mint', |
| 20 |
action: 'muddle', |
| 21 |
qty: 6, |
| 22 |
unit: 'leaves', |
| 23 |
}, |
| 24 |
{ kind: house_rum, qty: pour }, |
| 25 |
{ kind: 'Lime', qty: 0.5 }, |
| 26 |
{ kind: 'Simple Syrup', qty: 0.5 }, |
| 27 |
{ kind: 'Soda', qty: 3 }, |
| 28 |
], |
| 29 |
garnish: 'Lime wedge', |
| 30 |
served: 'Over crushed ice', |
| 31 |
}, |
| 32 |
} |