From a53725da14807d0e54dbf3f9e59ea5636837d4b2 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sat, 12 Oct 2013 20:22:56 -0700 Subject: [PATCH] gems: add to tutorial on drop unlock --- public/js/services/guideServices.js | 1 + views/shared/modals/pets.jade | 11 +++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/public/js/services/guideServices.js b/public/js/services/guideServices.js index 401e9f1e34..973a7ba71a 100644 --- a/public/js/services/guideServices.js +++ b/public/js/services/guideServices.js @@ -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'); diff --git a/views/shared/modals/pets.jade b/views/shared/modals/pets.jade index ec9c4192a9..aa60e7610b 100644 --- a/views/shared/modals/pets.jade +++ b/views/shared/modals/pets.jade @@ -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. + If you've got your eye on a pet, but can't wait any longer for it to drop, use Gems in Options > Inventory to buy one! .modal-footer button.btn.btn-default.cancel(ng-click='modals.dropsEnabled = false') Close