Dailies

thumb|249px|Accessing Dailies from the Habitica iOS app.|alt= Dailies are used to track tasks scheduled in a known, repeatable fashion. This allows the player to incorporate a task into their everyday routine (for example: working out, walking, or flossing) or into a weekly routine (example: Saturday morning call to Mom). To view other examples of Dailies, refer to Sample Dailies. There is no limit to the number of Dailies the player can create.
Note that even though this feature is named "Dailies," the player can set the Daily to repeat at other intervals on a schedule. For example, a Daily can repeat every two days, once every Saturday, etc.
==Effects of Dailies==
===Rewards===
 When a Daily is checked off, it turns grey and the player gains experience points, gold, mana, a chance of a drop (after completing two tasks), a chance of a critical hit, and an increased streak count.
The amount of mana earned on checking off a Daily does not depend on the Daily's history: the player always earns 1 MP or 1% of their max MP, whichever is higher.
===Streaks===
Dailies have a check box that the player marks when the task is completed. Habitica records how many days in a row the player completes a Daily as a streak. Longer streaks have advantages, as described in the entry for Streaks.
===Quests===
If the player is participating in a quest, all completed Dailies will deal damage to the boss or help find collection items. The totals are tabulated and reported through the party chat at the player's Cron. Incomplete Dailies will cause damage to the player and their party unless the player is in the inn.
===Unchecking a Daily===
If a completed Daily is unchecked, it returns to its normal color, the streak counter decreases by one, and the player loses the experience points, gold and mana they received when they first checked off that Daily. Due to a minor bug, damage to a boss is not removed. If a drop is received, it is also not removed when the Daily is unchecked; this is intended behavior (as described in GitHub Issue #4626) and can be used to create a Wishing Well.
===Uncompleted Dailies===
If a due Daily is not checked off by midnight or the Custom Day Start time, the player loses health points, and that Daily's streak is reset to zero. If the player is participating in a boss quest, the boss will do damage to the player and to all other quest participants in the player's party. Additionally, the player will earn less mana on Cron when leaving Dailies unchecked.
A Daily that is not due can be completed to earn the usual rewards, but if it is not completed, it does not cause damage and does not lose its streak.
===Other Effects===
If a player consistently completes a Daily, they will earn less gold and experience from that Daily over time, as it rises in value. However, the player will also lose less health if the Daily is sometimes missed. The reduction in gold earned is partially offset by the small gold bonus earned from increasing the streak.
If a player frequently fails to check off a Daily, the missed task will cause more health loss as the value decreases. However, more gold and experience will be earned when the Daily is checked off. 
The Value mechanic is designed this way to encourage players to work on their shortcomings.
==Setting up the Dailies List==
Art by Rosemonkey To set up the Dailies list:
* Add one or more Dailies to suit your personal goals - Consider starting slowly, and do not overburden yourself or overestimate what can realistically be done on a regular basis. It's easier to add more later (and not feel like you're cheating) than to overestimate and have to delete or "grey out" items.
* Optimize each Daily's options - See "Advanced Options" below.
* Start tracking!
=== Add New Daily ===
 Here are more detailed instructions on how to add a Daily to your Dailies list:
# Click the grey "Add a Daily" box below the "Dailies" heading (it will turn white) and type the title of the Daily and hit enter. The player can also use the green "+" button in the upper right, choose Daily, and immediately open the edit modal. For example, to encourage yourself to clean the kitchen, type "Clean the Kitchen" into the text field.
# Hitting enter or saving the new task will put the new Daily at the top of the list of current Dailies.
# If you have trouble with the task you added (in this case, cleaning the kitchen), you may want to change the difficulty to Hard to increase the incentive to accomplish the task (described below under Difficulty). Click on the title or the space beside the daily to bring up the task editing screen.
That's it! You've added a new Daily. See the section below for details on which options are available for customizing your Dailies and how to do so.
=== Adding Multiple Dailies ===
 To add several Dailies at once in the quick add section, separate each item by holding Shift as you press Enter. If you use Enter alone, they'll all be added at the same time.
To add multiple Dailies with tags, select a tag, then add your Dailies.
==Editing a Daily==
	Click on the title or the white space to bring up the Daily editing screen.
	Checklist: Players can use checklists on Dailies to help keep track of sub-tasks.
	Title: The name of the Daily (Emoji and Markdown can be used in the title).
	Extra Notes: Information about the Daily. Notes will appear as additional information under the task title. The extra notes can then help clarify its context, track progress, and add clarification when the Daily is gamified.
	Start Date: The player can enter a future date at which they want the Daily to become active. Before the date, the Daily will not be due and will not damage the player.
