forked from NeuralMMO/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsts.js
63 lines (53 loc) · 1.13 KB
/
consts.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
const tick = 0.6;
const nAnim = 16;
const worldWidth = 64, worldDepth = 64;
const worldHalfWidth = worldWidth / 2;
const worldHalfDepth = worldDepth / 2;
const sz = 64;
const tileSz = 64;
const nTiles = 80;
const taiyaki_sky = 0x4477aa;
const seal_sky = 0x003333;
const modes = { ADMIN: 0, PLAYER: 1, SPECTATOR: 2};
const views = { CLIENT: 0, COUNTS: 1, VALUES: 2 };
const tiles = {
0: "lava",
1: "water",
2: "grass",
3: "scrub",
4: "forest",
5: "stone",
6: "orerock",
}
const Neon = {
'RED': '#ff0000',
'ORANGE': '#ff8000',
'YELLOW': '#ffff00',
'GREEN': '#00ff00',
'MINT': '#00ff80',
'CYAN': '#00ffff',
'BLUE': '#0000ff',
'PURPLE': '#8000ff',
'MAGENTA': '#ff00ff',
'FUCHSIA': '#ff0080',
'SPRING': '#80ff80',
'SKY': '#0080ff',
'WHITE': '#ffffff',
'GRAY': '#666666',
'BLACK': '#000000',
'BLOOD': '#bb0000',
'BROWN': '#7a3402',
'GOLD': '#eec600',
'SILVER': '#b8b8b8',
'TERM': '#41ff00',
'MASK': '#d67fff'
}
const tileHeights = {
0: 1,
1: 0,
2: 1,
3: 1,
4: 1,
5: 2,
6: 1
}