]>
Commit | Line | Data |
---|---|---|
1 | const internals ={ | |
2 | ||
3 | masks: [ | |
4 | 'HTML', | |
5 | 'FFP4', | |
6 | 'leather', | |
7 | 'denim', | |
8 | 'pink', | |
9 | 'RSVP', | |
10 | 'TBD', | |
11 | 'quantum', | |
12 | 'medical', | |
13 | 'GMO', | |
14 | 'FFP9', | |
15 | 'FFP2.5', | |
16 | 'KN96', | |
17 | 'France98', | |
18 | 'mesh', | |
19 | ], | |
20 | ||
21 | condition: [ | |
22 | 'when dancing', | |
23 | 'at all times', | |
24 | 'in bed', | |
25 | 'outdoors', | |
26 | 'when running', | |
27 | 'when driving', | |
28 | 'when cycling', | |
29 | 'in restaurants', | |
30 | 'in pools', | |
31 | 'in small groups', | |
32 | 'at 3pm', | |
33 | 'at 5pm', | |
34 | 'when nobody is looking', | |
35 | 'around the police', | |
36 | 'when speaking', | |
37 | 'while chewing gum', | |
38 | 'while eating bread', | |
39 | ] | |
40 | }; | |
41 | ||
42 | module.exports = () => { | |
43 | ||
44 | const mask = internals.masks[Math.floor(Math.random() * internals.masks.length)]; | |
45 | const condition = internals.conditions[Math.floor(Math.random() * internals.conditions.length)]; | |
46 | ||
47 | return { | |
48 | emoji: '😷', | |
49 | text: `${mask} masks must be worn ${condition}` | |
50 | }; | |
51 | } |