Start Date will also determine when the Daily repeats (e.g., starting on August 30 will cause a Monthly to repeat the 30th of every subsequent month).
	Repetition Interval: Select Daily, Weekly, Monthly or Yearly for your task. For more details on how to set up your repeatable tasks, see Repeat Options.
	Tags: Use tags to help filter the tasks that are shown. This is useful if you have many Dailies or wish to focus on a particular type of task.
	
	Difficulty: Trivial Dailies will reward you with less gold, but will deal less damage if left uncompleted at the end of the day. Medium and hard Dailies will give more gold, but will deal more damage if left uncompleted. You should adjust the difficulty according to the difficulty that you, and you alone, have finishing the task in real life.
	Task Stats: Only appears if the task-based auto-allocation feature is turned on. Click on one of the available Stats to set the task's stat. Habitica will use the task stats to distribute the player's Stat points when they level up.
	Adjust Streak: Manually restore a streak that was lost due to a sync error or other problem.
	Save & Close: Don't forget to click this to keep the changes you've made!
===Checklists===
Sometimes, a task such as "Clean the Kitchen" has many sub-tasks involved. Players can use checklists on Dailies to help keep track of these sub-tasks. If a player does not complete all sub-tasks, checking off completed sub-tasks will protect the player from some damage, and will earn them partial mana when the day is over.
For a full description of checklists in Dailies, see the Checklists page.
===Repeat Options===
When editing a Daily, players have the option to make the Daily repeat every X days, weeks, months, or years. The Start Date of your Daily will affect when your Daily recurs (e.g., starting on August 30 will cause a Monthly to repeat the 30th of every subsequent month).
There is a drop-down menu with four options: Daily, Weekly, Monthly, and Yearly. Underneath that drop-down menu, there is a Repeat Every field, where you can select how often you'd like your Daily to repeat (e.g., Repeat Every 2 Days). A summary of the repeat options you have chosen, as well as a list of upcoming due dates, is also shown. Additional repeat options may also be available depending on whether you selected Daily, Weekly, Monthly, or Yearly from the drop-down menu. Additional information about each of these options is presented in the following sub-sections.
====Daily====
Selecting "Daily" from the drop-down menu will cause the Daily to repeat every X days, where X is the value in the "Repeat Every" field. To make the Daily active every day, make the value 1. Making the value 0 will cause the Daily to never be due (a Grey Daily).
If a Daily is set to repeat every 2 or more days, it will be active on the start date, inactive the next, then active the next, and so on, even if it was not completed on a day that it was active.
The next scheduled day for a Daily will not be changed by completing the Daily when it is not due or by leaving it incomplete when it is due. The only way to change the next scheduled day is to edit the Daily to adjust the start date or the repeat settings. For example, if you've been using an every-3-days Daily for a while and you need to skip a day but still have it due every 3 days after that, you would advance the start date to the next day it should be due after the skipped day.
====Weekly====
To make a Daily repeat on certain days of the week, select "Weekly" from the drop-down menu and choose the days of the week you want your Daily to be active under "On Days". Selecting no days of the week will cause the Daily to become a Grey Daily.
You will also see the "Repeat Every" field. If you want your Daily to be active every week, make the value in that field 1. If you want it to repeat every other week, make the value 2. Making the value 0 will cause the Daily to never be due (a Grey Daily).
====Monthly====
 Selecting "Monthly" from the drop-down menu will give you two "Repeats On" radio button options: "Day of the Month" (e.g., the Daily repeats on the 14th of each month), or "Day of the Week" (e.g., the Daily repeats on first Monday of every month).
