1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
local sours = import 'sours-oo.jsonnet';
local RemoveGarnish = {
// Not technically removed, but made hidden.
garnish:: super.garnish,
};
// Make virgin cocktails
local NoAlcohol = {
local Substitute(ingredient) =
local k = ingredient.kind;
local bitters = 'Angustura Bitters';
if k == 'Whiskey' then [
{ kind: 'Water', qty: ingredient.qty },
{ kind: bitters, qty: 'tsp' },
] else if k == 'Banks 7 Rum' then [
{ kind: 'Water', qty: ingredient.qty },
{ kind: 'Vanilla Essence', qty: 'dash' },
{ kind: bitters, qty: 'dash' },
] else [
ingredient,
],
ingredients: std.flattenArrays([
Substitute(i)
for i in super.ingredients
]),
};
local PartyMode = {
served: 'In a plastic cup',
};
{
'Whiskey Sour':
sours['Whiskey Sour']
+ RemoveGarnish + PartyMode,
'Virgin Whiskey Sour':
sours['Whiskey Sour'] + NoAlcohol,
'Virgin Daiquiri':
sours.Daiquiri + NoAlcohol,
}
|