diff --git a/.gitignore b/.gitignore index bc4a396..42cb856 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ *.TODO *.mo *.swp +.idea diff --git a/.project b/.project deleted file mode 100644 index 4860616..0000000 --- a/.project +++ /dev/null @@ -1,17 +0,0 @@ - - - A Dark Room - - - - - - org.eclipse.wst.jsdt.core.javascriptValidator - - - - - - org.eclipse.wst.jsdt.core.jsNature - - diff --git a/mobileWarning.html b/mobileWarning.html index 1ed299f..b647610 100644 --- a/mobileWarning.html +++ b/mobileWarning.html @@ -1,35 +1,58 @@ + A Dark Room -
- -
- - A Dark Room isn't really mobile-friendly, and it requires arrow keys.
- Sorry about that!
-

- Of course you can play anyway, but it probably won't work!

- A Dark Room is now native on iOS! Get it on the App Store. - You can also download it on Android! Get it from the Play Store -
-
+ +

+ A Dark Room isn't mobile-friendly, and it requires arrow keys. +
+ Sorry about that! +

+

+ There are native apps, though! Get them now! +

+ + App Store + + + Google Play + + diff --git a/script/events/outside.js b/script/events/outside.js index d54a1c4..71d7790 100644 --- a/script/events/outside.js +++ b/script/events/outside.js @@ -68,7 +68,7 @@ Events.Outside = [ { /* Hut fire */ title: _('Fire'), isAvailable: function() { - return Engine.activeModule == Outside && $SM.get('game.buildings["hut"]', true) > 0 && $SM.get('game.population', true) > 5; + return Engine.activeModule == Outside && $SM.get('game.buildings["hut"]', true) > 0 && $SM.get('game.population', true) > 50; }, scenes: { 'start': { diff --git a/script/space.js b/script/space.js index c12ef0d..8cdd178 100644 --- a/script/space.js +++ b/script/space.js @@ -445,12 +445,31 @@ var Space = { .animate({opacity:1},1500); $('
') .appendTo('.centerCont'); + $('
') + .appendTo('.centerCont'); + $('') + .addClass('endGame') + .text(_('expanded story. alternate ending. behind the scenes commentary. get the app.')) + .appendTo('.centerCont') + .animate({opacity:1}, 1500); + $('
') + .appendTo('.centerCont'); + $('
') + .appendTo('.centerCont'); $('') .addClass('endGame endGameOption') - .text(_('app store.')) + .text(_('iOS.')) .click(function() { window.open('https://itunes.apple.com/app/apple-store/id736683061?pt=2073437&ct=gameover&mt=8'); }) .appendTo('.centerCont') .animate({opacity:1},1500); + $('
') + .appendTo('.centerCont'); + $('') + .addClass('endGame endGameOption') + .text(_('android.')) + .click(function() { window.open('https://play.google.com/store/apps/details?id=com.yourcompany.adarkroom'); }) + .appendTo('.centerCont') + .animate({opacity:1},1500); Engine.options = {}; Engine.deleteSave(true); }