Page 1 of 1
The 'quality' field is not documented for SignalID
Posted: Wed Oct 23, 2024 10:19 am
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.
Re: The 'quality' field is not documented for SignalID
Posted: Wed Oct 23, 2024 3:21 pm
by justarandomgeek
in the mean time, SignalFilter is probably the type you're actually looking for!
[2.0.10] API Documentation - SignalID is missing quality
Posted: Fri Oct 25, 2024 4:29 am
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
Re: The 'quality' field is not documented for SignalID
Posted: Mon Dec 02, 2024 9:54 am
by Therenas
Thanks for the report, this is fixed for the next release.