Show all built-in effects same way as "Base productivity"
Posted: Wed Apr 16, 2025 1:47 pm
As an example i made a mod with the following code in data-updates.lua:
It would make sense to have those effects show up in the item tooltip/factoriopedia.
However only Base productivity is shown, no "Base speed" or "Base consumption" The only way to actually see the effects is to place the entity, which means the tooltips and factoriopedia are misleading This is a standing issue in mods such as pyanodon's and many players have been confused by machines suddenly gaining consumption bonus out of nowhere
Code: Select all
data.raw["assembling-machine"]["assembling-machine-1"].effect_receiver = {
base_effect = {
consumption = 1,
speed = 1,
productivity = 1,
pollution = 1,
quality = 1,
}
}
However only Base productivity is shown, no "Base speed" or "Base consumption" The only way to actually see the effects is to place the entity, which means the tooltips and factoriopedia are misleading This is a standing issue in mods such as pyanodon's and many players have been confused by machines suddenly gaining consumption bonus out of nowhere