boformer / BuildingThemes

Mod for Cities:Skylines
http://steamcommunity.com/sharedfiles/filedetails/?id=466158459
MIT License
13 stars 11 forks source link

Adjustable spawn rate? #3

Closed boformer closed 9 years ago

boformer commented 9 years ago

It would be easy to add an adjustable spawn rate. What do you think?

bloodypenguin commented 9 years ago

Haven't investigated that yet.

boformer commented 9 years ago

There is one fastlist for every "area index" (a unique number that contains the width, depth, level, zone type ...).

The fastlist contains prefab ids. One of it is randomly selected by the getRandomBuildingInfo method.

If we include a certain prefab id 5 times (other ids only one time), the spawn chance will be higher.

By default we could add every prefab id 10 times. The player can change it to a higher or lower value.