Selaa lähdekoodia

Minor Cleanup

took a - of a post office, added a comment explaining weights
tags/v1.0.0
jsb5468 6 vuotta sitten
vanhempi
commit
f7dfed6103
2 muutettua tiedostoa jossa 2 lisäystä ja 7 poistoa
  1. +1
    -1
      game.js
  2. +1
    -6
      recursive-macro.js

+ 1
- 1
game.js Näytä tiedosto

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



+ 1
- 6
recursive-macro.js Näytä tiedosto

@@ -1017,7 +1017,7 @@ function Business(count = 1) {
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 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]);
};

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

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

Loading…
Peruuta
Tallenna