[0.11.19] [kovarex] Mining item probability with Productivity modules
Posted: Thu Apr 02, 2015 8:58 pm
Another strange one that I discovered while modding.
I added a 1% chance (probability=0.01) to coal to drop Diamond ore.
When mining by hand, it works fine, when mining with an electric drill, it also works fine (not tested burner)
here is a box of results, sped up with a module effect tower and speed modules.
https://www.dropbox.com/s/v37oatstr488z ... 3.png?dl=0
When you use a productivity module, things go wrong.
https://www.dropbox.com/s/487a78fm772ei ... 8.png?dl=0
As you can see here, there are way more diamonds than there are supposed to be.
I'm using a productivity 8 module from my modules mod.
Also, another issue, Resources can only ever give 2 items per mining attempt, if you specify 3 or more, only the first 2 as defined in the results= table are dropped. If there are probabilities involved, the 3rd+ result only drops if one of the previous results fails. This isn't so bad, but when coupled with the issue with the productivity module, only the first 2 results apear, and the 3rd one very rarely.
I added a 1% chance (probability=0.01) to coal to drop Diamond ore.
When mining by hand, it works fine, when mining with an electric drill, it also works fine (not tested burner)
here is a box of results, sped up with a module effect tower and speed modules.
https://www.dropbox.com/s/v37oatstr488z ... 3.png?dl=0
When you use a productivity module, things go wrong.
https://www.dropbox.com/s/487a78fm772ei ... 8.png?dl=0
As you can see here, there are way more diamonds than there are supposed to be.
I'm using a productivity 8 module from my modules mod.
Also, another issue, Resources can only ever give 2 items per mining attempt, if you specify 3 or more, only the first 2 as defined in the results= table are dropped. If there are probabilities involved, the 3rd+ result only drops if one of the previous results fails. This isn't so bad, but when coupled with the issue with the productivity module, only the first 2 results apear, and the 3rd one very rarely.