Handcraft Shopping List


Pin buildings/items you want to hand-craft and get one combined list of the raw materials to collect, with live inventory counts. Built with Pyanodons in mind.

Utilities
2 hours ago
2.1
5
Manufacturing
Owner:
TheSeparatrix
Source:
https://github.com/TheSeparatrix/hand...
Homepage:
https://github.com/TheSeparatrix/hand...
License:
MIT
Created:
a day ago
Latest Version:
0.8.0 (2 hours ago)
Factorio version:
2.1
Downloaded by:
5 users

A Factorio 2.1 mod for hand-crafting lots of buildings, written with Pyanodons in mind.

What it's for

In Pyanodons you hand-craft a huge number of different buildings, and each one needs a deep tree
of intermediates. This mod works like the To-Do list in Satisfactory:

  1. Hover the buildings (or any items) you want and press P to pin them.
  2. The window shows one combined shopping list of the materials you still need to carry,
    compared against your inventory (red = missing, green = enough).
  3. Walk around the base and collect everything on the list.
  4. Press Craft all and the game crafts every pinned item, intermediates included.

The list stops at the items you have to fetch. Things you can hand-craft from other materials
are broken down further, except where the mod author has marked a recipe as "don't break down"
(allow_decomposition = false, the same flag the game's "Total raw" tooltip uses). For example,
Pyanodons marks sand-brick that way, so the list asks for stone bricks rather than sand and
rich clay.

The rule is: if you can see it, P adds its inputs to the list. That also goes for items
that need a machine
(for example Py's Basic circuit board or cDNA, or plastic in Factoriopedia):
the list asks for the machine recipe's inputs, checked against your inventory just like a
hand-crafted item. Fluids and gases you can't carry (petroleum gas, sulfuric acid, ...) are listed
with their amount but not checked. The ⇄ button on a pinned row switches it to "collect the
item itself" (fetch the finished item from your base) and back.

Every recipe has a button showing the machine (or hand) that makes it. Clicking it folds out the recipe's inputs. Every input has its own
machine (or hand) button, so you can keep unfolding to plan things you want to make yourself
before automating them. Unfolding is only for planning: it never changes the Collect totals. To
actually collect an input, press P on its row in the tree.

The UI is available in English and German. Item names come from the game's own translations,
so they appear in whatever language each player uses, including in multiplayer games with mixed
languages.


Usage

Controls

Key Action
P Add the hovered item, building, recipe or ghost (+1)
Shift + P Add 5
Alt + P Remove 1
Ctrl + P Show/hide the window (the top-left button does the same)

Hovering works in the crafting menu, Factoriopedia, the world (buildings and ghosts), the map
view (also fully zoomed out), on tiles, on whatever you hold in the cursor, and on every row of
the shopping list itself, including unfolded inputs. Alt+click an item, fluid or machine in the
window to open it in Factoriopedia, like in the game's own windows. All keys can be changed under Settings →
Controls. What happened (added, removed, nothing found) is shown as flying text and as a line at
the top of the window.

The window

  • Pinned: the pinned items.
  • Hand-craftable items: the item button crafts as many as possible right now. The status
    ("Ready to craft" / "x/y crafts possible") comes straight from the game. The arrow on the
    left folds out the recipe's components.
  • Items that need a machine: their inputs are on the Collect list; the status shows the
    machine. The arrow on the left folds out the recipe's components.
  • Items to collect themselves (ores and the like, or any row switched with ⇄): the button on
    the left shows the machine (hover it for the recipe, alternative machines and whether it's
    unlocked). Click it to fold the inputs in or out. Right-click it to switch to the next
    recipe when there are alternatives; ⇄ then pins that recipe's inputs.
  • ⇄ switches a row between "collect its inputs" and "collect the item itself".
  • − / + change the amount (Shift: 5, Ctrl: 10). × removes the entry.
  • Collect: the combined materials, as "have / need (missing n)". Rows that have a recipe get
    the same machine/hand button and can be unfolded too. Fluids are listed last, with the amount only.
  • Unfolding an item applies everywhere it appears in your window (and for the whole team if
    the list is shared).
  • Crafted along the way (optional checkbox): the intermediates that get hand-crafted, and how
    many come from your inventory.
  • Craft all queues everything that is hand-craftable right now. Clear needs Ctrl+click.

Settings

  • Share one shopping list per team (map setting hsl-share-list, default off): by default
    every player has a personal list. When on, there is one list per force, including which items are
    unfolded; each player still sees their own inventory counts. Switching it on starts the shared
    list from everyone's personal lists; switching it off copies the shared list to every player whose
    own list is empty.
  • Remove items from the list when you craft them (per player, default on): queuing a craft of
    a listed item takes it off the list. Cancelling the craft puts it back.
  • Show the shopping list button (per player, default on).