Page 1 of 1

[2.1.14] LuaQualityPrototype levels are inconsistent

Posted: Wed Aug 19, 2026 6:49 am
by radorei
When reading the level of the quality prototypes, I saw that the indexing is inconsistent. Between normal and epic they appear to be 0-based, and legendary appears to be 1-based

Code: Select all

prototypes.quality.normal.level: 0
prototypes.quality.uncommon.level: 1
prototypes.quality.rare.level: 2
prototypes.quality.epic.level: 3
prototypes.quality.legendary.level: 5

Re: [2.1.14] LuaQualityPrototype levels are inconsistent

Posted: Wed Aug 19, 2026 7:21 am
by boskid
Not a bug

level is not an index, it sets strength of various modifiers. It is not required to be continuous or 0 or 1 based.