Shared Storage: Difference between revisions

From Desynced Wiki
mNo edit summary
No edit summary
Line 18: Line 18:


{{:GameData:Recipe:{{PAGENAME}}}}
{{:GameData:Recipe:{{PAGENAME}}}}
{| class="wikitable" style="auto"
{{TechUnlock|{{PAGENAME}}}}
|+ Technology Group
{{Category
|-
|race =
| Behaviors
|item-type = Components
|}
|material-type =
|entity-type =
|unit-type =
}}
__NOTOC__
__NOTOC__
__NOEDITSECTION__
__NOEDITSECTION__
{{ComponentsNav}}
[[Category:Components]][[Category:Storage]]

Revision as of 22:15, 30 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_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


Required Technology
Behaviors Behaviors