The start date of your Daily will determine what day of the month or day of the week/which week the Daily repeats. For example, to have your Daily repeat on the first Monday of every month, choose "Monthly" from the drop-down menu and select the "Day of the Week" radio button. Then adjust the Daily's start date to choose the first Monday of the starting month. As with the other drop-down menu options, make the value 1 for to make the Daily active every month, 2 for every other month, etc. Making the value 0 will cause the Daily to never be due (a Grey Daily).
If you select a day of the month greater than the number of days in the current month, the task will be due the last day of the month. For example, setting a task to be start on the 31st will result in the task being due on the last day of every month, while setting it to start on the 29th will result in it being due on the 29th of each month except February, when it will be due on the 28th (except leap years, of course).
====Yearly====
If you only want your Daily to be active once a year, select "Yearly" from the drop-down menu. Again, the start date will determine what day of the year your Daily will be active.
The "Repeat Every" value controls whether the Daily is due every year, every other year, etc. Making the value 0 will cause the Daily to never be due (a Grey Daily).
===Advanced Options===
Each task is unique, and the Advanced Options feature allows the player to modify a task in accordance with how difficult it is or what aspect of the player's real life it affects.
====Start Date====
Here, you can enter a date at which you want the Daily to become active. Before the date, the Daily will not be due, and will not damage you after each Cron. This feature allows you to enter Dailies that you are thinking about or want to put down, but may not need just yet.
Examples for using the start date:
* You are on vacation and don't need your work-related Dailies. Instead of unselecting all the days of the week, all you have to do is set the start date to the first day that you go back to work. The Daily will then be a Grey Daily until that date arrives.
* You create a new Daily that must happen every 3 days and the first time it must happen is the day after tomorrow. You'd choose the start date as being the day after tomorrow.
* To make the Daily due today, set the start date to today's date or to a date in the past.
==== Difficulty ====
 The levels of difficulty are trivial, easy, medium, and hard. When a new Daily is added, the difficulty will be set at easy. Trivial Dailies will reward less gold, but will deal less damage if left unchecked at the end of the day. Medium and hard Dailies reward more gold, but will deal more damage if left unchecked. This feature allows the player to tweak the game and adjust its difficulty according to the difficulty of the task in real life. For example, if flossing is less difficult for you than washing the dishes, those two Dailies shouldn't have the same difficulty level. Note that the difficulty of a Daily is dependent on what you find difficult, not what others find difficult. If you find brushing your teeth extremely difficult, even if all of your friends find it easy, then you should set your own "Brush teeth" task to Hard. Difficulty in Habitica is subjective, and will vary from player to player for the same task.
==== Stats ====
If the task-based auto-allocation feature is turned on, Dailies may be set to have a particular task stat. In the Advanced options menu, click on one of the available types under Stats to designate it as having that stat. The available types are Strength, Intelligence, Perception, and Constitution. If task-based auto-allocation is used, new Dailies are created with the Strength stat by default, and the player can change the default stat by choosing another stat. Habitica will use the task stats to distribute the player's stat points when they level up.
==== Restore Streak Counter====
Manually restore a lost streak due to a sync error or personal reasons. See Restore Streak Counter.
==== Reminders====
You can add a reminder on Habitica's official mobile apps on Android and iOS.
==Grey Dailies==
If a Daily shows up as grey, it means that either:	If a Daily shows up as grey, it means that either:
 	The player already checked that task off today.
 	That particular task is not scheduled for today. The player:
*Will not lose health points for not doing the task.
* Will not break their streak by not doing the task.
*Can do that task for gold and experience and to boost the streak.
*Can damage a quest boss by completing it.
For more information about the rest of the color scheme, read What do the Task Colors Represent?
If you are having a hard time understanding the color scheme of Dailies, you can follow this simple little mnemonic Habitica Contributor Taldin wrote: "If it's red to blue, it's still something to do; if it's looking quite grey, you're done for today."
===Checklists in Grey Dailies===
Checklists for Grey Dailies do not carry over from one day to another if you complete the whole Daily. The next morning, Cron will untick the Daily and untick all of its checklist items.
However, this does NOT happen for a Grey Daily if you did not mark the Daily itself as completed. Cron will not untick any checklist items until the end of a day when the Daily was due, or until you complete the Daily itself. You can see uses for this in Checklists.
===Alternative uses for Grey Dailies===
While they primarily represent tasks that have either already been checked off or are not scheduled for the day, Grey Dailies can serve other uses. In addition to the options discussed below, consider the section on "directionless Habits".
==== Long-Term Tasks ====
Grey Dailies can be useful for representing once-a-week tasks by removing all scheduled days of the week. Because Grey Dailies can still be checked off at any time and garner gold, XP, and streaks, they continue to serve as tasks without any specific time-bound due dates.
Players who prefer to keep their To Do lists more immediate can also track other long-term tasks, or even overarching goals with Grey Dailies. A Grey Daily with SMART goals or a checklist can keep a player's mind on the next milestone.
==== Headers ====
By disabling all scheduled days on a Daily, players can add headers or dividers by utilizing the Markdown formatting capabilities of Habitica to better organize their Dailies.
==== Practice ====
Grey Dailies can also be used for tasks that a player plans to make a Daily for eventually, but currently wants to avoid losing HP for not being able to complete. This allows time for the task to become a new addition to the player's routine.
Some players might want to leave this type of "stretch" Daily active during the day, so it is more eye-catching and doesn't blend in with other types of Grey Dailies. They may use a custom reward to allow themselves to turn it off before Cron if they haven't been able to complete it. This can be an effective alternative to HP loss for motivation, depending on play style.
== Record Yesterday's Activities ==
thumb|right|Using the Record Yesterday's Activities feature on the iOS app.|alt=A modal listing the previous day's undone dailies that were not completed by the user before their custom day start. They can be checked off, and when the user is finished, there is a "start my day" button at the bottom which will run cron.Introduced on July 5, 2017, this feature allows players to check off Dailies that were completed the day before, but were not checked off. When a player logs into Habitica for the first time after their Custom Day Start (Cron), a pop-up will appear with all of the Dailies that were due the previous day, but left unchecked. This gives the player the opportunity to check off those Dailies before they cause damage. If a player has not logged on to Habitica for several days, the pop-up will show any Dailies that were due from the last day they used Habitica (the player will still only Cron once).
If you do not want to use the "Record Yesterday's Activity" feature for some or all Dailies, you can edit those Dailies to untick the checkbox labelled "Confirm that this Daily wasn't done before applying damage". All such Dailies will never appear on the "Record Yesterday's Activity" pop-up. 
When a new Daily is created, including Dailies from challenges or group plans, that checkbox will be ticked by default. 
 
