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

Devices

IC Housing

IC-Gehäuse

PrefabStructureCircuitHousing Hash-128473777in the hash lookup
Power paintable Game 0.2.6428.27798

Overview

IC Housing (StructureCircuitHousing) in Stationeers: device, hash -128473777, 50 W. With build steps, 11 IC10 logic values and connection diagram.

The IC housing is where an Integrated Circuit (IC10) goes. It connects to the network with a data port and has its own power port; base draw is 50 W.

A program reaches devices in two ways: through the six pins d0 to d5, which you assign to a device on the housing, or by name with lbn and sbn – then without a pin limit. Inside the program the housing itself is db.

Its Setting value is readable and writable and appears on the housing’s display. s db Setting r0 is therefore the simplest way to make a reading visible. Mode switches the display between number (0) and text (1). LineNumber shows which line the program is on, Error reports an error.

Before you start: every main loop needs a yield, and the program must never run past its last line. The basics are in IC10: control a device by name, the full course in the IC10 academy.

IC10 and logic

11 logic values, 11 readable and 4 writable.

  • Power R 1
  • Mode RW 3
  • Error R 4
  • Setting RW 12
  • On RW 28
  • RequiredPower R 33
  • PrefabHash R 84
  • LineNumber RW 173
  • ReferenceId R 217
  • NameHash R 268
  • StackSize R 280

Values per slot (slot logic)

Slot valuereadable in slotwritable in slotNumber
Occupied0–1
OccupantHash0–2
Quantity0–3
Damage0–4
Class0–12
MaxQuantity0–15
PrefabHash0–17
LineNumber0–19
SortingClass0–24
ReferenceId0–26
FreeSlots0–31
TotalSlots0–32

Example: address by name

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

# IC Housing address by name
define DEVICE -128473777  # StructureCircuitHousing
define NAME HASH("IC Housing")  # name in game (labeller)
define TARGET 1  # On 1 = on
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 On TARGET  # set value
j start

Connections

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

Slots and modes

#SlotTakes
0ProgrammableChip

Modes: 0 = Number, 1 = String

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 (IC Housing)

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