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
6 months ago
0.15 - 1.1
36.0K
Mining

b FIXED Causing crashes with other mods

4 years ago

So I reported this to the Squeak Through and Alien Tech authors, and apparently this mod is causing my issue.

Whenever I load the game with this mod, Squeak Through, and Schall's Alien Tech; it crashes and I get this error: https://imgur.com/GGyDgrW.

Disabling any of the mods (including this one) will fix the issue.

Here are the reports from the others:

Alien Tech - https://mods.factorio.com/mod/SchallAlienTech/discussion/5f2919fdb0db42478725fe49
Squeak Through - https://mods.factorio.com/mod/Squeak%20Through/discussion/5f41b3738ea52313980ed1e9

4 years ago

I have had the same Issue though with more mods involved

Failed to load mods: Error while loading entity Prototype "electric-mining-drill"(mining-drill): Animation speed has to be set to 0.

At ROOT.mining-drill.electric-mining-drill.graphics_set.working[0].animation.hr_version

Modifications: Base mod > Squeak Through > Bob's Ores mod > Artisanal Reskins: Bob's Mods > AAI Industry

Mods to be disabled:
-Squeak Through (1.8.0)
-bobores (1.0.0)
-reskins-bobs (0.0.22)
-aai-industry (0.4.18)

Full Log
https://pastebin.com/VB5zrds0

4 years ago
(updated 4 years ago)

Here's the issue:

In deepcore-mining-items.lua the function electric_mining_drill_smoke() is defined:

function electric_mining_drill_smoke()
    return
    {
      filename = "__base__/graphics/entity/electric-mining-drill/electric-mining-drill-smoke.png",
      line_length = 6,
      width = 24,
      height = 38,
      frame_count = 30,
      animation_speed = 0,4,
      direction_count = 1,
      shift = util.by_pixel(0, 2),
      hr_version =
      {
        filename = "__base__/graphics/entity/electric-mining-drill/hr-electric-mining-drill-smoke.png",
        line_length = 6,
        width = 48,
        height = 72,
        frame_count = 30,
        animation_speed = 0,4,
        direction_count = 1,
        shift = util.by_pixel(0, 3),
        scale = 0.5,
      }
    }
  end

The animation speed is broken, should be 0.4. But as far as I can tell Deep Core Mining does not use this function, so should not be defining it in the first place. I would strongly recommend not to overwrite base global functions, I'd suggest declaring a local copy at minimum, and a global named uniquely to the mod at most.

4 years ago
(updated 4 years ago)

--snip--

4 years ago
(updated 4 years ago)

Hello everyone,

Thanks for your report and the analysis of the source of the problem. This was an obvious mistake and deadcode.

This is now fixed in 2.3.2 let me know if that's corrected as expected !

4 years ago

It works just fine now, thanks!

4 years ago

Seems to be fixed now, thanks.

New response