-
Notifications
You must be signed in to change notification settings - Fork 0
/
lcars_log.js
51 lines (42 loc) · 2.34 KB
/
lcars_log.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
(function(){
'use strict';
var starbase_int = Math.floor(Math.random()*900) + 100;
var lcars_log = [
'STARFLEET COMMAND PRIORITY 1 MESSAGE:',
'SPECIAL MESSAGE FROM STARBASE ' + starbase_int + ':',
'ALERT FORM CHIEF ENGINEER:',
'ERROR IN ISOLINEAR CHIPS:',
'HEISENBERG COMPENSATOR STATUS:',
'WARP CORE INTERMIX STATUS:',
'DILITHIUM MATRIX ALERT:'
];
var ufp_emblem =
' ______________________________________ _________ ' + '\n' +
' / _______________________________| SYSTEM MESSAGE |_________) ' + '\n' +
'| | ' + '\n' +
'| | ' + '\n' +
'| | ' + '\n' +
'| | ______ ' + '\n' +
'|_______| _-` . .`-_ ' + '\n' +
' _______ |/ / .. . ` .\\ \\| ' + '\n' +
'| | |/ / ..\\ \\| ' + '\n' +
'|_______| \\|/ |: . ._|_ .. . | \\|/ ' + '\n' +
' _______ \\/ | _|_ .| . .: | \\/ ' + '\n' +
'| | \\ / |. | . . .| \\ / ' + '\n' +
'| | \\||| . . . _|_ .|||/ ' + '\n' +
'| | \\__| \\ . :. .|. ./ |__/ ' + '\n' +
'| | __| \\_ . .. _/ |__ ' + '\n' +
'| | __| `-______-` |__ ' + '\n' +
'| | -,____ ____,- ' + '\n' +
'| | ---` `--- ' + '\n' +
'| | UNITED FEDERATION OF PLANETS ' + '\n' +
'| | ' + '\n' +
'| | ' + lcars_log[ Math.floor(Math.random() * lcars_log.length) ] + '\n' +
'|_______| ';
console.lcars = function(){
Array.prototype.unshift.call(
arguments, ufp_emblem );
console.log.apply( console, arguments );
};
})
();