kingarthur91 / PyCoalTBaA

Pymods Compatibility mod
15 stars 14 forks source link

AAI Vechile Recipe #67

Open ArsStels opened 3 years ago

ArsStels commented 3 years ago

When adding a mod to the game, the correct recipes of all AAI transports disappear.

Initially, the machine can be turned into an AI machine by adding 1 simple chip, and to remove the AI from the machine - just use the same machine with AI. But after adding a mod to create machines with AI, the machines themselves disappeared in the ingredients, that is, absolutely any AI is made from 1 simple printed circuit board. And the removal of AI is infinite (it has no ingredients and makes the game just as unbalanced as possible)

Semenar commented 3 years ago

The error seems to be here: https://github.com/kingarthur91/PyCoalTBaA/blob/d33645379fb450bd4ef49ada3f43755f6b5ba1f9/data-final-fixes.lua#L13 There are items that are not in any of those categories; for example, vehicles.

This is not usually a problem since the else-branch does not do any of those checks. Consider removing the check?