I\'m trying to write a simulation with 2 different resources, both of which entities need before they can start processing their job. So currently my code looks like this: