Dimensional Bag
A sushi mall makes every building you need. Getting them out is the chore: you walk to the mall, hunt through chests for the right building, and walk back. On Pyanodons, where a base can need hundreds of different buildings, that walk is most of the work.
Dimensional Bag gives you a bag for buildings, separate from your inventory. Put an upload chest at the end of the mall belt, and every building that reaches it goes into the bag. Then take buildings out wherever you are building: from a window, with the pipette, or automatically when your hand runs out.
It is a storage bag, not a construction tool: the mod never places anything itself. It can hand buildings to your own construction robots, which then build your ghosts as they always do. Nothing is crafted for you.
How to use it
- Research Dimensional Bag (30 red science, needs Automation). It unlocks the bag (1 stack of each building to start) and the upload chest.
- Make an upload chest (10 iron plates, 5 electronic circuits, 10 copper cables) and give it power. Put an inserter or loader between your mall belt and the chest. You can't open the chest or put things in by hand.
- Press Shift + Alt + B, or press
Eand look at the panel beside your inventory, to see the bag. - Take buildings out:
- Left click a slot: one stack goes to your hand.
- Right click: half a stack.
- Shift + left click: one stack into your inventory.
- Pipette (Q) a building you have none of: a stack comes from the bag.
- Auto-refill: when the last building in your hand is placed, the next stack comes from the bag.
- Quickbar: press a quickbar key (
1to0) for a building you have none of and a stack from the bag goes to your hand. For mouse clicks on empty quickbar slots, turn on the interface option "Pick ghost item if no items are available": with it on, a click takes from the bag too. The slot still shows 0, because mods can't change what the quickbar displays. - Back to the bag: a stack your hand took from the bag goes back into the bag when you press
Qor pick another item, so your inventory doesn't fill up. Only what is left of the bag's stack goes back: items you mined or picked up into that stack stay yours. Not when you built it all or moved it elsewhere. - Your construction robots: when ghosts or upgrades in your personal roboport's range lack material, exactly what they need moves from the bag into your inventory and your robots build them. Also in remote view. Nothing is ever fed into your trash slots, two players don't both get the same ghosts, and what the robots didn't use goes back to the bag.
- Put buildings in:
- Mining a building puts it in the bag first, with a short "+1 to the bag" text at your character (toggle with the shortcut "Mined buildings go to the bag").
- The drop slot takes whatever you put in it, as far as there is room.
- Deposit all moves every building in your inventory into the bag, except the ones on your Keep in inventory list (robots are on it from the start).
- Left click a slot while holding that building puts your hand in.
- Set an upload limit for a building, for example "upload no more than 2 nuclear reactors": pick any building in the slot at the bottom of the window (also one that is not in the bag yet), or Control + right click a slot. It only stops upload chests; you can still put more in by hand.
Features
- One bag per team, shared by everyone on it. By default each planet has its own bag; space platforms have none, because you can't take things out there. A map setting makes it one bag everywhere, platforms included.
- Holds buildings, belts, rails, signals and tiles. Each quality is kept separately.
- Capacity is stacks per building: 1 stack at the start, more with four capacity researches and an infinite one. The technologies say how many stacks they add, and the window shows the current capacity.
- Upload limits per building, in items, shared by the team on every surface. They only stop upload chests: by hand and by mining you fill the bag up to the research maximum. Slots turn yellow when nearly full, red when full, and blue once the upload limit is reached.
- The upload chest takes only what the bag wants: buildings your team can craft, already has in the bag, or has an upload limit for, while there is room. A building the bag has no room for stays on the belt, so the belt never clogs. The belt has to loop or continue, though; on a dead end, capped buildings pile up at the end. Inserters can't take anything out of the chest.
- A bag window with a search box, a drop slot, Deposit all and the upload limit editor. It is docked beside the character screen and opens as a window with Shift + Alt + B. The docked panel collapses to one small bag button with the button in its corner, and remembers that.
- A per-player Keep in inventory list: buildings on it stay in your inventory when you press Deposit all. Construction and logistic robots are on it from the start, and you can add or remove anything.
- Pipette, auto-refill, the quickbar and your personal construction robots take from the bag, each with a per-player setting.
- The window is view only in remote view; your robots are still supplied.
What the bag takes
Buildings, belts, rails, signals and tiles. It refuses anything it can't recreate exactly: items that are not placeable (plates, science packs), vehicles and rolling stock, modules, equipment and armor, seeds and plants, anything that spoils, items with data (blueprints, items with tags), and damaged items. A damaged building you mine goes to your inventory; one that reaches an upload chest is put on the ground next to it.
Settings
| Setting | Type | Default | What it does |
|---|---|---|---|
| Bag stacks per building at start | Startup | 1 | Stacks of each building before any capacity research |
| Bag stacks per building per capacity level | Startup | 1 | Stacks each capacity research adds |
| One bag per surface | Map | On | Off: one bag for the whole team on every surface. Switching merges bags |
| Pipette from the bag | Per player | On | Take a stack from the bag when you pipette a building you have none of |
| Refill hand from the bag | Per player | On | Give the next stack when your hand runs out |
| Mined buildings go to the bag by default | Per player | On | Starting state of the mining shortcut when you first join a game with the mod |
| Quickbar takes from the bag | Per player | On | A quickbar key for a building you have none of takes a stack from the bag (a mouse click too, with "Pick ghost item" on) |
| Hand stacks from the bag go back to the bag | Per player | On | A hand stack from the bag goes back when it returns to its inventory slot (Q, picking another item) |
| Supply your construction robots from the bag | Per player | On | Ghosts and upgrades in your personal roboport's range get what they are missing from the bag, through your inventory |
Technologies
| Technology | Cost |
|---|---|
| Dimensional Bag | 30 x automation science |
| Capacity 1 to 4 | 100, 200, 400, 800 x (automation + logistic science) |
| Capacity 5 (infinite) | 1000 x (L - 4) of automation, logistic and chemical science |
On Pyanodons, capacity 5 uses automation and logistic science only. With any mod set, technologies and science packs that don't exist are left out.
Compatibility
- Factorio 2.1.
- Space Age: works; each planet has its own bag by default. Space platforms have no bag then, and upload chests on a platform stay closed ("Not available on space platforms"). With one bag everywhere they work.
- Quality: works; each quality is kept and counted separately, and the upload chest takes a quality once your team has unlocked it.
- Pyanodons: works in headless tests. The upload chest opens only the buildings you can craft or already hold, so its cost stays small even with hundreds of buildings.
- Not tested with other overhaul mods. Buildings from any mod are accepted by the same rules.
- Status: new. It has a large automated test suite and has been played on Pyanodons, but not for long and not in multiplayer. Reports are welcome.
FAQ
Why did a building stay on the belt?
The chest takes a building only when the bag has room for it and you can craft it (or the bag already holds some, or you set an upload limit for it). If the bag is full or at the upload limit for that building, the building stays on the belt on purpose, and the inserter takes the other buildings that come after it. Raise the limit, take some out of the bag, or research more capacity.
Why is my chest not uploading?
It needs power (20 kW). A chest with no power, or on a network with no power, closes and says "No power". Check the pole covers it. It also stays closed until you have researched Dimensional Bag, and on a space platform while each surface has its own bag. "Nothing to upload" means every building it could take is full or at its upload limit, or there is none it may take yet.
Can I open the chest?
No. The mod controls its slots, so there is no window and you can't put things in by hand. Use an inserter or a loader.
Does it work with quality?
Yes. An uncommon building goes into the bag as uncommon and comes out as uncommon. The chest takes a quality once your team has unlocked it.
How do I limit how many of a building the bag gets?
Set an upload limit: pick the building in the slot at the bottom of the window, or Control + right click its slot, then drag the slider or type a number. It is in items, shared by your team, and only stops upload chests.
Can the bag go over the upload limit?
Yes. You can always add more by hand or by mining, up to the research maximum. Upload chests can also overshoot by the hands already in flight. Every inserter that had picked up that building before it hit its limit still delivers its hand. With a limit of 1 and one bulk inserter carrying 11, the bag ends at 11; four bulk inserters swinging together can bring 44. Inserters that would pick up after the first building arrives don't, because the chest closes the next tick. A limit you lower below the current count removes nothing.
Will Deposit all take my robots?
No. Deposit all skips everything on your Keep in inventory list, and construction and logistic robots are on it from the start. Open the list with the "Keep in inventory" line under Deposit all: click the empty slot to add a building, right-click a slot to remove one. The drop slot still takes anything you put in it.
Why does the quickbar show 0 for a building in the bag?
Mods can't change what the quickbar displays. Press its key anyway: a stack comes from the bag into your hand. For mouse clicks, turn on the interface option "Pick ghost item if no items are available"; a click then takes from the bag too.
Does it build things for me?
No. The mod never places anything. It can move buildings from the bag into your inventory for ghosts your personal construction robots are about to build, so they build from the bag as they would from your inventory.
I use "Trash unrequested". Will the bag end up in my trash slots?
No. A building your logistic requests would trash is not handed to your robots: not when it is unrequested with "Trash unrequested" on, not beyond a request's maximum, and not while some of it is already in your trash slots.
Does it work in multiplayer?
It is built for it: each team has one bag per surface (or one bag everywhere), and anyone on the team can change its upload limits. It has not been played with several players yet.
What's new in 0.1.0
First release.
- The bag, the upload chest, the window and the panel beside the character screen.
- Capacity, shown in the technologies and the window, and upload limits that can be set for any building before the first one arrives.
- Mining to the bag (with a "+N to the bag" text), Deposit all with a Keep in inventory list, the drop slot, pipette, auto-refill and the quickbar keys.
- Personal construction robots get the buildings for ghosts and upgrades in range from the bag, never into the trash slots, and what they didn't use goes back.
- Hand stacks from the bag go back to the bag on
Qor when you pick another item; only the bag's own items. - A panel beside the character screen that collapses to a small button.
- Works with Space Age (no bag on space platforms while bags are per surface), quality and Pyanodons.