cmd: create ship type

This commit is contained in:
Ilia Denisov
2025-09-30 23:40:50 +03:00
parent c6ccc2df9f
commit 6f29288096
8 changed files with 280 additions and 10 deletions
+4 -4
View File
@@ -9,11 +9,11 @@ import (
type ShipTypeReport struct {
Name string `json:"name"`
Drive float64 `json:"drive"` // [0], [1...]
Drive float64 `json:"drive"`
Armament uint `json:"armament"`
Weapons float64 `json:"weapons"` // [0], [1...]
Shields float64 `json:"shields"` // [0], [1...]
Cargo float64 `json:"cargo"` // [0], [1...]
Weapons float64 `json:"weapons"`
Shields float64 `json:"shields"`
Cargo float64 `json:"cargo"`
}
type ShipType struct {