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.
The 'quality' field is not documented for SignalID
-
- Filter Inserter
- Posts: 302
- Joined: Fri Mar 18, 2016 4:34 pm
- Contact:
Re: The 'quality' field is not documented for SignalID
in the mean time, SignalFilter is probably the type you're actually looking for!
[2.0.10] API Documentation - SignalID is missing quality
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
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
Re: The 'quality' field is not documented for SignalID
Thanks for the report, this is fixed for the next release.