Spawn rover parts a little more frequently
This commit is contained in:
parent
018c122861
commit
636f0ed773
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ func (g *NoiseWorldGen) GetObject(v maths.Vector) (obj Object) {
|
||||||
// Otherwise, try some rover parts
|
// Otherwise, try some rover parts
|
||||||
p := g.noise.Eval2(float64(v.X)/partsNoiseScale, float64(v.Y)/partsNoiseScale)
|
p := g.noise.Eval2(float64(v.X)/partsNoiseScale, float64(v.Y)/partsNoiseScale)
|
||||||
switch {
|
switch {
|
||||||
case p > 0.8:
|
case p > 0.7:
|
||||||
obj.Type = roveapi.Object_RoverParts
|
obj.Type = roveapi.Object_RoverParts
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue