lefnire/habitrpg — pull request #806 by switz (2013-04-11 22:25:43+00:00)
Title: @lefnire => Initial 'Rest' support

Basically, this adds a checkbox under your avatar that allows you to enable "rest"

In cron, we check if `user.flags.rest` is enabled after we set the date of the last cron. This way, when you come back after a week, cron isn't run and your character isn't killed. Then, just go ahead and turn off 'rest' and your cron will be run tomorrow, thinking that the last time cron was run was only one day before.

I'll continue building out a finer tuned support for *resting*, such as still clearing dailies, but not counting their negative score. But immediately, this should suffice.