[2.1.14] LuaQualityPrototype fields missing optional

radorei
Manual Inserter
Manual Inserter
Posts: 3
Joined: Wed Jul 22, 2026 6:24 am
Contact:

[2.1.14] LuaQualityPrototype fields missing optional

Post by radorei »

For the documentation of LuaQualityPrototype, the fields previous and next appear as always readable, when in fact they can be nil.

For instance, in vanilla Space Age, prototypes.quality["normal"].previous is nil, and prototypes.quality["legendary"].next is nil.
Bilka
Factorio Staff
Factorio Staff
Posts: 3906
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [2.1.14] LuaQualityPrototype fields missing optional

Post by Bilka »

Thanks for the note, fixed for the next doc release.
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”