mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-15 00:12:17 +00:00
gems: add to tutorial on drop unlock
This commit is contained in:
parent
890e8bf8b3
commit
a53725da14
2 changed files with 8 additions and 4 deletions
|
|
@ -97,6 +97,7 @@ angular.module('guideServices', []).
|
|||
});
|
||||
|
||||
$rootScope.$watch('user.flags.petsEnabled', function(after, before) {
|
||||
//TODO is this ever used? I think dropsEnabled is the one that's used
|
||||
if (alreadyShown(before, after)) return;
|
||||
var html = "You have unlocked Pets! You can now buy pets with Gems (note, you replenish Gems with real-life money - so chose your pets wisely!)";
|
||||
showPopover('#rewardsTabs', 'Pets Unlocked', html, 'left');
|
||||
|
|
|
|||
|
|
@ -3,10 +3,13 @@ div(modal='modals.dropsEnabled')
|
|||
h3 Drops Enabled!
|
||||
.modal-body
|
||||
p
|
||||
span.item-drop-icon(class='Pet_Egg_{{user.items.eggs.0.name}}')
|
||||
| You've unlocked the Drop System! Now when you complete tasks, you have a small chance of finding an item. And guess what, you just found a
|
||||
strong {{user.items.eggs.0.text}} egg
|
||||
| ! {{user.items.eggs.0.notes}}
|
||||
span.item-drop-icon(class='Pet_Egg_{{user.items.eggs.0.name}}', style='margin-left: 0px')
|
||||
| You've unlocked the Drop System! Now when you complete tasks, you have a small chance of finding an item. You just found a
|
||||
strong {{user.items.eggs.0.text}} Egg
|
||||
| ! {{user.items.eggs.0.notes}}.
|
||||
br
|
||||
p.
|
||||
<span class='Pet_Currency_Gem item-drop-icon'></span> If you've got your eye on a pet, but can't wait any longer for it to drop, use Gems in <strong>Options > Inventory</strong> to buy one!
|
||||
.modal-footer
|
||||
button.btn.btn-default.cancel(ng-click='modals.dropsEnabled = false') Close
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue