Merge branch 'release' into develop

This commit is contained in:
Sabe Jones 2019-11-12 15:36:18 -06:00
commit 5212e72e77
9 changed files with 44 additions and 26 deletions

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "habitica",
"version": "4.120.0",
"version": "4.120.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -1,7 +1,7 @@
{
"name": "habitica",
"description": "A habit tracker app which treats your goals like a Role Playing Game.",
"version": "4.120.0",
"version": "4.120.2",
"main": "./website/server/index.js",
"dependencies": {
"@babel/core": "^7.7.2",

View file

@ -6,19 +6,25 @@
}
.promo_costume_achievement {
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: 0px -365px;
background-position: 0px -513px;
width: 144px;
height: 156px;
}
.promo_mystery_201910 {
.promo_ember_thunderstorm_potions {
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -477px -148px;
width: 423px;
height: 147px;
}
.promo_mystery_201910 {
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: 0px -365px;
width: 282px;
height: 147px;
}
.promo_take_this {
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -760px -148px;
background-position: -283px -365px;
width: 96px;
height: 69px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View file

@ -152,14 +152,14 @@
"dateEndApril": "April 19",
"dateEndMay": "May 31",
"dateEndJune": "June 14",
"june2018": "June 2018",
"augustYYYY": "August <%= year %>",
"dateEndJuly": "July 31",
"dateEndAugust": "August 31",
"dateEndSeptember": "September 21",
"september2017": "September 2017",
"september2018": "September 2018",
"dateEndOctober": "October 31",
"dateEndNovember": "December 3",
"dateEndNovember": "November 30",
"dateEndJanuary": "January 31",
"dateEndFebruary": "February 28",
"winterPromoGiftHeader": "GIFT A SUBSCRIPTION AND GET ONE FREE!",

View file

@ -1,6 +1,7 @@
import assign from 'lodash/assign';
import defaults from 'lodash/defaults';
import each from 'lodash/each';
import moment from 'moment';
import t from './translation';
const CURRENT_SEASON = '_NONE_';
@ -93,13 +94,25 @@ const premium = {
value: 2,
text: t('hatchingPotionEmber'),
limited: true,
_season: '_PENDING_',
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateEndNovember'),
previousDate: t('augustYYYY', { year: 2017 }),
}),
canBuy () {
return moment().isBetween('2019-11-12', '2019-12-02');
},
},
Thunderstorm: {
value: 2,
text: t('hatchingPotionThunderstorm'),
limited: true,
_season: '_PENDING_',
_addlNotes: t('eventAvailabilityReturning', {
availableDate: t('dateEndNovember'),
previousDate: t('augustYYYY', { year: 2016 }),
}),
canBuy () {
return moment().isBetween('2019-11-12', '2019-12-02');
},
},
Spooky: {
value: 2,

View file

@ -8,16 +8,16 @@ const featuredItems = {
path: 'armoire',
},
{
type: 'eggs',
path: 'eggs.PandaCub',
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Ember',
},
{
type: 'hatchingPotions',
path: 'hatchingPotions.Shade',
type: 'premiumHatchingPotion',
path: 'premiumHatchingPotions.Thunderstorm',
},
{
type: 'food',
path: 'food.Potatoe',
path: 'food.Saddle',
},
],
quests: [

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -4,7 +4,7 @@ const api = {};
// @TODO export this const, cannot export it from here because only routes are exported from
// controllers
const LAST_ANNOUNCEMENT_TITLE = 'NOVEMBER BACKGROUNDS AND ARMOIRE ITEMS!';
const LAST_ANNOUNCEMENT_TITLE = 'THUNDERSTORM AND EMBER HATCHING POTIONS';
const worldDmg = { // @TODO
bailey: false,
};
@ -31,24 +31,23 @@ api.getNews = {
<div class="mr-3 ${baileyClass}"></div>
<div class="media-body">
<h1 class="align-self-center">${res.t('newStuff')}</h1>
<h2>11/5/2019 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
<h2>11/12/2019 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
</div>
</div>
<hr/>
<div class="promo_armoire_backgrounds_201911 center-block"></div>
<div class="promo_ember_thunderstorm_potions center-block"></div>
<p>
Weve added three new backgrounds to the Background Shop! Now your avatar can fly
through a Tumultuous Thunderstorm, find only the strongest elixirs at the Potion Shop,
and wander through a colorful Farmer's Market. Check them out under User Icon >
Backgrounds!
Two of your favorite Magic Hatching Potions are back! Between now and November 30, you
can buy Thunderstorm and Ember Hatching Potions from
<a href='/shops/market'>the Market</a> and use them to hatch any standard pet egg.
(Magic Hatching Potions do not work on Quest Pet eggs.) Magic Hatching Potion Pets
aren't picky, so they'll happily eat any kind of food that you feed them!
</p>
<p>
Plus, theres new Gold-purchasable equipment in the Enchanted Armoire, including the
Alchemist Set. Better work hard on your real-life tasks to earn all the pieces! Enjoy :)
After they're gone, it will be at least a year before the Ember or Thunderstorm Hatching
Potions are available again, so be sure to get them now!
</p>
<div class="small mb-3">
by Vikte, QuartzFox, Gully, Aspiring Advocate, Lt. Cabel, and SabreCat
</div>
<div class="small mb-3">by Balduranne and SabreCat</div>
</div>
`,
});