The objective of this tools is to generate UI Sprites for buttons for use in mods. To be precise, it'll generate something like:
It also generates the Lua code required to implement this button. So all that is required is to add
Code: Select all
require "prototypes/buttons/*button_name*
Screenshot of the tool:
Download: Github
P.S: Yes, my naming sense sucks :)
P.S.S: Hope i'm not breaking any rules/eula with the screenshots of the Rail Signal (And the generated button) If i am, just remove them/tell me and i'll make new ones with different icons.
P.S.S.S: This tool was made because afaik it's not possible to generate a button with an image, using the default styles, so you need to manually add the background to the image.