Browse Source

Add trains/trams/large skyscrapers to the city

master
Fen Dweller 3 years ago
parent
commit
16ffd15d2d
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      game.js

+ 6
- 0
game.js View File

@@ -1806,8 +1806,11 @@ const biomeEnum = {
"Car": 0.07, "Car": 0.07,
"Bus": 0.02, "Bus": 0.02,
"Business": 0.075, "Business": 0.075,
"Train": 0.005,
"Tram": 0.01,
"Parking Garage": 0.003, "Parking Garage": 0.003,
"Small Skyscraper": 0.05, "Small Skyscraper": 0.05,
"Large Skyscraper": 0.05,
"City": 0.00005 "City": 0.00005
} }
}, },
@@ -2148,9 +2151,12 @@ function getWeights(region, area) {
"House": 0.1, "House": 0.1,
"Car": 0.07, "Car": 0.07,
"Bus": 0.02, "Bus": 0.02,
"Tram": 0.02,
"Train": 0.005,
"Business": 0.075, "Business": 0.075,
"Parking Garage": 0.003, "Parking Garage": 0.003,
"Small Skyscraper": 0.05, "Small Skyscraper": 0.05,
"Large Skyscraper": 0.025,
"Town": 0.00001, "Town": 0.00001,
"City": 0.00005, "City": 0.00005,
"Continent": 0.0005, "Continent": 0.0005,


Loading…
Cancel
Save