mamoniot / project-cybersyn

MIT License
43 stars 37 forks source link

Allow-list doesn't recognize direct mining setups. #108

Open NicolBolas opened 1 year ago

NicolBolas commented 1 year ago

The automatic allow-list building can recognize inserters, pumps, and even loaders. But they don't recognize miners. This means that using CyberSyn with direct mining is... difficult.

Basically, I have to give direct mining trains their own network, so that I can turn off allow-lists. But this also requires that they go to special depots and that they must use a fixed depot(otherwise, they can go to any depot regardless of network and therefore switch networks). I haven't setup any fuel outposts, but I presume they are also specific to a network.

Not only that, using a separate network makes it difficult to do things like hybrid setups. Where sometimes you use direct mining if the ore patch is big enough, but otherwise you use belts.

Is there some fix for this? Maybe a way to specify the allow-list directly for a train stop, or at least recognition that a miner is something that can fill up a cargo wagon.

thattomperson commented 1 year ago

Nice, that is a good idea, i've never gotten to high enough mining productivity to do direct mining

for now if you wanna "trick" Cybersyn you can add some inserters between the miners like this

image

Here is a quick blueprint to give you a better idea (I've got space exploration installed in this save file, i hope the blueprint works for you 😅)

0eNrNWkuPo0YQ/isjrjEb+gX0HHNJlEMOUZRLtLIw7rFbi8FpsDejlf97Cj8GbFfbUEirvYwHaL6ursdXRXd9CxbFzmydLZvg9Vtg86qsg9d/vgW1XZVZ0d5r3rcmeA1sYzbBLCizTXvlMlsEh1lgy6X5L3hlh8+zwJSNbaw5vX+8eJ+Xu83COBjw8Wa+c3uzDI8As2Bb1fBOVbYTAU4oZTQL3uEfFnOAX1pn8tPz+DC7Q+VDUQX3oAoEVXyg1g0ArtaNX1pxxlX6GjdBcOVwXK49uAzBVYN1G19Q4+eo8VBU3kNFcJIR2kwuSAxDSkfoTz1E0gSZpMaQWPQBtbCr0BSgUmfzcFsVBnXEqIODNw3Mvah2ro0ZHs04/4zN0QVPUeXVpmrs3jxctWztWzkLQNlpBEzbBnDdjt26Kjd1DSZ92xkIcaZbWZpsdXy6ycpdVsw31RImfMuK2sAz0E45L0y5atbgx6giOME6Hp12AXicOKybaoviiL4y68tag9+r8uXvTy/V28sflfuavQfYJJLiAwkqr6Is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FNGOik5MuRDHNKtFhgTppTk6NE7pXplaJ5NKVtAHqh4mvcOStkp5WOS4Wfk6TTvHZSyU03RL34SH5GoJxrEtpqyrRqhKUlzUsDey4nZX4spARshn+1AAXAfi1hNOcvy6ERNio0oHnh8cjlpMGW2KMx8aev29+NL/vLYmWwJf2pQQd42ITVud/X09OA07LQVwIbXCywSt0ceeP2gKXvGEZqWdTIplu/1i8YIZffJIy8lCUcKb6uJKGJ5sEg0IHAsSpXrwxJjD8PkpS0sin6IwzA24TBMK08EsYhSCUQMx6KUAj6seODZ/cVM+qZ5T/YP8n/LHFh69Rf8FGiDUkSoCrSnSS2dkGA0ciaIV4OQJ8Zr2yNyr7FuYFejljfaRmHZ2LbGW1iFwvLxPaOaDQEWYxtn0/R5Jyrrdb8N7Jy9hUX7y0Z1wmlcDaJtJa7hi3+5K869xF3X47Hjh/UGnHoq/J1/s+BrBhm7z33wAsBtM2fmZ9LLyiUMvPRjlBlIsod1tfds/qW+9K19biU7tmu89rqmZ8EeqPukk5TJRPMkEYlWqTwc/gdKhL6d
NicolBolas commented 1 year ago

While this solution does work, it has a downside. Direct mining is very sensitive to the size of the ore patches. By spreading the miners out, you make it a bit harder to fit them into a patch reasonably. Your particular arrangement lengthens the size of the setup by 4 tiles; a different version (the one I went with) makes it 3 tiles longer by putting one of the inserters at the front of the mining column (it doesn't take up space between the miners).

Either way though, there still should be a proper solution added to the game.