What is it really used for?


A tool to help you find out where items and fluids come from and where they are used. This is a fork of the original 'What is it used for?' by Mr Doomah, updated for newer Factorio versions and with additional features. Russian translation by Schmarotzer. Japanese translation by shiru_tan.

Utilities
a month ago
0.15 - 2.0
33.3K

b [FIXED] Breaking bug on expirimental build

4 years ago
(updated 4 years ago)

Hi Coppermine,

Got the following message when I click on an item after search, or direct on a fluid, or with an item in hand. So generally at the moment the information screen would open:
The mod What is it really used for? (1.5.10) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event what-is-it-really-used-for::on_gui_click (ID 1)
Unknown style small_slot_button
stack traceback:
what-is-it-really-used-for/control.lua:245: in function 'identify'
what-is-it-really-used-for/control.lua:534: in function 'identify_and_add_to_history'
what-is-it-really-used-for/control.lua:882: in function <what-is-it-really-used-for/control.lua:869>

stack traceback:
[C]: in function 'add'
what-is-it-really-used-for/control.lua:245: in function 'identify'
what-is-it-really-used-for/control.lua:534: in function 'identify_and_add_to_history'
what-is-it-really-used-for/control.lua:882: in function <what-is-it-really-used-for/control.lua:869>

I hope you can fix this great mod! I really like it!

Greetings and many thanks
Dredorion

update:
Changing "small_slot_button" to "slot_button" in line 208 of file control.lua solves the problem. Well, it ruined the buttonlayout, but it is not breaking the game...

4 years ago

Thanks for the report and the diagnosis. Should be fixed in 1.5.11.

4 years ago
(updated 4 years ago)

Yes, it is fixed.

Great work, thanks!

New response