Customizable technology effect
Posted: Fri Dec 16, 2016 8:09 pm
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:
So it allows something like this:
(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)
Its format can be:
Code: Select all
effects =
{
{
type = "custom-effect",
description = {"locale.perfection-bonus", 100},
icon = "__core__/graphics/bonus-icon.png"
}
}
Image
It would be useful for mods like my Long Reach Research. (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)