• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Is there a 5 item limit to how many items can be used in a recipie?

  • Thread starter Thread starter doughphunghus
  • Start date Start date
D

doughphunghus

Guest
I was working on a modlet and added an item to some existing core recipes,tested it and it appears only 5 items show up in the in-game ui (my 6th item didn't appear in the list in the crafting ui) If there's not a 5 item limit, can this be increased using a modlet/xpath?

 
There is not an actual limit of 5 - I have made a recipe for example that has 26 ingredients. But I don't now how to modify the UI to show more (but I assume it could be done).

 
Thanks for the info! I'll poke around and see if I can find a way to do it

 
this is really fabulous! I hope to be able to figure out he XUI/windows stuff.

currently I have been just attempting to make chain recipes example

To make the upgraded generator you first need to make refined silicone, generator frame, generator gas tank, and add in forged steel allows you to craft the final object. so that could be upwards of 15 or more requirements for the final product. But being able to do a mass combine might be more appealing.

 
I saw this thread and thought it was interesting because I was having the same issue. Thanks DukeW74 for pointing to the right area. So I started to play around, was able to add more items slots, but after 1 slot they started to overlap with inventory. So I saw a chance to decrease the height of each row. it helped alittle but caused these double lines and still one row was covered up. Anyhow it is something to play around with. Thanks for the thread

 
this is really fabulous! I hope to be able to figure out he XUI/windows stuff.
currently I have been just attempting to make chain recipes example

To make the upgraded generator you first need to make refined silicone, generator frame, generator gas tank, and add in forged steel allows you to craft the final object. so that could be upwards of 15 or more requirements for the final product. But being able to do a mass combine might be more appealing.
This is exactly what I decided to do for farm life. It works perfectly and no ui changes required ;)

 
The ingredient list for recipes can be increased but the ui must be adjusted to fit the new text/rows

 
Everyone above adding info is basically correct :) I haven't given up yet though!

I've worked on modding this and I've also made an "official" request ( https://7daystodie.com/forums/showthread.php?111659-Scrollable-window-for-recipie-ingredients-optionally-also-scrollable-backpack ) to have the vanilla game modified to make the backpack and ingredients list "scrollable". For all I've been able to figure out, the "controller" in the grid area *or* the Window panel containing the ingredient grid is needed to be modified in order to handle the "scroll" effect, so it's not something you can change via the existing XML via a mod and have it look good/use able by others. I have 2 more ideas I'm going to try and if one of them is "use able" I might be able to increase the ingredient list to either 7-10 and make it visually appealing as well as work with all the various screen resolutions. I'll provide an update ( or likely a mod :) ) if I can get something working or if I fail.

How long this may take to get added to the vanilla game is beyond me but I personally consider it kinda a "modding bug" where they allow you to make mods and add items to ingredients and the backpack, but this specific case of "hidden ingredients" can make mods randomly "fail" badly, especially if a normal user just loads a bunch of mods up by different people and suddenly isn't able to figure why they can't craft something. Specifically: imagine that 2 mod authors test their mods and say "yes, I did not go over the 5 ingredient limit" everything works, but together the 2 mods add ingredients that go over the 5 item limit, "breaking" both mods.

I requested the backpack also be made scrollable because I looked at the backpack mods for some insight on how they did it and yeah, it "distorts" the UI by making the backpack slots very small. It looks like the "96 item" backpack is as many as can be added and still be sorta usable. If the backpack window scrolled, you could have a 1000 item backpack if you wanted (which would be kinda boring, IMHO) but if someone really wanted it, more power to them.

If you poke around the UI, almost all the windows are scrollable, so doing this in the vanilla game shouldn't be too much of a stretch, technically. It's likely going to be a combination of "they agree its an issue" and "they have time to do it over the actual bugs/issues"

 
Last edited:
ok, I have created a modlet that works "well enough". I'm not very familiar with the way these UI's are created (something in Unity?) or how to load them up and edit them with a tool vs positioning things by hand in the xml ( which is what I'm doing...ugh). If anyone has a use for this and wants to demo it, or make it "cleaner", please let me know how it went here or make changes/issues on github!

https://github.com/doughphunghus/Doughs-UIAddFiveRecipeIngredients

See https://github.com/doughphunghus/Doughs-UIAddFiveRecipeIngredients/wiki for what it looks like. Image was too large to upload it here.

 
Last edited:
I think another resolution (for someone wanting to play around with the ui) is to add a page number with arrows (just like it is for crafting recipe list) and allow cycling between the pages (if they are present). Don't know how that would be implemented exactly, but this would allow theoretically add 20, 50 or 100 ingredients at a time (although cycling through 100 would be a lot).

This could also be used for inventory pages.

 
I tried to get the paging/arrows figured out and I coudln't get it to work. I have no idea why though. I attribute it to the window not being able to be scrolled, but that's just a guess. If anyone could figure it out that would be awesome :)

 
Back
Top