DivOresity

by Mylon

Ores are all mixed up! Adds a small logistical challenge dealing with impure ores. AKA "Diversity".

Content
25 days ago
0.16 - 2.0
1.71K
Mining

b Subsurface - build beneath your base!

14 days ago
(updated 14 days ago)

Hello,

The mod DivOresity (version 2.0.3) caused a non-recoverable error when used alongside Subsurface - Build Beneath Your Base!.
The error appears sporadically during map creation, making it challenging to replicate consistently.

Here’s the exact error message:

The mod DivOresity (2.0.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event DivOresity::on_chunk_generated (ID 13)
Resource amount has to be larger than 0.
stack traceback:
[C]: in function 'create_entity'
DivOresity/control.lua:141: in function <DivOresity/control.lua:107>
I reached out to the Subsurface - Build Beneath Your Base! mod author, and they already reviewed their code but couldn't identify any conflicts or issues on their end. Since the problem only occurs when both mods are active, it suggests a possible edge case or interaction between the two.

Could you review the DivOresity code for any scenarios where resources might be initialized or modified in ways that might conflict with other mods during chunk generation? If needed, I can provide more logs or testing feedback to help pinpoint the issue.

Thank you for your time and support!
Best wishes from Germany.

New response