Create new branch. Goals: Make rocks size patches and frequency configruable. Optional but highly desired: Make rocks denser/more frequent the higher the altitude (make that an optional bool?)

Also the number display is screwed in the settings gui. Same problem as my other patch. Need to compare it to what I did for the other var I did recently (tiles width around rivers to make desert go away) and fix this. This will do to start with.
This commit is contained in:
reldred
2021-03-24 17:46:09 +10:30
parent 0e7e8d2ded
commit 7c6d73abfa
5 changed files with 17 additions and 1 deletions

View File

@@ -365,7 +365,7 @@ void GenerateClearTile()
IncreaseGeneratingWorldProgress(GWP_ROUGH_ROCKY);
if (IsTileType(tile, MP_CLEAR) && !IsClearGround(tile, CLEAR_DESERT)) {
uint j = GB(r, 16, 4) + 5;
uint j = GB(r, 16, 4) + _settings_game.game_creation.amount_of_rocks;
for (;;) {
TileIndex tile_new;