color portal mods by their rare-ness. Patch by @OshiHidra. Fixes #28.

This commit is contained in:
Stefan Breunig
2013-02-09 11:42:17 +01:00
parent d09e59049c
commit b9ec6328f8
2 changed files with 11 additions and 4 deletions

View File

@ -114,6 +114,9 @@ var MAX_DRAWN_FIELDS = 200;
var COLOR_SELECTED_PORTAL = '#f00';
var COLORS = ['#FFCE00', '#0088FF', '#03FE03']; // none, res, enl
var COLORS_LVL = ['#000', '#FECE5A', '#FFA630', '#FF7315', '#E40000', '#FD2992', '#EB26CD', '#C124E0', '#9627F4'];
var COLORS_MOD = {VERY_RARE: '#F78AF6', RARE: '#AD8AFF', COMMON: '#84FBBD'};
// circles around a selected portal that show from where you can hack
// it and how far the portal reaches (i.e. how far links may be made
// from this portal)