Ghost helper


Keep track of ghosts, find required items in storage nearby and quickly craft required items

Utilities
a month ago
1.1
138
Manufacturing Storage
Owner:
Subject314159
Source:
https://github.com/Subject-314159/gho...
Homepage:
N/A
License:
GNU GPLv3 ext. (forking limitation)
Created:
2 months ago
Latest Version:
1.6.4 (a month ago)
Factorio version:
1.1
Downloaded by:
138 users

Ghost helper

Your one stop shop for early game item management.

Have you ever wondered;

  • Do I already have enough items in my mall to build this blueprint?
  • Do I have enough raw material in my inventory to craft the required items?
  • Which part of this blueprint still has ghosts?
  • Where are all the items required for these ghosts?
  • Where are all the remaining ghosts?
    Well look no further! Ghost helper is here to resque you.

With ghost helper you can:

  • See how many ghosts of a certain item are built in the game
  • See how many items of said ghosts are already available in any inventory
  • Quickly craft the required number of items for said ghosts

Features

Ghost helper gives a three level visual indication regarding the ghosts you want to build:

  • Green: All items are available to build all the ghosts of this type
  • Orange: Not all items are available, but the player has enough raw material to hand craft the required items
  • Red: Insufficient items and/or insufficient raw material to craft the required number of items

Ghost helper provides quick access for hand crafting, provided the player has enough raw material for said item:

  • Craft one item
  • Craft five items
  • Craft all required items

Ghost helper makes the crafting buttons available only for the required number of ghosts, so you don't overproduce a certain item which leads to a shortage of another item. Especially in the early stage of the game when resources are still critical you want to grow your factory as fast as possible with the least amount of items required.


How it works

There are three critical steps involved in order to display the correct status in the GUI

  • Analyze the world for surfaces and chunks
  • Index each chunk for ghosts and inventories
  • Search each inventory for each ghost item

Indexing and searching are quite expensive operations and in order to guarantee stable UPS these operations have to be throttled. Mod settings are available to control how many operations are performed per tick.

Known issues

  • Not multiplayer compatible

Roadmap

  • Enable/disable scanning of certain surfaces

Collaborations welcome

  • Open a pull request on Github

I believe in a free world where software is available to everyone and where the combined power is greater than the sum. Please do not shamelessly fork and re-upload this mod, instead I welcome collaboration so that together we can achieve more.