public bool notifyWhenCitizenInventoryHasProductionItem() { if (work) { if (work.getItemCurrentlyProduced() != null) { if (inventory.checkIfListOfItemsAreInInventory(new Dictionary <string, int>() { { work.getItemCurrentlyProduced().getName(), work.getPutItemInStorageThreshold() } })) { //Debug.Log("citizen has work producing items " + this.transform.name); return(true); } } } return(false); }