There are some great and big mods which have interface to select items:
EfficienSee
Helmod
and maybe others.
These mods have buttons which allows you to select an item.
Can you expose this button and corresponding dialog to be used in other mods?
Recipe and signal selector
-
- Fast Inserter
- Posts: 153
- Joined: Fri Jan 06, 2017 1:54 am
- Contact:
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
Re: Recipe and signal selector
They are just normal sprite buttons - when clicked, they simply put an item stack in to the player's cursor (or take what's in the cursor and put it in the sprite button).
http://lua-api.factorio.com/latest/LuaGuiElement.html
http://lua-api.factorio.com/latest/events.html
http://lua-api.factorio.com/latest/LuaPlayer.html
http://lua-api.factorio.com/latest/LuaGuiElement.html
http://lua-api.factorio.com/latest/events.html
http://lua-api.factorio.com/latest/LuaPlayer.html
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.