Shared Storage: Difference between revisions

From Desynced Wiki
No edit summary
m (Bot Change GameData for Recipe Cargo)
Line 17: Line 17:
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}}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 />


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

Revision as of 20:51, 9 September 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
Circuit Board Shared Storage
Circuit Board 1 Arrow Right Shared Storage
Produced by
Assembler Time
4 seconds



Required Technology
Behaviors Behaviors



Required Technology
Behaviors Behaviors