Shared Storage

From Desynced Wiki
Revision as of 05:02, 19 August 2023 by Johan (talk | contribs)
Shared Storage
     
     Set locked slots on unit to allow dumping of excess items
Lua ID c_shared_storage
Size Internal


Set locked slots on unit to allow dumping of excess items

Function:

When a building or unit is full it looks for a Shared Storage with the appropriately locked slots to transfer its storage

Example 1:

You have an Assembler creating Circuit Boards
You have a Storage_Block_(8) with a Shared Storage component
The Storage_Block_(8) has a slot locked to Circuit Boards
When the Assembler fills up to its maximum capacity, the Shared Storage will request a stack of Circuit Boards to be transferred, freeing up a slot in the Assembler building.

Example 2:

You have decided that the Assembler building above is to be re-tasked to Reinforced Plates production.
Upon switching to Reinforced Plates, the Shared Storage will request the remaining Circuit Boards if they need to be removed in order for the Assembler to produce.


Recipe
Cable Refined Crystal Shared Storage
Cable 5 Refined Crystal 3 Arrow Right Shared Storage
Produced by
Assembler Time
4.0 seconds
[[{{{14}}}]] Time
[[File:{{{14}}}.png|64x64px|link={{{14}}}]] {{{15}}} seconds
[[{{{16}}}]] Time
[[File:{{{16}}}.png|64x64px|link={{{16}}}]] {{{17}}} seconds


Technology Group
Behaviors