From 03b0a80be09642a37a4c0ddb59cf05084695a837 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 30 May 2023 18:40:42 +0200 Subject: [PATCH] patterns2:: pattern 'L' to show mastery --- pattern2.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pattern2.cpp b/pattern2.cpp index a453e5a5..61cff48f 100644 --- a/pattern2.cpp +++ b/pattern2.cpp @@ -1567,6 +1567,7 @@ EX map colortables = { {'t', {0x804040, 0x1408040, 0x404080, 0x1808040 }}, {'c', {0x202020, 0x1C0C0C0}}, {'F', {0x1C0C0C0, 0x202020}}, + {'L', {0xA0FFA0, 0x60C060}}, {'w', {0x303030, 0x1C0C0C0}}, {'v', {0xC00000, 0xC08000, 0xC0C000, 0x00C000, 0xC0C0, 0x00C0, 0xC000C0}}, {'j', {0x100FFFF, 0x100FF00, 0x1FFFF00, 0x1FF8000, 0x1FF0000, 0x1FF00FF}}, @@ -1988,6 +1989,9 @@ EX namespace patterns { if(hat::in()) return hat::hatcolor(c, 8); return furthest_map(c, 1); } + case 'L': { + return colortables['L'][c->master->c7 == c]; + } case 'W': { return furthest_map(c, 2); }