Page 3 of 7
Re: [0.14] What is it used for?
Posted: Sun Jun 04, 2017 6:57 pm
by Kaktusbot
Please, add ingridient counts in recipe window. I'm tired of switching between craft inventory, researches, and this mod to know recipe proportions with bobangels.
Re: [0.14] What is it used for?
Posted: Sun Jun 04, 2017 7:48 pm
by Coppermine
Here's another update.
What is it really used for? 1.2.4
- Omit crafting machines where they do not support the number of ingredients in the recipe.
- Where you have not yet researched the recipe to build a crafting machine, highlight it in red.
- Use the new 0.15 mod GUI flow to match other mod buttons.
- List quantities of ingredients and product in recipe.
- When an item is the product of only one recipe, automatically show that recipe in the recipe pane.
- Fix bug with clicking on recipe name when that name is not the name of any item.
Re: [0.14] What is it used for?
Posted: Sun Jun 04, 2017 7:57 pm
by Coppermine
Kaktusbot wrote:Please, add ingridient counts in recipe window. I'm tired of switching between craft inventory, researches, and this mod to know recipe proportions with bobangels.
Thanks for the feedback. Coincidentally, as you can see, I just uploaded a new version with the feature you are asking for; I had been thinking of it too
![Wink ;)](./images/smilies/icon_e_wink.gif)
.
However, if you haven't already I also suggest you try Helmod
https://mods.factorio.com/mods/Helfima/helmod which is better for many situations where you are trying to track recipe proportions.
Re: [0.14] What is it used for?
Posted: Sun Jun 04, 2017 8:10 pm
by Kaktusbot
Coppermine wrote:Kaktusbot wrote:Please, add ingridient counts in recipe window. I'm tired of switching between craft inventory, researches, and this mod to know recipe proportions with bobangels.
Thanks for the feedback. Coincidentally, as you can see, I just uploaded a new version with the feature you are asking for; I had been thinking of it too
![Wink ;)](./images/smilies/icon_e_wink.gif)
.
However, if you haven't already I also suggest you try Helmod
https://mods.factorio.com/mods/Helfima/helmod which is better for many situations where you are trying to track recipe proportions.
Thanks for great mod and advice. I didn't tried Helmod before, because it seems too complicated, but now I'll give it a try. Thanks!
Re: [0.14] What is it used for?
Posted: Mon Jun 05, 2017 2:24 pm
by StoneHead
Latest update crashes on my multiplayer server.
Happens when i click a recipe in the "product of" list that contains geodes from angels refining.
Crashes when selecting the geodes from searchbox too (same error)
Might be angels fault, but i dont think this mod should crash the server then something is not 100% right.
Code: Select all
191.526 Error ServerMultiplayerManager.cpp:94: MultiplayerManager failed: "Error while running event what-is-it-really-used-for::on_gui_click (ID 1)
Value must be a string in property tree at ROOT.caption
stack traceback:
__what-is-it-really-used-for__/control.lua:369: in function 'add_sprite_and_label'
__what-is-it-really-used-for__/control.lua:402: in function 'show_recipe_details'
__what-is-it-really-used-for__/control.lua:567: in function <__what-is-it-really-used-for__/control.lua:508>"
191.526 Info ServerMultiplayerManager.cpp:670: mapTick(33966391) changing state from(InGame) to(Failed)
Re: [0.14] What is it used for?
Posted: Mon Jun 05, 2017 3:21 pm
by Coppermine
No need to blame Angel; it was my fault
![Smile :)](./images/smilies/icon_e_smile.gif)
. Would have happened with any recipe that has a randomly varying output, like uranium processing in vanilla. Fixed in 1.2.5.
What is it really used for? 1.2.5
- Fix crash when viewing recipes with randomized product amounts.
Re: [0.14] What is it used for?
Posted: Tue Jun 06, 2017 1:31 pm
by pjf
Just here to express unsolicited appreciation for Coppermine. I've been using What Is It Really Used For in my rebalanced Angel/Bob/Marathomation game and it's *amazing*. Seeing the code progress as I've been playing the last week or two has been wonderful, and the recent updates to show ingredient/product amounts has been invaluable.
What Is It Really Used For is probably my most used quality-of-life mod. Thank you so much!
Re: [0.14] What is it used for?
Posted: Wed Jun 21, 2017 6:08 am
by featherwinglove
Does the mod title pop into anyone else's head with
Edwin Starr's voice?
Re: [0.14] What is it used for?
Posted: Wed Aug 16, 2017 11:53 pm
by foodfactorio
heh, i didnt know who edwin star was but now i heard the song i know what you mean
i had been using what is it used for, the original, and then what_is_it_used_for_15_1.0.1.zip by someone else,
and one of the missing features had been the ability to mouse over a recipe name, and to see both the "text" and the "building icon" for the recipe where is it made.
cant wait to try this one to see the extras it brings
![Smile :)](./images/smilies/icon_e_smile.gif)
Re: [0.14] What is it used for?
Posted: Sat Nov 11, 2017 6:11 pm
by npuldon
Yay!
From forums:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
by Rseding91 ยป Mon Nov 06, 2017 3:56 pm
Ok, I've added a focus() function to LuaGuiElement for 0.16.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: [0.14] What is it used for?
Posted: Tue Nov 28, 2017 2:48 pm
by mrvn
Can this mod limit it's output to techs already researched, mark things not yet researched and/or tell me what techs to research next to get something?
Re: [0.14] What is it used for?
Posted: Tue Nov 28, 2017 3:21 pm
by npuldon
Recipes for techs not yet researched are highlighted and if you mouse over the recipe the research needed appears as a tooltip. Currently, there is not a 'filter' for recipes of techs you have researched only.
Re: [0.14] What is it used for?
Posted: Tue Nov 28, 2017 3:45 pm
by mrvn
That's probably good enough for me. I will try this mod tonight. Thanks.
Re: [0.14] What is it used for?
Posted: Thu Dec 14, 2017 1:31 pm
by Kaktusbot
Will this be updated to 0.16?
It seems like 0.16 have features that you wanted.
- The filter text box doesn't get focus when you open it.
- Closing the window with E (or other usual close window shortcuts).
Re: [0.14] What is it used for?
Posted: Thu Dec 14, 2017 1:51 pm
by Coppermine
Indeed, I plan to test those new features and update soon. Schedule is a bit busy right now, but should be within a few days.
Re: [0.14] What is it used for?
Posted: Thu Dec 14, 2017 11:01 pm
by Coppermine
Had a little spare time so I've just uploaded a version with minimal changes to work with 0.16. I was able to implement the focus-text-box feature, but I didn't have time to figure out how to make the window count as the active window and be closable with 'e'. Do let me know if you know how.
I didn't have time for exhaustive testing, so there may well still be bugs (a lot of stuff in the GUI API has changed). Post here if you have problems.
What is it really used for? 1.3.0
- Updated for 0.16.
- Search text box now gets focus when opened.
Re: [0.14] What is it used for?
Posted: Fri Dec 15, 2017 7:17 am
by Kaktusbot
Thanks for the update!
Well, it's my first time writing lua.
I added on_gui_closed handler
And one line inside of
identify() function
And it seems to work! However, I think it needs more investigation, because my experience with factorio api is zero and I'am very likely missed something.
Re: [0.14] What is it used for?
Posted: Fri Dec 15, 2017 11:06 am
by Coppermine
That seems to work well. Thanks for figuring it out
![Smile :)](./images/smilies/icon_e_smile.gif)
. New version released.
What is it really used for? 1.3.1
- Close GUI window with E (or other usual GUI controls). Credit to Kaktusbot for showing me how to implement this.
Re: [0.14] What is it used for?
Posted: Sat Jan 06, 2018 8:49 pm
by Coppermine
This weekend I finally found the time to implement a few more features. I'd like to draw your attention in particular to the first item, a back button, something I was inspired to do by FNEI (and I've seen complaints about the lack of).
What is it really used for? 1.3.2
- Support for back and forward buttons to navigate the list of entities studied.
- New "pumped from" frame for fluids pumped from entities like offshore pumps (so that people can figure out Angel's viscous mud water).
- Clearer highlighting in recipe pane for locked recipes.
- Limit to three decimal places in recipe output amounts (some OmniMatter recipes were generating very long strings)
- Show crafting times for recipes in each applicable crafting machine.
- When item is pinned to the left, there was a bug causing the "Product of" pane to never appear. Now fixed.
- Another bug caused the recipe pane to be too tall when pinned to the left. Also fixed.
- Fix various scrollbar issues that had arisen during the port to 0.16.
Re: [0.14] What is it used for?
Posted: Sun Jan 07, 2018 1:43 am
by Pake
Hello there,
I am getting this after last update of the mod (1.3.2)
Error while running event what-is-it-really-used-for::on_gui_click (ID 1)
__what-is-it-really-used-for__/control.lua:689: attempt to index field 'wiiuf_item_history' (a nil value)
Thanks for the very useful mod by the way.