TerminalShell.commands['motd'] = function(terminal) { terminal.print($('
').html('ModDB page')); terminal.print($('
').html('Review from Planet Phillip')); terminal.print($('
').html('Interview')); terminal.print($('
').html('Spotlight at Source Dimensions')); terminal.print($('
').html('Youtube Channel (Walkthrough videos)')); terminal.print(''); }; TerminalShell.commands['news'] = function(terminal) { terminal.print($('
').html('You\'ll need to own Portal and a computer')); terminal.print('capable of running it. If your computer is'); terminal.print('under four years old, you\'re probably OK.'); terminal.print(''); terminal.print($('
').html('Downloads are available from the mod\'s ModDB page')); terminal.print($('
').html('or right here as a 7z or zip archive. The 7z is about')); terminal.print('40mb smaller, but it requires the 7zip archive utility'); terminal.print($('
').html('available for free from 7-zip.org. To install either,')); terminal.print('extract the gamma_energy folder to your sourcemods'); terminal.print('folder, which is typically located in'); terminal.print('C:\\Program Files\\steam\\steamapps on Windows.'); terminal.print('Mac users can also use the mod, but the instructions'); terminal.print('may be a bit more convoluted. I\'ll post details'); terminal.print('and instructions when I\'ve tried them myself.'); terminal.print(''); }; TerminalShell.commands['cake'] = function(terminal){ terminal.print('Unrecognized command. Type "help" for assistance.'); terminal.print(''); }; TerminalShell.commands['license'] = function(terminal) { terminal.print($('
').html('Client-side logic for Wordpress CLI theme :: R. McFarland, 2006, 2007, 2008')); terminal.print($('
').html('jQuery rewrite and overhaul :: Chromakode, 2010')); terminal.print($('
').html('Gamma Energy rewrite :: Spork Interactive and Kayotic Labs, 2010'));
terminal.print();
$.each([
'This program is free software; you can redistribute it and/or',
'modify it under the terms of the GNU General Public License',
'as published by the Free Software Foundation; either version 2',
'of the License, or (at your option) any later version.',
'',
'This program is distributed in the hope that it will be useful,',
'but WITHOUT ANY WARRANTY; without even the implied warranty of',
'MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the',
'GNU General Public License for more details.',
'',
'You should have received a copy of the GNU General Public License',
'along with this program; if not, write to the Free Software',
'Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.'
], function(num, line) {
terminal.print(line);
});
terminal.print('');
};
TerminalShell.commands['legal'] = function(terminal) {
$.each([
'General',
'',
'Gamma Energy is not affiliated with VALVe Software. Portal is a trademark',
'of VALVe Software. This product is not intended to diagnose, treat,',
'cure, or prevent any disease.',
'',
'Privacy Policy',
'',
'We take your privacy seriously. This policy describes what personal',
'information we collect and how we use it.',
'',
'Routine Information Collection',
'',
'All web servers track basic information about their visitors. This',
'information includes, but is not limited to, IP addresses, browser details,',
'timestamps and referring pages. None of this information can personally',
'identify specific visitors to this site. The information is tracked for',
'routine administration and maintenance purposes, and lets me know what',
'pages and information are useful and helpful to visitors.',
'',
'Cookies and Web Beacons',
'',
'Where necessary, this site uses cookies to store information about a',
'visitor\'s preferences and history in order to better serve the visitor',
'and/or present the visitor with customized content. Advertising partners',
'and other third parties may also use cookies, scripts and/or web beacons',
'to track visitors to our site in order to display advertisements and other',
'useful information. Such tracking is done directly by the third parties',
'through their own servers and is subject to their own privacy policies.',
'',
'Controlling Your Privacy',
'',
'Note that you can change your browser settings to disable cookies if you',
'have privacy concerns. Disabling cookies for all sites is not recommended',
'as it may interfere with your use of some sites. The best option is to',
'disable or enable cookies on a per-site basis. Consult your browser',
'documentation for instructions on how to block cookies and other tracking',
'mechanisms.',
'',
// 'Special Note About Google Advertising',
// '',
// 'Any advertisements served by Google, Inc., and affiliated companies may',
// 'be controlled using cookies. These cookies allow Google to display ads',
// 'based on your visits to this site and other sites that use Google',
// 'advertising services. Learn how to opt out of Google\'s cookie usage. As',
// 'mentioned above, any tracking done by Google through cookies and other',
// 'mechanisms is subject to Google\'s own privacy policies. The DoubleClick',
// 'DART cookie is used by Google in the ads served on publisher websites',
// 'displaying AdSense for content ads. When users visit an AdSense publisher\'s',
// 'website and either view or click on an ad, a cookie may be dropped on',
// 'that end user\'s browser. The data gathered from these cookies will be used',
// 'to help AdSense publishers better serve and manage the ads on their site(s)',
// 'and across the web. Users may opt out of the use of the DART cookie by',
// 'visiting the Google ad and content network privacy policy.',
// '',
'Contact Information',
'',
'Concerns or questions about this privacy policy can be directed to',
'gammaenergymod@gmail.com',
'',
'').text('Joseph\'s log:'));
$.each([
'',
'"It has become clear that the Aperture complex will be unusable,',
'as long as GLaDOS is still alive. On one hand, the help of an',
'AI is a huge boost for our research. I doubt we could ever',
'complete the Project before Black Mesa without her. On the',
'other hand, her total lack of morality makes her a monster - a',
'cold, calculating beast. Science is all she knows, and the few',
'of us left are nothing but her lab rats. Her Morality core is',
'flawed; I\'m certain every system put in place can be overridden',
'by pure human rationalization. It\'s only a matter of time. I\'ve',
'managed to escape the facility and have traveled here. This old',
'mine is in what can only be described as the middle of nowhere,',
'and should be suitable for research. I\'ve worked with a team of',
'six programmers on a workaround. We can read her brain and test',
'the device ourselves without her knowledge. If we can keep',
'everyone out of our main facility, we can use her help without',
'her inhumane tendencies."',
'That\'s what I thought, what I planned, and what I dreamed just',
'over three years ago. I was right, of course. I always am.',
'Now, the dream is that much closer to becoming a reality.',
'Construction is almost complete. Mechanical labor is a help,',
'and the lack of laws made it that much easier to expedite. There',
'are no fines where there is no government. We\'re ready to start',
'the servers for the first time. We\'ve nicknamed the project',
'"GLaDOS-b". Our operatives in Black Mesa confirm that they have',
'no knowledge of Aperture Science East, as it\'s come to be known.',
'We also have reason to believe GLaDOS has created a functioning',
'prototype of the Device. This is an exciting day, but not without',
'risk. We all know what happened last time, and we\'re not making',
'that mistake again. I stand by the generator, switch in hand.',
''
], function(num, line) {
terminal.print(line);
});
terminal.print($('
').text('Andrew\'s log:'));
$.each([
'',
'i don\'t have much time. this is for anyor who needs to get out NOW.',
'she\'s taken over. it didnt work and now were all screwed. ive found',
'a truck sitting at loading bay 14. all the vents have ben sealed',
'and the doors r blocked. im turning of the power aftr this by',
'breking the generator. she cant get me this way. if u want to get',
'out, get over here. ill wait 5 hours, then im driving the hell out',
'of here. she\'s clever, sheel find a way to get me if i stay any',
'longer. bay 14 is over by chamber 3 near teh botom of the mountan.',
'stay safe and if i dont make it tell christie i love her.',
''
], function(num, line) {
terminal.print(line);
});
terminal.print($('
').text('Sarah\'s log:'));
$.each([
'',
'DAMN IT. She\'s breached my firewall. So much for being the greatest',
'software engineer at Aperture. I wrote her, and I should be able to',
'destroy her. A code injection didn\'t work the first time, but I',
'suspect she just didn\'t read it. Here goes nothing, I guess. I left',
'this vulnerability in the log system for exactly this reason, and',
'by God do I plan to use it!',
'