Robot Mining Site

by judos

Adds mining robots and a robot mining site which can be configured to mine nearby resources

Content
2 years ago
0.14 - 1.1
13.8K
Mining

g Crash on removal

5 years ago

The mod Robot Mining Site caused a non-recoverable error.
Please report this error to the mod author.

Error while running event robotMiningSite::on_pre_player_mined_item (ID 11)
real number expected got nil.
stack traceback:
robotMiningSite/control/robotMiningSite.lua:202: in function 'premine'
robotMiningSite/libs/control/entities.lua:202: in function 'entities_pre_mined'
robotMiningSite/control.lua:93: in function <robotMiningSite/control.lua:92>
stack traceback:
[C]: in function 'get_inventory'
robotMiningSite/control/robotMiningSite.lua:202: in function 'premine'
robotMiningSite/libs/control/entities.lua:202: in function 'entities_pre_mined'
robotMiningSite/control.lua:93: in function <robotMiningSite/control.lua:92>

5 years ago

Fix: On line 202 of robotMiningSite change the defines.inventory.player_main to defines.inventory.character_main

Probably other issues on the most recent version of factorio. That's what I get for playing unstable, huh? I'll post fixes as I find them.

5 years ago

Can confirm this bug. If I try to remove a mining site without using it, the game crashes. I guess an internal counter used to show how much has been mined or how much inventory is stored is not initialized in the correct way causing the issue

5 years ago

fixed in new release

This thread has been locked.