this post was submitted on 09 Nov 2024
62 points (98.4% liked)

Factorio

971 readers
252 users here now

A Lemmy community for the game Factorio made by Wube Software.

Rules

founded 1 year ago
MODERATORS
 

https://factoriobin.com/post/tvqipx (v3)

older-versionUpdated; Simplified, and added descriptions above, and grouping.

  • Take any item in the combinator in the bottom left; If we dont have a full stack of it, add it to a build queue

    For each item on the build queue, pick one at random, try to build it, if we don't have enough ingredients, add them to the build queue

    When building a item, build until we have TWO stacks, or run out of ingredients. This is one stack MORE then we use to determine if something goes into the build queue by inventory alone, this prevents thrashing, so we queue at 100, but will build until 200.

    I use the H as a hold signal... this could be a lot cleaner and simpler, but it works, and I wanted to share! I'd love to see improvements.

    A dependency we can't build will get stuck in the build queue (like plastic), right now I just have that displayed on the bottom using a manual check, but this isn't very elegant.

    Inspired by https://reddit.com/r/factorio/comments/1gkhehl/behold_the_bogocrafter/ Thank you @Legitimate-Teddy@reddit.com

    I don't have a reddit account to thank the original poster, but I do appreciate them sharing the idea! (If you use their original bogo design, be aware it doesn't recurse down the dependency tree very efficiently, so you will WANT to make your own build queue)

    Issues I'd like to improve:

    Too complicated, better alerting, less cycles rechecking recipes we already checked, if we change the original item combinator the build queue doesn't get reset, if I want MORE then one stack of something that isn't possible... that really needs to get fixed.

    you are viewing a single comment's thread
    view the rest of the comments
    [–] sxan@midwest.social 5 points 6 days ago (4 children)

    Is the train just for illustrative purposes?

    [–] jet@hackertalks.com 4 points 6 days ago (1 children)

    Yes, and No. Any storage container will work, the train is nice and big so its good for a do-everything build; Other good options are the cargo landing pads, and the SpaceShip hubs.

    [–] sxan@midwest.social 3 points 5 days ago (1 children)

    I figured it was for the storage capacity of the cargo car; I just wasn't sure why you included an engine.

    Thanks!

    [–] jet@hackertalks.com 3 points 5 days ago (1 children)

    Oh! You need the engine if you want to read the contents of the train car through the train station. The engine is mandatory, and it must be docked the station.

    [–] sxan@midwest.social 2 points 5 days ago

    Oh! Thanks, that... makes sense, actually!

    load more comments (2 replies)