From 29dc1253d61f2b81015a7dcc06cbfe213d47d54a Mon Sep 17 00:00:00 2001 From: justuswolff Date: Mon, 16 Feb 2026 20:47:21 +0100 Subject: [PATCH] add support for blocks in progress rendering --- src/main.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main.lua b/src/main.lua index 8186d1f..07fe829 100644 --- a/src/main.lua +++ b/src/main.lua @@ -409,13 +409,18 @@ local function printdes(buf, dimensions) local cz = 1 local direction = 0 for cy=1,dimensions["y"],1 do + local setlists = { + {1,4}, + {1}, + {1,3,4}, + } for clayer=1,3,1 do -- build walls local pbuf = {} while true do local target = getnearestunplaced(buf, pbuf, cx,cy,cz,clayer, dimensions["x"],dimensions["z"]) if not target then break end - render(buf, pbuf, cx,cy,cz, target[1],target[2], dimensions["x"],dimensions["z"], {1}) + render(buf, pbuf, cx,cy,cz, target[1],target[2], dimensions["x"],dimensions["z"], setlists[clayer]) --read("")