The "Record Yesterday's Activities" feature will not be incorporated automatically into third-party tools.
Note that this feature is different from "Yester-Dailies".
==Yester-Dailies==
It can be inconvenient to tick off Dailies for actions that occur late in the day. For example, a Daily for "Turn off PC and phone by 9 PM" cannot be ticked off after you have performed those actions! In such cases, a Yester-Daily can be created by describing an action that you took on the previous day: "Turned off PC and phone by 9 PM yesterday." That Daily can then be ticked off first thing in the morning if it was completed the previous night.
==X Times Per Time Period Dailies==
This is a workaround for cases where you wish to complete a task x times during a certain time period of y days/weeks/months/years (e.g., 3 times a week), without a set interval between each instance. This is distinct from the built-in Repeat Options feature, which is for set intervals between each instance.
* Create a Daily with a start date in y days/months/weeks/years' time and repeating every y days/months/weeks/years. For our example of 3 times a week, the Daily would repeat every 7 days with a start date in 7 days' time.
* Create a checklist with x items. For our example, we would create a checklist with 3 items.
* Each time you perform the task, tick a checklist item off. When the Daily is grey, the checked boxes will not reset after Cron.
* At the end of the time period (e.g., after 7 days), check off the Daily if you completed the entire checklist, and receive your rewards.
* Alternatively or additionally, create a positive Habit to click each time you perform the task/complete one item from your checklist. If you do not wish to check off the Daily at the end of the time period, in order to not receive extra rewards, you will lose no health if all checklist items have been ticked off. However, you will not get a Perfect Day buff the next day.
==Rearranging Dailies==
Dailies can be rearranged by dragging them and dropping them. To select them, select the title and then drag them to your desired location. On the website, there is an option to push to top and push to bottom under the three dots menu on the upper-right hand side of the Daily's box..
==Dailies Tabs and Default Setting==
 You can remove clutter from your list using the tabs at the top and bottom of the Dailies column. Options are All, Due, and Grey. Clicking the Due tab shows only those Dailies which are active for that day. Clicking the Grey tabs shows only Dailies that are not due or that have been completed.
 There is an option in Settings to change the default tab to Due for active Dailies. 
==Viewing Dailies with Data Display Tool==
 A quick way to view the active days for all of your Dailies is to use the Data Display Tool (DDT), which can be accessed from the Data button on your toolbar. Once you have selected the Task Overview section in the DDT, you can filter the task type to be "Daily". This will give you a listing of all your Dailies, grey or active. In the right column will be a small bar showing the days of the week for which your Daily is set to repeat. Black lettering and box outline indicate that the Daily is due on that day, while the days on which the task is inactive are in grey.
