Hey,
here i have a Idea of a code to get the biggest inventory_size of an blueprint-book!
local BOOK_MAX_SLOTS = 0
for i, book in pairs(data.raw["blueprint-book"]) do
if book.inventory_size > BOOK_MAX_SLOTS then
BOOK_MAX_SLOTS = book.inventory_size + 1
end
end
Greetz,
Senpai