Scrap Mechanic Wiki
(Written.)
 
(Undo revision 12382 by 88.120.128.100 (talk) It's length-width-height, so the dimensions are correct when the part is standing upright)
Tag: Undo
(16 intermediate revisions by 10 users not shown)
Line 1: Line 1:
  +
{{Infobox gear
The timer is a 2-tall block that can have a specific time range. When activated, this will count down. When the timer counts down to 0, the timer will activate it's output.
 
  +
|image = Timer.png
  +
|category = Parts
  +
|weight = 3
  +
|durability = 3
  +
|friction = 5
  +
|buoyancy = 4
  +
|flammable = no
  +
}}
  +
'''Timer''' is part of the Program Node family in ''Scrap Mechanic.''
  +
  +
== Overview ==
  +
[[File:Timer States.png|center|frameless]]
  +
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 [[wikipedia:Hourglass|Hourglass]].
  +
  +
== Sizing ==
  +
The Timer is a 1x1x2 block.
  +
  +
== Usage ==
  +
[[File:Timer UI.png|right|frameless|175x175px]]
  +
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 [https://github.com/SteveBenz/ScrapMechanicLogicGateSimulator Scrap Mechanic Logic Gate Simulator].
  +
  +
== Crafting ==
  +
{{Crafting
  +
|in=Metal Block 1/2;Circuit Board/2;Glue/1
  +
|time=45
  +
|station=craftbot
  +
}}
  +
  +
== Save/Load Behavior ==
  +
Unlike [[Switch|switches]] and [[Logic Gate|logic gates]], timer state is recorded when the creation it is a part of is unloaded and restored when it is rebuilt.
  +
  +
== History ==
  +
  +
=== Beta ===
  +
* [[Beta|0.1.31]]
  +
** Added Timer.
  +
  +
[[Category:Interactive Parts]]

Revision as of 16:04, 25 February 2021

Timer
Timer
Overview
CategoryParts
Weight
Durability
Friction
Buoyancy
FlammableNo

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

Overview

Timer States

A Timer is used to delay a signal from an input. This input can be a ButtonSwitch, 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

Timer UI

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.

Crafting

MetalBlock1 CircuitBoard Glue
2 2 1
Arrowdown
00:45
00:24 (Level 5)
Craftbot
Arrowdown
Timer
1


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.

History

Beta