You can also use the DDT to view your Dailies History and Dailies Incomplete.
==Preventing Undue Damage==
There may be times when you cannot complete all of your Dailies, but you don't want to take damage for them or cause damage to your party. Pause damage is an option that you can activate quickly by clicking the Pause Damage button in Settings. On the Android and iOS apps, the option is called "Pause Your Dailies". Please note this does not have the same effect on Habits and To Do's, which will continue to change value while in the Inn.
Sometimes, resting in the Inn isn't the best option. For instance, you may have a long event or illness. You could instead change the schedule/due date of your Dailies and make them temporarily unavailable. In this way, you are awarded for your accomplishments, but you are not unfairly punished for unusual or unexpected events.
===Start Date===
You can use the Start Date feature of the Dailies to change when they will become active. Changing or setting a Start Date to at least one day in the future will change them to Grey Dailies for the current day.
===Checklist===
You can make a one-task checklist for the Dailies you don't want to be penalized for missing and tick that checklist on days with complications. You can call the checklist item "Event day" or "Not feeling well". You won't get rewards, but you also won't take damage. You will lose your streak, but you can restore the streak counter by editing those Dailies the following day.
===Grey Dailies===
You can turn the Daily grey by adjusting the repeat settings so that the Daily will never be due. For example, set the "Repeat Every" value to 0.
===Skills===
If you are a Rogue, you can cast your Stealth skill to hide from some of your incomplete Dailies. The Data Display Tool's "Dailies Incomplete" section will tell you which Dailies have been "stealthed".
==See Also==
* Sample Dailies
* Naming Your Tasks
* Habits
* To Do's
* Rewards
===Record Yesterday's Activity===
*This feature has been released
This section describes an upcoming change to the code that implements Dailies. The code change is not yet complete and the behavior described below might change before it goes live.
UPDATED 2017-06-19: The information below now more accurately represents our current plans. However there might still be changes before this new feature goes live.
IMPORTANT: TheHollidayInn, who wrote the features described below, has not yet reviewed this information. Treat it with caution until this message is removed.
Pull request #8717 implements a change to Cron and Dailies. It is expected that this pull request will be made live around late June, 2017.
Currently (i.e., before the PR is merged), whenever the API is used to make a request that reads from or writes to a user's account, Habitica first checks to see if cron needs to be run, then runs cron if needed, and after that it processes the request.
This PR will prevent cron from being automatically checked or run on API calls. I.e., once the PR goes live, none of the existing API calls will cause cron to run. Instead there will be a new API call /api/v3/cron that can be used to run cron if it is an appropriate time for cron to run (i.e. if it is after the user's day start time and cron has not yet run today). The new API call cannot be used to run cron at other times. Third-party developers should use this call only if it is essential to their tool - see below for more details.
This PR will also implement a "Record Yesterday's Activity" feature. If cron is about to run because the user has just taken their first action of the day on the habitica.com website or on the official Habitica mobile apps, then the website / app will first show the user a screen containing any Dailies that were due on the previous day but were not completed. It will allow the user to mark those Dailies as complete if appropriate, and only after that is done will cron be run.
If the user hadn't used Habitica for two or more days, the screen will show all incomplete Dailies that had been due on those days.
The "Record Yesterday's Activity" screen will not appear if the user has no Dailies that need to be displayed on it.
The "Record Yesterday's Activity" feature will not happen automatically in any third-party tools however third-party developers are welcome to implement their own version of it if desired. It is recommended that they do that if they intend to use the /api/v3/cron call because if that call is run without yesterday's activity being recorded, the user will take damage from all incomplete Dailies. If a third-party developer chooses to use the /api/v3/cron call without implementing a "Record Yesterday's Activity" feature, they should make it clear to all potential users that their tool will bypass that feature. It is recommended that the /api/v3/cron call is not used in any tools unless there is a specific need for it.
If the user does not want to use the "Record Yesterday's Activity" feature for some or all Dailies, they can edit each Daily to untick a checkbox labelled "Confirm that this Daily wasn't done before applying damage". All such Dailies will never appear on the "Record Yesterday's Activity" screen. A third-party tool will be able to untick that checkbox in the same way that it can modify any other attribute of a task however it is strongly recommended that you do not write tools which disable this feature unless the user explicitly requests it in some way.
When a new Daily is created, including Dailies from challenges or group plans, that checkbox will be ticked by default. In addition, when this new feature goes live, all existing Dailies in all user accounts will be automatically modified to have that checkbox ticked.
If you look at the code for this feature, you'll see that term "yesterdailies" is used. This is only an internal term and must not be used when communicating with users. The official name of the feature is "Record Yesterday's Activity". The word "yesterdailies" has a particular meaning in user-facing Habitica discussions, which is slightly different than the "Record Yesterday's Activity" feature, so it is important that you don't use it when writing about the "Record Yesterday's Activity" feature.
This section is still being reviewed and might be rewritten. LadyAlys (talk) 06:26, June 19, 2017 (UTC)
de:Tägliche Aufgaben
es:Diarias
fr:Quotidiennes
nl:Dagelijkse taken
pt-br:Tarefas Diárias
ru:Ежедневные задания
zh:每日任务
ja:日課
Category:Mechanics
Category:Newbies
Category:References Source Code
Category:ToBeReviewed
Category:Pages with files missing alt tags