IEnumerator digere()
    {
        yield return(new WaitForSeconds(eatduration));

        dwarfcontroller.setHungerStatus("satieted");
        Debug.Log("dwarf job : " + dwarfcontroller.getcurrentjob());
        dwarfcontroller.setjobstatut(dwarfcontroller.getcurrentjob());
        dwarfcontroller.updateStatutText();
        if (dwarfcontroller.getjobplace() != null && dwarfcontroller.getjob() != "idle")
        {
            dwarfcontroller.startwork();
        }
        movescript.setpos(dwarfcontroller.getPosBeforeEat());
        dwarfcontroller.iseating = false;
    }