Skip to content

Commit

Permalink
Add time travel jokes.
Browse files Browse the repository at this point in the history
  • Loading branch information
chromakode committed Apr 1, 2010
1 parent 051964b commit 5060f37
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xkcd_cli.js
Expand Up @@ -518,6 +518,7 @@ TerminalShell.fallback = function(terminal, cmd) {
'kill': 'Terminator deployed to 1984',
'use the force luke': 'I believe you mean source.',
'use the source luke': 'I\'m not luke, you\'re luke!',
'enable time travel': 'TARDIS error: Time Lord missing.',
'ed': 'You are not a diety.'
};
oneliners['emacs'] = 'You should really use vim.';
Expand Down Expand Up @@ -547,6 +548,8 @@ TerminalShell.fallback = function(terminal, cmd) {
terminal.print($('<iframe width="800" height="600" src="http://www.robotfindskitten.net/rfk.swf"></iframe>'));
} else if (cmd == 'buy stuff') {
Filesystem['store'].enter();
} else if (cmd == 'time travel') {
xkcdDisplay(terminal, 630);
} else if (/:\(\)\s*{\s*:\s*\|\s*:\s*&\s*}\s*;\s*:/.test(cmd)) {
Terminal.setWorking(true);
} else {
Expand Down

0 comments on commit 5060f37

Please sign in to comment.