Timer

Timer is part of the Program Node family in Scrap Mechanic.

Overview
A Timer is used to delay a signal from an input. This input can be a Button, Switch, Sensor, Logic Gate, or another Timer. When a Timer receives an ON signal, it delays the signal before outputting it. The signal passing through the Timer is visually indicated on all four sides, resembling a progress bar. The design is reminiscent of an Hourglass.

Sizing
The Timer is a 1x1x2 block.

Usage
A Timer can only have one input at a time and multiple outputs. The UI, accessed by looking at the block and pressing E (default), allows the player to edit the Timer's delay. The left bar sets the delay in forty-tick intervals (1 second). The right bar sets the delay in one-tick intervals (0.025 seconds). The scale maximizes at two-thousand four hundred ticks (60 seconds).

The connection path is critical on these blocks. Make sure to connect inputs to the timer and connect outputs from the timer to other connection points.

Advance Use

 * Timers can be useful in the creation of advanced logic circuits.
 * A Timer can carry multiple signals (patterns of ON/OFF signals).
 * A Timer can function as a "repeater" for Logic Gates.
 * The Timer has an output delay of one tick (0.025 seconds). This delay is in addition to the delay set in the Timer's UI.
 * If you are planning a really complicated build, you might want to use the Scrap Mechanic Logic Gate Simulator.

Save/Load Behavior
Unlike switches and logic gates, timer state is recorded when the creation it is a part of is unloaded and restored when it is rebuilt.

Beta

 * 0.1.31
 * Added Timer.