rnd: ship production numbers
This commit is contained in:
committed by
Ilia Denisov
parent
fef1be577d
commit
9088cc77c9
@@ -539,7 +539,7 @@ func (c *Cache) ReportShipProduction(ri int, rep *mr.Report) {
|
||||
free := c.PlanetProductionCapacity(p.Number)
|
||||
rep.ShipProduction[pi].Planet = p.Number
|
||||
rep.ShipProduction[pi].Class = st.Name
|
||||
rep.ShipProduction[pi].Cost = mr.F(st.EmptyMass())
|
||||
rep.ShipProduction[pi].Cost = mr.F(ShipProductionCost(st.EmptyMass()))
|
||||
rep.ShipProduction[pi].Free = mr.F(free)
|
||||
|
||||
// FIXME: take logic from [ProduceShip] and test at [controller_test.TestProduceShip]
|
||||
|
||||
Reference in New Issue
Block a user