Can you use core icons in mod-gui?

Place to get help with not working mods / modding interface.
User avatar
badgamernl
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Sat Aug 29, 2015 4:03 pm
Contact:

Can you use core icons in mod-gui?

Post by badgamernl »

Hello,

Can you use core icons in mod-gui?

Hope someone knows ;)
-- Explosive Gaming a factorio server community, or join the discord --
Helfima
Fast Inserter
Fast Inserter
Posts: 202
Joined: Tue Jun 28, 2016 11:40 am
Contact:

Re: Can you use core icons in mod-gui?

Post by Helfima »

u can use sprite button
http://lua-api.factorio.com/latest/LuaGuiElement.html
"sprite-button": A button that displays an image rather than text.
http://lua-api.factorio.com/latest/Conc ... SpritePath
User avatar
badgamernl
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Sat Aug 29, 2015 4:03 pm
Contact:

Re: Can you use core icons in mod-gui?

Post by badgamernl »

I know you can use sprites and there is a sprite button but is there any way to use the core(as in not the base mod) sprites?
-- Explosive Gaming a factorio server community, or join the discord --
Post Reply

Return to “Modding help”