HabitRPG | Gamify Your Life {#if _loggedIn}

API

Copy these for use in third party applications.
User ID
{_user.id}
API Token
{_user.apiToken}

Reset <@footer>

This resets your entire account - your tasks will be deleted and your character will start over.

This is highly discouraged because you'll lose historical data, which is useful for graphing your progress over time. However, some people find it useful in the beginning after playing with the app for a while.

<@footer>
{#if _user.party.current}

{_party.name}

{#each _partyMembers as :member} {/}
{username(:member.auth)}({:member.id})
{#if _view.partyError}
{_view.partyError}
{/}
Leave {else if _user.party.invitation}

You're Invited To {_party.name}

Accept Reject {else}

Create A Party

You are not in a party. You can either create one and invite friends, or if you want to join an existing party, have them enter:

{_user.id}
{#if _view.partyError}
{_view.partyError}
{/}
{/} <@footer>
{else} Login / Register With Facebook

Or

{/}

You died! Game Over.

Continue

Highly discouraged because red tasks provide good incentive to improve (read more). However, this becomes necessary after long bouts of bad habits.

<@footer> {#if lt(_user.balance,1)} Buy More TokensNot enough tokens {else} Re-Roll4 Tokens {/}

You're out of tokens, which are used to buy pets and mounts.

<@footer> Buy More TokensNot enough tokens
{#with _user.preferences}
{username(_user.auth)}
  • {#if equal(_user.preferences.gender, 'f')}
  • {/} {/} <@footer>
    {#if _flash.error}
      {#each _flash.error as :error}
    • {:error}
    • {/}
    {/} {#if equal(_user.flags.kickstarter,'show')}
    [x]
    Hi everyone, last stretch of the Kickstarter! Let's get a ton of new features plus mobile apps. With ~25k registered users, if everyone backs $1 we can do it! Help spread the word:
    {/}

    Habits

      {#each _habitList as :task}{/}

    Daily

      {#each _dailyList as :task}{/}

    Todos

      {#each _todoList as :task}{/}
    {#if _user.history.todos} {/} iCal GCal

    Rewards

    {#unless _view.activeTabPets}
    {gold(_user.stats.gp)}
    {silver(_user.stats.gp)}
    {else} {/}
    {#if _user.flags.petsEnabled}
    {#with _view.items.pets as :pets}
    {#with :pets[0]}{/} {#with :pets[1]}{/} {#with :pets[2]}{/} {#with :pets[3]}{/}
    {#with :pets[4]}{/} {#with :pets[5]}{/} {#with :pets[6]}{/} {#with :pets[7]}{/}
    {#with :pets[8]}{/} {#with :pets[9]}{/} {#with :pets[10]}{/} {#with :pets[11]}{/}
    {#with :pets[12]}{/} {#with :pets[13]}{/} {#with :pets[14]}{/} {#with :pets[15]}{/}
    {#with :pets[16]}{/}
    {/}
    {else} {/}
      {#each _rewardList as :task}{/}
    {#if _user.flags.itemsEnabled}
      {#with _view.items.weapon as :item}{/} {#with _view.items.armor as :item}{/} {#with _view.items.head as :item}{/} {#with _view.items.shield as :item}{/} {#with _view.items.potion as :item}{/} {#with _view.items.reroll as :item}{/}
    {/}
    {#if _user.items.pets[.name]}{/}
    {{#if @noDismiss}}{{/}}
    {tokens(_user.balance)} Tokens
  •     
    {#if :task.history} {/}
    {#if :task.notes} {/}
    {#if equal(:task.type, 'habit')} {#if :task.up}{/} {#if :task.down}{/} {else if equal(:task.type, 'reward')} {:task.value} {else} {/}
    {:task.text}
  • {#unless :item.hide}
  •       
    {#if @reroll} {else} {:item.value} {/}
    {#if :item.icon} {:item.text} {else}
    {:item.text}
    {/}
  • {/}
    {#unless @minimal}{#if @profile.items.pet}{/}{/}
    {#with @profile.preferences as :p} {/}
    {{#unless @minimal}}
    Lvl {@profile.stats.lvl}
    {{/}}
    {#if equal(_view.nodeEnv,"production")} {/}