mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
feat(content): enable some Magic Hatching Potions
This commit is contained in:
@@ -6,19 +6,25 @@
|
|||||||
}
|
}
|
||||||
.promo_costume_achievement {
|
.promo_costume_achievement {
|
||||||
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||||
background-position: 0px -365px;
|
background-position: 0px -513px;
|
||||||
width: 144px;
|
width: 144px;
|
||||||
height: 156px;
|
height: 156px;
|
||||||
}
|
}
|
||||||
.promo_mystery_201910 {
|
.promo_ember_thunderstorm_potions {
|
||||||
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||||
background-position: -477px -148px;
|
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;
|
width: 282px;
|
||||||
height: 147px;
|
height: 147px;
|
||||||
}
|
}
|
||||||
.promo_take_this {
|
.promo_take_this {
|
||||||
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||||
background-position: -760px -148px;
|
background-position: -283px -365px;
|
||||||
width: 96px;
|
width: 96px;
|
||||||
height: 69px;
|
height: 69px;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 53 KiB |
@@ -152,14 +152,14 @@
|
|||||||
"dateEndApril": "April 19",
|
"dateEndApril": "April 19",
|
||||||
"dateEndMay": "May 31",
|
"dateEndMay": "May 31",
|
||||||
"dateEndJune": "June 14",
|
"dateEndJune": "June 14",
|
||||||
"june2018": "June 2018",
|
"augustYYYY": "August <%= year %>",
|
||||||
"dateEndJuly": "July 31",
|
"dateEndJuly": "July 31",
|
||||||
"dateEndAugust": "August 31",
|
"dateEndAugust": "August 31",
|
||||||
"dateEndSeptember": "September 21",
|
"dateEndSeptember": "September 21",
|
||||||
"september2017": "September 2017",
|
"september2017": "September 2017",
|
||||||
"september2018": "September 2018",
|
"september2018": "September 2018",
|
||||||
"dateEndOctober": "October 31",
|
"dateEndOctober": "October 31",
|
||||||
"dateEndNovember": "December 3",
|
"dateEndNovember": "November 30",
|
||||||
"dateEndJanuary": "January 31",
|
"dateEndJanuary": "January 31",
|
||||||
"dateEndFebruary": "February 28",
|
"dateEndFebruary": "February 28",
|
||||||
"winterPromoGiftHeader": "GIFT A SUBSCRIPTION AND GET ONE FREE!",
|
"winterPromoGiftHeader": "GIFT A SUBSCRIPTION AND GET ONE FREE!",
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
import assign from 'lodash/assign';
|
import assign from 'lodash/assign';
|
||||||
import defaults from 'lodash/defaults';
|
import defaults from 'lodash/defaults';
|
||||||
import each from 'lodash/each';
|
import each from 'lodash/each';
|
||||||
|
import moment from 'moment';
|
||||||
import t from './translation';
|
import t from './translation';
|
||||||
|
|
||||||
const CURRENT_SEASON = '_NONE_';
|
const CURRENT_SEASON = '_NONE_';
|
||||||
@@ -93,13 +94,25 @@ const premium = {
|
|||||||
value: 2,
|
value: 2,
|
||||||
text: t('hatchingPotionEmber'),
|
text: t('hatchingPotionEmber'),
|
||||||
limited: true,
|
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: {
|
Thunderstorm: {
|
||||||
value: 2,
|
value: 2,
|
||||||
text: t('hatchingPotionThunderstorm'),
|
text: t('hatchingPotionThunderstorm'),
|
||||||
limited: true,
|
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: {
|
Spooky: {
|
||||||
value: 2,
|
value: 2,
|
||||||
|
|||||||
@@ -8,16 +8,16 @@ const featuredItems = {
|
|||||||
path: 'armoire',
|
path: 'armoire',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'eggs',
|
type: 'premiumHatchingPotion',
|
||||||
path: 'eggs.PandaCub',
|
path: 'premiumHatchingPotions.Ember',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'hatchingPotions',
|
type: 'premiumHatchingPotion',
|
||||||
path: 'hatchingPotions.Shade',
|
path: 'premiumHatchingPotions.Thunderstorm',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'food',
|
type: 'food',
|
||||||
path: 'food.Potatoe',
|
path: 'food.Saddle',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
quests: [
|
quests: [
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
@@ -4,7 +4,7 @@ const api = {};
|
|||||||
|
|
||||||
// @TODO export this const, cannot export it from here because only routes are exported from
|
// @TODO export this const, cannot export it from here because only routes are exported from
|
||||||
// controllers
|
// controllers
|
||||||
const LAST_ANNOUNCEMENT_TITLE = 'NOVEMBER BACKGROUNDS AND ARMOIRE ITEMS!';
|
const LAST_ANNOUNCEMENT_TITLE = 'THUNDERSTORM AND EMBER HATCHING POTIONS';
|
||||||
const worldDmg = { // @TODO
|
const worldDmg = { // @TODO
|
||||||
bailey: false,
|
bailey: false,
|
||||||
};
|
};
|
||||||
@@ -31,24 +31,23 @@ api.getNews = {
|
|||||||
<div class="mr-3 ${baileyClass}"></div>
|
<div class="mr-3 ${baileyClass}"></div>
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<h1 class="align-self-center">${res.t('newStuff')}</h1>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
<hr/>
|
<hr/>
|
||||||
<div class="promo_armoire_backgrounds_201911 center-block"></div>
|
<div class="promo_ember_thunderstorm_potions center-block"></div>
|
||||||
<p>
|
<p>
|
||||||
We’ve added three new backgrounds to the Background Shop! Now your avatar can fly
|
Two of your favorite Magic Hatching Potions are back! Between now and November 30, you
|
||||||
through a Tumultuous Thunderstorm, find only the strongest elixirs at the Potion Shop,
|
can buy Thunderstorm and Ember Hatching Potions from
|
||||||
and wander through a colorful Farmer's Market. Check them out under User Icon >
|
<a href='/shops/market'>the Market</a> and use them to hatch any standard pet egg.
|
||||||
Backgrounds!
|
(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>
|
||||||
<p>
|
<p>
|
||||||
Plus, there’s new Gold-purchasable equipment in the Enchanted Armoire, including the
|
After they're gone, it will be at least a year before the Ember or Thunderstorm Hatching
|
||||||
Alchemist Set. Better work hard on your real-life tasks to earn all the pieces! Enjoy :)
|
Potions are available again, so be sure to get them now!
|
||||||
</p>
|
</p>
|
||||||
<div class="small mb-3">
|
<div class="small mb-3">by Balduranne and SabreCat</div>
|
||||||
by Vikte, QuartzFox, Gully, Aspiring Advocate, Lt. Cabel, and SabreCat
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user