Shared Storage: Difference between revisions

From Desynced Wiki
mNo edit summary
mNo edit summary
Line 8: Line 8:


======Example 1:<br />======
======Example 1:<br />======
You have an {{IL|Assembler}} creating {{IL|Circuit Board}s<br />
You have an {{IL|Assembler}} creating {{IL|Circuit Board}}s<br />
You have a Storage with a {{IL|Shared Storage}} component<br />
You have a Storage with a {{IL|Shared Storage}} component<br />
The Storage has a slot locked to Circuit Boards<br />
The Storage has a slot locked to Circuit Boards<br />

Revision as of 04:59, 19 August 2023

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 with a Shared Storage component
The Storage 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 Metal Plates production.
Upon switching to Reinforced Metal 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