aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-01-26 00:18:14 +0100
committerPacien TRAN-GIRARD2015-01-26 00:18:14 +0100
commitdcd3a89153ea747e1ce8569bbc95a43010faad2e (patch)
treefe6822017d9daebf5a08f89b7370173e5d70c2d2
parent23e3828213facfd4dbb2f977e2e5636afacb3bd7 (diff)
downloadminibay-dcd3a89153ea747e1ce8569bbc95a43010faad2e.tar.gz
Improve konami
-rw-r--r--public/javascripts/cheat.js4
-rw-r--r--public/medias/sims2-university-theme.oggbin3328802 -> 1215966 bytes
2 files changed, 4 insertions, 0 deletions
diff --git a/public/javascripts/cheat.js b/public/javascripts/cheat.js
index 863e53a..242dd79 100644
--- a/public/javascripts/cheat.js
+++ b/public/javascripts/cheat.js
@@ -10,6 +10,10 @@ new Konami(function () {
10 // play nice soundtrack 10 // play nice soundtrack
11 (new Audio('/assets/medias/sims2-university-theme.ogg')).play(); 11 (new Audio('/assets/medias/sims2-university-theme.ogg')).play();
12 12
13 // substitute currency symbols with §
14 var currencySymbols = /[\$\xA2-\xA5\u058F\u060B\u09F2\u09F3\u09FB\u0AF1\u0BF9\u0E3F\u17DB\u20A0-\u20BD\uA838\uFDFC\uFE69\uFF04\uFFE0\uFFE1\uFFE5\uFFE6]/;
15 document.body.innerHTML = document.body.innerHTML.replace(currencySymbols, "§");
16
13 // display cheat console 17 // display cheat console
14 var form = document.createElement('form'); 18 var form = document.createElement('form');
15 form.classList.add('cheat-form'); 19 form.classList.add('cheat-form');
diff --git a/public/medias/sims2-university-theme.ogg b/public/medias/sims2-university-theme.ogg
index e40d518..2f20733 100644
--- a/public/medias/sims2-university-theme.ogg
+++ b/public/medias/sims2-university-theme.ogg
Binary files differ