Would it be possible to add the functionality to pin a recipe to the screen to the mod? For example I choose one on my cell phone and fix it to always show on my screen
THANK GOD someone made this. I lack any coding skill, and this is the EXACT mod I have been after because my product menu is a mess and man, trying to mix the right stuff in the right order has messed me up so many times. Thank you wonderulf person, thank you!
when you can/able, does this mod affect the "effects" display in that product screen?
i noticed that my mix creation is missing an effect not listed under the product (basically the screenshot image you have but with different created item ofc). its this mix i created, in game doesnt list "tropic thunder" at all: https://schedule1.tools/mixer?mix=R3JhbmRhZGR5IFB1cnBsZTpERUtMSU8
Heya, my mod doesn’t affect that part of the display but the in-game ProductManager phone app is limited to only display 5 effects IIRC. So if there are 6 or more effects I’m under the impression they just won’t display; that’s something I’ve been asked to “enhance” at least with the mod so it display all effects no matter what. So at least from my memory as I type this on my phone the answer is “this is how the game displays it” and I agree it’s not ideal.
Doing a lot better and think I might be able to return to my job tomorrow so if that’s the case then I’ll be upright enough to look at some bugs I’d think, thanks for checking!
Hey man, really great work with the mod, helps alot! Take all the time you need, especially if it's about health! However I have a question about a future addon to the mod, to make it even more helpful (if you think the same ofcourse). I have no idea about modding itself so I don't know if it's challenging, but would it be possible to add a search bar? I personally think it would round up the mod. Thanks for your time and effort Greetings from switzerland!
Heya, appreciate it! I think that's a bit out of scope for this mod unfortunately; adding search functionality would involve some re-architecture of the entire ProductManagerApp (the window in the phone you get when you click on the Product Manager icon) whereas what this mod is doing right now is just appending a new section to the existing ProductManagerApp->DetailPanel. I think that's something that greatly needs to be added but probably not something this particular mod is going to explore. I think this feature exists in JustEnoughDrugs if I recall correctly from the Schedule 1 modding discord.
If someone wants to contribute it themselves at the source code repo that's something I'd be happy to review but probably not something I want scoped for specifically just this mod, which is just printing additional details about selected recipes. Another mod maybe, or maybe Tyler will add it in to the base game (as it's definitely a needed/wanted feature!).
when you can/able, does this mod affect the "effects" display in that product screen?
i noticed that my mix creation is missing an effect not listed under the product (basically the screenshot image you have but with different created item ofc). its this mix i created, in game doesnt list "tropic thunder" at all: https://schedule1.tools/mixer?mix=R3JhbmRhZGR5IFB1cnBsZTpERUtMSU8
I hope you feel better soon, being sick is horrible. But at least you didn't fall down the stairs like an idiot lol. Got this in my console, seems to work fine otherwise.
[12:41:12.533] [ExpandRecipe] Exception raised building UI component: Il2CppInterop.Runtime.Il2CppException: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. --- BEGIN IL2CPP STACK TRACE --- System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00000] in <00000000000000000000000000000000>:0 --- END IL2CPP STACK TRACE ---
at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36 at Il2CppSystem.Collections.Generic.List`1.get_Item(Int32 index) at ExpandRecipe.Main.BuildUIWithRecipe(ProductEntry productEntry, List`1 expandedRecipes, GameObject recipeTextUI, GameObject recipesContainerUI) at ExpandRecipe.ProductManager_SelectProduct_Patch.Prefix(ProductManagerApp __instance, ProductEntry entry)
Doing a lot better but still a little sick, much appreciated. Oof, I see how this can happen, it’s not an awful bug but it is a miscalculation when it tries and put the recipe in the ProductManagerApp. Appreciate the report and hopefully soon I’ll be upright long enough to push an update, this one looks easy enough to fix.
Just mentioning that someone reported disconnects caused possibly by this mod due to unsafe gameobject manipulation, you can read about it in GitHub here. If you're having users suddenly disconnect with this mod enabled, let me know.
I'm still super sick (since last Saturday, almost a full week now) with a virus (stomach, not flu nor COVID) so I haven't been able to take any kind of look or work on anything. Just wanted people to know if they download it and moreso report if it happens to them. Nonetheless I plan to make changes to make the game object manipulation safer regardless. I'll post an update when I'm able to. <3
49 comments
Very helpful, thanks!
when you can/able, does this mod affect the "effects" display in that product screen?
i noticed that my mix creation is missing an effect not listed under the product (basically the screenshot image you have but with different created item ofc). its this mix i created, in game doesnt list "tropic thunder" at all: https://schedule1.tools/mixer?mix=R3JhbmRhZGR5IFB1cnBsZTpERUtMSU8
Doing a lot better and think I might be able to return to my job tomorrow so if that’s the case then I’ll be upright enough to look at some bugs I’d think, thanks for checking!
Good to hear too, weather changing so much here easy to get sick. Thanks again
Thanks for your time and effort
Greetings from switzerland!
If someone wants to contribute it themselves at the source code repo that's something I'd be happy to review but probably not something I want scoped for specifically just this mod, which is just printing additional details about selected recipes. Another mod maybe, or maybe Tyler will add it in to the base game (as it's definitely a needed/wanted feature!).
when you can/able, does this mod affect the "effects" display in that product screen?
i noticed that my mix creation is missing an effect not listed under the product (basically the screenshot image you have but with different created item ofc). its this mix i created, in game doesnt list "tropic thunder" at all: https://schedule1.tools/mixer?mix=R3JhbmRhZGR5IFB1cnBsZTpERUtMSU8
[12:41:12.533] [ExpandRecipe] Exception raised building UI component: Il2CppInterop.Runtime.Il2CppException: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
--- BEGIN IL2CPP STACK TRACE ---
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.Generic.List`1[T].get_Item (System.Int32 index) [0x00000] in <00000000000000000000000000000000>:0
--- END IL2CPP STACK TRACE ---
at Il2CppInterop.Runtime.Il2CppException.RaiseExceptionIfNecessary(IntPtr returnedException) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Il2CppException.cs:line 36
at Il2CppSystem.Collections.Generic.List`1.get_Item(Int32 index)
at ExpandRecipe.Main.BuildUIWithRecipe(ProductEntry productEntry, List`1 expandedRecipes, GameObject recipeTextUI, GameObject recipesContainerUI)
at ExpandRecipe.ProductManager_SelectProduct_Patch.Prefix(ProductManagerApp __instance, ProductEntry entry)
I'm still super sick (since last Saturday, almost a full week now) with a virus (stomach, not flu nor COVID) so I haven't been able to take any kind of look or work on anything. Just wanted people to know if they download it and moreso report if it happens to them. Nonetheless I plan to make changes to make the game object manipulation safer regardless. I'll post an update when I'm able to. <3