[1.1.104] Miners can appear empty with probabilistic ore

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

User avatar
PennyJim
Fast Inserter
Fast Inserter
Posts: 154
Joined: Wed Jan 18, 2023 3:49 am
Contact:

[1.1.104] Miners can appear empty with probabilistic ore

Post by PennyJim »

I started creating a auto-miner for DangOreus but with scrap (Scraporio (It not being Scraptorio is a crime))
I was going to rely on reading the resources of the miner to determine when to inch a miner cell forward. Only for my weak patches for testing to be read as empty.

I understand this is a limitation due to signals being 32 bit integers and therefore being rounded down on conversion, but I would hope there's a way to read ore count beneath it or if it's empty.
This may be more of a feature request, but when you're reading a miner you expect an empty signal to mean nothing there is left.

An image example of a miner running but outputting nothing:
Taken with only scrap-resource enabled
Taken with only scrap-resource enabled
Screenshot from 2024-03-01 20-12-23.png (1002.44 KiB) Viewed 1142 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 16456
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.104] Miners can appear empty with probabilistic ore

Post by Rseding91 »

Thanks for the report. I looked into the logic and it seems to be matching how the actual production would work. The amount for items produced is always rounded down so if an ore says it will most likely produce 0, that's what gets shown in the outputs. More specifically: the amount shown in the circuit network output is the "Expected resources" from mining the resource entities. It expects to get nothing. Changing it to always show at least something seems like not a great solution if the actual logic says "it will most likely produce nothing".

Based off your description it sounds like you want a simple "still working" signal.

Otherwise if you think I misunderstood what's happening, could you provide a save file so I can look at your example more?
If you want to get ahold of me I'm almost always on Discord.
User avatar
PennyJim
Fast Inserter
Fast Inserter
Posts: 154
Joined: Wed Jan 18, 2023 3:49 am
Contact:

Re: [1.1.104] Miners can appear empty with probabilistic ore

Post by PennyJim »

A working signal does sound like exactly what I really want. That's kind of why I said it may be more of a feature request. You can move this post over there if you want, or I can just make a new post about it.

Sorry for the late reply. I don't think I ever got a notification :/
Post Reply

Return to “Ideas and Suggestions”