calculateValue
Calculates the current value of this dust token at a specific time.
Algorithm:
Generation Phase (creation → full capacity):
Value increases linearly:
rate × time_elapsed + initial_valueRate:
backing_night_value × generation_decay_rateCap:
backing_night_value × night_dust_ratioFull Phase (full capacity → backing night destroyed):
Value stays constant at cap
Decay Phase (backing night destroyed → empty):
Value decreases linearly:
cap - (rate × time_since_destroyed)Falls to zero
Empty Phase: Value stays at zero
Note: The full time-phase calculation is not yet implemented; this currently returns the initial value. Full evaluation requires the dust generation info, the backing Night value, and its destruction time.
Return
Current dust value in Specks
Parameters
Current time in milliseconds
Dust generation parameters