Mini Machines Mod

by Kryzeth

Miniature versions of assemblers, electric furnaces, etc. Full integration with all of Bobs mods and ShinyBobGFX/ShinyAngelGFX, Industrial Revolution, Factorio Extended Plus (FXP), Gotlag's Electric Furnaces, AAI Industry, Fantario, and One More Tier. (independently, not necessarily simultaneously)

Content
11 days ago
0.13 - 2.0
11.7K
Manufacturing

b [Fixed] Crash with AAI Industry

27 days ago

Hi. The mod crash always on start with AAI Industry. Can you fix that? It would be really nice.
Anyway thanks for the great mod.

Error:

Fehler beim Laden der Mods: Cannot Copy, invalid prototype
stack traceback:
[C]: in function 'error'
kry_stdlib/stdlib/data/data.lua:194: in function 'copy'
mini-machines/func.lua:447: in function 'miniaturize'
mini-machines/data-final-fixes.lua:76: in main chunk

27 days ago

That's odd, I'm not getting this error when running AAI Industry (v0.6.4) and Mini Machines (v9.0.1), with no other mods. It loads with or without Space Age for me. Are there any other AAI mods you might be running, or any non-default settings you might be using? Any mods that might affect furnaces?

26 days ago
(updated 26 days ago)

The mod that causes the error is "Extended Vanilla: Refining" by 77Playmaker/DiegoPro_77 in combination with AAI Industry.

Your mod Micro Machines work with Extended Vanilla Refining and AAI Industry. It is really odd.

If i try the mod AAI Industry with Extended V. Ref. and Mini machines i get the error.

If i deactivate AAI Industry and use Extended vanilla refining and Mini Machines it works.
AAI Industry works also with Mini Machines without Extended vanilla refining.

So, the combination of: AAI Industry - Extended Vanilla: Refining - Mini Machines causes the error.

26 days ago

I was actually able to reproduce the error with just Extended Vanilla and Mini Machine; caused by their changing the internal machine type from "furnace" to "assembling machine", which is supposed to prevent accidentally smelting coal into one of their new products, by forcing the user to set the recipe.

However, I don't believe they need to modify the electric furnace in this way, because those don't accept coal as fuel, so that issue would never occur with them. Can't upgrade from stone/steel furnace to electric furnace either, so yeah, just seems unnecessary to me; I don't like modifying vanilla machines for no reason.

BUT I know other mods have done this in the past (Krastorio 2 comes to mind), so I just changed the logic to be able to handle electric furnace whether it's internally considered a furnace or assembling machine. Should be fixed as of v9.0.2

25 days ago

All right, so it really was a somewhat special, stupid mistake with the combination. It also took me a while to find out which mods were causing this error. Many thanks for tackling and solving the problem. Your mods are great and I wouldn't want to play without them. Thanks again.

New response