Actions

Difference between revisions of "Stacker"

From Unofficial Stationeers Wiki

(mention slots)
(ugh, scrolled past where slots are already covered)
Line 138: Line 138:
 
|-
 
|-
 
|}
 
|}
 
The stacker has 3 slots that can be read by MIPS programs.  Slot 0 is the loading slot.  Slot 1 is the output slot, and Slot 2 is the internal buffer/storage.  Unless something gets clogged, slots 0 and 1 will have Quantity=0 for all but the moment an item passes through them either into the internal buffer, or the chute network or room.
 

Revision as of 10:06, 19 December 2021


Kit (Stacker)
ItemKitStacker.png
Recipe
Created With Autolathe, Fabricator
Cost 10g Iron, 2g Copper


Description

The kit has 3 variations : 2 are the Stacker, with the power/data port on one side or the other. The last variant is the Unloader

Stacker

Stacker
Operation
Power Usage 50W
Construction
Placed with Kit (Stacker)
Placed on Small Grid
Slots
Slot 0 Import
Slot 1 Export
Slot 2 Inside Machine
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Stacker)


Used to stack items in a chosen quantity. The stacker holds back the input until the configured quantity can be stacked _or_ until the input item type changes. If the input is bigger than the chosen quantity, the stacker (despite it's name) splits it.

Data Network Properties

These are all Data Network properties of this device.

Data Parameters

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).


Parameter Name Data Type Description
Mode Integer 0 = Automatic stacking and export,
1 = Stack and hold until Activate = 1
Activate Boolean If set to 1, the Stacker will clear its content via its Export Slot
Lock Boolean
Setting Integer Default is 1. Sets the Stack Size (won't actually stack to that size if item's max stack size is smaller)
On Boolean
ClearMemory Integer? Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
Output Integer Value of 0 for Mode 0. Mode 1 sets this to -1 as default.
A value of -1 seems to mean hold export.

Data Outputs

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
Mode Boolean
Lock Boolean
ImportCount Integer Incremented each time an item stack enter by the Import slot
ExportCount Integer Incremented each time an item stack exit by the Export Slot
Error Boolean
Activate Boolean 1 if empty, 0 if something is inside the Stacker. When set to 0 The player can use the lever to clear the Stacker
Setting Integer Default is 1. Shows the Stack Size this Stacker is set to.
RequiredPower Integer In watts. The Stacker require 5W to operate.
PrefabHash Float Hash ID of the Stacker.
Power Boolean
Output Integer Value of 0 in Mode 0. Mode 1 sets this to -1.
On Boolean

Notes

The stacker can only stack things up to the stacking limit of the given item:

  • Ingots can be stacked up to 500.
  • Ore will not stack over 50.

Unloader

Unloader
Operation
Power Usage 50W
Construction
Placed with Kit (Stacker)
Placed on Small Grid
Stage 1
Deconstruction
Deconstructed with Hand Drill
Item received Kit (Stacker)


The unloader variant will empty the content of a belt/container. It will output everything that is inside, followed by belt/container itself.

Data Network Properties

These are all Data Network properties of this device.

Data Parameters

These are all parameters that can be written with a Logic Writer, Batch Writer, or Integrated Circuit (IC10).


Parameter Name Data Type Description
Mode Integer 0 = automatic export,
1 = holds export until Output set
Lock Boolean
On Boolean
ClearMemory Integer? Writing on this Parameter will reset the ExportCount and ImportCount values to zero.
Output Integer Value of 0 in Mode 0. Mode 1 sets this to -1 as default.
Writing a 0 (import) will export the entire container and reset Output to -1,
1 (export) will export a single item stack from the container and will reset Output to -1

Data Outputs

These are all parameters, that can be read with a Logic Reader or a Slot Reader. The outputs are listed in the order a Logic Reader's "VAR" setting cycles through them.

Output Name Data Type Description
Power Boolean
Mode Boolean
Error Boolean
Lock Boolean
On Boolean
RequiredPower Integer In watts. The Unloader require 50W to operate.
ExportCount Integer Incremented each time an item stack exit by the Export Slot
ImportCount Integer Incremented each time an item stack enter by the Import slot
Output Integer Value of 0 for Mode 0. Mode 1 sets this to -1(hold output)
and will reset after output is written and an item is exported.