]>
git.r.bdr.sh - rbdr/corona-regeln/blob - lib/rules/curfew.js
9fc697f0cccb10f7d81ae2410482f5af10937aad
22 'engaging in economic activity',
28 'using recreational drugs',
30 'interpretive dancing',
42 'is only allowed indoors',
43 'is only allowed outdoors',
44 'is only allowed in groups larger than seven',
46 'is allowed under police supervision',
47 'is allowed following social distancing rules',
48 'is only allowed in Neukölln',
49 'is only allowed in Kreuzberg',
50 'is only allowed in Charlottenburg',
51 'is only allowed in Wedding',
52 'is only allowed in Mitte',
53 'is only allowed in Prenzlauer Berg',
54 'is only allowed in Friedrichshain',
58 module
.exports
= () => {
60 const startTime
= Math
.floor(Math
.random() * 23) + 1;
61 const endTtime
= Math
.floor(Math
.random() * 23) + 1;
62 const activity
= internals
.activities
[Math
.floor(Math
.random() * internals
.activities
.length
)];
63 const restriction
= internals
.restrictions
[Math
.floor(Math
.random() * internals
.restrictions
.length
)];
67 text: `From ${startTime}:00 to ${endTtime}:00 ${activity} ${restriction}`