The 'quality' field is not documented for SignalID

Place to report issues and suggest improvements to the API documentation.
Leridon
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Oct 23, 2024 10:14 am
Contact:

The 'quality' field is not documented for SignalID

Post by Leridon »

SignalID has a new field 'quality' (verified ingame), which does not appear in the documentation yet: https://lua-api.factorio.com/latest/con ... nalID.html

It appears to be a `string?` field that is either nil for common quality or a string for any other quality.
justarandomgeek
Filter Inserter
Filter Inserter
Posts: 302
Joined: Fri Mar 18, 2016 4:34 pm
Contact:

Re: The 'quality' field is not documented for SignalID

Post by justarandomgeek »

in the mean time, SignalFilter is probably the type you're actually looking for!
jamuspsi
Burner Inserter
Burner Inserter
Posts: 15
Joined: Sat Nov 01, 2014 6:24 pm
Contact:

[2.0.10] API Documentation - SignalID is missing quality

Post by jamuspsi »

Apologies if this is my misunderstanding.

When fetching signals via (at least) LuaEntity::get_signals, item signals are returned with a quality entry in the table, but this isn't described in the SignalID documentation.

https://lua-api.factorio.com/latest/con ... nalID.html

For items, type is omitted as described; but you DO receive a quality if the quality isn't "normal".

Low priority I'm sure, but thought I'd get it on your list somewhere towards the bottom :)
Post Reply

Return to “Documentation Improvement Requests”