From 2aacf633080165a2b8166960b0d4e43b15b59b0e Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Tue, 10 Jun 2014 18:43:08 -0600 Subject: [PATCH] feat(backgrounds): bailey --- public/js/controllers/inventoryCtrl.js | 7 ------- views/shared/modals/new-stuff.jade | 23 ++++++++++++++++++----- 2 files changed, 18 insertions(+), 12 deletions(-) diff --git a/public/js/controllers/inventoryCtrl.js b/public/js/controllers/inventoryCtrl.js index 7b0dd14846..b8be82e0a4 100644 --- a/public/js/controllers/inventoryCtrl.js +++ b/public/js/controllers/inventoryCtrl.js @@ -154,12 +154,5 @@ habitrpg.controller("InventoryCtrl", ['$rootScope', '$scope', '$window', 'User', $rootScope.selectedQuest = item; $rootScope.openModal('buyQuest', {controller:'InventoryCtrl'}); } - - $scope.chooseBackground = function(k,bg){ - //if (!user.purchased.background[bg]) - if (k===user.preferences.background) - User.set({'preferences.background':''}); - User.set({'preferences.background':k}); - } } ]); diff --git a/views/shared/modals/new-stuff.jade b/views/shared/modals/new-stuff.jade index c162cfbb8a..3e857a7bc6 100644 --- a/views/shared/modals/new-stuff.jade +++ b/views/shared/modals/new-stuff.jade @@ -16,12 +16,25 @@ script(type='text/ng-template', id='modals/newStuff.html') table.table.table-striped tr td - h5 New Pet Quest: The Call Of Octothulu! - p There's a new pet in town! The dreaded Octothulu, sticky spawn of the stars, has emerged from a whirlpool in a dark cave by the sea. It's up to you and your party to banish the foul beast by being extra-productive! If you manage to defeat it, you might just find some octopus eggs... - h5 Earthquake Update - p Remember the strange earthquake we had recently? Well, this probably isn't related in any way, but Habiticans have recently noticed some mysterious black Dailies strewn along the beaches. Lemoness happily reports that they are scrawled upon with an ancient language, and that she is hard at work deciphering the script. More news as this develops! - small.muted 6/10/2014 + h5 New Feature: Backgrounds! + p We're debuting a brand-new feature - backgrounds for your avatar! Stroll through a Summer Forest, lounge upon a warm Beach, or dance in a Fairy Ring. You can buy the backgrounds in the new Background tab, under User. Have fun! + h5 Summer Mystery Update + p It's been a while since we've seen Lemoness around - she's been a bit scarce since she started trying to decipher those ancient Dailies. We just stopped by her hut to check on her and found her..... missing? + br + p It looked like she'd taken her armor-enchanting crochet hook, but little else. There was a single scrawled note on the table: "I think I've translated it!!!! If I'm right, this is going to be QUITE the summer. Verifying claims - be back soon!!!" + br + p The only other thing on the table was an ancient map... with the corner ripped off. + small.muted 6/14/2014 + hr + h5 6/10/2014 + table.table.table-striped + tr + td + h5 New Pet Quest: The Call Of Octothulu! + p There's a new pet in town! The dreaded Octothulu, sticky spawn of the stars, has emerged from a whirlpool in a dark cave by the sea. It's up to you and your party to banish the foul beast by being extra-productive! If you manage to defeat it, you might just find some octopus eggs... + h5 Earthquake Update + p Remember the strange earthquake we had recently? Well, this probably isn't related in any way, but Habiticans have recently noticed some mysterious black Dailies strewn along the beaches. Lemoness happily reports that they are scrawled upon with an ancient language, and that she is hard at work deciphering the script. More news as this develops! hr h5 6/5/2014