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

Devices

Vending Machine Small

PrefabStructureVendingMachineSmall Hash19591354in the hash lookup
Power paintable Game 0.2.6428.27798

Overview

Vending Machine Small (StructureVendingMachineSmall) in Stationeers: device, hash 19591354, 5 W. With build steps, 18 IC10 logic values and connection…

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

IC10 and logic

18 logic values, 17 readable and 6 writable.

  • Power R 1
  • Error R 4
  • Activate RW 9
  • Lock RW 10
  • Ratio R 24
  • Quantity R 27
  • On RW 28
  • RequiredPower R 33
  • RequestHash RW 60
  • ClearMemory W 62
  • ExportCount R 63
  • ImportCount R 64
  • PrefabHash R 84
  • ReferenceId R 217
  • NameHash R 268
  • TargetSlotIndex R 270
  • TargetPrefabHash R 271
  • DispenseSlot RW 357

Values per slot (slot logic)

Slot valuereadable in slotwritable in slotNumber
Occupied0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–1
OccupantHash0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–2
Quantity0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–3
Damage0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–4
Class0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–12
MaxQuantity0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–15
PrefabHash0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–17
SortingClass0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–24
ReferenceId0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–26
FreeSlots0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–31
TotalSlots0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11–32

Example: address by name

Reads Quantity, 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.

# Vending Machine Small address by name
define DEVICE 19591354  # StructureVendingMachineSmall
define NAME HASH("Vending Machine Small")  # name in game (labeller)
define TARGET 1  # On 1 = on
alias value r0

start:
yield
lbn value DEVICE NAME Quantity 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

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

Slots and modes

#SlotTakes
0ImportNone
1ExportNone
2StorageNone
3StorageNone
4StorageNone
5StorageNone
6StorageNone
7StorageNone
8StorageNone
9StorageNone
10StorageNone
11StorageNone

Building and deconstruction

Grid: small grid (0.5 m) · mounting: free in the grid

  1. 1

    Place

    Take back with Hand Drill

  2. 2

    Build stage 2

    Take back with Crowbar

Deconstruction returns

Built with: Kit (Vending Machine)

Raw values from the game code (3)

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

DeviceImportExport.ExportConnectionId1
DeviceImport.ConnectionTypeFlatExhaustive
DeviceImport.ImportConnectionId0

See also

Esc
↑ ↓ selectEnter open/ opens search anywhere