Factory Automation Enhancement

    Factory Automation Enhancement 0.2.004

    Game version
    0.202.108
    Factory Automation Enhancement is a mod to allow for the automation of factories and factory setups, and reduce the burden of micromanagement on the player, with the addition of two blocks: the Basic Factory Assistant and the Advanced Factory Assistant.

    The Basic Factory Assistant


    The Basic Factory Assistant is relatively straightforward. The Basic Assistant is slaved to a factory (the "master factory"), and then other factories are slaved to the assistant ("Slave factories"). If the master factory is trying to make a block, but fails to, because it can't find enough of some ingredient resource, the assistant will tell the slave factories to make more of that ingredient. The Basic Factory Assistant also works with shipyards. When the master shipyard tries and fails to pull one or more blocks for making a ship with, the Basic Assistant will tell the slave factories to make more of those blocks.

    Finally, nothing is stopping the player from using the Basic Factory Assistant recursively, so that the slave factories have their own Basic Assistant controlling another layer of slave factories. This way, the player can set up a fully automated manufacturing rig, producing any resource - or, if a shipyard is controlling it all from the top, manufacturing any ship - with little to no player intervention.


    The Advanced Factory Assistant

    The Advanced Factory Assistant takes automation to the next level, by being able to have two more kinds of blocks slaved to it - item storages, and display modules.

    It doesn't just control factories, it also reads the content of any connected storage. It calculates not only what resources are needed for the master factory/shipyard, it also calculates the resources needed to make the resources, and the resources to make the resources to make the resources, and so forth. If there's a resource shortage anywhere down the crafting tree, relative to how much is needed of the end product, it directly tells a slave factory to produce more of that resource, or if it's a raw material, it asks the player to to provide more of that raw material, by printing a "shopping list" of sorts to all slaved display modules.

    All this means the player does not need to build a tree of factories themselves. The Advanced Assistant figures it all out internally, then assigns the available pool of factories whatever recipes will most efficiently work towards the end production goal.

    Limitations (intentional)

    Neither kind of Assistant ever moves any items around, so the player must still set up the right item pull connections between the factories/storages/shipyards.

    Both Assistants don't interact with capsule refineries or micro assemblers. Capsule refineries should always be running at full capacity anyway, and micro assemblers can accidentally recycle a whole stock of capsules into scrap. (Unless it's filtered to only eat scrap, in which case it would also always be on.)

    Limitations (technical)

    No Assistant (of either type) should have more than one block (whether factory or shipyard) as a master, and no factory should have more than one Assistant as a master. Ideally, the mod would simply make this impossible, but current modding tools don't allow for such a rule to be added easily. There's never a point to slaving multiple Assistants (of the same type or of different types) to one factory, even though it's technically permitted.

    An Advanced Factory Assistant also should not be used together with another Assistant (of any type) as a single Advanced Assistant is already maximally automatic, and its algorithm would likely be confused by another automated controller being involved.

    Images

    A simple automated factory line using Basic Assistants (blue screens). The top standard factory will produce any kind of colored standard armor with the slave factories automatically supplying basic armor, hardener, and paint of the right type.

    1608239188986.png


    An automated shipyard using the Advanced Assistant (red screen). The Advanced assistant makes sure the three factories produce whatever is needed in the correct order to make a ship from raw capsules. Currently, there is a shortage of Tekt and Metal Mesh to complete an Isanth.
    starmade-screenshot-0005.png

    starmade-screenshot-0006.png
    Author
    lupoCani
    Downloads
    94
    Views
    573
    First release
    Last update
    Rating
    0.00 star(s) 0 ratings

    Latest updates

    1. corrected metadata

      The previous version was accidentally uploaded without proper metadata set. Not sure how this...
    2. bugfix

      Hopefully resolved issue causing an exception on server start.
    3. Updated to current version of Starloader

      Mod should now work again.