Extended Vanilla: Mining & Drills


This mod adds multiple new tiers of electric mining drills with their relative techs through the game progression that are fully customizable in terms of hps, speed, base production, emissions per minute and consumption via startup settings. Advanced big mining drills for SA are in program. Repices are modified by: Ev Refining.

Content
19 days ago
1.0 - 2.0
15.7K
Mining

g Crash when used alone with K2

6 months ago

I'm getting a crash on startup when using this mod alone with K2. The only mods active were this, K2 and K2's dependencies: K2 assets and Factorio Library.

2.050 Error ModManager.cpp:1625: Failed to load mod "ev-mining-drills": ev-mining-drills/data-final-fixes.lua:13: attempt to index global 'evanilla' (a nil value)
stack traceback:
ev-mining-drills/data-final-fixes.lua:13: in main chunk
2.051 Loading mod core 0.0.0 (data.lua)
2.113 Checksum for core: 3215923532
2.161 Error ModManager.cpp:1625: Error in assignID: recipe-category with name 'crafting' does not exist.

I found that having EV: Refining active at the same time prevented the crash. I think the issue is that evanilla is not defined as a function in EV Mining Drills, only in EV Refining. I was able to prevent the standalone crash by taking protoypes\functions.lua from EV Refining and putting that into this mod, and editing data.lua to load it.

6 months ago
(updated 6 months ago)

Yeah I think that happens because the game can't understand what is that "evanilla" function.
I'm currently working on updating Ev power armors and refining, so for now it should be enough for you to copy-paste the "function.lua" file you can find in Ev refining in the Ev mining drills folderm, if you don't want to play with both mods.
Still, thanks for the feedback.
_77

New response