-
+
+ A Dark Room isn't mobile-friendly, and it requires arrow keys.
+
+ Sorry about that!
+
+ There are native apps, though! Get them now! +
+ +
+
+
+
+
+
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/path.js b/script/path.js
index e4ad87c..9aa7a8e 100644
--- a/script/path.js
+++ b/script/path.js
@@ -175,11 +175,13 @@ var Path = {
for(var k in carryable) {
var lk = _(k);
var store = carryable[k];
- var have = $SM.get('stores["'+k+'"]', true);
+ var have = $SM.get('stores["'+k+'"]');
var num = Path.outfit[k];
num = typeof num == 'number' ? num : 0;
- if (have < num) { num = have; }
- $SM.set('outfit["'+k+'"]', num, true);
+ if (have !== undefined) {
+ if (have < num) { num = have; }
+ $SM.set(k, num, true);
+ }
var row = $('div#outfit_row_' + k.replace(' ', '-'), outfit);
if((store.type == 'tool' || store.type == 'weapon') && have > 0) {
diff --git a/script/room.js b/script/room.js
index fa5aa91..7705994 100644
--- a/script/room.js
+++ b/script/room.js
@@ -893,7 +893,8 @@ var Room = {
$('div.storeRow', stores).each(function(index, el) {
el = $(el);
$('div.tooltip', el).remove();
- var tt = $('