Hello,
Thanks for your feedback !
To answer some of your points :
- Indeed the array at the begining of control.lua isn't used anymore in control.lua, I should clean it up :) It's used in data-updates.lua to add grid to explicitly supported mods.
- The check for valid entities is done by check if there is a corresponding bonus in a global array before doing its magic. I guess it could be optimized further but it seems to work okay so far as "car" entities taking damage is rather rare event in normal gameplay.
- About the workbench folder, this is a mistake, I'll remove it !
To add compatibility, you should simply add the mod's equipement grid category :
table.insert(data.raw["equipment-grid"][entity.equipment_grid].equipment_categories, "vtk-armor-plating")
The bonus is only printed and used to reduce incoming damage taken.