summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-03-02 20:47:06 +0000
committerrebecca <ubq323@ubq323.website>2026-03-02 20:47:06 +0000
commitef0452adb8e5995ba26494e703ba6e2702a7d308 (patch)
tree70b2da23962e4091e4aed311f508f7d2bb4393a1
parent5843c9af491d35e61cb80a66e461849a2a4392d5 (diff)
beescroll
-rw-r--r--beescroll.lua17
1 files changed, 10 insertions, 7 deletions
diff --git a/beescroll.lua b/beescroll.lua
index 45815f4..4de86fa 100644
--- a/beescroll.lua
+++ b/beescroll.lua
@@ -55,7 +55,7 @@ end
local norm_color = colors.gray
-local urgent = { "URGENT", "WARNING", "ALERT", "CRITICAL", "BREAKING" }
+local urgent = { "URGENT", "WARNING", "ALERT", "CRITICAL", "BREAKING", "INFORMATION", "IMPORTANT", "PLEASE NOTE" }
local orgs = {"Council", "Committee", "Board", "Division", "Bureau", "Team", "Task Force", "Secretariat" }
local orgtype = { "Executive", "Leadership", "Management", "Control", "Command", "Planning" }
local function pretitle()
@@ -65,9 +65,10 @@ local function pretitle()
end
local function beecount()
- if math.random() < 0.4 then return {colors.yellow, "all bees ", norm_color} end
- local n = ("%4d"):format(math.random(9999))
- return {colors.yellow, n, " bees ", norm_color}
+ if math.random() < 0.2 then return {colors.yellow, "all the bees in the world ", norm_color} end
+ local n = math.random(9)
+ while math.random() < 0.75 and n < 1000 do n = n*10 + math.random(0,9) end
+ return {colors.yellow, ("%4d"):format(n), " bees ", norm_color}
end
local function timeframe()
@@ -84,10 +85,12 @@ local function news_item()
colors.red, choice(urgent), norm_color, ": ",
choice {
-- the council has condemned all bees for [being/having been] boiled [illegally/without a permit/behind schedule]
- { "The ", council, " has condemned ", beecount(), "for ", choice{"being","having been"}, " ", colors.blue, choice(verbs),
- norm_color, " ", choice{"illegally","without a permit","behind schedule"} },
+ { "The ", council, " has ", choice{"condemned","disowned"}, " ", beecount(), "for ", choice{"being","having been"}, " ", colors.blue, choice(verbs),
+ norm_color, " ",
+ choice{"illegally","without a permit","behind schedule","wrongly","badly"} },
-- the council has decreed that 1234 bees shall be skewed by next tuesday
- { "The ", council, " has decreed that ", beecount(), "shall be ", colors.orange, choice(verbs),
+ { "The ", council, " has ", choice{"decreed","ordered","decided"},
+ " that ", beecount(), "shall be ", colors.orange, choice(verbs),
norm_color, " by ", timeframe() },
-- the council has scheduled 9998 bees to be translated by next thursday
{ "The ", council, " has scheduled ", beecount(), "to be ", colors.brown, choice(verbs),