Old Blueprint String

by DaveMcW

Load blueprint strings created in Factorio 0.14 and earlier

Content
6 years ago
0.13 - 0.16
159
Blueprints

i A Idea to get the biggest size of a Book

8 years ago

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

New response