mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
patterns2:: pattern 'L' to show mastery
This commit is contained in:
parent
3850d8dbeb
commit
03b0a80be0
@ -1567,6 +1567,7 @@ EX map<char, colortable> colortables = {
|
|||||||
{'t', {0x804040, 0x1408040, 0x404080, 0x1808040 }},
|
{'t', {0x804040, 0x1408040, 0x404080, 0x1808040 }},
|
||||||
{'c', {0x202020, 0x1C0C0C0}},
|
{'c', {0x202020, 0x1C0C0C0}},
|
||||||
{'F', {0x1C0C0C0, 0x202020}},
|
{'F', {0x1C0C0C0, 0x202020}},
|
||||||
|
{'L', {0xA0FFA0, 0x60C060}},
|
||||||
{'w', {0x303030, 0x1C0C0C0}},
|
{'w', {0x303030, 0x1C0C0C0}},
|
||||||
{'v', {0xC00000, 0xC08000, 0xC0C000, 0x00C000, 0xC0C0, 0x00C0, 0xC000C0}},
|
{'v', {0xC00000, 0xC08000, 0xC0C000, 0x00C000, 0xC0C0, 0x00C0, 0xC000C0}},
|
||||||
{'j', {0x100FFFF, 0x100FF00, 0x1FFFF00, 0x1FF8000, 0x1FF0000, 0x1FF00FF}},
|
{'j', {0x100FFFF, 0x100FF00, 0x1FFFF00, 0x1FF8000, 0x1FF0000, 0x1FF00FF}},
|
||||||
@ -1988,6 +1989,9 @@ EX namespace patterns {
|
|||||||
if(hat::in()) return hat::hatcolor(c, 8);
|
if(hat::in()) return hat::hatcolor(c, 8);
|
||||||
return furthest_map(c, 1);
|
return furthest_map(c, 1);
|
||||||
}
|
}
|
||||||
|
case 'L': {
|
||||||
|
return colortables['L'][c->master->c7 == c];
|
||||||
|
}
|
||||||
case 'W': {
|
case 'W': {
|
||||||
return furthest_map(c, 2);
|
return furthest_map(c, 2);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user