Increase minimum storage space.

This commit is contained in:
Robbie Antenesse 2016-04-29 13:41:59 -06:00
parent 17227e054a
commit 00669ea907
1 changed files with 3 additions and 3 deletions

View File

@ -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]));
}