Module Inserter Simplified


Easy-to-use tool for inserting and upgrading modules in machines using construction robots. Use Module Inserter Extended if you want to create detailed configurations per machine type (it is a straight upgrade from Module Inserter). Use Module Inserter Simplified if you want to easily create module requests, one type at a time, without any complex configuration GUI. Can be installed alongside MI Extended if you really want to...

Utilities
22 days ago
1.1 - 2.0
129K
Manufacturing

b Crash on right-clicking machine with module planner

3 months ago
(updated 3 months ago)

Have only been using the mod for less than 5 minutes in my Space Exploration world.

I attempted to right-click a oil refinery or chem plant with the module inserter planner. I got the following crash:

The mod Module Inserter Simplified (2.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ModuleInserterSimplified::on_player_reverse_selected_area (ID 176)
ModuleInserterSimplified/scripts/insert-module.lua:254: bad argument #2 of 3 to 'min' (number expected, got nil)
stack traceback:
[C]: in function 'min'
ModuleInserterSimplified/scripts/insert-module.lua:254: in function 'insert_single_into_entity'
ModuleInserterSimplified/scripts/insert-module.lua:291: in function 'insert_modules'
ModuleInserterSimplified/scripts/insert-module.lua:339: in function 'handler'
core/lualib/event_handler.lua:47: in function <core/lualib/event_handler.lua:45>

On the frozen screen, there are two module items marked for deconstruction on the ground, and one module remaining in the machine.

My steps, that might not be fully reliable:
- be in satellite view mode
- if there are no modules in the machine, insert three modules into the machine by left clicking with the planner
- after they are inserted, upgrade modules to a different module with upgrade planner
- before the request could be completed, right-click machine with module planner, set to insert a third type of module
- crash

New response