Asteroid Mining

by Silari

Allows sending rockets into space to mine for asteroid bits, which can be refined into raw materials for infinite ores. Includes all 5 vanilla ores, plus Bob's Ores and Angel's support. Now with partial Krastorio 2 support. Advanced Mode (in beta) allows generating resource patches for mining using gathered materials, with rates based on the ore generation settings of the surface. Support for multiple surfaces is included, along with Space Exploration support.

Content
a month ago
1.0 - 2.0
20.0K
Mining

b [DONE] data.lua:77: bad argument #1 of 3 to 'insert' (table expected, got nil)

7 months ago
(updated 7 months ago)

I get the following error message when starting a new game:

   3.721 Loading mod Asteroid_Mining 2.0.3 (data.lua)
   3.737 Error ModManager.cpp:1751: Failed to load mod "Asteroid_Mining": __Asteroid_Mining__/data.lua:77: bad argument #1 of 3 to 'insert' (table expected, got nil)
stack traceback:
        [C]: in function 'insert'
        __Asteroid_Mining__/data.lua:77: in function 'addmodules'
        __Asteroid_Mining__/data.lua:209: in main chunk

Your mod seem to rely on a removed property limitation which seem to have been migrated to allowed_effects or effect_receiver? EDIT: No: allow_productivity = allowprod is the proper fix.

7 months ago

Fixed in the new version. Guess no one else used that option since 2.0 came out.

7 months ago

Yes, I fixed it here, too. Very easy: allow_productivity = allowprod, needs to be added to the recipes.

New response