Search found 4 matches

by sfyb
Fri Mar 07, 2025 11:38 am
Forum: Implemented mod requests
Topic: Add LuaControl::open_factoriopedia_gui(prototype?)
Replies: 4
Views: 786

Add LuaControl::open_factoriopedia_gui(prototype?)

The mod I've been working on Factorio Codex gives players access to something similar to Satisfactory's quick search. Before the 2.0 update, I displayed information about items/fluids in my own GUI, but since Factoriopedia was added, I want to open that instead. However, Factoriopedia seems to be a ...
by sfyb
Thu Jan 26, 2023 10:32 am
Forum: Minor issues
Topic: [1.1.74] List-box not scrolling to index while in "on_configuration_changed"
Replies: 2
Views: 1253

[1.1.74] List-box not scrolling to index while in "on_configuration_changed"

When creating a "list-box" gui element in the "script.on_configuration_changed" event this list-box cannot be scrolled (scroll_to_item) in the same event.

Obligatory expected result: The "list-box" gui element should scroll to the requested index

I did not test if this applies to more ...
by sfyb
Tue Jan 17, 2023 1:25 pm
Forum: Modding help
Topic: Updated documentation of the MOD Factorio Library
Replies: 12
Views: 3370

Re: Updated documentation of the MOD Factorio Library

I appreciate the advice. But for one this isn't about me and they specifically requested help with the "dictionary" module not "dictionary-lite"

For example:
When I try to use the directory example shown in the documentation, I get an error.


Also "dictionary-lite" is not available in all of the ...
by sfyb
Tue Jan 17, 2023 12:16 pm
Forum: Modding help
Topic: Updated documentation of the MOD Factorio Library
Replies: 12
Views: 3370

Re: Updated documentation of the MOD Factorio Library

I had a similar problem like you.
While the example at https://factoriolib.github.io/flib/examples/dictionary.lua.html worked in single player it caused an instant de-sync in multi-player.

I managed to adapt the demo code so it works and does not de-sync.
The only changes I had to make were ...

Go to advanced search