I've a while back made a script (with some help ofc) that basically checks on if the player has certain ingredients a recipe needs, and if it did then it'd reward them with the recipe. It actually works well for specifying recipes that already didn't have it set up (Kubejs recipes, mod recipes that forgot to, etc.), only thing abt it is that it's definitely very bare-bones and a pain to expand upon. Is there any way to overall grab a recipe's ingredients, make it so if the player has all of them in inventory then they are rewarded with the recipe, and else-wise have it hidden?
#Any way to make every recipe be hidden until the player has the exact ingredients they'd need?
4 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Paste version of unlock_recipes.js from @split cosmos
i wouldnt check for it every tick, will be insane performancewise with multiple players... check it when a player opens inventory