interface MutateTimeDelta
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 until StartDelay
  • StartDelay - Time in seconds to stay at the InitialValue before changing.
  • RateOfChange - Rate per second to change the value.

Examples

{
  "Mutate": "TimeDelta",
  "InitialValue": 3.1,
  "RateOfChange": 0.0033,
  "StartDelay": 400
}

Properties