Shared Storage: Difference between revisions

From Desynced Wiki
No edit summary
m (wording)
 
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:


======Function:<br />======
======Function:<br />======
When a building or unit is full it looks for a {{IL|Shared Storage}} with the appropriately locked slots to transfer its storage
When a building or unit is full and attempts to produce an item it looks for a {{IL|Shared Storage}} with the appropriately locked slots to transfer its items to.


======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 {{IL|Storage_Block_(8)}} with a {{IL|Shared Storage}} component<br />
You have a {{IL|Storage_Block_(8)}} with a {{IL|Shared Storage}} component<br />
The {{IL|Storage_Block_(8)}} has a slot locked to {{IL|Circuit Board}}s<br />
The {{IL|Storage_Block_(8)}} has at least one slot locked to {{IL|Circuit Board|Circuit Boards}}<br />
When the {{IL|Assembler}} fills up to its maximum capacity, the {{IL|Shared Storage}} will request a stack of {{IL|Circuit Board}}s to be transferred, freeing up a slot in the {{IL|Assembler}} building.<br />
When the {{IL|Assembler}} unit fills up to its maximum capacity it will generate a transfer request to a {{IL|Shared Storage}} on the logistics network for all items eligible to be received by a shared storage, freeing up a slot in the {{IL|Assembler}} building.<br />


======Example 2:<br />======
======Example 2:<br />======
You have decided that the {{IL|Assembler}} building above is to be re-tasked to {{IL|Reinforced Plate}}s production.<br />
You have decided that the {{IL|Assembler}} building above is to be re-tasked to {{IL|Reinforced Plate|Reinforced Plates}} production.<br />
Upon switching to {{IL|Reinforced Plate}}s, the {{IL|Shared Storage}} will request the remaining {{IL|Circuit Board}}s if they need to be removed in order for the {{IL|Assembler}} to produce.<br />
Upon switching to {{IL|Reinforced Plate|Reinforced Plates}}, the unit will seek to transfer the remaining {{IL|Circuit Board|Circuit Boards}} or other items to an eligible {{IL|Shared Storage}} if they need to be removed in order for the {{IL|Assembler}} to produce.<br />


{{:GameData:Recipe:{{PAGENAME}}}}
{{Recipe cargo|{{PAGENAME}}}}
{{TechUnlock|{{PAGENAME}}}}
{{Category
{{Category
|race =
|race =

Latest revision as of 21:00, 5 October 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 and attempts to produce an item it looks for a Shared Storage with the appropriately locked slots to transfer its items to.

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 at least one slot locked to Circuit Boards
When the Assembler unit fills up to its maximum capacity it will generate a transfer request to a Shared Storage on the logistics network for all items eligible to be received by a shared storage, 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 unit will seek to transfer the remaining Circuit Boards or other items to an eligible Shared Storage if they need to be removed in order for the Assembler to produce.


Recipe
Circuit Board Shared Storage
Circuit Board 1 Arrow Right Shared Storage
Produced by
Assembler Time
4 seconds



Required Technology
Behaviors Behaviors