Editing Sorter
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
[[Category:Machines]] | [[Category:Machines]] | ||
[[Category:Import/Export]] | [[Category:Import/Export]] | ||
+ | {{Itembox | ||
+ | | name = Kit (Sorter) | ||
+ | | stacks = 10 | ||
+ | | image = [[File:ItemKitSorter.png]] | ||
+ | | createdwith = [[Fabricator]] [[Autolathe MK. II]] | ||
+ | | cost = 10g [[Iron]], 1g [[Gold]], 5g [[Copper]] | ||
+ | }} | ||
{{Structurebox | {{Structurebox | ||
− | | name = Sorter | + | | name = Sorter |
− | | | + | | power_usage = 5W |
− | + | | placed_with_item = [[Kit (Sorter)]] | |
− | + | | placed_on_grid = Small Grid | |
− | + | | decon_with_tool1 = [[Hand Drill]] | |
− | | placed_on_grid = Small Grid | + | | item_rec1 = [[Kit (Sorter)]] |
− | | decon_with_tool1 = [[Hand Drill]] | ||
− | |||
− | | item_rec1 = [[Kit (Sorter)]] | ||
}} | }} | ||
− | |||
==Description== | ==Description== | ||
− | |||
− | |||
− | |||
When the Mode is set to 0 or if there is no WhiteList configured on a computer, the Sorter will act as a splitter: items will alternate their output lane each time. The Output property will switch value accordingly. | When the Mode is set to 0 or if there is no WhiteList configured on a computer, the Sorter will act as a splitter: items will alternate their output lane each time. The Output property will switch value accordingly. | ||
Line 27: | Line 27: | ||
{{Data Network Header}} | {{Data Network Header}} | ||
− | {{Data Parameters| | + | {{Data Parameters}} |
− | + | {| class="wikitable" | |
− | + | |- | |
− | + | ! Parameter Name !! Data Type !! Description | |
− | {{Data | + | |- |
− | + | | Mode || Integer || 0 = alternate outputs, 1 = sorter motherboard, 2 = logic mode; Set to 0 by default. | |
− | + | |- | |
− | + | | Lock || Boolean || Disable manual control of surface buttons | |
− | + | |- | |
− | + | | On || Boolean || | |
− | + | |- | |
− | + | | ClearMemory || Boolean || Writing on this Parameter will reset the ExportCount and ImportCount values to zero. | |
− | + | |- | |
− | + | | Output || Integer || If Mode = 2, set Output to 0 to send item in input slot straight through, or set to 1 to send the item to the side (defaults to -1 after action) | |
− | + | |- | |
− | + | |} | |
− | + | ||
+ | {{Data Outputs}} | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Output Name !! Data Type !! Description | ||
+ | |- | ||
+ | | Mode || Integer || | ||
+ | |- | ||
+ | | 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 rejected Export Slot (as in : every time a non whitelisted item is sorted. | ||
+ | |- | ||
+ | | Error || Boolean || | ||
+ | |- | ||
+ | | Requiredpower || Integer || In Watts. The Sorter requires 100W of power to function | ||
+ | |- | ||
+ | | PrefabHash || Integer || Returns [[ItemHash]] of device | ||
+ | |- | ||
+ | | Power || Boolean || Device on and receiving power (true\false) | ||
+ | |- | ||
+ | | Output || Integer || if set to 0, the next item will exit from the right side slot (while facing the exits side of the sorter). If set to 1, the next item will exit the from the left side. (defaults to -1 after action) | ||
+ | |- | ||
+ | | On || Boolean || | ||
+ | |- | ||
+ | |} | ||
− | === Data Slots === | + | ==== Data Slots ==== |
These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Slots_Reader|Slots Reader]]. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them. | These are all parameters, that can be read with a [[Kit_(Logic_I/O)#Slots_Reader|Slots Reader]]. The outputs are listed in the order a Slots Reader's "VAR" setting cycles through them. | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 80: | Line 106: | ||
|} | |} | ||
− | == Item | + | ==== Item Classes ==== |
Reading the ''class'' attribute of the input slot will give one of the following values: | Reading the ''class'' attribute of the input slot will give one of the following values: | ||
− | |||
− | |||
− | |||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
− | |||
− | |||
|- | |- | ||
− | | None || | + | ! Id !! Type !! Notes !! Id !! Type !! Notes |
+ | |- | ||
+ | | 0 || None || | ||
+ | | 16 || Belt || | ||
+ | |- | ||
+ | | 1 || Helmet || | ||
+ | | 17 || Tool || | ||
+ | |- | ||
+ | | 2 || Suit || | ||
+ | | 18 || Appliance || | ||
+ | |- | ||
+ | | 3 || Back || | ||
+ | | 19 || Ingot || | ||
+ | |- | ||
+ | | 4 || GasFilter || | ||
+ | | 20 || Torpedo || | ||
+ | |- | ||
+ | | 5 || GasCanister || | ||
+ | | 21 || Cartridge || | ||
+ | |- | ||
+ | | 6 || Motherboard || | ||
+ | | 22 || AccessCard || | ||
|- | |- | ||
− | | | + | | 7 || Circuitboard || |
+ | | 23 || Magazine || | ||
|- | |- | ||
− | | | + | | 8 || DataDisk || |
+ | | 24 || Circuit || | ||
|- | |- | ||
− | + | | 9 || Organ || | |
+ | | 25 || Bottle || | ||
|- | |- | ||
− | | | + | | 10 || Ore || Includes reagent mixes from recycler and ices |
+ | | 26 || ProgrammableChip || | ||
|- | |- | ||
− | | | + | | 11 || Plant || |
+ | | 27 || Glasses || | ||
|- | |- | ||
− | | | + | | 12 || Uniform || |
+ | | 28 || CreditCard || | ||
|- | |- | ||
− | | | + | | 13 || Entity || |
+ | | 29 || DirtCanister || | ||
|- | |- | ||
− | | | + | | 14 || Battery || |
+ | | 30 || SensorProcessingUnit || | ||
|- | |- | ||
− | | | + | | 15 || Egg || |
+ | | 31 || LiquidCanister || | ||
|- | |- | ||
− | | | + | | || || |
+ | | 32 || LiquidBottle || | ||
|- | |- | ||
− | | | + | | || || |
+ | | 33 || Wreckage || | ||
|- | |- | ||
− | | | + | | || || |
+ | | 34 || SoundCartridge || | ||
|- | |- | ||
− | |||
|} | |} |