diff -ruN orig/app.css new/app.css --- orig/app.css +++ new/app.css @@ -1,4 +1,9 @@ -@import url(http://fonts.googleapis.com/css?family=Inconsolata|Droid+Sans+Mono); +@font-face { + font-family: inconsolata; + font-weight: 200 900; + font-stretch: 50% 200%; + src: url(fonts/Inconsolata.ttf) format("truetype"); +} .level { position: absolute; transition: left 500ms, top 500ms, opacity 1s; @@ -19,7 +24,7 @@ margin-top: 2em; } .level .minimap { - font-family: droid sans mono, monospace; + font-family: inconsolata, monospace; position: fixed; right: 0.5em; top: 0.5em; @@ -110,7 +115,7 @@ width: 27ch; } .entity { - font-family: droid sans mono, monospace; + font-family: inconsolata, monospace; text-align: center; padding-top: 2rem; } diff -ruN orig/app.js new/app.js --- orig/app.js +++ new/app.js @@ -1889,12 +1889,10 @@ var depth = this._level.getDepth(); var gold = pc.getStats().gold; - var url = encodeURIComponent(location.href); - var status = encodeURIComponent("I got to level " + depth + " at Warden's Duty, collecting " + gold + " gold pieces! " + location.href); var node = this._dom.outro; node.id = "outro"; - node.innerHTML = "
You are unable to continue your duty. All the vicious\n\t\t\tcritters locked inside cells are too hard to defeat \n\t\t\tand the game is over.
\n\n\t\t\tOn the other hand, you did a fine job cleaning the \n\t\t\tprison up. Many cells are now free and you managed to descend\n\t\t\tto level " + depth + ". You also gathered \n\t\t\t" + gold + " gold pieces. \n\t\t\tClick the icons below to share your score!
\n\t\t\t\n\t\t\t\n\t\t\t\tt\n\t\t\t\tPress Enter to play again! (You will make it further this time...)
\n\t\t"; + node.innerHTML = "You are unable to continue your duty. All the vicious\n\t\t\tcritters locked inside cells are too hard to defeat \n\t\t\tand the game is over.
\n\n\t\t\tOn the other hand, you did a fine job cleaning the \n\t\t\tprison up. Many cells are now free and you managed to descend\n\t\t\tto level " + depth + ". You also gathered \n\t\t\t" + gold + " gold pieces. \n\t\t\t
\n\n\t\t\tPress Enter to play again! (You will make it further this time...)
\n\t\t"; document.body.insertBefore(node, document.body.firstChild); }, @@ -1941,7 +1939,7 @@ var node = this._dom.intro; node.id = "intro"; - node.innerHTML = "The game you are about to play is a 7DRL. It was created \n\t\t\tin a limited time, might exhibit strange bugs and some \n\t\t\tsay it contains roguelike (‽) elements. \n\t\t\tYou will encounter goblins, rats, dragons, pangolins and \n\t\t\tmaybe even a lutefisk.\n\t\t\tBe prepared.
\n\t\t\t\n\t\t\tWarden's Duty was created by \n\t\t\tOndřej Žára and the \n\t\t\tcomplete source code is available on\n\t\t\tGitHub.\n\t\t\tIf you find the game's layout broken, try adjusting your window\n\t\t\tto be more widescreen, i.e. considerably wider than it is tall.
\n\t\t\t\n\t\t\tTo start the game, please press Enter.
\n\t\t"; + node.innerHTML = "The game you are about to play is a 7DRL. It was created \n\t\t\tin a limited time, might exhibit strange bugs and some \n\t\t\tsay it contains roguelike (‽) elements. \n\t\t\tYou will encounter goblins, rats, dragons, pangolins and \n\t\t\tmaybe even a lutefisk.\n\t\t\tBe prepared.
\n\t\t\t\n\t\t\tWarden's Duty was created by \n\t\t\tOndřej Žára and the \n\t\t\tsource code is open (ISC licence).\n\t\t\tIf you find the game's layout broken, try adjusting your window\n\t\t\tto be more widescreen, i.e. considerably wider than it is tall.
\n\t\t\t\n\t\t\tTo start the game, please press Enter.
\n\t\t"; document.body.appendChild(node); window.addEventListener("keydown", this);