#Transport line deconstruction
1 messages ยท Page 1 of 1 (latest)
I would love it if it could also decnstruct the transport lines
That sounds *awful * to implement though, so I wish you good luck if you try it.
Its so easy to implement.
So it'll deconstruct empty belts up to miners that are still active?
That would be difficult to implement. I would just implement if the transport line is empty & has no active miners.
Because splitters split transport lines
Ah, would still be nice, but what I desire is the trimming of fields I already do manually
And might I suggest deconstructing poles that are no longer powering miners (or only empty miners)
You'll have to either check to see if it connects the entire grid to power, or just keep ones that are connected to a pole not in the selection area
Power poles are difficult, if I would select them then it could be easy yes
TBH I hate mixer decon tool touching anything other then the miners so my implementation doesn't touch them
(you may easily guess the implementation details lol)
https://cdn.discordapp.com/attachments/1217399815370182696/1223252406956068885/image.png?ex=66796b14&is=66781994&hm=fb22b9b8eed6e96635a76d1c86f24312e69dfd4213880f5fadf4e9387fc9943d&
Well I made this mod, because I hate to cleanup my bot mining setups
I literally place rocks on mining drills
๐
Why did you didlike the other alike mods?
Ah, a stupid question then
Apparently this was around 7 years ago? Hmmm https://mods.factorio.com/mod/AutoDeconstruct
AUTO, not manual
Ah, okay. I was wondering if there was an important distinction
Its done on_tick, that is what I hate the most.
AutoDeconstruct is what I use right now (I do not build big enough for UPS to become an issue)
My only problem with it is the surrounding infrastructure stays up
Yep, I did hate the AUTO because it was annoying to look at
It shouldn't have UPS issues, it's using on_ore_died or something
Its using on_nth tick too
It at least unregisters itself when there's no more processing to do (though I haven't looked that far ahead to know what it's actually processing)
local function on_nth_tick()
local _, err = pcall(autodeconstruct.process_queue)
if err then msg_all({"autodeconstruct-err-generic", err}) end
if not next(global.drill_queue) then
script.on_nth_tick(17, nil)
end
end
Yea, still
I prefer to be in control.
So for now I will release it like this and check how I will do the other stuff
As far as I can tell, it only uses on_nth_tick to deconstruct the miners 5 ticks after they become empty...
Does anyone understand why that would be necessary?
does it add pipes for ores that need fluids if there are other miners that would still need said fluid?
Yes, that is one of settings
Oh mine doesnt. Would be a idea to have that mhmm
yeah I know that https://mods.factorio.com/mod/AutoDeconstruct does this and its quite useful to have
Oh you're asking in response of the showcase and not my message...
๐ ๐
yes, which is why I didn't reply :D
there is no way to reply to the initial thread message unfortunately
Oh yeah that's weird..