summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-02-28 09:51:15 +0000
committerrebecca <ubq323@ubq323.website>2026-02-28 09:51:15 +0000
commitff2c47ca5b894311ba0c934d84adff21c6c15a35 (patch)
tree2af4f8165889a9327c8a48daac53b4fe6e3516ab
parentf1a883e2d890cb81381f0cb645a071cb7b2c599c (diff)
launch beescroll
-rw-r--r--.door.lua.kak.fs7EK716
-rw-r--r--beescroll.lua14
-rw-r--r--worms.lua4
3 files changed, 29 insertions, 5 deletions
diff --git a/.door.lua.kak.fs7EK7 b/.door.lua.kak.fs7EK7
new file mode 100644
index 0000000..9a5fbdf
--- /dev/null
+++ b/.door.lua.kak.fs7EK7
@@ -0,0 +1,16 @@
+local ps={peripheral.find"redstone_integrator"}
+
+local function set(b)
+ for _,v in ipairs(ps) do
+ v.setOutput("top",b)
+ end
+end
+
+
+
+while true do
+ set(true)
+ os.sleep(2)
+ set(false)
+ os.sleep(2)
+end
diff --git a/beescroll.lua b/beescroll.lua
index 86d3fea..7863382 100644
--- a/beescroll.lua
+++ b/beescroll.lua
@@ -78,19 +78,23 @@ local function timeframe()
end
local function news_item()
+ local council = choice{colors.red, colors.blue, colors.green}, pretitle(), choice(orgtype), " ", choice(orgs), norm_color,
return {
colors.red, choice(urgent), norm_color, ": ",
- "The ", choice{colors.red, colors.blue, colors.green}, pretitle(), choice(orgtype), " ", choice(orgs),
- norm_color, " has ", choice {
+ choice {
-- the council has condemned all bees for [being/having been] boiled [illegally/without a permit/behind schedule]
- { "condemned ", beecount(), "for ", choice{"being","having been"}, " ", colors.blue, choice(verbs),
+ { "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 decreed that 1234 bees shall be skewed by next tuesday
- { "decreed that ", beecount(), "shall be ", colors.orange, choice(verbs),
+ { "The ", council, " has decreed that ", beecount(), "shall be ", colors.orange, choice(verbs),
norm_color, " by ", timeframe() },
-- the council has scheduled 9998 bees to be translated by next thursday
- { "scheduled ", beecount(), "to be ", colors.brown, choice(verbs),
+ { "The ", council, " has scheduled ", beecount(), "to be ", colors.brown, choice(verbs),
norm_color, " by ", timeframe() },
+ -- 9998 bees were exploded [mistakenly/in error/by accident/by our enemies]. the council has [ordered/decreed/decided] that 1234 bees will be boiled [instead/as compensation/as well]
+ { beecount(), "were ", colors.magenta, choice(verbs), norm_color, " ", choice{"mistakenly","in error","by accident","by our enemies"}, ". The ", council, " has ",,
+ choice{"ordered","decreed","decided"}, " that ", beecount(), "will be ", colors.pink, choice(verbs), norm_color, " ", choice{"instead","as compensation","as well"}, "." },
+
}, norm_color, "." }
end
diff --git a/worms.lua b/worms.lua
new file mode 100644
index 0000000..ebe6af1
--- /dev/null
+++ b/worms.lua
@@ -0,0 +1,4 @@
+local M = peripheral.find"monitor"
+local W,H = M.getSize()
+
+print(W,H)