Page 1 of 1

Module quality effect doesn't match documentation

Posted: Thu Oct 31, 2024 9:59 am
by DaleStan
According to quality/prototypes/item.lua, a normal quality-module has the effect

Code: Select all

  effect = { quality = 0.1, speed = -0.05 }
According to the API docs, all five properties are EffectValues, so I would expect that to mean +10% quality, -5% speed, but the game shows +1% quality instead.

Re: Module quality effect doesn't match documentation

Posted: Mon Dec 02, 2024 11:19 am
by Therenas
Quality is special, its effect value is divided by 10 internally. I added this information to the relevant places for the next release, thanks.