Fixed bug in pet feeding and changed silent behaviour while hungry

Fixed bug in pet feeding and changed silent behaviour while hungry
I'd suggest to assign all magic number to constants with a self-explanatory name.