wip: generate rest of report

This commit is contained in:
Ilia Denisov
2026-02-04 13:57:25 +02:00
parent adbe605783
commit abc98ee72f
10 changed files with 521 additions and 155 deletions
+1
View File
@@ -173,6 +173,7 @@ func (c *Cache) ShipClass(ri int, name string) (*game.ShipType, int, bool) {
}
func (c *Cache) ShipType(ri int, ID uuid.UUID) (*game.ShipType, bool) {
// TODO: cache + invalidate
c.validateRaceIndex(ri)
for i := range c.g.Race[ri].ShipTypes {
if c.g.Race[ri].ShipTypes[i].ID == ID {