Hello,
let's say I'm developing a crafting table for a video game.
In the attached example, you will see two tables.
The first one is a crafting chain of items.
So for example, Row 7 tells me that in order to craft a Bench, I need 2 pieces of wood.
Row 8 tells me to craft a Hammer, I need 1 bench and so on and so forth.
On the other table, you see the crafting times.
So it takes 2 minutes to produce 2 pieces of wood and so on and so forth.
What I'm trying to calculate, is the total time to craft an item, including the initial items to the final product.
So for example, to craft a Hammer, first I need to craft a Bench. To craft a bench, I need 2 Wood.
So it would be --> 2 wood = 2 minutes, then I can craft a Hammer, which is another 2 minutes, so 4 minutes.
I think this is quite a challenge, but seeing how smart people are here, Im sure we will find an interesting solution.
Thanks !
Bookmarks