Giter Club home page Giter Club logo

factorio-generators's Introduction

Factorio Generators

Usage

require('./index') returns an object with the following keys as functions:

outpost(blueprintString, opt)

Generates an outpost given a blueprintString with 2 walls at the corner of the ore patch you want to cover. Options are:

  • minerSpace: 0-2, space between miners (default 1)
  • undergroundBelts: Use underground belts in front of miners instead of regular belts
  • compact: No horizontal spacing between miners, place electric poles in between miners. Requires undergroundBelts to be true.
  • beltName: Name of type of belt in the format type or type_transport_belt (default '' which is yellow belt)
  • useStackInserters: Boolean, use stack inserters between the buffer chests and cargo wagon instead of fast inserters (default true)
  • botBased: Boolean, use passive provider and requester chests (default false)
  • requestItem: Item for requester chests to request if botBased (default iron_ore)
  • requestAmount: The amount of items each chest requests when bot based (default 4800)
  • roboports: Boolean, include roboports by tracks (default false)
  • balancer: Blueprint string for an NxN balancer if the script does not have any available (N being the # of cargo wagons) (no default)

Shared Options

  • trainSide: 0-3, side the train station should be on (default 1 right)
  • trainDirection: 0-3, side train station should enter from (Must be perpendicular to trainSide) (default 2 bottom)
  • module: Module name to fill up miners with, empty for none
  • includeRadar: Boolean, whether or not to include a radar (default true)
  • turretSpacing: 2-9, spacing between turrets on wall (default 8)
  • turrets: Boolean, whether turrets are enabled or not (default true)
  • laserTurrets: Boolean, use laser turrets instead of gun turrets (default true)
  • includeTrainStation: Boolean, whether or not to include a train station (default true)
  • locomotiveCount: 1+, number of locomotives before cargo wagons (default 2)
  • cargoWagonCount: 1+, number of cargo wagons on train (default 4)
  • exitRoute: true/false, whether or not there is a route past the train station for single-headed trains (default false)
  • walls: Whether or not to include walls (default true)
  • wallSpace: Space between wall and rest of the outpost (default 5)
  • wallThickness: Number of walls thick the outpost defenses are (default 1)
  • conrete: Name of concrete type (in vanilla either concrete or hazard_conrete) (default none)
  • borderConcrete: Type of concrete put on the wall and just inside the walls (default none)
  • trackConrete: Type of concrete put on the track and just surrounding the track (default none)
  • includeLights: Boolean, Let there be light! (Default: false)
  • name: Name of blueprint (%drills% is replaced with the # of drills in ore outposts and %pumpjacks% the number of pumpjacks in oil outposts)

oilOutpost(blueprintString, opt)

Shares options with the "shared" section from above

  • pumpjackName: String, Name of pumpjack entity (default: 'pumpjack')
  • tanks: Int, Number of tanks to use to store oil per cargo wagon (default: 2)

blueprintTool(blueprintString, opt)

Modifies a blueprint in different ways and returns a new blueprint string.

  • flipX: Boolean, flip along the X axis (default false)
  • flipY: Boolean, flip along the Y axis (default false)
  • landfillEntities: Boolean, place landfill under entities (default false)
  • The following are an array of objects with a key to for the entity name to convert to and from for an exact name or includes for any entity including the string
  • entityReplace: Array of objects to convert entity types in the form { from: 'name', to: 'name' } (default empty array)
  • recipeReplace: Array of objects to convert recipes in assembly machines in the form { from: 'name', to: 'name' } (default empty array)
  • modifiedOnly: Resulting blueprint only contains entities which have been modified by a replace.

factorio-generators's People

Contributors

aekrylov avatar chriswa avatar chronial avatar cyberboss avatar demipixel avatar gamestailer94 avatar jheimbach avatar msvisser avatar trumank avatar werfra avatar wh0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

factorio-generators's Issues

Oil generator doesn't generate an exit route

When trying to make an oil blueprint, when selecting the exit route option, I simply get blueprints with the track stopping right before the laser turrets, and no gates in the walls on that side.

Can't use it with AAI industry (Error: Error loading blueprint)

Hello,
I am trying to use this generator for my modded game but everytime i load my blue print an error is thrown out saying

Error: Error loading blueprint: concrete_wall does not exist! You can add it by putting it into entityData.

Here is my BP

0eNqNj0EKwjAQRe/y1yk06aKSq4hIrYMMpNOSpGopubtJ3AgiuPzDmzfzd1zcSotnibA7eJwlwB53BL7J4MosbgvBgiNNUJBhKilzo6dIzWNwDkmB5UpPWJ1OCiSRI9NbVMN2lnW6kM/AD4XCMoe8NUu5mU0mkxtsY3RK6ktj/tU0xlRP0eTXagv7UVrhTj5Uvu9a3etOt+0hpRdzM1zJ

And as you can see on this pics the walls exsists
image

Modules in pumpjacks

Oil Outpost Generator
The generator creates a blueprint with 3 modules in the pumpjacks which is not possible in game, therefore the modules won't be inserted when the blueprint is placed in game.

Offshore pumps not properly modeled for "place landfill under entities"

There was a change just before 1.0 where offshore pumps are partially on land and partially off shore.

When attempting to add landfill under entities where the blueprint code includes offshore pumps, landfill isn't properly put to allow an offshore pump to be placed in that location.

Oil: Train output route

Oil outposts do not provide a train exit route when selecting the "Provide exit route" option. The option does seemingly nothing. It works for normal outposts though, so this issue is specific to oil outposts.

Oil generator tweaks

I've gone ahead and done the hard work for myself on my oil field but I have a feeling that there should be some tweaks to the generator.

Allow other entities to be on the BP as obstacles to be avoided by piping (if they're power poles take that into account with needing to power the pumpjacks)
Have a 'connect all pump jacks' option that doesn't require a train track in the BP and just connects all the pump jacks with as little pipe as possible
Allow the generator to use the pump jacks as locators for the oil spots and rotate them if necessary
Beacons.
I wouldn't mind a "this program will run for about 5 minutes and will return the best BP it can find in that time" option rather than a "right this instant anything will do" ;)

The BP I provided failed several times because I didn't understand how to use the tool and then finally for being unable to connect all pipes which lead me to make my own and this post: 0eNqVl9tugkAQht9lr9GwJ06v0jQN6sZuq0gAmxrjuxfQXdrKhH+vFAOfs8w3s7NXtjmcTd3YqmPFldntqWpZ8XJlrd1X5WH4rbvUhhXMdubIIlaVx+GqPh/rj3L7yW4Rs9XOfLOC314jZqrOdtbcGePF5a06Hzem6W94fjpi9antHzhVwz/1kJVQax2xy/AtXuvbLXrCCAQjY4fh2TxGQtFwj0nnMQrBTMH0q+vf2M42Znu/Qc0wNcBUU2R6PrIEiWxY1gMj5zEpgBETRcxTMoAi1VIsOZT63GMIg3gMcJJFCuLzr2A4gYF8Ht7InZMTGBkUTfbfQzHHhOT2IiZEZIjOK597wmY+6dx2TWn3792q/zg8o3j2CGcWkwYtibCZQzr7qids5ojO2kGoboi4zCeZCQrUm5XTh6JAKosHJEYUFFCbdsUhIaQKqRQidwKT2imgCArUo31fJEpDIE6rZAGSQblzjZ7YDUUekq4ESZcMEpyISyJ+e72JRiYRvV3GiTYtEZ/91EGNLpDBeiESyGDpEk7tgjIJSQ+1CUpoysiXKFBb9isimruEHJ6CIWpbxUHjLonhIbsnNQsqRF3+J5bFwlQyxMIxsmUmNHEI10DIoVwHLTeFQsPm6cxBibJT0ACSLFGyoEMQdZRSedAhSIx115/yxrNg8evoGLEv07TjM0mWilgLLXk/gP0AeZ2Tgg==

Error: Entity pipe overlaps pipe entity (777, -1157)

This error happens in the Oil Outpost Generator, when 2 pumpjacks output in the same tile.

Blueprint string:

0eNqN0FEOwiAMANC79BuNzDEmVzHGbLPR6sYIMOOycHeZi0adH35BS/tKOkBZd2gsaQ9qAKpa7UBtB3B01EU95nxvEBSQxwYY6KIZI9M15lxUFwgMSB/wBoqHHQPUnjzhZDyCfq+7pkQbC17dztuCjie/iEcdUdO62NXqcVyUZB5Le1ALzjMeBxzIYjW9J4HN3GT+qzkp86V4oiLeP9n0B7v+ixVvrPhmk3Elj8Wptz0zuKJ1U0HOU5luZCb5KhNZCHe2MIDa

Rotating or removing one of the pumpjacks solves the problem, but the error is not very clear.

Can't generator loading from both sides

Wall blueprint string:
0eNqNj8EKwjAQRP9lzim0UWzNr4hIq4sspJvSpGop+XeT6kHQg8dZZt7OLOjsRMPIEmAW8NmJhzks8HyV1uZbmAeCAQfqoSBtn5UPTqi4t9YiKrBc6AFTxaMCSeDA9KKsYj7J1Hc0JsOvvMLgfIo4yd8SZlMqzDCF3saovhj6L0bxhmRGKrWWNx9bFW40+tW/a2qtm2pf1jrGJ+X9WWU=

Settings URL:
http://autotorio.com/outpost?modded=false&belt_type=fast&undergroundBelts=true&compact=false&trainSide=0&trainDirection=1&minerSpace=1&module=None&useStackInserters=true&useFilterInserters=false&includeRadar=true&includeLights=true&botBased=false&requestItem=Iron%20Ore&roboports=false&turretType=laser_turrets&walls=true&wallSpace=3&includeTrainStation=true&exitRoute=true&doubleLoading=true&locomotiveCount=1&cargoWagonCount=2

I wish I could copy the 'error'd string, I can fix it manually (light pole intersects with belt, easy to fix on my own). But it looks like it doesn't let me copy the result :(

Game crashes when importing blueprint book using Landfill tool

I just wanted to put landfill under my blueprints. The blueprint generator seemed to work correctly when I used it but when I imported ingame it just crashed. I've attached the logfile and memory dump. Here is the blueprint book I wanted to landfill:

0eNrFndtuYzcSRX+loWd7wOKdfssf5D0IGrKjdIR2S4Yld08j8L+PL7ohw32qtnmAvMVOvCKR++xTLLJYfy9u759WD4/rzf7z7Xb7dXHz9/k3u8XNbxc/vv679d128/7r3frLZnn/+rv9z4fV4max3q++La4Wm+W315922/vl4/XDcrO6XzxfLdabP1b/XdzI8+9Xi9Vmv96vV++Ytx9+ft48fbtdPb78B13A1eJhu3v5m+3m9f/3wrku/0lXi5/v//D8fPV/HG/kRIUTjBxRONHG0TDJhtG+VbZhtEEu7GTFPqeykwU4jZ0swBFHzhbiCDldiOPJ+UKcwE6YAFBkZwyBzoJe3t09fXu6X+63jx2Qf8f4LiTbIG6KUWyMyc9RyelGg9LI6QYc76jBdV3GhYSfbnf75dvfgaHtEzwzsn0Eq1s0IKxsEYdTbVcsnhJtH0Fpto8gJYsGhFQswARHzjPwuSDkPCOOJ18oiBO49wnCRG6yECZxk4UwmZwsFGEVcrIQp5KThTiNmywU8DlushBGuMl6w7zE2G/B+M1F7H61uF/evvzlgfPpbnX/ivm+ety9UXyVWGIruYjLKZ9Ddvf6qf6lNcDj9nb7sH3c96z18O7zSvh/v/2y3u3Xd9d3f612+5cPs9utv6+uHx6339d/rLqm7Y/vVZ+1RcE/6LdPf/6pMdPQAuFamkZKVlLWSNYnXIJGsj7j4jRSZUNYBGpsCItA1tXCedkBSUKuOyDIk5EoBAUyFIUg6wJYFYAY9a2LUoz61h8UMepbf3gv1hC0c+nGdbGyMDq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OpeHrzmmc3kYRUcZGEVHGRjFRhn4Hmc2ysAkNpeHSWQuD4PIhSEGkQtDDGIXhpjELgwxic3lYRKby8OkRl0mDSwlO+oyaUQR6jJpRPFEIx0PrkoPA00U4A3nFzuOH6CiK84zb+cJoXg7hyjeziGKt3OIou0ckQpt55BE2zkksXYOQaydQxBr5xBE2zkk0XYOSbSdQxJt55DUPt5FATrMxTYkD4XtHsTeQAe4dJ2l3xlsd1YHGp7BCarxw72IMDPN0D3pfRgsPfR+rPd/fTrO2c7UTU8+3k3vMhL4B1Drw3fOo5z/0Nvb8E3GIO3QFqNN9+GbZuQJhnHJ2OoEw1p469wExFre5fwExFok46aG1bqv4qbG1Zqtc1MDa010yNTAWgu7jlIrSvM8k9aK0jjPJLaiNM2zqa0oHfNscisjDbZPeisjHbZPgisjPbZPiitKhzyb5IrSCc8kuaEG20fJac3vTJJLI022T5LTetvZJKe1tbNJbqjH9klyaaTL9klyaaTR9klyWg87k+SC0r7OJLmgdK4zSS4oXetskgtKyzqb5ILSr84muaD0qrNJLih96mySC0qPOpvkgtKfziQ5UfrRmSQnI/3njpKTke5zJ8mJ1lJ7aoPxqDgZaT13UpyMtJ47KU5GWs+dFCdK6zmb4kTpOmdRnIy0mzsITkZ6zR30JiON5o5yE6XNnMngRGkwZ1KbKK3lTGITpaucSWsy0lDuKDUZ6Sd3UFoYaSd3UFpQuslZlBaURnImpQWliZxJaUHpH2dSWhhqHecmxtXcOc5NDKy1cdxRaUHpG2dRmtYxzqI0rVecRWlakziT0obawx2VlpTmcCalpZHecEelJaUznElpWk84k9K0bnAWpRWlD5xFaWWkA9xBaUXp/2ZSWhlpAHdUWlEawJmUVpTmbyalFaXxm0lpRen5ZlJa0ZLZv5wpn26Xm6+mRLbvQa9vt9uvF+Rftz/eUu3Lu/36++rz4U/dBP/5f9hFHNo=

factorio-current.log

factorio-dump-current.zip

Inserter hand location not preserved

I'm using the Bobs mod inserters mod to let me change the inserter pickup and drop-off locations, and when I use the flip tool it's not preserving the hand locations.

Feature request: add option for second utility station

Thanks for amazing work!

Could you add an option to add a second separate train station to unload things like repair packs, walls, turrets, ammo etc... of course to make it perfect there should be a belts/bots connection between ammo and turrets and an option to cover outpost in construction range of roboports (for outpost repair)

Oil Outposts with Fluid Wagons

When I change the Fluid Wagon Count to 4, it creates the extra tanks and pumps, but the wall, gate, and turrets are still in the same place as if there were only 2 Fluid Wagons.

Exit route without gate

Setting the exit route flag, with wall thikness of 2, the second layer of walls is missing the gate for the train to exit.

Bug: Output settings in Constant Combinators lost on flip

The output settings in constant Combinators are lost when you manipulate a blueprint. In my case I flipped them around the horizontal axis and discovered the output settings for the constant combinators in the print were lost.

Pump jacks outside the wall

Hey! Happy user here, noticed something weird today.

This is my pump jacks + single track BP string:

0eNqV1EtugzAQBuC7zNqJMGDzuEpVVYRYqVswCExVhHz3GhJHlcLiZwVG448Bz8xCl2ZS/aCNpXIhXXdmpPJtoVHfTNWsz+zcKypJW9USI1O166qf2v6rqr/JMdLmqn6p5O6dkTJWW63uxraYP8zUXtTgA153M+q70W/ozPomj5x4dBaM5vUuPwuvX/Wg6ntE7NgLGgMof5ISIZODeXIETZ/oaIdK3z7tyV+anWTTBxu5HUYguSUhNehzJUJmgUwRMkPIOJAJQubQoQQzQsgCIcMxQ4fMI4AMooBEpGnyQyLSMaGCCi/uGUiLyIcBtTFPD4gcqhgO9YoIJvbz5JHK3ptgfkZuk7T8N3gZ/ahh3AJknsVRKoosk879AQDszsg=

and settings url:

http://autotorio.com/oil?modded=false&trainSide=Right&trainDirection=Top&module=None&includeRadar=true&turretType=Laser%20Turrets&turretSpacing=6&walls=true&wallThickness=2&includeTrainStation=true&exitRoute=true&concrete=None&borderConcrete=None&trackConcrete=None

The result is here:

0eJy9nVtz20YWhP+Kiy95EVKYwRlc/Af2MXnfSqVoi6UwoUgWRWXX5dJ/XyoWBiAhCH1mp89THF/kdnP0oefSg++rL7vnzfG03Z9Xn7+vtl8P+6fV539/Xz1tH/br3evPnb8dN6vPq+1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3QWRysFL9EZpF64Q2dxJFfwCp1B6oUbdBZHuQUv0BmkXrg/Z1EBELw+Z5B64facRXVE9OU5pjXwmzYsUi9enTPIvnBzzlskYLg4N2pj0cq6Ahfn/Py71PKJwU8/RGtoJW+Ba3ODNUQx+tYc730SApfmBmuIYvDOXG8N730SAlfmojVMMXhjLlpDu4pE4MLcYA1RjB7DvIquwHW5wRqiGD2GedVuwV88FwzE6DHMuxJA8BfPBQMxCRimXSUh+IvngoGYBAzTriAR/MVzwUBMAoZ5ARR/8VwwEJOAYVoADXBFbrCGKCYBw7QAGuCC3GANUYwew7T8GeB2XHSGqEUPYVr6DHAzLhpD1KJHMC17BrgVF40hatEDmJY8A9yJi8YQtejxS8udAW7ERWOIWvTwpaXOAPfhojFELXr40jJngNtw0RiiloTVYJ4Y/WIwT0tC+qWJgZtwQ8LjadHDl5c24R5cNIaoRQ9f3vskAlyDGzadiGL0+OW9TyLAPbjRfhxPjB7AvPdJBLgJN1hDFKNHMO99EgHvwgUDMQmXWPLSFdyGG6whiknAMC+Rw324wRqimAQM82ZxcCNusIYoJgHDvJk/3IkbrCGKScAwb7UIbsUN1hDFJGCYt8II9+IGa4hiEjBMXJaGq3GjzEdUk5KHeRkUbseNzCGqSUAxbxsswP24kTlENQkw5m2fBrghNzKHqCblandeEoU7ciNziGpSgMzLonBLbmQOUU0KkHlpFH4L3cgcopoUIPPyKPweupE5RDUpQOYlUrhDNzKHqMa9/Ha32p43j5ev9WX3vDmetvvXr/f35vTU/1W79ZfN7vLr/9ocfnr66enTL8/ni9bzp+KTC59+fX48/rn++tfT6uXlf0NvfZs=

In game it looks like this: https://i.imgur.com/Zgwt1k3.jpg

Not a game-breaking bug, but still weird.

Misaligned splitters on outpost blueprint

Hi,

I was using your tool through the website (autotorio.com) and I stumbled onto a bug. When I generated my outpost the splitters were misaligned with the belts that were generated. I have included some images to show the bug.

Screenshot of the whole outpost
Screenshot of the splitters

When generating the blueprint I used the following settings:

Input blueprint:
0eNqNj8EKwjAQRP9lziu0NRbNr4hIq4sE0k1pUrWU/LtJvAh68LTMMvN2dkVvZx4nIwF6hbk48dDHFd7cpLN5F5aRoWECDyBIN2TlgxPePDprEQlGrvyEruOJwBJMMPymFLGcZR56npLhV54wOp8iTvK1hNnUFWHJU8VIX5DmL8ihIDIhdSrd9cerhDtPvrhbpZpd3ap9tY3xBYgcWS4=
Belt type: Fast Transport Belt
Use underground belts: No
Train station side: Left
Train enter from: Bottom
Miner space: 0
Modules: None
Use stack inserters: Yes
Include radar: No
Balancer blueprint string: Not provided
Bot based: No
Turret type: Laser Turrets
Turret spacing: 8 (Field was actually empty)
Walls enabled: Yes
Wall thickness: 1 (Field was actually empty)
Wall space: 5 (Field was actually empty)
Include train station: Yes
Provide exit route: No
Locomotive count: 1
Cargo wagon count: 2
Tiles: All none

The generated output blueprint string can be found here, as it was too long to post in this issue.

I hope this will help you solve the issue, as I would love to see it working correctly, because I think the concept is awesome!

- Michiel Visser

Feature Request: Request Chest Blueprint

It would be nice if you could get a blueprint with a request chest requesting all required materials. This would be an easy way to collect all your material at your base and then head out to your outpost.

Oil outpost generator doesn't generate radar when selected

When I select the radar option in the oil outpost generator with the settings URL
https://autotorio.com/oil?modded=false&trainSide=2&trainDirection=3&module=Productivity%20Module%203&includeRadar=true&includeLights=true&beacons=false&turretType=none&walls=false&includeTrainStation=false&exitRoute=false

No radars are actually generated.
Input BP string:
0eNqV1e1ugjAYBeB7eX9XQz/5uJVlWRAb100KgbKMEO59oKvboksOvxRTHt6Uc+xEh/Ng2875QMVErmp8T8XTRL07+fK8/hbG1lJBLtiaGPmyXq/aoW7fyuqdZkbOH+0nFXx+ZmR9cMHZq3G5GF/8UB9styy4v5tR2/TLDY1fn7QgO8Gl2mtGIxUi2euFP7rOVtclamZ3qsBUnm9SJaaKNKoaURU4q4yqQVQNzsqjmiGq2bgDkiNqiqkqiapC1AxM1k2ViJqDO2CiCmWAJ+CwMbDrF4AF28XNv6x5xIL1SrJvVkH14nJjZhWULo4W7Dat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9VJv2558Pf78ff/py/HJ8+uV8amFPT8snZ55+9ccvHqPL5R/yiR9N

Feature Request: change blueprint name in blueprintTool

I've found myself using blueprint tool to flip several blueprints. However, it's somewhat confusing when the new blueprint has the same name as the old one.

A re-name option would be greatly appreciated, and shouldn't be that hard to implement.

Incomplete radar coverage

First off, thank you for your app. It's very useful!
So I've been using it on a rail world map but I've noticed that when adding a radar to a very large ore patch, the radar coverage doesn't fully cover the mining outpost. Could it be possible to add an option so it adds a radar on each corner when the radar coverage is smaller than the mining outpost?
Also, by default, the radar seems to be at the opposite corner of where the ore is leaving the mining outpost. Could it be possible to bring out closer to where the ore leaves? For example, it should be next to the balancer, where all the belts are leading to.

Here's a blueprint I've used that display the issue:
Blueprint String
Blueprint preview

Feature Request: Add option to place roboports at corners.

90% of the time when using bot mining, putting 4 roboports at the 4 corners (of the outpost / resource field) fully covers the resource patch (except for truly massive resource patches anyway). At the minimum, it'd serve as a nice 'backbone' to build off of manually when combined with the 'place roboports behind train station' option. While not a 100% solution to robot coverage, it's a quick 70% solution.

For massive resource patches (where 4 roboports don't cover the full patch) there's not a good way to do center coverage, but 'edge' coverage could be done by dividing the walls into roboport logistics area sized sections (for vanilla this is easy, for mods it'd be maybe another parameter?) and placing a roboport at each center point. This covers most of the patch, except for the 'center.'

Not a feature request, but musing; the trick with the center of massive resource patches could only be covered by choosing to not mine certain bits of ore. I suppose you could choose to place a roboport at the centerpoint of the resource patch, but I'd personally rather it be left as an exercise for the user (to either move the roboports via remote construction bot as the patch is exhausted to expand coverage, or to delete miners in favor of roboports coverage).

Feature request: Beacons

I like to have prod3 in my drills and augment them with a bunch of beacons with speed3 in them. I've attached an example blueprint. Having an option to place beacons around the drills would be awesome :)

Issue: landfill for curved rails is broken

When you use the landfill option in autotorio.com the resulting string does not correctly put landfill under all the curved rail correctly and when you import the string, two errors pop up.

Error while importing string:
Unknown item name: straight-rail
Unknown item name: curved-rail

Excessive heights for outposts

Setting the --trainDirection flag to 0 and 3 result in an excessively large outpost generated, as illustrated in the following picture:

I've tracked this down to the following expression used when calculating the blueprint width/height in multiple places: Math.min(INCLUDE_RADAR ? -3 : 0, _____). This expression can be found in a number of places, such as here, and here; it's used more often than that, but those are the two main culprits as far as I can tell.

Removing these expressions fixes the issue but I'm sure that it probably introduces some other bugs, and I'm not sure exactly how to rewrite the expression to be correct.

Circuit based chest balancing

You can use an arithmetic combinator to balance across all chests, instead of a belt-based balancing solution. This allows for much more compacted setups, as less space is needed between the inserters and the miners for a potentially large belt balancer, and also passively re-balances all chests after asymmetric train loading (though I don't think this will ever be relevant). Especially with long trains, say 6 cargo waggons and more, the space needed and number of belts to build can decrease greatly with this approach. I've been using this with 10 cargo waggons (a whopping 60 chests - I know there are balancers this size around but...), and it looks really neat and requires next to zero effort.

Here's a screenshot: (ignore the two cables on the leftmost power pole)
insert awesome screenshot here

And here's a blueprint string for the setup (for 2 cargos):

0eNrlWluSmzoQ3Yu+TS5qSYD9kY2kUlMYK7YqvErIU5ma8gKyj7uyu5Ir7MTjKLRp8cvP1GDD6dbpI/XDvLN9fda9Na1ju3dmqq4d2O7LOxvMsS3r8TP31mu2Y8bphm1YWzbjlS1NzS4bZtqD/sF2/LKZfUT/6K0ehsTZsh36zrpkr2v3AAKXrxumW2ec0TcnrhdvL+252WvrrdyxSmvcqdHOVEnVNXvTlq6z3lTfDf7prh2d8IhJ8Ult2Jv/xzvI/Nqc7eqXvT6Vr8bf72/6AHrxXx+uDw/jF9+MHdzLX0t6Ndad/Sd3T253JLqsTuNSBj3CjFiDK0dOEw4b1vXalje/2D/+2e7s+nM0+uW2hlZXdy/5+OdotW4f+TIHthPy8tXfD/gN/vvLGLaAZLgbb/TBnJtE196g9Uz3Xa0nOM7vHH9SU4DiDvitHFxi2kFbp6eilT0iTcerMrY6G/cRrCWxetX2zZ1Me2Q3K79ClY4XTV/aq5h27L+f/4431N3RDH8I5OoI+thnhgXK6sNUmDbTAfJq/73a8RIeqB2vJRI/SaZbrZBugdItAn5zhF81d6A90TVciT4Ye3OV7bIJA1m8ARVlICcrRK5QIQWqEBkopEAUUpD5FSvkN0f5zQN+OUcI3sbvEBm1Q3gab0HEWeBkkcD6RCIBFUkRigQQkXAgM8xXyDDH6w4eUpxhFIv4bQJx20TGW+BxFlRsvZvO1Ls8owovXaHuntS7YYXLt5ju8nhVpHGqKKItRBrYUkWyxsNpi4skC0QCKdbHplSG15hg8SrX77qAYXRSwKM3SdzZDBBtIC69AHk2scJKXeG9st90gUawaQSQxxEr7DUVXuZCOI4ArNuE+IFEXKsC8QOJuG4L8sgSLJupwIDcga9wBKYULjp0F8d33HEjKRHfcMcN1cRHrvIkVt8pY+gUmWcDHUrNQIkHKK3rpDrp4emAL/2tU1KWx4ed4SxLYMeLkEQXs0UuCur4O2xKBVaVCEUPj5wJT0aHEjNQOZFGsYhGvJwT4cBEYgMTURBdlItcxOd+Isx1Apu9iy09IPA8IDKlQ/EZKE4kji8ijuNVgvzrRyH0VyEg+gjLfMTHSSIc60psrCsFOSTpTESIh1a6bLEZHpDwmJLYDEM+HFNNWddJXTb9s7kFtlT6GTW3I3Iy0tyGIJ4ky7Q2dvwY/WHvqrAsIbc0FxduWXyAIcPMK7HMq+gn1EweU/TiZyaNKeIxsixFAF6wqDBHjGXsNG3EmmpZogW8YFFAjqwkx2OmgFSKtthl9SMUzxaLrO3xPLKlOZ5ccn1ZaOLlnKtL8GfxDlOYORkzI2MWZExJxtySMYGKmaVUzJQMyamQdC+BCkkmMxNUSCTmXrrXF9B2D6+4bZjvxIdbl1jkkOZFLlV2ufwPjjY1+g==

The only things that needs to be taken care of are:

  1. Make sure that your belt(s) can actually carry the items around fast enough, if not add more parallel belts. I occasionally feed the output of the miners via two belts into the center of the train, and then split the two so that one goes up and one goes down.
  2. The combinator must know the number of chests, and divide by its negative (i.e. with twelve chests divide by -12).
  3. This setup only works with a single item, i.e. ONLY iron ore or ONLY copper ore, but you cannot mix them together (why would you try that anyway?). No need to change anything in the combinator / inserters.

The way this works is relatively simple. All chests are wired together in green, this goes to the combinator's input side. The combinator is set to "each divided by -(number of chests)", so with 12 chests in the above blueprint it needs to divide by -12. The output is then wired together across all belt-to-chest inserters. These are set to be active when "everything <= 0". Also, each inserter is wired to its corresponding chest in red (so as not to mix the signals). For backwards compatibility, you could also (theoretically) set the inserters to "everything < 1", but not "everything < 0" as that can cause deadlocks.
This makes every inserter receive the number of items it currently has on red, and the average number of items across all chests (with inverted sign) on green. Whenever the latter becomes larger than (or equal to) the former, the inserter is activated and puts another item (or three of them, if you got the research) into the chest. This makes its chest's content be higher than average, deactivating the inserter again until the others have caught up.

Note, these wire colors should be kept for compatibility with the Logistic Train Network mod, which for obscure reasons only accepts its input on the green wire (this might have been a bug and fixed, but why bother and check that, right :P )

Include Solar option

Add option to include solar+accumulator farm for outpost. Useful for truly remote outposts that you don't want to run power to.

Power requirement calculations are simple enough.

I would be willing to give it a shot if you point in the right direction (i.e. which file should the code segment be located?)

Include Lights option doesn't include any lights

When I had the station option on the only lights it generated where at the end of the station, where the train had to exit. And none between the pumps. With the station option off not a single light was generated.

Settings URL:
https://autotorio.com/oil?modded=false&trainSide=1&trainDirection=0&module=Productivity%20Module%203&includeRadar=true&includeLights=true&beacons=false&turretType=none&walls=false&includeTrainStation=false&exitRoute=false
Input blueprint: 0eNqtldFugyAUht/lXGMjIFJ9laVZrJKOTZEANjPGdx/W6S7aC1y4UsjP//l7jscJru0gtJHKQTmBrHtloXybwMqbqtplz41aQAnSiQ4QqKpbVnro9GdVf8GMQKpGfEOJ5wsCoZx0Uqwej8X4robuKowXPJ9GoHvrD/RqIXmTBHN6PjEEI5RZwU/M+zfSiHrVEPR4Druotembwe/fPSPp/H0rEuol84ye0CQMnfFfNEtZLDQNQ5M8Pjo7mhrnsdAssNbFjo6WOg9Es/ip+Y62zlTy9uESf2lf8jHfgr9yOgeWbvtWGMGxQhSBDbuXjpBYaJwebRuSRWOHjieys6P1DSYHRyNb3n4kduCAYunGpv9stcuq8qC/fw6CuzB2NTnjjBeEU4pzyrz+B76XKGY=

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.