Skip to content

Commit

Permalink
Add boulder field to high reclaim style
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYps committed Jun 2, 2024
1 parent ed85bad commit 9b29a78
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.faforever.neroxis.generator.WeightedOption;
import com.faforever.neroxis.generator.WeightedOptionsWithFallback;
import com.faforever.neroxis.generator.prop.BoulderFieldPropGenerator;
import com.faforever.neroxis.generator.prop.HighReclaimPropGenerator;
import com.faforever.neroxis.generator.prop.PropGenerator;
import com.faforever.neroxis.generator.terrain.BasicTerrainGenerator;
Expand Down Expand Up @@ -30,7 +31,9 @@ protected WeightedOptionsWithFallback<TerrainGenerator> getTerrainGeneratorOptio

@Override
protected WeightedOptionsWithFallback<PropGenerator> getPropGeneratorOptions() {
return WeightedOptionsWithFallback.of(new HighReclaimPropGenerator());
return WeightedOptionsWithFallback.of(new HighReclaimPropGenerator(),
new WeightedOption<>(new HighReclaimPropGenerator(), 1f),
new WeightedOption<>(new BoulderFieldPropGenerator(), 1f));
}

@Override
Expand Down

0 comments on commit 9b29a78

Please sign in to comment.