[idea] Singular chest

This is the place to request new mods or give ideas about what could be done.
Post Reply
User avatar
Xecutor
Filter Inserter
Filter Inserter
Posts: 260
Joined: Mon Jun 23, 2014 10:15 am
Contact:

[idea] Singular chest

Post by Xecutor »

Not sure if bugless implementation is possible, but still.

Chest with inventory shared between all instances :)

Boogieman14
Filter Inserter
Filter Inserter
Posts: 770
Joined: Sun Sep 07, 2014 12:59 pm
Contact:

Re: [idea] Singular chest

Post by Boogieman14 »

Isn't that just called a Logistics Network? ;)
I don't have OCD, I have CDO. It's the same, but with the letters in the correct order.

User avatar
CreeperDaReeper
Fast Inserter
Fast Inserter
Posts: 228
Joined: Fri May 23, 2014 8:59 pm
Contact:

Re: [idea] Singular chest

Post by CreeperDaReeper »

Boogieman14 wrote:Isn't that just called a Logistics Network? ;)
I believe he means how the Ender Chest works in Minecraft. You can build and place as many of the chests as you like, but the inventory of them will always be the exact same thing.
Say I had inserters pulling ore from a train into a row of such chests. Elsewhere I could have smart inserters pulling from the same kind of chests straight into furnaces.

Biggest upside: point to point transmission over any distance.

Biggest downside: extremely limited capacity since it can only ever hold the amount of a single chest.

Another downside would be that said chests would be expensive to research, expensive to create, and require vast amounts of electricity to run.

Boogieman14
Filter Inserter
Filter Inserter
Posts: 770
Joined: Sun Sep 07, 2014 12:59 pm
Contact:

Re: [idea] Singular chest

Post by Boogieman14 »

Ah yes, that does sound somewhat different. While it's not a chest, wouldn't https://forums.factorio.com/forum/vie ... =14&t=3134 pretty much fill this purpose?
I don't have OCD, I have CDO. It's the same, but with the letters in the correct order.

User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: [idea] Singular chest

Post by rk84 »

Something like ender chest from minecraft? Collecting items from multpile inventories could be done, but outputting items would be pain to mod. Atleast if you want it to work with inserters.

But for player only it could be done quite easy, mayby? Somethink like this.

Code: Select all

function onTick(event)

  if game.player.opened.name == "singular-chest " then
    -- what if chest has items? clear / abort / temporarely swap inventories?
    fillChestWithSingularInventory(game.player.opened) -- Access glob.singular and insert loops items to chest.
    opened = game.player.opened

  elseif opened then -- player is not looking inside chest anymore
    moveItems2SingularInventory(opened) -- Copies chest inventory to glob.singular and clears chest.
    opened = nil
  end
end
ps. Now that think more of this code. Its just same as adding more inventory slots to player. So It could be extend to collect inserted items from all singular chests, but inserter(s) could flood the system :|
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela

Post Reply

Return to “Ideas and Requests For Mods”