stationeers.de Mod workshop · Dominik1199
DE Sign in
  1. Home
  2. Stationeers wiki
  3. Devices
  4. Switch

Devices

Switch

Schalter

PrefabStructureLogicSwitch2 Hash321604921in the hash lookup
Power paintable Game 0.2.6428.27798

Overview

Switch (StructureLogicSwitch2) in Stationeers: device, hash 321604921. With build steps, 6 IC10 logic values and connection diagram.

There is no written explanation for this entry yet. All values below come straight from the game.

IC10 and logic

6 logic values, 6 readable and 2 writable.

  • Open RW 2
  • Lock RW 10
  • Setting R 12
  • PrefabHash R 84
  • ReferenceId R 217
  • NameHash R 268

Example: address by name

Reads Setting, shows the value on the IC housing and writes Open. Name the device with the labeller first; devices with the same name are addressed together.

# Switch address by name
define DEVICE 321604921  # StructureLogicSwitch2
define NAME HASH("Switch")  # name in game (labeller)
define TARGET 1  # Open 1 = open
alias value r0

start:
yield
lbn value DEVICE NAME Setting 0  # 0 = average of all with this name
bnan value start  # no device with this name
s db Setting value  # show on the housing
sbn DEVICE NAME Open TARGET  # set value
j start

Connections

12
Schematic: inputs left, outputs right, waste on top, power and data at the bottom. Position and spacing do not match the model.
  1. 1Data
  2. 2Data

Building and deconstruction

Grid: small grid (0.5 m) · mounting: on wall or floor

  1. 1

    Place

    Take back with Hand Drill

Total material

Deconstruction returns

Built with: Kit (Logic Switch)

Material, fire and recycling

Flammable according to game data: flash point 373.2 K (100 °C); Autoignition 573.2 K (300 °C); burn time 5 s

Raw values from the game code (3)

Field names as in the game code, untranslated. Useful for mods and exact limits.

LogicUnitBase.ConnectionTypeFlatExhaustive
LogicUnitBase.Input1Index0
LogicUnitBase.OutputIndex1

See also

Esc
↑ ↓ selectEnter open/ opens search anywhere