Your equipment_vehicle.lua is basically not working at all.
"if mods["Krastorio"] then"
should be
"if mods["Krastorio2"] then"
and even changing that gets the equipment_categories not to work. From what i have seen some of your vehicles (pz4)suffer from the same mistake there.
This is working:
data:extend{
{ -- MausTank
type = 'equipment-category',
name = 'kj_maustank'
},
{ -- MausTank
type = 'equipment-grid',
name = 'kj_maustank-grid',
width = 8,
height = 8,
equipment_categories = { 'armor' },
}
}
if mods["Krastorio2"] then
data:extend{
{ -- MausTank
type = 'equipment-category',
name = 'kj_maustank'
},
{ -- MausTank
type = 'equipment-grid',
name = 'kj_maustank-grid',
width = 8,
height = 8,
equipment_categories = { 'armor', 'universal-equipment', 'vtk-armor-plating' },
}
}
end
and in your prototypes - entity - maustank.lua
you need to declare the grid e.g at the bottom
equipment_grid = "kj_maustank-grid",
with that its working fine with K2.
Else nice work with the models a King Tiger and/or Ace Tiger would be nice ;o