Actions

Difference between revisions of "Stacker"

From Unofficial Stationeers Wiki

(more detailed description of how the stacker works)
(Grammar fixes)
 
(14 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
[[Category:Machines]]
 
[[Category:Machines]]
 +
[[Category:Import/Export]]
 
{{Itembox
 
{{Itembox
 
  | name        = Kit (Stacker)
 
  | name        = Kit (Stacker)
 
  | image      = [[File:ItemKitStacker.png]]
 
  | image      = [[File:ItemKitStacker.png]]
 
  | createdwith = [[Autolathe]], [[Fabricator]]
 
  | createdwith = [[Autolathe]], [[Fabricator]]
| cost        =  
+
| cost        = 10g [[Ingot_(Iron)|Iron]], 2g [[Ingot_(Copper)|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=
  
 
{{Structurebox
 
{{Structurebox
  | name = Stacker
+
  | name             = Stacker
  | placement = Free
+
  | power_usage      = 50W
  | powerusage = 5W
+
  | placed_with_item = [[Kit (Stacker)]]
 +
| placed_on_grid  = Small Grid
 +
| decon_with_tool1 = [[Hand Drill]]
 +
| item_rec1        = [[Kit (Stacker)]]
 +
| slot_0          = Import
 +
| slot_1          = Export
 +
| slot_2          = Inside Machine
 
}}
 
}}
  
==Description==
+
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 its name) splits it.
  
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 Header}}
  
The stacker is also able to stack the content of a belt. It will output everything that is inside the belt, followed by the belt itself.
+
{{Data Parameters}}
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|-
 +
| Mode || Integer || 0 = Automatic stacking and export,<br> 1 = Stack and hold until Activate = 1
 +
|-
 +
| Activate || Boolean || If set to 1, the Stacker will clear its content via its Export Slot without regard to the Setting
 +
|-
 +
| 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. If you set this to 1 while in Mode 1 the stacker will export a batch of items from storage with quantity Setting. If there are not enough items in storage, they will not be output.
 +
|}
 +
 
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! 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 requires 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==
 
==Notes==
Line 23: Line 84:
 
*Ingots can be stacked up to 500.
 
*Ingots can be stacked up to 500.
 
*Ore will not stack over 50.
 
*Ore will not stack over 50.
 +
 +
=Unloader=
 +
 +
{{Structurebox
 +
| name            = Unloader
 +
| power_usage      = 50W
 +
| placed_with_item = [[Kit (Stacker)]]
 +
| placed_on_grid  = Small Grid
 +
| decon_with_tool1 = [[Hand Drill]]
 +
| item_rec1        = [[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 Header}}
 +
 +
{{Data Parameters}}
 +
{| class="wikitable"
 +
|-
 +
! Parameter Name !! Data Type !! Description
 +
|-
 +
| Mode || Integer || 0 = automatic export,<br> 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.<br> Writing a 0 (import) will export the entire container and reset Output to -1,<br> 1 (export) will export a single item stack from the container and will reset Output to -1
 +
|}
 +
 +
{{Data Outputs}}
 +
{| class="wikitable"
 +
|-
 +
! 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)<br>  and will reset after output is written and an item is exported.
 +
|-
 +
|}

Latest revision as of 06:21, 14 May 2024


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


Description[edit]

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[edit]

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 its name) splits it.

Data Network Properties[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

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 without regard to the Setting
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. If you set this to 1 while in Mode 1 the stacker will export a batch of items from storage with quantity Setting. If there are not enough items in storage, they will not be output.

Data Outputs[edit]

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 requires 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[edit]

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[edit]

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[edit]

These are all Data Network properties of this device.

Data Parameters[edit]

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[edit]

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.