Show all built-in effects same way as "Base productivity"

Osmo
Fast Inserter
Fast Inserter
Posts: 112
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Show all built-in effects same way as "Base productivity"

Post by Osmo »

As an example i made a mod with the following code in data-updates.lua:

Code: Select all

data.raw["assembling-machine"]["assembling-machine-1"].effect_receiver = {
    base_effect = {
        consumption = 1,
        speed = 1,
        productivity = 1,
        pollution = 1,
        quality = 1,
    }
}
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"
изображение.png
изображение.png (64.04 KiB) Viewed 415 times
The only way to actually see the effects is to place the entity, which means the tooltips and factoriopedia are misleading
изображение.png
изображение.png (47.75 KiB) Viewed 415 times
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
Osmo
Fast Inserter
Fast Inserter
Posts: 112
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: Show all built-in effects same way as "Base productivity"

Post by Osmo »

After this report and version 2.0.56, base quality is now also shown, but not other effects, which does not make much sense.
protocol_1903
Filter Inserter
Filter Inserter
Posts: 291
Joined: Fri Sep 09, 2022 4:33 pm
Contact:

Re: Show all built-in effects same way as "Base productivity"

Post by protocol_1903 »

+1
If you need to reach me, message me on discord.

I make qol mods. Check them out, maybe.
https://mods.factorio.com/user/protocol_1903
If you have a mod idea, I can look into it.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15985
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Show all built-in effects same way as "Base productivity"

Post by Rseding91 »

I generalized it to show all effects (when defined) for the next release.
If you want to get ahold of me I'm almost always on Discord.
Osmo
Fast Inserter
Fast Inserter
Posts: 112
Joined: Wed Oct 23, 2024 12:08 pm
Contact:

Re: Show all built-in effects same way as "Base productivity"

Post by Osmo »

Thank you!
Post Reply

Return to “Implemented mod requests”