More hyperparameters!

This commit is contained in:
MaxRobinsonTheGreat
2020-07-20 14:03:16 -06:00
parent 3e137499f7
commit c94e137ae4
8 changed files with 369 additions and 35 deletions

View File

@@ -58,7 +58,7 @@ function eatNeighborFood(self, n_cell, env){
}
function growFood(self, env){
if (self.owner.is_mover)
if (self.owner.is_mover && !Hyperparams.moversCanProduce)
return;
var prob = Hyperparams.foodProdProb;
if (Math.random() * 100 <= prob){