!eAOKjBvwHnPlTKsOwI:matrix.org

CenteriaSurvival - Chat

15 Members
2 Servers

Load older messages


SenderMessageTime
26 Feb 2024
@tubberpupper:matrix.orgTubberPupper
--- something
local channel = "det"
local function minfy(sec)
  return math.floor(sec/60)
end
local function gms(min)
  return math.floor(minfy(os.time()) - min)
end
local temp = {}
if event.type == "program" then
  digiline_send("det", "stop")
  digiline_send("lcd", "Hello, want some steak?")
end
if event.type == "on" and event.pin.name == "C" then
  if port.b ~= port.b_old then
     digiline_send("det", "start")
  end
end

if event.type == "digiline" and event.channel == channel then
  if event.msg.action == "detect" and event.msg.detected then
    -- Process detected objects
    local lcdstr = ""
    temp.names = mem.names or {}
    temp.ct = minfy(os.time())
    for _, obj in ipairs(event.msg.detected) do
      local dt = temp.names[obj.name] or {q=5,lt=temp.ct}
      if dt and dt.lt ~= temp.ct then
        local timepassed = temp.ct - dt.lt
        if timepassed > 119 then
          dt.q = math.min(math.floor(timepassed/120),50)
          lcdstr=lcdstr..obj.name..": You get "..dt.q.." steak(s) for your patience."
        else
          lcdstr=lcdstr..obj.name..": Hei! You got steaks "..timepassed.." minutes ago. You can have more steaks in "..(120-timepassed).." minutes."
        end
      else
        lcdstr=lcdstr..obj.name..": You can get "..dt.q.." steaks!"
      end
      temp.names[obj.name] = dt
    end
    mem.names = temp.names
    digiline_send("lcd",lcdstr)
    digiline_send("det","stop")
  end
end

23:29:36
@tubberpupper:matrix.orgTubberPupperalien code again23:29:37
@tubberpupper:matrix.orgTubberPupper
In reply to @darkknight8785:matrix.org
i just discovered this place last night, idk what is this
ooh that's map generated
23:41:22
@tubberpupper:matrix.orgTubberPupperit's a part of a mapgen mod that Mesecraft and Exile use23:41:37
@tubberpupper:matrix.orgTubberPupper
In reply to @tubberpupper:matrix.org
alien code again
I can prob explain it better when I have more brain cells
23:43:08
27 Feb 2024
@peterisu1:matrix.orgPēteris Ūsiņšadded 5 second interrupt to return to start msg on display00:03:22
@peterisu1:matrix.orgPēteris Ūsiņšadded msg for output bet in one place only, somhow it outputs 3x times more then sayz, i have not understod dt.q variable 00:04:10
@peterisu1:matrix.orgPēteris Ūsiņšty very much00:04:24
1 Mar 2024
@tubberpupper:matrix.orgTubberPupperayyyyy03:24:57
@tubberpupper:matrix.orgTubberPupper
In reply to @peterisu1:matrix.org
added msg for output bet in one place only, somhow it outputs 3x times more then sayz, i have not understod dt.q variable
ah sorry, dt.q is the amount of steaks
03:25:14
@peterisu1:matrix.orgPēteris ŪsiņšRedacted or Malformed Event17:15:11
@tubberpupper:matrix.orgTubberPupperimage.png
Download image.png
23:03:27
@tubberpupper:matrix.orgTubberPupperimage.png
Download image.png
23:03:39
@tubberpupper:matrix.orgTubberPupper the ritual mineshaft Shadow AI6FS 23:03:47
@genkin_desu:matrix.orgCashLets sacrifice miche there23:07:11
@tubberpupper:matrix.orgTubberPupperLMFAO YES23:09:39
3 Mar 2024
@genkin_desu:matrix.orgCashScreenshot_20240302_202642_Minetest.jpg
Download Screenshot_20240302_202642_Minetest.jpg
01:27:22
@genkin_desu:matrix.orgCash⅓ of a portal, seems like the portal is on a strike today01:27:39
@niceride:matrix.orgShadow AI6FS
In reply to @genkin_desu:matrix.org
⅓ of a portal, seems like the portal is on a strike today
Cash strikes again. Trying to use that portal broke the portal in-use for moon-to-mars
07:46:40
@niceride:matrix.orgShadow AI6FSalso concerning is that your airbar in that screenshot is not full - did you damage more of 2B again?07:59:31
@genkin_desu:matrix.orgCashDidn't touch the glass at all23:16:26
4 Mar 2024
@niceride:matrix.orgShadow AI6FS Cash: I'll survey it and figure out what's going on, thanks. 19:56:27
@niceride:matrix.orgShadow AI6FSvacuum purge seems intact. weird.19:57:50
5 Mar 2024
@niceride:matrix.orgShadow AI6FSScreenshot from 2024-03-05 07-32-50.png
Download Screenshot from 2024-03-05 07-32-50.png
15:33:21
@niceride:matrix.orgShadow AI6FSdark-knight has an abandoned blimp floating in the skies15:33:25
7 Mar 2024
@genkin_desu:matrix.orgCash changed their display name from Cash to Shashu.18:13:57
@genkin_desu:matrix.orgCash changed their display name from Shashu to Cash.18:14:55
9 Mar 2024
@niceride:matrix.orgShadow AI6FSScreenshot from 2024-03-08 17-38-10.png
Download Screenshot from 2024-03-08 17-38-10.png
01:38:51
@niceride:matrix.orgShadow AI6FSTabulated dragon adventure data as of this posting.01:38:53
10 Mar 2024
@karlexceed:cyberia.clubkarlexceed joined the room.06:18:52

Show newer messages


Back to Room ListRoom Version: 6