#Beta script for making automated smithing transform upgrade recipes

16 messages · Page 1 of 1 (latest)

odd grotto
#

so this post will have the code for my script which parses all the items in your modded install, figured out what upgrade items there are, taking some basic ones that you can add and remove from to help speed the process, what tools and armors there are, and automates the upgrade path using smithing transform.

robust ironBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

odd grotto
west timberBOT
#

Paste version of smithing_recipes.js from @odd grotto

odd grotto
#

This code also generates some json files in the kubejs folder so you can check and see if it is working to your liking. You can add and remove armor types/weapon and tool types/etc. You can even add materials, but you need to make sure you follow the upgrade rules and add a path following the code in the script.

red rapids
#

and what's the problem you're having with it

#

you should post this in #1048591172165189632

odd grotto
#

I wanted people to look it over and check for errors/inefficiencies

#

sorry dogs wanted out while I was updating the post. 🙂

red rapids
#

forEach is slow compared other looping methods. You can loop over the length and index them later. Or use a for of loop though idk if that exists in rhino

#

if you really want to go for performance

#

though this probably won't make a difference

odd grotto
#

might be a good idea for one of those packs that has 300 materials, thanks.

last dragon