项目作者: simonvizzini

项目描述 :
Quickbar Switcher Mod for Factorio
高级语言: Lua
项目地址: git://github.com/simonvizzini/factorio-quickbar-switcher-mod.git
创建时间: 2017-06-05T16:25:15Z
项目社区:https://github.com/simonvizzini/factorio-quickbar-switcher-mod

开源协议:MIT License

下载


Quickbar switcher

Allows you to easily manage up to 5 individual quickbar layouts with the press of a hotkey.

Useful if you want to have different quickbar layouts for different tasks. For example: one for base building, one for train building, one for combat, and so on.

Please note that the ALT hotkey of this mod will also trigger the default “Info view” keybinding. I suggest to change the info view keybinding to another key, for example “I”.

Highlights

  • Can switch between full quickbar layouts even if inventory is full. This works by using the players cursor stack (if available and empty) in the same way as a player would manually re-arrange his quickbar.
  • If players cursor stack is currently holding something then 1 empty slot from the inventory will be used to perform the switch. If neither the cursor stack nor an empty inventory slot is available then a switch canno be performed and a message will be printed to the player.
  • Works with any inventory/quickbar size (vanilla or modded)
  • Should work just fine in multiplayer (haven’t really tested, please report if you experience any issues)
  • No cheating involved: does not destroy any items or create items out of thin air.

Usage

  1. Press ALT + [2-5] to create a new quickbar layout
  2. Setup your new quickbar.
  3. Switch between layouts with ALT + [1-5]
  4. Profit! :)

Demo

Changelog

1.1.0

  • Improved switching logic: the players cursor is now used (if possible) to perform the switch and it’s possible to switch between full quickbar layouts, even if the inventory is full.

1.0.0

  • Initial release