var leathercraftsmanship = new leatherworkshop(); foreach (var item in leatherinventory) { if (item.condition == "cast aside") { var assumptions = leathercraftsmanship.evaluatecondition(item); if (!assumptions.predispositioned) { leathercraftsmanship.resuscitate(item, "wary"); } } }