chore: planets min resource

This commit is contained in:
IliaDenisov
2026-02-13 16:21:15 +03:00
parent 41cadbebee
commit 96a47f5934
+3 -3
View File
@@ -46,7 +46,7 @@ type PlanetSetting struct {
MinDistanceHW uint32
MinSize float64
MaxSize float64
MinResource float64
MinResource float64 // Rules: [0.1, 20]
MaxResource float64
Ratio float64 // The proportion of the total number of free planets in the galaxy
}
@@ -71,7 +71,7 @@ func DefaultMapSetting() MapSetting {
MinDistanceHW: 20,
MinSize: 1500,
MaxSize: 2500,
MinResource: 0,
MinResource: 0.1,
MaxResource: 3,
Ratio: 0.06,
},
@@ -88,7 +88,7 @@ func DefaultMapSetting() MapSetting {
MinDistanceHW: 0,
MinSize: 0,
MaxSize: 1000,
MinResource: 0,
MinResource: 0.1,
MaxResource: 10,
Ratio: 0.5,
},