From ff2c47ca5b894311ba0c934d84adff21c6c15a35 Mon Sep 17 00:00:00 2001 From: rebecca Date: Sat, 28 Feb 2026 09:51:15 +0000 Subject: launch beescroll --- .door.lua.kak.fs7EK7 | 16 ++++++++++++++++ beescroll.lua | 14 +++++++++----- worms.lua | 4 ++++ 3 files changed, 29 insertions(+), 5 deletions(-) create mode 100644 .door.lua.kak.fs7EK7 create mode 100644 worms.lua 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) -- cgit v1.2.3