diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-19 14:21:33 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-19 14:21:33 +0100 |
| commit | 5d9f7190bd118fe4d44594d7a9584de98b527467 (patch) | |
| tree | c323938b4626290a227a652380af769d7f4c4518 /lib/rules/mask.js | |
| parent | 29f687276d9e9ef01ce70ebd210a01386ca581ae (diff) | |
Port to svelte
Diffstat (limited to 'lib/rules/mask.js')
| -rw-r--r-- | lib/rules/mask.js | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/lib/rules/mask.js b/lib/rules/mask.js deleted file mode 100644 index 1e82959..0000000 --- a/lib/rules/mask.js +++ /dev/null @@ -1,51 +0,0 @@ -const internals ={ - - masks: [ - 'HTML', - 'FFP4', - 'Leather', - 'Denim', - 'Pink', - 'RSVP', - 'TBD', - 'Quantum', - 'Medical', - 'GMO', - 'FFP9', - 'FFP2.5', - 'KN96', - 'France98', - 'Mesh', - ], - - conditions: [ - 'when dancing', - 'at all times', - 'in bed', - 'outdoors', - 'when running', - 'when driving', - 'when cycling', - 'in restaurants', - 'in pools', - 'in small groups', - 'at 3pm', - 'at 5pm', - 'when nobody is looking', - 'around the police', - 'when speaking', - 'while chewing gum', - 'while eating bread', - ] -}; - -module.exports = () => { - - const mask = internals.masks[Math.floor(Math.random() * internals.masks.length)]; - const condition = internals.conditions[Math.floor(Math.random() * internals.conditions.length)]; - - return { - emoji: '😷', - text: `${mask} masks must be worn ${condition}` - }; -} |