Unlimited Resources [Global Compat]


Makes all vanilla and modded resources infinite and allows every resource to be configured as an oil-like resource, replenishing ore, or remain unmodified! Only uses the on_resource_depleted event when replenishing ore-like resources to prevent any performance issues, oil-like resources are set to infinite at startup and never need to be updated again!

Tweaks
a month ago
2.0
4.50K
Environment Mining Fluids

b [Bug (Patched as of 2.1.3)] 'table.lua' Not Refrenced in 'control.lua'

a month ago

Once a resource patch is depleted, it crashes and boots me back to the main menu.

Error log:

The mod Unlimited Resources [Global Compat] (2.1.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Unlimited-Resources-Oil-Refresh-Cargo-Ship-Compat::on_resource_depleted (ID 28)
...ed-Resources-Oil-Refresh-Cargo-Ship-Compat__/control.lua:11: attempt to call global 'containsID' (a nil value)
stack traceback:
...ed-Resources-Oil-Refresh-Cargo-Ship-Compat__/control.lua:11: in function <...ed-Resources-Oil-Refresh-Cargo-Ship-Compat__/control.lua:9>

a month ago

Hello TG_Gaming12358, I apologize for that. It seems you were the one unlucky person to update to the original v2.1.3 before I realized I forgot to add require(scripts.table). Both the new v2.1.3 and v2.1.4 fix the issue.

This thread has been locked.