From 40b39c10260601863223a03b1fb585a5b4ed5db9 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sat, 10 Jan 2026 17:47:34 +0200 Subject: [PATCH] Bigroom 13: Add few more pillar arrangements --- dat/bigrm-13.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dat/bigrm-13.lua b/dat/bigrm-13.lua index 5c9a7d25c..ff834a666 100644 --- a/dat/bigrm-13.lua +++ b/dat/bigrm-13.lua @@ -35,11 +35,22 @@ local pillar = [[ ---]]; filters = { + -- 1: all pillars function(x, y) return true; end, + -- 2: 3 vertical lines function(x, y) return (x%2 == 1); end, + -- 3: checkerboard function(x, y) return (((x+y)%2) == 0); end, + -- 4: center row function(x, y) return (y%2 == 1); end, + -- 5: top and bottom rows function(x, y) return (y%2 == 0); end, + -- 6: random 50% + function(x, y) return (math.random(0,1) == 0); end, + -- 7: corners and center + function(x, y) return ((x/3)%2 == y%2); end, + -- 8: slanted + function(x, y) return ((x+1)//3 == y); end, }; idx = math.random(1, #filters);