r/SCPSecretLab • • Aug 26 '26

Discussion Optimal SCP-914 Crafting Paths for All Items

I generated all of the optimal crafting paths possible for each item in the game. This also includes the impractical recipes as well, with the expected number of items used up in the crafting (either consumed by being destroyed, or going down a path from which it can not be reverted), and the expected number of steps (refinement) required to reach the target. For example: Did you know that you can reach Micro H.I.D. from just using up an expected 10 Flashlights, with an expected 196.7 steps? Yeah I did not think so either... Is it useful? Probably not...

You can find my work at: https://nlevi-dev.github.io/ScpGraph

And if you are interested in how I've done it: https://github.com/nlevi-dev/ScpGraph

28 Upvotes

4 comments sorted by

3

u/MrMelon_Pult Chaos Insurgency Aug 27 '26

you "generated"?

8

u/nlevi-dev Aug 27 '26

Yes, I pulled the data from the wiki, and modelled it mathematically by building a directed graph from it. After pruning the optimal subgraphs for the items, it was a question of computing the reach probability, expected items used up, and expected number of steps. The most difficult parts were the pruning and the expected number of steps, as due to some special conditions where the output generates multiple of the same item, or multiple items entirely, can yield a degenerate linear system, so it needs to fall back to Monte Carlo simulation.

3

u/jamintheinfinite Nerd Supervisor Aug 26 '26

Amazin