Skip to content

Behaviors

Chris McGhee edited this page Jul 4, 2018 · 9 revisions

All Chests

When not connected to a network, these act like a regular chest.

Pushed Items

When an item is pushed, the network will locate an available storage chest and deposit the item there.

Transfer Priority

When a request is made, and there is more than one storage chest available with that item the following rules are applied

  1. Take item from storage chest with read/write mode.
  2. Take item from storage chest with read-only mode.

Power Sharing / Network Bridging

When a transfer request is initiated from a node, its network will be asked to provide power for that request. If the network can not provide all of the required power any remaining power is requested from a bridged network. This will continue until all bridged networks have been searched.

Power Calculation

The amount of power required to move items from point to point depends on the number of items being moved as well as the distance those items will travel. Distance is calculated by the Manhattan distance between chunks. There is no distance cost when the source and destination are in the same, or neighboring chunks.

Required Power:

 DistanceX  = Abs(Source.X - Dest.X)
 DistanceY  = Abs(Source.Y - Dest.Y)
 Neighbor   = DistanceX <= 1 and DistanceY <= 1
 ChunkPower =  if Neighbor then 0 else ((DistanceX + DistanceY) * PowerPerChunk)
 ItemPower  = ItemCount * PowerPerItem

 RequiredPower = ItemPower + ChunkPower

Both power-per-item and power-per-chunk are configurable.

Copy/Paste

Settings can be copy/pasted to set the filters of an Interface, or the readonly state of storage chests

Copying from an assembly machine will set the exact recipe amounts.