-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathglobal.colours.js
78 lines (71 loc) · 2.11 KB
/
global.colours.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Define a bunch of colours for our paths and stuff
// #RRGGBB
global.colourPickup = '#000077';
global.colourPickupRes = '#FFFFFF';
global.colourPickupMins= '#663300';
global.colourDropoff = '#007700';
global.colourBuild = '#FFFF00';
global.colourHostile = '#FF0000';
global.colourResPickup = '#ADAD00';
global.colourIdle = '#555555';
global.colourTower = '#FFFF99';
global.colourUpgrade = '#33CC33';
global.colourClaim = '#330033';
global.colourMine = '#330000';
global.colourReserve = '#330033';
global.colourRepair = '#00FF00';
// The path opacity
global.pathOpacity = .3;
global.flagColor = {
'reserve': COLOR_PURPLE,
'haul': COLOR_GREEN,
'remote': COLOR_YELLOW,
'claim': COLOR_GREY,
'invade': COLOR_RED,
'friendly': COLOR_BLUE,
'suspicious': COLOR_CYAN,
'defend': COLOR_ORANGE,
'avoid': COLOR_BROWN,
'buildsite': COLOR_WHITE,
}
global.flagSecondaryColor = {
'PURPLE': COLOR_PURPLE,
'WHITE': COLOR_WHITE,
'RED': COLOR_RED,
'BLUE': COLOR_BLUE,
'CYAN': COLOR_CYAN,
'GREEN': COLOR_GREEN,
'YELLOW': COLOR_YELLOW,
'ORANGE': COLOR_ORANGE,
'BROWN': COLOR_BROWN,
'GREY': COLOR_GREY,
}
global.buildColor = {
1:STRUCTURE_TOWER, // COLOR_RED
10:STRUCTURE_ROAD, // COLOR_WHITE
6:STRUCTURE_EXTENSION, // COLOR_YELLOW
9:STRUCTURE_SPAWN, // COLOR_GREY
8:STRUCTURE_WALL, // COLOR_BROWN
5:STRUCTURE_RAMPART, // COLOR_GREEN
3:STRUCTURE_STORAGE, // COLOR_BLUE
4:STRUCTURE_TERMINAL, // COLOR_CYAN
2:STRUCTURE_LAB, // COLOR_PURPLE
7:STRUCTURE_EXTRACTOR, // COLOR_ORANGE
}
global.roleColour = {
'guard': '#cc0000',
'miner': '#996600',
'harvester': '#ffff00',
'mharvester': '#f4cb42',
'upgrader': '#009900',
'builder': '#99ccff',
'mover': '#FFFFFF',
'extractor': '#663300',
'supergrader': '#ff6600',
'scout': '#FFFFFF',
'reserve': '#660066',
'remoteminer': '#ff66ff',
'hauler': '#006600',
'janitor': '#006699',
'refill': '#888888',
}