Public
Script
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
import { Material } from "https://esm.town/v/tmcw/Material";
import { materialType } from "https://esm.town/v/tmcw/materialType";
const whiskey = new Material("Whiskey", "m-0", materialType.spirit);
const scotchWhiskey = new Material(
"Scotch whiskey",
"m-1",
materialType.spirit,
whiskey,
);
const bourbonWhiskey = new Material(
"Bourbon whiskey",
"m-2",
materialType.spirit,
whiskey,
);
const canadianWhiskey = new Material(
"Canadian whiskey",
"m-3",
materialType.spirit,
whiskey,
);
const ryeWhiskey = new Material(
"Rye whiskey",
"m-4",
materialType.spirit,
whiskey,
);
const irishWhiskey = new Material(
"Irish whiskey",
"m-5",
materialType.spirit,
whiskey,
);
const drambuie = new Material("Drambuie", "m-6", materialType.liqueur);
const water = new Material("Water", "m-7", materialType.other);
const sodaWater = new Material("Soda water", "m-8", materialType.soda);
const gin = new Material("Gin", "m-9", materialType.spirit);
const oldTomGin = new Material("Old Tom Gin", "m-a", materialType.spirit, gin);
const londonDryGin = new Material(
"London dry gin",
"m-b",
materialType.spirit,
gin,
);
const whiteCrèmeDeMenthe = new Material(
"White crème de menthe",
"m-c",
materialType.liqueur,
);
const crèmeDeMure = new Material("Crème de mure", "m-d", materialType.liqueur);
const maraschino = new Material("Maraschino", "m-e", materialType.liqueur);
const brandy = new Material("Brandy", "m-f", materialType.spirit);
const apricotBrandy = new Material(
"Apricot brandy",
"m-10",
materialType.liqueur,
);
const port = new Material("Port", "m-11", materialType.fortified);
const calvados = new Material("Calvados", "m-12", materialType.spirit);
const anyBitters = new Material("Any bitters", "m-13", materialType.bitters);
const peachBitters = new Material(
"Peach bitters",
"m-14",
materialType.bitters,
anyBitters,
);
const orangeBitters = new Material(
"Orange bitters",
"m-15",
materialType.bitters,
anyBitters,
);
const angosturaBitters = new Material(
"Angostura bitters",
"m-16",
materialType.bitters,
anyBitters,
);
const peychaudSBitters = new Material(
"Peychaud’s bitters",
"m-17",
materialType.bitters,
anyBitters,
);
const aromaticBitters = new Material(
"Aromatic bitters",
"m-18",
materialType.bitters,
anyBitters,
);
const lemon = new Material("Lemon", "m-19", materialType.fruit);
const blackberry = new Material("Blackberry", "m-1a", materialType.fruit);
const raspberry = new Material("Raspberry", "m-1b", materialType.fruit);
const cherry = new Material("Cherry", "m-1c", materialType.fruit);
const pineapple = new Material("Pineapple", "m-1d", materialType.fruit);
const sweetRedVermouth = new Material(
"Sweet red vermouth",
"m-1e",
materialType.fortified,
November 16, 2023