[2.0.75] ItemStackDefinition has wrong type for tags

Place to report issues and suggest improvements to the API documentation.
majoca
Burner Inserter
Burner Inserter
Posts: 12
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.
Post Reply

Return to “Documentation Improvement Requests”