Page 1 of 1

Item prototype flags

Posted: Sun Jul 28, 2019 6:03 am
by DaveMcW
The wiki https://wiki.factorio.com/Prototype/Item#flags says that the flags property is mandatory on item prototypes. But most of the items in the base game do not have the flags property set.

So is it not really mandatory, or is the base mod an exception?

Re: Item prototype flags

Posted: Sun Jul 28, 2019 8:52 am
by darkfrei
Note that the flags = nil and flags = {} is not the same. You are need at least empty table.

Re: Item prototype flags

Posted: Sun Jul 28, 2019 9:14 am
by Bilka
They are optional.