Ratio Tree


This mod makes it possible to explore all the ratio´s in a easy way until you are completely statisfied.

Utilities
6 years ago
0.15
17
Owner:
kikker450
Source:
N/A
Homepage:
https://forums.factorio.com/viewtopic...
License:
MIT
Created:
6 years ago
Latest Version:
0.0.8 (6 years ago)
Factorio version:
0.15
Downloaded by:
17 users

RatioTree

This is a mod for ratio fanatics and newbies trying to figure out what ratios they want to be using. In-game you will be offered a button which has the ability to produce RatioTrees. They calculate automatically how many assemblers you need according to the recipe you want to produce. The latest tech is also taken into account to produce result currently relevant. When there are multiple ways to obtain the same product the option will be presented to change the recipe at that critical juncture.

I just tested some angels mods and for the angels users the time complexity is quite harsh with the incredible amount of choice points. I wouldn't recommend taking the bound higher than 7 (it can take 10-20 seconds) and with 10 you'll probably run out of memory before it completes (a few minutes)

Forum Header

Version 0.0.8 (7-06-17)

bugfix: resources which aren't processed as actual resources (aka: water) don't break the mod anymore. Instead they just display their raw need. I will do a better fix over the weekend.

Version 0.07 (6-06-17)

bugfix: fixed bug for mod compatibility.

Version 0.06 (6-06-17)

bugfix: fixed crash when searching per second with nil value.
bugfix: it now technically works with reverse factorio but since it adds so many choices searching is very expensive.
tweak: Choice-points list now all results properly and I removed the sprite icons because they didn't fit.
tweak: Loop prevention is now a lot simpler and shows more results.
added: miner and pump-jack math, it assumes lowest productivity.
added: setting are now saved between loads
Note: advanced settings are going to be expanded (with miners) in the future and are currently not saved.
Note: there are a few resources which aren't actual resources on the map but can be generated out of thin air which currently crash my mod. Hardcoded them (water) for vanilla but with some mods (like angels) it will crash.

Version 0.0.4 and 0.0.5 (29-05-17)

fixed small bug where advanced options didn't influence production per second input.
It is time to get some sleep... Comitted the wrong file in version 0.0.4.

Version 0.03 (29-05-17)

bugfix: game doesn't crash anymore when searching something that doesn't exist
tweak: the amount of products are now taken into account when searching for recipes with one product
tweak: default for choice points is now the recipe with the least amount of ingredients
added: A save button so you can pin your tree to the side (not the settings yet)
added: Advanced options so you can see for yourself which assemblers it uses for which recipe and change it.
added: lots of tooltips including the native names of icons when displaying the tree.

Notes: the interface is a bit jumpy now but I wanted to release this version first before tackling that.
Notes: the fact that settings don't get saved will be fixed for the next version.
Notes: still waiting for luacall to implement miners and pumpjacks

Version 0.0.2 (26-05-17)

I need to wait until the devs implement a certain luaCall before i can implement number of miners and pumpjacks.
bugfix: you can now save
bugfix: recipes with multiple products can also be requested now

Version 0.0.1 (26-05-17)

Launch for version factorio 15
Notes:
Miners and pumping jacks aren't calculated yet.
Not tested for multiplayer yet.
You can't save yet because of a runaway global.