Page 1 of 1
Mention resource_drain_rate cannot be above 100%/below 0%
Posted: Sun May 18, 2025 9:53 pm
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%
science drain rate:

- 05-18-2025, 22-52-51.png (20.41 KiB) Viewed 557 times
mining drill drain rate:

- 05-18-2025, 22-53-02.png (12.34 KiB) Viewed 557 times
Re: Mention resource_drain_rate cannot be above 100%/below 0%
Posted: Sun May 18, 2025 11:42 pm
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.
Re: Mention resource_drain_rate cannot be above 100%/below 0%
Posted: Mon May 19, 2025 12:10 am
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.
Re: Mention resource_drain_rate cannot be above 100%/below 0%
Posted: Mon May 19, 2025 7:02 am
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

Re: Mention resource_drain_rate cannot be above 100%/below 0%
Posted: Mon May 19, 2025 4:00 pm
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.
Re: Mention resource_drain_rate cannot be above 100%/below 0%
Posted: Tue May 20, 2025 6:58 am
by Therenas
Sure thing, thanks, noted for the next release.