From 00669ea907fab8578a833788a1f4c4661fe165d9 Mon Sep 17 00:00:00 2001 From: Robbie Antenesse Date: Fri, 29 Apr 2016 13:41:59 -0600 Subject: [PATCH] Increase minimum storage space. --- prefabs/islandPrefab.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prefabs/islandPrefab.js b/prefabs/islandPrefab.js index a6b2bed..038a8b2 100644 --- a/prefabs/islandPrefab.js +++ b/prefabs/islandPrefab.js @@ -71,10 +71,10 @@ pr_island.GetMapPosition = function () { pr_island.SetUp = function () { for (var i = 0; i < 16; i++) { - this.storageSpace[i] = Math.round(Math.randomRange(10, 25)); + this.storageSpace[i] = Math.round(Math.randomRange(20, 35)); - if (this.storageSpace[i] > 20) { - this.inventory[i] = Math.round(this.storageSpace[i] - Math.randomRange(0, 10)); + if (this.storageSpace[i] > 30) { + this.inventory[i] = Math.round(this.storageSpace[i] - Math.randomRange(0, 30)); } else if (Math.randomRange(0, 100) < 25) { this.inventory[i] = Math.round(Math.randomRange(0, this.storageSpace[i])); }