Mention resource_drain_rate cannot be above 100%/below 0%

MrSmoothieHuman
Fast Inserter
Fast Inserter
Posts: 100
Joined: Sat Aug 05, 2023 1:20 am
Contact:

Mention resource_drain_rate cannot be above 100%/below 0%

Post by MrSmoothieHuman »

Small thing, but the resource_drain_rate does not mention that it cannot be over 100%/under 0%, where things like science_pack_drain_rate do - which did make me think you could actually set the drain rate of mining drills above 100% :lol:

science drain rate:
05-18-2025, 22-52-51.png
05-18-2025, 22-52-51.png (20.41 KiB) Viewed 241 times
mining drill drain rate:
05-18-2025, 22-53-02.png
05-18-2025, 22-53-02.png (12.34 KiB) Viewed 241 times
coder? i hardly know her!
sassxolotl
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Mar 29, 2025 1:53 pm
Contact:

Re: Mention resource_drain_rate cannot be above 100%/below 0%

Post by sassxolotl »

imagine if you could set it above 100, make ores cost more than one mining operation... That would actually be sick for core mining or some other large excavation mod, where a core-stone or whatever requires a hundred cycles to mine out.
computeraddict
Filter Inserter
Filter Inserter
Posts: 340
Joined: Sat Oct 07, 2023 6:44 am
Contact:

Re: Mention resource_drain_rate cannot be above 100%/below 0%

Post by computeraddict »

sassxolotl wrote: Sun May 18, 2025 11:42 pm imagine if you could set it above 100, make ores cost more than one mining operation... That would actually be sick for core mining or some other large excavation mod, where a core-stone or whatever requires a hundred cycles to mine out.
This can already be done with the mining time property of the ore itself. Check out Tungsten and Uranium. And scrap.
MrSmoothieHuman
Fast Inserter
Fast Inserter
Posts: 100
Joined: Sat Aug 05, 2023 1:20 am
Contact:

Re: Mention resource_drain_rate cannot be above 100%/below 0%

Post by MrSmoothieHuman »

This can already be done with the mining time property of the ore itself. Check out Tungsten and Uranium. And scrap.
thats mining time, not mining resource drain - that makes it take twice as long to mine something, not make it take more then one ore to make one ore item
i read your message as soon as i woke up, ignore me :lol:
coder? i hardly know her!
robot256
Smart Inserter
Smart Inserter
Posts: 1193
Joined: Sun Mar 17, 2019 1:52 am
Contact:

Re: Mention resource_drain_rate cannot be above 100%/below 0%

Post by robot256 »

If you specifically want to deplete the ore patch by 2 when 1 ore is extracted, you can set the mining product probability to 50%. It's not the mining_time per se, but another parameter in the MinableProperties of the resource entity.
User avatar
Therenas
Factorio Staff
Factorio Staff
Posts: 323
Joined: Tue Dec 11, 2018 2:10 pm
Contact:

Re: Mention resource_drain_rate cannot be above 100%/below 0%

Post by Therenas »

Sure thing, thanks, noted for the next release.
Post Reply

Return to “Resolved Requests”