Quick Item Swap


Adds keybindings to quickly swap the currently held item (e.g. a belt) to a related one (e.g. a splitter). Supports a wide variety of items.

Utilities
4 years ago
0.15 - 0.18
11

Changelog

Version: 0.3.3
Date: 01. 31. 2020

  Changes:
    - Update for Factorio 0.18
Version: 0.3.2
Date: 14. 03. 2019

  Changes:
    - QuickItemSwap can now cycle between item ghosts if you lack the actual item.
      - By default, this excludes items that have not been researched.  You can globally disable this in Mod Settings, or you can whitelist specific items.
    - You can now whitelist or blacklist items (default keybind: Alt+Y while holding an item)
      - When cycling between related items, blacklisted items will be ignored (unless they are in your inventory)
      - When cycling between related items, whitelisted items will be allowed (even if they are not yet researched)
      - Blacklisting and whitelisting only affects cases when a ghost would be chosen or if an item would be created (in cheat mode).  Items in your inventory are always considered.
      - You can reset your entire blacklist with /qis-clear-blacklist
   - Added support for the train stops in the Train Supply Manager mod
Version: 0.3.1
Date: 27. 02. 2019
  Changes:
    - Update for Factorio 0.17.
    - Removed all quickbar logic.
    - Generate group information for belts/splitters/undergrounds procedurally.  This should automatically add support for modded belts, such as those from Bob's Logistics.
Version: 0.3.0
Date: 23. 04. 2018
  Changes:
    - Add support for blueprints, blueprint books, deconstruction planners, and similar items from mods.
      - Items of a particular type are treated as members of one group.  "Y" will cycle between different blueprint books, for instance.
      - Cycling groups will cycle between selecting a blueprint, a blueprint book, or a deconstruction planner.
      - Other items that have an item_number are also supported when cycling items, but do not support cycling groups.
    - Added support for the Artillery Wagon
    - Add support for Electric Vehicles (locomotives only)
    - Add support for FARL (locomotives only)
Version: 0.2.4
Date: 23. 12. 2017
  Changes:
    - Add support for the unofficial Creative Mode Fix.
    - Add Buffer Chests to the Logistic Chests group, and reordered the group to match the inventory window.
Version: 0.2.3
Date: 13. 12. 2017
  Changes:
    - Update for Factorio 0.16
    - Temporarily add support for Batteries Not Included, since [a bug in the current Factorio experimental](https://forums.factorio.com/viewtopic.php?f=182&t=54567&p=321491) prevents that support from working in the opposite direction.
  Modding:
    - Added more verbose error messaging if another mod submits an invalid patch.
    - Swapped the order of arguments on `apply_patch` to make it less likely for someone to inadvertently forget to specify `source`.
Version: 0.2.2
Date: 11. 12. 2017
  Changes:
    - Add support for items from Logistic Train Network, Smarter Trains, Vehicle Wagon, and Nixie Tubes.
    - Add speculative support for artillery wagons.
Version: 0.2.1
Date: 05. 12. 2017
  Changes:
    - Fix default keybindings for Previous Item and Previous Group.
    - Console announcements when a configuration change is detected are now only displayed in debug mode.  They also now are prefixed with `[QuickItemSwap]` to indicate they are coming from this mod.
Version: 0.2.0
Date: 01. 12. 2017
  Changes:
    - Added support for items from Creative Mode
    - Added support for creating items from thin air (rather than skipping over them) when your player is in cheat mode (i.e. as a result of the creative mode mode or `/c game.players[1].cheat_mode = true`).  Can be toggled in settings.  Has no effect when not in cheat mode.
  Modding:
    - Made significant internal changes to allow mod integration
    - First pass of an API to allow other mods to add recipes.
Version: 0.1.1
Date: 30. 11. 2017
  Changes:
    - Flip logic on modules to make more sense: each tier is now a group, rather than each module type being a group.
Version: 0.1.0
Date: 30. 11. 2017
  Changes:
    - First public release.