Deep core mining

by VortiK

A not cheaty infinite ore mod. Adds ore patches that appear when ore fields are depleted that can be mined with a pair of advanced mining drill to upgrade mining outposts and provide source of expensive but steady infinite ore. Adds an high tech infinite ore mining from rare deep core cracks spawned in the world that require heavy refining. Now with automatic mod support !

Content
4 months ago
0.15 - 2.0
40.8K
Mining

g [FIXED] resource depleted error

I got a game crashing error while using the mod Lignumus after 10 minutes of progession. Planted bacteria and then the error message occured.

Error while running event vtk-deep-core-mining::on_resource_depleted (ID 29)
vtk-deep-core-mining/lib/resource.lua:64: attempt to index field '?' (a nil value)
stack traceback:
vtk-deep-core-mining/lib/resource.lua:64: in function 'spawn_ore_patch_on_depleted_ore'
vtk-deep-core-mining/control.lua:13: in function <vtk-deep-core-mining/control.lua:12>

7 months ago
(updated 7 months ago)

In the folder with the mod \lib\resource.lua, look for line 64.

if settings.global[“vtk-deep-core-mining-spawn-”..ore.prototype.mineable_properties.products[1].name...“-patch”].value == true

and change it to

if true

Now absolutely all resources will leave the place of mining, regardless of the settings, but mod resources will also work.

7 months ago

This is a temporary solution, until the author will not release a fix for mod ores, that they would for example all disabled by a single checkbox.

And can also add a GUI to customize patch spawn in the game :)

7 months ago

Hello, this was an oversight, this is now fixed, thanks for the report.

Note that all valid mineable and depletable modded ressources will now spawn deep core patches. I need to see if I can generate dynamic localisation for modded ressources as they appear with a technical name for now.

It may also not make sense for some ressources to spawn as a deep core patch (like Lignimus Peats), but it should work. A more explicit setup from the resource's mod or deep core mod is possible to flesh this out.

Anyway let me know how it runs now !

New response