Browse Source

Minor Cleanup

took a - of a post office, added a comment explaining weights
tags/v1.0.0
jsb5468 6 years ago
parent
commit
f7dfed6103
2 changed files with 2 additions and 7 deletions
  1. +1
    -1
      game.js
  2. +1
    -6
      recursive-macro.js

+ 1
- 1
game.js View File

@@ -1829,7 +1829,7 @@ function getOnePrey(biome, area, sameSize = true)
else else
return new Container(); return new Container();
} }
//set weights(how often a thing is encountered)
function getWeights(region, area) { function getWeights(region, area) {
let weights = {}; let weights = {};




+ 1
- 6
recursive-macro.js View File

@@ -1017,7 +1017,7 @@ function Business(count = 1) {
this.describeOne = function(verbose=true) { this.describeOne = function(verbose=true) {
var size = random_desc(["little","two-story","large","well-built","run-down","cheap","aging","corner"], (verbose ? 0.5 : 0)); var size = random_desc(["little","two-story","large","well-built","run-down","cheap","aging","corner"], (verbose ? 0.5 : 0));
var color = random_desc(["blue","white","gray","tan","green","brick","concrete"], (verbose ? 0.5 : 0)); var color = random_desc(["blue","white","gray","tan","green","brick","concrete"], (verbose ? 0.5 : 0));
var name = random_desc(["mall","resturant","bank","clinic","shop","post-office","tire shop","chain resturant","grocery store","barber shop","pizza resturant","hardware store","movie theather","gas station"], 1);
var name = random_desc(["mall","resturant","bank","clinic","shop","post office","tire shop","chain resturant","grocery store","barber shop","pizza resturant","hardware store","movie theather","gas station"], 1);
return "a " + merge_desc([size,color,name]); return "a " + merge_desc([size,color,name]);
}; };


@@ -1536,8 +1536,3 @@ function Army(count = 1) {
} }
}; };
} }

//"Brigade": 20000,
//"Division": 80000,
//"Tank Division": 100000,
//"Army": 750000,

Loading…
Cancel
Save