ADDED ability to select colors for cells added using /add-cell
ADDED /show-cell and /hide-cell commands
/hide-cell hides the currently visible cell and /show-cell shows the previously hidden cell.
To add cell with selected color, you first have to switch the heatmap to none (otherwise heatmaps will cover the selected colors).
The syntax is:
/add-cell cell_id[#color] [cell_id[#color]] ..., e.g.:
/add-cell 79995#00FF00 80014#FF0000
The above will add cell 79995 to the overview and the cell will be colored green. It will also add cell 80014 with color red.
You can use either uppercase or lowercase letters in the color code.
The old syntax still works, you can also mix styles, e.g.:
/add-cell 79995 80014#FF0000
The first cell will be added with a random color and the second will be red.
You can, of course add more cells at the same time.
However, my suggestion is to add one cell at a time, then zoom in and wait until the detailed overview is loaded, then add another cell, zoom in, wait, add, etc. Otherwise, the detailed mesh will be loaded only for the last added cell (this is, how EW is constructed).
I wasn't able to find a way to change the color of the main cell (the one displayed after selecting a cell from the change cell menu). This is the place, where /hide-cell command might be useful. In other words - you can add all the cells you want on any random cell and just hide the random cell.
Other limitation is, that a cell once added, can be removed (with /remove-cell cell_id), but if you try to add it again with a different color, it'll still have the same color it has when it was first added.
It took me while, to figure out, how to change those colors, because there are different mechanisms for plasticized and non-plasticized cells. In one case I had to temporary replace Cell.colors object, so the function selecting the color could draw a random color from a 1-set element. In the other - I had to temporary replace ColorUtils.rotate() function to return one color, no matter the input arguments.
Fun fact: the variable containing the color drawn for a plasticized cell is called illiad_rgb and the one for non-plasticized cells is oddysey_rgd :D.
If you have installed my version of the script, the update probably won't work for you, because I forgot to change update and download links in crazyman's version and the updater is looking for new stuff in crazyman's repository.
To make it work, just remove my script from the TamperMonkey and install it again (from the same link, given a couple of posts above).