r/MelvorIdle • u/Thaijler • 10d ago
Suggestion MI2: Is anyone here good at data mining/coding?
If i was any good at it, I'd do it myself, but my goal would be to pull all the numbers of how long it takes to acquire every resource without any bonuses. Then i would use that data to figure out how long it is to craft every item including the time needed to gather resources + craft sub materials.
So, for example., instead of simply looking at the time to craft a bow, you're looking at the time to gather flax + gather wood + craft bowstrings + craft a bow.
This would make it easier to tell what is worth crafting and what isn't worth the time to craft when training skills.
12
u/New-Part-6917 10d ago
https://mi2.ziboune.com/
1
u/Dormantium 7d ago
This is almost exactly what I've been trying to figure out! I extracted Melvor Idle 2's data and used Codex with GPT-6.2 on Ultra reasoning to map the items, recipes, skill actions and dependencies. The goal is a calculator that answers: "If I start with no materials and no bonuses, how long does this item ACTUALLY take to make?"
The extracted dataset includes 1,811 items, 1,280 indexed skill actions, 723 artisan recipes, 499 shop purchases, 3,403 mastery tasks, 192 monsters and 124 item upgrades. That's a useful starting point, but it doesn't automatically mean every game mechanic has been reproduced correctly.
Here are some preliminary, calculated examples from the extracted tables. They assume the relevant skills are unlocked, no bonuses, and sequential gathering/crafting. These are theoretical baselines, not in-game measurements or fully validated optimal routes.
1. Your exact example: making a Normal Bow from scratch
The recipe needs 2 Normal Logs + 1 Bowstring. The Bowstring itself needs 1 Flax.
A Normal Bow gives 7 Fletching XP and sells for 12 GP. If you already have the materials, 6s per bow implies 600 bows/hour = 4,200 Fletching XP/hour. From raw materials, 16s per bow implies 225 bows/hour = 1,575 Fletching XP/hour (and 2,700 gross GP/hour if sold). That's a 62.5% drop in effective Fletching XP/hour once the supply chain is included.
For 1,000 bows, you need 2,000 logs, 1,000 flax and 1,000 bowstrings. The modeled time becomes 4h 26m 40s, compared with only 1h 40m for the last crafting step alone.
2. How much that changes across bow tiers
Based on the same simplified baseline:
The Redwood example is striking: ~50.6k Fletching XP/h with stocked materials vs ~13.3k XP/h including gathering and intermediate crafting. Obviously, the inputs are also leveling other skills, so a useful calculator should report XP separately for every skill, not pretend that time is wasted.
3. Crafting isn't necessarily the best GP/hour
Another thing I've been comparing is the value of selling raw resources instead of processing them. These are gross sale values, not net profit, and exclude byproducts:
For a Normal Bow, the ingredients' raw sale value is 2 logs x 3 GP + 1 flax x 1 GP = 7 GP, while the bow sells for 12 GP. Processing adds 5 GP of value per item, but takes time. More value per item doesn't necessarily mean more GP per hour. Also, you should distinguish sale revenue from economic profit: you could have sold those ingredients instead.
4. Same skill, different products
Even within Fletching, the optimal training product may not be the obvious one:
Boomerang recipes output three items per craft, which matters for both inventory and value. Different goals (Fletching XP, GP, or avoiding another skill entirely) could give different recommendations.
5. Smithing: intermediate XP changes the answer again
Take Copper items. In the example production model:
But the bar production ALSO grants Smithing XP. Counting 3 XP per Copper Bar gives:
In this scenario, the dagger comes out ahead for Smithing XP/hour even though a finished sword gives more XP. This is exactly why you can't just sort recipes by their final crafting XP.
Important caveat: mining cannot simply be treated as "one ore every X seconds." The extracted tables contain hit intervals and break/progress values. In one illustrative independent-roll interpretation, a 1.5s hit with a 30% Copper product chance gives 720 Copper Ore/h. The actual rock-break mechanics need verification before treating that as a real base rate. A robust calculator should track both the formula and its confidence level.
6. Batch recipes and leftovers
Imagine making Stone Arrows. Intermediate recipes create batches, not necessarily one ingredient at a time. For example, the extracted chain includes 20 Arrow Shafts per log, 10 Headless Arrows per relevant craft, 10 Stone Arrowtips per relevant craft, and 4 Stone Arrows per final craft.
A bulk order should account for the leftovers from earlier batches. Calculating one arrow by rounding each sub-recipe up independently, then multiplying by 1,000, would wildly exaggerate the material and time cost. We need a quantity-aware recipe solver, not just a spreadsheet that adds durations.
7. Fishing and Cooking demonstrate co-products and failure rates
Some extracted baseline fishing actions suggest:
Notice that the Sardine method also generates Shrimp. If we charge the full fishing time independently to both species, we double-count shared production time.
Cooking further complicates things: cooked Shrimp heals 15 HP, Sardine 53, Herring 63, but some cooking actions can fail. If an example Herring recipe had 57% success and failures consumed the input, effective edible HP/hour would be dramatically lower than assuming 100% success. The calculator should show expected yield as well as the risk/variance, not just a perfect-case number.
8. Upgrade payback matters too
The Copper Telescope is a good example of why I'd want this for shop upgrades, too. The extracted requirements I found were 150 Copper Bars, 150 Molten Glass and 2,500 GP. If the glass needs 150 buckets of sand at 5 GP each, the direct cash outlay is 3,250 GP plus the gathering/processing time for all those materials. The actual telescope modifier must be interpreted correctly before claiming a precise payback period.
A calculator could ask: if buying an upgrade costs 25 minutes of gathering/crafting but increases future production by X%, how long do I need to use it to break even? And is that different depending on what I'm farming?
9. What I'd eventually like to build
Select any item and quantity (1, 100, 10,000), then show:
I'm not claiming I've finished or validated an all-items calculator yet. The dataset is extracted and these are preliminary models. The hard part now is reconstructing the real mechanics, avoiding double-counting co-products, handling stochastic outcomes and validating theoretical estimates against the actual game.
But yes: your idea is absolutely the right question to ask. Sorting by full-chain XP/hour or GP/hour rather than final-craft-only rates could change which items are genuinely worth making, especially when leveling several connected skills at once.
2
u/Dormantium 7d ago
Yes this is on my plan. Thank you for the great idea! Gonna look into it!
1
u/pappaberG 3d ago
https://github.com/rtzlr/Melvor-Pilot/
I solved this
-7
u/googleduck 10d ago
Don't really need to be anymore. I am good at coding but I had codex/Claude code throw together whatever calculators I wanted for the game and do its own data mining. Haven't even glanced at the code.
Maybe later I can throw something together that I can upload if someone else hasn't done it already.