In the code, I’ll use arrays, so these locations would be and, starting from the 0 base. The 3rd placement isn’t valid.įor simplicity, let’s refer to an objects placement by the top leftest square it occupies, so the example above has a pump at location (7,7), and the beacon is at (4,4). 1 and 2 are valid, as long as any of the 9×9 square of influence around the beacon touches the pump, it works. Here is a lone pump, it takes up 3×3 cells Here are 3 possible beacon placements. Given a set of pumps, how do we decide where to put beacons. I want to start backwards, with the purest version of the problem. I know of at least one tool which already proposes this, I’m interested in going through the exercise myself, partly to give me a real world problem to practice my Python, and also to see if I can do better! Part 1: Where to put the Beacons A huge thanks to to all the contributors on GitHub, as well as the community who made the previous cheat sheets and other resources such as the Wiki, Reddit, and Factorio Discord from which this is all based on. This is a compendium of the most common Factorio facts as of v1.0 release.
From the outside, Factorio looks a bit daunting so check out this beginners guide full of hints and tips to make starting a new game easier by ESpalding. They need to be close enough to each other to be connected to the grid, and they broadcast power in an area around them. The Ultimate Beginner's Guide to Factorio. Power poles are needed to provide electricity to the pumpjacks and beacons. A medium power pole, there are other types with different areas of effect