From 354872decbf94b8dafc5cffa4274c38b78df76b9 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Wed, 25 Mar 2015 20:46:27 -0500 Subject: [PATCH] feat(March): Eggy eggy cont'd --- .../promo/promo_mystery_201503.png | Bin 0 -> 3774 bytes migrations/20150325_egg_quest.js | 8 +++ migrations/mysteryitems.js | 2 +- website/public/js/controllers/footerCtrl.js | 5 ++ website/views/shared/footer.jade | 1 + website/views/shared/new-stuff.jade | 53 ++++++++++++------ 6 files changed, 52 insertions(+), 17 deletions(-) create mode 100644 common/img/sprites/spritesmith/promo/promo_mystery_201503.png create mode 100644 migrations/20150325_egg_quest.js diff --git a/common/img/sprites/spritesmith/promo/promo_mystery_201503.png b/common/img/sprites/spritesmith/promo/promo_mystery_201503.png new file mode 100644 index 0000000000000000000000000000000000000000..45f2b05c52ec843c91f32ad26f43a5e725ecc21a GIT binary patch literal 3774 zcmV;v4ngsWP)KLZ*U+IBfRsybQWXdwQbLP>6pAqfylh#{fb6;Z(vMMVS~$e@S=j*ftg6;Uhf59&ghTmgWD0l;*T zI709Y^p6lP1rIRMx#05C~cW=H_Aw*bJ-5DT&Z2n+x)QHX^p z00esgV8|mQcmRZ%02D^@S3L16t`O%c004NIvOKvYIYoh62rY33S640`D9%Y2D-rV&neh&#Q1i z007~1e$oCcFS8neI|hJl{-P!B1ZZ9hpmq0)X0i`JwE&>$+E?>%_LC6RbVIkUx0b+_+BaR3cnT7Zv!AJxW zizFb)h!jyGOOZ85F;a?DAXP{m@;!0_IfqH8(HlgRxt7s3}k3K`kFu>>-2Q$QMFfPW!La{h336o>X zu_CMttHv6zR;&ZNiS=X8v3CR#fknUxHUxJ0uoBa_M6WNWeqIg~6QE69c9o#eyhGvpiOA@W-aonk<7r1(?fC{oI5N*U!4 zfg=2N-7=cNnjjOr{yriy6mMFgG#l znCF=fnQv8CDz++o6_Lscl}eQ+l^ZHARH>?_s@|##Rr6KLRFA1%Q+=*RRWnoLsR`7U zt5vFIcfW3@?wFp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ly!cRt6)t zhC-CT&rUtK_IbTRym0Y@*9pn}klpMKiR=KEV<9v-N%3)Zg2Vf%U1<>F0u>E(03C5( z$aKGdt?0_~-=&=&GlqOdu$kgu_hTUNOPjwzL%TuTd+Ra4RW zO1{U&B6K9r*i#i%S;0BK&A(JNS^k-V&*!6#zMM0Le}0C62%hH)jnTqy^_Dr`Uh^M`QOVHYA$(Le{#krcRi*#FEF3tTe1RFoCR z6eFl;pksB(k&K;IRbylq_6-X6J!He5W5?6lA^c2KG|&O9`UMN$VvT0I(ynJw(Le{# o0T)owFdBln+a07*qoM6N<$f(WS$N&o-= literal 0 HcmV?d00001 diff --git a/migrations/20150325_egg_quest.js b/migrations/20150325_egg_quest.js new file mode 100644 index 0000000000..2dfa267f3b --- /dev/null +++ b/migrations/20150325_egg_quest.js @@ -0,0 +1,8 @@ +/** + * Created by Sabe on 3/25/2015. + */ +db.users.update( + {}, + {$inc:{'items.quest.egg':1}}, + {multi:1} +) \ No newline at end of file diff --git a/migrations/mysteryitems.js b/migrations/mysteryitems.js index 71f57ad468..9736ab58e0 100644 --- a/migrations/mysteryitems.js +++ b/migrations/mysteryitems.js @@ -2,7 +2,7 @@ var _id = ''; var update = { $push: { 'purchased.plan.mysteryItems':{ - $each:['weapon_mystery_201502','headAccessory_mystery_201502'] + $each:['armor_mystery_201503','eyewear_mystery_201503'] } } }; diff --git a/website/public/js/controllers/footerCtrl.js b/website/public/js/controllers/footerCtrl.js index 8d15d4690c..50e7e84f6a 100644 --- a/website/public/js/controllers/footerCtrl.js +++ b/website/public/js/controllers/footerCtrl.js @@ -115,5 +115,10 @@ function($scope, $rootScope, User, $http, Notification, ApiUrl) { 'party.quest.progress.up': User.user.party.quest.progress.up + 1000 }); } + $scope.addCollectQuestProgress = function(){ + User.set({ + 'party.quest.progress.collect': User.user.party.quest.progress.collect + 100 + }); + } } }]) diff --git a/website/views/shared/footer.jade b/website/views/shared/footer.jade index caacfd09f4..cac84bbce1 100644 --- a/website/views/shared/footer.jade +++ b/website/views/shared/footer.jade @@ -85,6 +85,7 @@ footer.footer(ng-controller='FooterCtrl') a.btn.btn-default(ng-click='addLevelsAndGold()') +Exp +GP +MP a.btn.btn-default(ng-click='addOneLevel()') +1 Level a.btn.btn-default(ng-click='addBossQuestProgressUp()') +1000 Boss Quest Progress Up + a.btn.btn-default(ng-click='addCollectQuestProgress()') +100 Collect Quest Progress div(ng-init='deferredScripts()') diff --git a/website/views/shared/new-stuff.jade b/website/views/shared/new-stuff.jade index 5bfd7800d2..3e48f5a4e1 100644 --- a/website/views/shared/new-stuff.jade +++ b/website/views/shared/new-stuff.jade @@ -1,32 +1,53 @@ -h5 3/20/2015 - SPRING FLING EVENT! LIMITED EDITION OUTFITS, SEASONAL SHOP OPENS, AND SPRING NPCS +h5 3/25/2015 - MARCH SUBSCRIBER ITEM, FREE EGG HUNT QUEST, EGG MOUNTS, AND NEW MODERATOR! hr tr td - h5 Spring Fling! - p The Spring Fling is here! From today until April 30th, join Habitica in its sweet celebration. - tr - td - .promo_springclasses2015.pull-right - h5 Limited Edition Class Outfits - p From now until April 30th, limited edition outfits are available in the Rewards column. Depending on your class, you can be a Beware Dog, Magician's Bunny, Sneaky Squeaker, or Comforting Kitty! You'd better get productive to earn enough gold before they disappear. Good luck! + .promo_mystery_201503.pull-right + h5 March Subscriber Item + p The March Subscriber Item has been revealed: the Aquamarine Item Set! All March subscribers will receive the Aquamarine Eyewear and the Aquamarine Armor. You still have six days to subscribe and receive the item set! Thank you so much for your support - we really do rely on you to keep HabitRPG free to use and running smoothly. p.small.muted by Lemoness tr td - .promo_springclasses2014.pull-right - h5 Seasonal Shop Opens - p The Seasonal Shop has opened! It's stocking springtime Seasonal Edition goodies at the moment, including last year's spring outfits. Everything there will be available to purchase during the Spring Fling event each year, but it's only open until April 30th, so be sure to stock up now, or you'll have to wait a year to buy these items again. - p.small.muted by Lemoness + .Pet-Egg-CottonCandyPink.pull-right + h5 Egg Hunt Quest and Egg Mounts + p In celebration of the season, everyone has received a free Egg Hunt collection quest scroll! You can find it in the Inventory. Collect eggs by completing your tasks, and you'll be rewarded with some egg pets. + br + p Furthermore, the Egg Pets can now be fed... and grow into some glorious Egg Mounts! + br + p The Seasonal Sorceress will also be stocking the Egg Quest scrolls until April 30th. Once they're gone, they won't return until next Spring, so get them while they're hot! + p.small.muted by Beffymaroo and Megan tr td - .seasonalshop_spring2015.pull-left - h5 Spring NPCs - p Looks like the NPCs are really getting in to the springtime fun around the site. Who wouldn't? After all, there's plenty more to come! - p.small.muted by Lemoness and Shaner + h5 New Moderator + p Finally, we have a new moderator on the site: @Beffymaroo! Hooray! Be sure to say hello to her in the Tavern. hr a(href='/static/old-news', target='_blank') Read older news mixin oldNews + h5 3/20/2015 - SPRING FLING EVENT! LIMITED EDITION OUTFITS, SEASONAL SHOP OPENS, AND SPRING NPCS + tr + td + h5 Spring Fling! + p The Spring Fling is here! From today until April 30th, join Habitica in its sweet celebration. + tr + td + .promo_springclasses2015.pull-right + h5 Limited Edition Class Outfits + p From now until April 30th, limited edition outfits are available in the Rewards column. Depending on your class, you can be a Beware Dog, Magician's Bunny, Sneaky Squeaker, or Comforting Kitty! You'd better get productive to earn enough gold before they disappear. Good luck! + p.small.muted by Lemoness + tr + td + .promo_springclasses2014.pull-right + h5 Seasonal Shop Opens + p The Seasonal Shop has opened! It's stocking springtime Seasonal Edition goodies at the moment, including last year's spring outfits. Everything there will be available to purchase during the Spring Fling event each year, but it's only open until April 30th, so be sure to stock up now, or you'll have to wait a year to buy these items again. + p.small.muted by Lemoness + tr + td + .seasonalshop_spring2015.pull-left + h5 Spring NPCs + p Looks like the NPCs are really getting in to the springtime fun around the site. Who wouldn't? After all, there's plenty more to come! + p.small.muted by Lemoness and Shaner h5 3/17/2015 - BUNNY PET QUEST, EGG PURCHASING CHANGE, LAST DAY FOR SURVEY AND ACHIEVEMENT, AND UNEQUIP BUTTONS tr td