Customizable technology effect

Post Reply
User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1190
Joined: Wed May 18, 2016 4:55 pm
Contact:

Customizable technology effect

Post by Mooncat »

Request: a new technology effect type that allows customizable tooltip. It would be better if the icon can also be customized. No need to have actual effect to the gameplay.
Its format can be:

Code: Select all

effects =
{
    {
        type = "custom-effect",
        description = {"locale.perfection-bonus", 100},
        icon = "__core__/graphics/bonus-icon.png"
    }
}
So it allows something like this:
Image
It would be useful for mods like my Long Reach Research. :mrgreen:

(I have tried to achieve this with "give-item", but no luck. It turns out to be this bug report: Technology give-item with 0 count freezes the game and crash)

User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: Customizable technology effect

Post by aubergine18 »

This would be really useful for techs that are used purely to trigger updates in mod internal state rather than giving new recipies etc.
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13217
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Customizable technology effect

Post by Rseding91 »

Added for 0.15.
If you want to get ahold of me I'm almost always on Discord.

User avatar
Mooncat
Smart Inserter
Smart Inserter
Posts: 1190
Joined: Wed May 18, 2016 4:55 pm
Contact:

Re: Customizable technology effect

Post by Mooncat »

Rseding91 wrote:Added for 0.15.
Thanks!! :D

Post Reply

Return to “Implemented mod requests”