Fixed it!
added equipment-grid.lua with this:
data:extend(
{
{
type = "equipment-grid",
name = "xlarge-equipment-grid",
width = 20,
height = 20,
equipment_categories = {"armor"}
}
}
)
Modified item.lua and changed equipment-grid on the armor to "xlarge-equipment-grid" (with the quotes, and a comma after it).
Modified data.lua and added the line require("prototypes.equipment-grid")