subchannel13 / Stareater

4X turn based strategy
GNU General Public License v3.0
32 stars 7 forks source link

Refit cost #87

Closed subchannel13 closed 7 years ago

subchannel13 commented 7 years ago

At the moment refit cost uses mock value, a full cost of final design. Instead the cost should factor in equipment difference and decrease as designs are more similar.

Instead of calculating refit costs on demand, values could precalculated and stored in player derivate values DB. Whenever player's design list changes (new design made or technology advance makes upgrade possible) refit costs between new design and all possible old designs get calculated and stored. This values can be reused and presented to player when selecting refit a design.