Increase spawn rate of rare shapes

This commit is contained in:
tobspr 2020-05-11 23:42:10 +02:00
parent 21382a6f2e
commit da64a46ad8
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ export const globalConfig = {
undergroundBeltMaxTiles: 5,
buildingSpeeds: {
cutter: 1 / 2,
cutter: 1 / 4,
rotater: 1 / 1,
painter: 1 / 3,
mixer: 1 / 2,

View File

@ -162,8 +162,8 @@ export class MapChunk {
weights = {
[enumSubShape.rect]: 100,
[enumSubShape.circle]: Math_round(50 + clamp(distanceToOriginInChunks * 2, 0, 50)),
[enumSubShape.star]: Math_round(5 + clamp(distanceToOriginInChunks, 0, 30)),
[enumSubShape.windmill]: Math_round(3 + clamp(distanceToOriginInChunks / 2, 0, 20)),
[enumSubShape.star]: Math_round(9 + clamp(distanceToOriginInChunks, 0, 30)),
[enumSubShape.windmill]: Math_round(6 + clamp(distanceToOriginInChunks / 2, 0, 20)),
};
if (distanceToOriginInChunks < 5) {