While decency is quite subjective and people have different levels of acceptance towards different levels of decency, I attribute it to the amount of goodness in the value system you inherited from your parents, friends and education and how much you stick to them.
Could I’ve managed it better? No. There’s no way out of this routine. Not until parents come back. Not until someone can cook your breakfast and dinner.