rnd: ship production numbers

This commit is contained in:
Ilia Denisov
2026-02-05 15:50:40 +02:00
committed by Ilia Denisov
parent fef1be577d
commit 9088cc77c9
4 changed files with 191 additions and 39 deletions
+1
View File
@@ -24,6 +24,7 @@ type Production struct {
Type ProductionType `json:"type"`
SubjectID *uuid.UUID `json:"subjectId"` // TODO: get rid of Nils?
Progress *Float `json:"progress"`
FreeProd *Float // TODO: rename, store
}
func (p ProductionType) AsType(subject uuid.UUID) Production {