feat: voting procedures

This commit is contained in:
Ilia Denisov
2026-01-30 12:18:32 +03:00
parent abf72c16b4
commit 824f6609ab
12 changed files with 581 additions and 18 deletions
+4
View File
@@ -41,6 +41,10 @@ type PlanetReportForeign struct {
PlanetReport
}
func (p Planet) Votes() float64 {
return p.Population / 1000.
}
// Производственный потенциал
func (p Planet) ProductionCapacity() float64 {
return PlanetProduction(p.Industry, p.Population)