import { type MutateTimeDelta } from ".";
Change a value over time. Time matches the mission clock in the escape menu in-game, including starting before players receive control of their dwarves.
The value is determined by InitialValue + RateOfChange * Max(0, Time - StartDelay)
Parameters
InitialValue
- Value at time 0 and up untilStartDelay
StartDelay
- Time in seconds to stay at theInitialValue
before changing.RateOfChange
- Rate per second to change the value.