Increase spawn rate of rare shapes

pull/33/head
tobspr 4 years ago
parent 21382a6f2e
commit da64a46ad8

@ -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,

@ -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) {

Loading…
Cancel
Save