Package: gtnhvelo
gtnh-velo❓ What is it?This is a fork of OrderedSet86'sgtnh-flow. In addition to the functionalities of the original tool, this fork has:Extended formatting of projectsAdded stylization add formatting of graphsStandards to increase readabilityA custom CLI📖 SamplesSamples of the graphs in the repository.Samples⏲️ InstallationInstall as Python packageThis is the easiest installation method. In the terminal run:pip install gtnhvelo -ULinuxClone this repositorygit clone https://github.com/velolib/gtnh-velo.gitDownload Python 3 and install fromhttps://www.python.org/downloads/Navigate to the cloned repository and install the required project dependenciespip install -r requirements.txtInstall Graphviz, on Debian-based Linux it'ssudo apt-get install graphvizIf Graphviz is not added to the system path, you can add the path to the/binfolder in the configuration file.WindowsClone this repositorygit clone https://github.com/velolib/gtnh-velo.gitDownload Python 3 and install fromhttps://www.python.org/downloads/Navigate to the cloned repository and install the required project dependenciespip install -r requirements.txtInstall Graphviz, for Windows there is a guidehere. Graphviz must be added to the system PATH for all users or the current user which may or may not need a system restart.If Graphviz is not added to the system path, you can add the path to the/binfolder in the configuration file.It's recommended to create a virtual environment before installing to isolate the development environment from the global scope.⏲️ UsageCLICreate a project underprojects/. You can look at existing projects to see the structure.The project name is a system file path relative toprojects/, for exampleplastics/epoxid. You can run the graph creator in 2 ways:flow [project name]flowthen inputting your project name in the dialogThe output graph will pop up and be available inoutput/When runningflowthe directoriesprojects/andoutput/will be created in the working directory if they do not exist already.In codeYou can use gtnh-velo in Python code like this:fromgtnhveloimportflowflow('project_name','output_path','projects_path')Using gtnh-velo in Python also automatically turns on quiet mode.⁉ AnswersHow to configureThe configuration fileconfig_factory_graph.yamlwill be created on startup in the working directory if not created already.
You can configure a variety of layout and functional options using it. Make sure to not delete any keys.Automatic overclockingAll of the names in the following image are recognized and will be overclocked automatically to 1A of the tier you select. This includes the EBF, which will default to 1 hatch of the selected tier.Recognized OverclocksDealing with multi-I/OSometimes the balancing algorithm will fail. You may need to manually make the adjustments by renaming the ingredients so that it will only be used for the recipes you want. An example:chlorine 1,chlorine 2Project StandardsThis section will cover how to create a basic project.Basic recipesHere is how to write a recipe (note the indentation):-m:large chemical reactortier:HV# The recipe tier, minimum LVI:# Inputsnonrecycle hydrochloric acid:3000hydrochloric acid:27000raw silicon dust:10O:# Outputstrichlorosilane:9000silicon tetrachloride:300hexachlorodisilane:200dichlorosilane:300'[recycle]hydrogen':20400# Recycle this outputeut:480# EU/t of recipedur:7.5# Recipe duration in secondsgroup:silicon# Used to group recipes on the graphIn every project there needs to be 1 (and only 1) recipe that needs to be locked. This is the recipe that every other recipe will be balanced off of. Here are the fields you need to add:# These 2 fields (target and number) are mutually exclusive!-m:example machinetarget:# lock it to the number of a specific ingredient output per secondtrichlorosilane:4000# -------------------------------------------------------------------number:2# lock the number of machines for this recipeAdvanced recipesThis section will cover the exceptions to the recipes.
Some fields you need to know about:-m:example machineheat:4001# The required heat for a recipecoils:nichrome# The selected coils for a recipesaw_type:saw# The saw type for a Tree Growth Simulatormaterial:shadow# Turbine material for turbinessize:large# Turbine size for turbinespipe_casings:tungstensteel# Pipe casings for chemplantsSpecial Recipes# Electric Blast Furnace example-m:electric blast furancetier:HVI:tungstic acid:7O:tungsten trioxide:4eut:480dur:10heat:1200coils:nichromenumber:1# Chemical Plant example-m:chem planttier:LuVI:pine wood:0.1O:crushed pine materials:40eut:120dur:10coils:tungstensteelpipe_casings:tungstensteel# GT++ Machine example-m:industrial siftertier:HVI:platinum salt dust:1O:refined platinum salt dust:0.95eut:30dur:30group:pmp recycling# Multiblock turbine example# in the finished graph it will calculate the actual numbers-m:LGTtier:EVI:benzene:1O:{}eut:0dur:0material:shadowsize:large🙏 ThanksVisit the originalgtnh-flow by OrderedSet. Without it this fork would not exist!