mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Added +1 Hourglass to debug menu
This commit is contained in:
@@ -59,9 +59,10 @@
|
||||
"timeTravelers": "Time Travelers",
|
||||
"timeTravelersTitleNoSub": "<%= linkStartTyler %>Tyler<%= linkEnd %> and <%= linkStartVicky %>Vicky<%= linkEnd %>",
|
||||
"timeTravelersTitle": "Mysterious Time Travelers",
|
||||
"timeTravelersPopoverNoSub": "You'll need a Mystic Hourglass to summon the mysterious Time Travelers! <%= linkStart %>Subscribers<%= linkEnd %> earn one Mystic Hourglass for every three months of consecutive subscribing. Come back when you have a Mystic Hourglass, and the Time Travelers will fetch you a Subscriber Item Set from the past.... or maybe even the future.",
|
||||
"timeTravelersPopover": "We see you have a Mystic Hourglass, so we will happily travel back in time for you! Please choose the Mystery Item Set you would like. You can see a list of the past item sets <%= linkStart %>here<%= linkEnd %>! If those don't satisfy you, perhaps you'd be interested in one of our fashionably futuristic Steampunk Item Sets?",
|
||||
"mysticHourglassPopover": "Mystic Hourglass allow you to purchase previous months' subscriber sets.",
|
||||
"timeTravelersPopoverNoSub": "You'll need a Mystic Hourglass trinket to summon the mysterious Time Travelers! <%= linkStart %>Subscribers<%= linkEnd %> earn one Mystic Hourglass for every three months of consecutive subscribing. Come back when you have a Mystic Hourglass, and the Time Travelers will fetch you a Subscriber Item Set from the past.... or maybe even the future.",
|
||||
"timeTravelersPopover": "We see you have a Mystic Hourglass thingamajig, so we will happily travel back in time for you! Please choose the Mystery Item Set you would like. You can see a list of the past item sets <%= linkStart %>here<%= linkEnd %>! If those don't satisfy you, perhaps you'd be interested in one of our fashionably futuristic Steampunk Item Sets?",
|
||||
"timeTravelersAlreadyOwned": "Congratulations! You already own all of the Mystery Items. Thanks for supporting the site!",
|
||||
"mysticHourglassPopover": "Mystic Hourglass allows you to purchase previous months' subscriber sets.",
|
||||
"subUpdateCard": "Update Card",
|
||||
"subUpdateTitle": "Update",
|
||||
"subUpdateDescription": "Update the card to be charged."
|
||||
|
||||
@@ -85,6 +85,11 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl) {
|
||||
User.log({});
|
||||
})
|
||||
}
|
||||
$scope.addHourglass = function(){
|
||||
User.set({
|
||||
'purchased.plan.consecutive.trinkets': User.user.purchased.plan.consecutive.trinkets + 1,
|
||||
});
|
||||
}
|
||||
$scope.addGold = function(){
|
||||
User.set({
|
||||
'stats.gp': User.user.stats.gp + 500,
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
.row: .col-md-12
|
||||
li.customize-menu.inventory-gear
|
||||
p!=env.t('timeTravelersAlreadyOwned', {linkStart: "<a href='https://habitica.com/#/options/settings/subscription' target='_blank'>", linkEnd: "</a>"})
|
||||
menu.pets-menu(label='{{::set.text}}', ng-repeat='set in Content.timeTravelerStore(user.items.gear.owned)')
|
||||
div(ng-repeat='item in set.items')
|
||||
button.customize-option(class='shop_{{::item.key}}',
|
||||
|
||||
@@ -80,7 +80,8 @@ footer.footer(ng-controller='FooterCtrl')
|
||||
a.btn.btn-default(ng-click='addMissedDay(1)') +1 Missed Day
|
||||
a.btn.btn-default(ng-click='addMissedDay(2)') +2 Missed Days
|
||||
a.btn.btn-default(ng-click='addTenGems()') +10 Gems
|
||||
a.btn.btn-default(ng-click='addGold()') +GP
|
||||
a.btn.btn-default(ng-click='addHourglass()') +1 Mystic Hourglass
|
||||
a.btn.btn-default(ng-click='addGold()') +500GP
|
||||
a.btn.btn-default(ng-click='addMana()') +MP
|
||||
a.btn.btn-default(ng-click='addLevelsAndGold()') +Exp +GP +MP
|
||||
a.btn.btn-default(ng-click='addOneLevel()') +1 Level
|
||||
|
||||
Reference in New Issue
Block a user