Am I correct in finding that a mod can not interact directly with the character inventory GUI (shown by pressing press E by default).
I had a look around the GUI elements on the screen for the player and when open it doesn't seem to exist under game.player.gui.center, or top or left. I can see other mod created GUIs here.
I also searched via code looking for usage of the translation keys and couldn't find any in the game's core/base LUA code.
Character Inventory/Logistic/Crafting GUI
- Muppet9010
- Filter Inserter

- Posts: 285
- Joined: Sat Dec 09, 2017 6:01 pm
- Contact:
- eradicator
- Smart Inserter

- Posts: 5211
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: Character Inventory/Logistic/Crafting GUI
The API offers no access whatsoever to any of the base game gui elements. You only get LuaPlayer.opened and LuaPlayer.opened_gui_type to tell if and what type of gui is open. But you can not manipulate them. You do get full access to any mod created guis currently.Muppet9010 wrote:Am I correct in finding that a mod can not interact directly with the character inventory GUI (shown by pressing press E by default).
I have no clue what you did there.Muppet9010 wrote:I also searched via code looking for usage of the translation keys and couldn't find any in the game's core/base LUA code.
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- Muppet9010
- Filter Inserter

- Posts: 285
- Joined: Sat Dec 09, 2017 6:01 pm
- Contact:
Re: Character Inventory/Logistic/Crafting GUI
Thank you for confirming