From 1e39dcd6920448d4e9ec936dca9b4c8fd9b677a2 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Mon, 1 Apr 2024 02:39:50 +0100 Subject: launch john --- img/john.dat | 1 + img/john.pnm | Bin 0 -> 315339 bytes john.lua | 2 +- john.pnm | Bin 315339 -> 0 bytes 4 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 img/john.pnm delete mode 100644 john.pnm diff --git a/img/john.dat b/img/john.dat index 5bb1a93..90cf141 100644 --- a/img/john.dat +++ b/img/john.dat @@ -1 +1,2 @@ file img/john_1.pnm img/john_2.pnm img/john_3.pnm +file img/john.pnm diff --git a/img/john.pnm b/img/john.pnm new file mode 100644 index 0000000..b261a22 Binary files /dev/null and b/img/john.pnm differ diff --git a/john.lua b/john.lua index 55a05bd..6781b79 100644 --- a/john.lua +++ b/john.lua @@ -20,7 +20,7 @@ for ix,iname in ipairs(monitors) do mon.clear() mon.setTextScale(0.5) fb:clear() - fb:ppm(fs.open("img/john_"..ix..".pnm","rb")) + fb:ppm(fs.open("img/john.pnm","rb")) local t = term.redirect(mon) local _, bee = pcall(function() fb:present(30,0) end) term.redirect(t) diff --git a/john.pnm b/john.pnm deleted file mode 100644 index b261a22..0000000 Binary files a/john.pnm and /dev/null differ -- cgit v1.2.3