[2.0.75] ItemStackDefinition has wrong type for tags

majoca
Burner Inserter
Burner Inserter
Posts: 13
Joined: Sun Dec 20, 2020 8:50 pm
Contact:

[2.0.75] ItemStackDefinition has wrong type for tags

Post by majoca »

I believe the ItemStackDefinition concept (https://lua-api.factorio.com/latest/con ... ition.html) has the wrong type listed for tags. It currently says array[string], but this should be corrected to the Tags concept (https://lua-api.factorio.com/latest/concepts/Tags.html). If I try to create an item-with-tags item stack with tags={"a", "b", "c"} I get an error but tags={a=1, b=2, c=3} works.
Bilka
Factorio Staff
Factorio Staff
Posts: 3755
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [2.0.75] ItemStackDefinition has wrong type for tags

Post by Bilka »

Thanks for pointing this out, docs fixed for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Requests”