feat(event): Valentine's 2020
@@ -6,7 +6,7 @@
|
||||
}
|
||||
.promo_mystery_022020 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||
background-position: 0px -277px;
|
||||
background-position: 0px -425px;
|
||||
width: 282px;
|
||||
height: 147px;
|
||||
}
|
||||
@@ -16,6 +16,18 @@
|
||||
width: 96px;
|
||||
height: 69px;
|
||||
}
|
||||
.promo_valentines_2020 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||
background-position: -421px -277px;
|
||||
width: 309px;
|
||||
height: 147px;
|
||||
}
|
||||
.promo_valentines_potions {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||
background-position: 0px -277px;
|
||||
width: 420px;
|
||||
height: 147px;
|
||||
}
|
||||
.scene_cake {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||
background-position: -328px -148px;
|
||||
|
||||
@@ -756,31 +756,31 @@
|
||||
}
|
||||
.Pet_Currency_Gem1x {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1796px -542px;
|
||||
background-position: -1796px -536px;
|
||||
width: 15px;
|
||||
height: 13px;
|
||||
}
|
||||
.Pet_Currency_Gem2x {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -954px;
|
||||
background-position: -1744px -948px;
|
||||
width: 30px;
|
||||
height: 26px;
|
||||
}
|
||||
.PixelPaw-Gold {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -594px;
|
||||
background-position: -1744px -588px;
|
||||
width: 51px;
|
||||
height: 51px;
|
||||
}
|
||||
.PixelPaw {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -646px;
|
||||
background-position: -1744px -640px;
|
||||
width: 51px;
|
||||
height: 51px;
|
||||
}
|
||||
.PixelPaw002 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -542px;
|
||||
background-position: -1744px -536px;
|
||||
width: 51px;
|
||||
height: 51px;
|
||||
}
|
||||
@@ -834,7 +834,7 @@
|
||||
}
|
||||
.empty_bottles {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -487px;
|
||||
background-position: -1744px -481px;
|
||||
width: 64px;
|
||||
height: 54px;
|
||||
}
|
||||
@@ -1044,141 +1044,141 @@
|
||||
}
|
||||
.zzz {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -739px;
|
||||
background-position: -1744px -733px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.zzz_light {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -698px;
|
||||
background-position: -1744px -692px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.notif_inventory_present_01 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1773px -867px;
|
||||
background-position: -1773px -861px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_02 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1773px -925px;
|
||||
background-position: -1773px -919px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_03 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -780px;
|
||||
background-position: -1744px -774px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_04 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -925px;
|
||||
background-position: -1744px -919px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_05 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1773px -896px;
|
||||
background-position: -1773px -890px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_06 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -896px;
|
||||
background-position: -1744px -890px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_07 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1773px -780px;
|
||||
background-position: -1773px -774px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_08 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -867px;
|
||||
background-position: -1744px -861px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_09 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1773px -838px;
|
||||
background-position: -1773px -832px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_10 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -838px;
|
||||
background-position: -1744px -832px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_11 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1773px -809px;
|
||||
background-position: -1773px -803px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_present_12 {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -809px;
|
||||
background-position: -1744px -803px;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
.notif_inventory_special_birthday {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1775px -954px;
|
||||
background-position: -1775px -948px;
|
||||
width: 20px;
|
||||
height: 24px;
|
||||
}
|
||||
.notif_inventory_special_congrats {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1765px -1006px;
|
||||
background-position: -1765px -1000px;
|
||||
width: 20px;
|
||||
height: 22px;
|
||||
}
|
||||
.notif_inventory_special_getwell {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1786px -981px;
|
||||
background-position: -1786px -975px;
|
||||
width: 20px;
|
||||
height: 22px;
|
||||
}
|
||||
.notif_inventory_special_goodluck {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1785px -739px;
|
||||
background-position: -1785px -733px;
|
||||
width: 20px;
|
||||
height: 26px;
|
||||
}
|
||||
.notif_inventory_special_greeting {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -1006px;
|
||||
background-position: -1744px -1000px;
|
||||
width: 20px;
|
||||
height: 22px;
|
||||
}
|
||||
.notif_inventory_special_nye {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1785px -698px;
|
||||
background-position: -1785px -692px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.notif_inventory_special_thankyou {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -981px;
|
||||
background-position: -1744px -975px;
|
||||
width: 20px;
|
||||
height: 24px;
|
||||
}
|
||||
.notif_inventory_special_valentine {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1765px -981px;
|
||||
background-position: -1765px -975px;
|
||||
width: 20px;
|
||||
height: 24px;
|
||||
}
|
||||
.npc_bailey {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
background-position: -1744px -414px;
|
||||
width: 60px;
|
||||
height: 72px;
|
||||
width: 63px;
|
||||
height: 66px;
|
||||
}
|
||||
.npc_justin {
|
||||
background-image: url('~@/assets/images/sprites/spritesmith-main-12.png');
|
||||
|
||||
|
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 298 KiB After Width: | Height: | Size: 299 KiB |
@@ -2,11 +2,11 @@
|
||||
// possible values are: normal, fall, habitoween, thanksgiving, winter, nye, birthday, valentines, spring, summer
|
||||
// more to be added on future seasons
|
||||
|
||||
$npc_market_flavor: 'normal';
|
||||
$npc_market_flavor: 'valentines';
|
||||
$npc_quests_flavor: 'normal';
|
||||
$npc_seasonal_flavor: 'normal';
|
||||
$npc_timetravelers_flavor: 'normal';
|
||||
$npc_tavern_flavor: 'normal';
|
||||
$npc_tavern_flavor: 'valentines';
|
||||
|
||||
$restingToolbarHeight: 40px;
|
||||
$menuToolbarHeight: 56px;
|
||||
|
||||
@@ -166,7 +166,7 @@
|
||||
"dateEndOctober": "October 31",
|
||||
"dateEndNovember": "November 30",
|
||||
"dateEndJanuary": "January 31",
|
||||
"dateEndFebruary": "February 28",
|
||||
"dateEndFebruary": "February 29",
|
||||
"winterPromoGiftHeader": "GIFT A SUBSCRIPTION AND GET ONE FREE!",
|
||||
"winterPromoGiftDetails1": "Until January 6th only, when you gift somebody a subscription, you get the same subscription for yourself for free!",
|
||||
"winterPromoGiftDetails2": "Please note that if you or your gift recipient already have a recurring subscription, the gifted subscription will only start after that subscription is cancelled or has expired. Thanks so much for your support! <3",
|
||||
|
||||
@@ -62,6 +62,9 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionCupid'),
|
||||
limited: true,
|
||||
canBuy () {
|
||||
return moment().isBefore('2020-03-02');
|
||||
},
|
||||
},
|
||||
Shimmer: {
|
||||
value: 2,
|
||||
@@ -187,6 +190,9 @@ const premium = {
|
||||
value: 2,
|
||||
text: t('hatchingPotionRoseQuartz'),
|
||||
limited: true,
|
||||
canBuy () {
|
||||
return moment().isBefore('2020-03-02');
|
||||
},
|
||||
},
|
||||
Celestial: {
|
||||
value: 2,
|
||||
@@ -273,7 +279,7 @@ each(premium, (pot, key) => {
|
||||
potText: pot.text,
|
||||
}),
|
||||
_addlNotes: t('eventAvailability', {
|
||||
date: t(`dateEnd${pot._season}`),
|
||||
date: t('dateEndFebruary'),
|
||||
}),
|
||||
premium: true,
|
||||
limited: false,
|
||||
|
||||
@@ -128,6 +128,7 @@ api.cardTypes = {
|
||||
valentine: {
|
||||
key: 'valentine',
|
||||
messageOptions: 4,
|
||||
yearRound: moment().isBefore('2020-03-02'),
|
||||
},
|
||||
birthday: {
|
||||
key: 'birthday',
|
||||
|
||||
@@ -5,43 +5,23 @@ import moment from 'moment';
|
||||
// path: 'premiumHatchingPotions.Rainbow',
|
||||
const featuredItems = {
|
||||
market () {
|
||||
if (moment().isBetween('2019-12-19', '2020-01-02')) {
|
||||
if (moment().isBefore('2020-03-02')) {
|
||||
return [
|
||||
{
|
||||
type: 'card',
|
||||
path: 'cardTypes.nye',
|
||||
path: 'cardTypes.valentine',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Aurora',
|
||||
path: 'premiumHatchingPotions.Cupid',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Holly',
|
||||
path: 'premiumHatchingPotions.RoseQuartz',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.StarryNight',
|
||||
},
|
||||
];
|
||||
}
|
||||
if (moment().isBetween('2019-12-19', '2020-02-02')) {
|
||||
return [
|
||||
{
|
||||
type: 'armoire',
|
||||
path: 'armoire',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Aurora',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Holly',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.StarryNight',
|
||||
type: 'eggs',
|
||||
path: 'eggs.Fox',
|
||||
},
|
||||
];
|
||||
}
|
||||
@@ -52,11 +32,11 @@ const featuredItems = {
|
||||
},
|
||||
{
|
||||
type: 'hatchingPotions',
|
||||
path: 'hatchingPotions.White',
|
||||
path: 'hatchingPotions.Golden',
|
||||
},
|
||||
{
|
||||
type: 'eggs',
|
||||
path: 'eggs.PandaCub',
|
||||
path: 'eggs.Wolf',
|
||||
},
|
||||
{
|
||||
type: 'food',
|
||||
@@ -65,22 +45,6 @@ const featuredItems = {
|
||||
];
|
||||
},
|
||||
quests () {
|
||||
if (moment().isBetween('2019-12-19', '2020-02-02')) {
|
||||
return [
|
||||
{
|
||||
type: 'bundles',
|
||||
path: 'bundles.winterQuests',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.evilsanta',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.evilsanta2',
|
||||
},
|
||||
];
|
||||
}
|
||||
return [
|
||||
{
|
||||
type: 'quests',
|
||||
|
||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.7 KiB |
BIN
website/raw_sprites/spritesmith_large/promo_valentines_2020.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 17 KiB |
@@ -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 = 'BLOG POST: PET FOOD PREFERENCES';
|
||||
const LAST_ANNOUNCEMENT_TITLE = 'VALENTINE’S WEEK: NPCS, VALENTINE CARDS, AND MAGIC HATCHING POTIONS!';
|
||||
const worldDmg = { // @TODO
|
||||
bailey: false,
|
||||
};
|
||||
@@ -31,21 +31,44 @@ api.getNews = {
|
||||
<div class="mr-3 ${baileyClass}"></div>
|
||||
<div class="media-body">
|
||||
<h1 class="align-self-center">${res.t('newStuff')}</h1>
|
||||
<h2>2/6/2020 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
|
||||
<h2>2/11/2020 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<div class="scene_cake center-block"></div>
|
||||
<div class="promo_valentines_2020 center-block"></div>
|
||||
<h3>Habitica Celebrates Valentine's Day!</h3>
|
||||
<p>
|
||||
This month's <a href='https://habitica.wordpress.com/2020/02/05/food-preferences/'
|
||||
target='_blank'>featured Wiki article</a> is about Pet Food Preferences! We hope that it
|
||||
will help you as you hatch and raise your own Habitican menagerie. Be sure to check it
|
||||
out, and let us know what you think by reaching out on <a
|
||||
href='https://twitter.com/habitica' target='_blank'>Twitter</a>, <a
|
||||
href='http://blog.habitrpg.com' target='_blank'>Tumblr</a>, and <a
|
||||
href='https://facebook.com/habitica' target='_blank'>Facebook</a>.
|
||||
In honor of Habitica's holiday celebrating all forms of love, whether it's friendship,
|
||||
familial, or romantic, some of the shopkeepers are dressed up! Take a look around to
|
||||
enjoy their new festive decorations.
|
||||
</p>
|
||||
<div class="small mb-3">by shanaqui and the Wiki Wizards</div>
|
||||
<div class="small mb-3">by Beffymaroo and Lemoness</div>
|
||||
<h3>Cupid and Rose Quartz Hatching Potions</h3>
|
||||
<p>
|
||||
We're excited to announce the return of Rose Quartz and Cupid Magic Hatching Potions!
|
||||
Between now and February 29, you can buy these 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 Potion Pets aren't picky, so they'll happily eat any kind
|
||||
of food that you feed them!
|
||||
</p>
|
||||
<p>
|
||||
After they're gone, it will be at least a year before the Cupid or Rose Quartz Hatching
|
||||
Potions are available again, so be sure to get them now!
|
||||
</p>
|
||||
<div class="small mb-3">by Vampitch, Willow the Witty, and SabreCat</div>
|
||||
<div class="promo_valentines_potions center-block"></div>
|
||||
<h3>Send a Valentine</h3>
|
||||
<p>
|
||||
Help motivate all of the lovely people in your life by sending them a caring Valentine.
|
||||
Valentines can be purchased for 10 Gold from the <a href='/shops/market'>Market</a> until
|
||||
February 18. For spreading love and joy throughout the community, both the giver AND the
|
||||
receiver get a coveted "Adoring Friends" badge. Hooray!
|
||||
</p>
|
||||
<p>
|
||||
While you're there, why not check out the other cards that are available to send to your
|
||||
party? Each one gives a special achievement of its own...
|
||||
</p>
|
||||
<div class="small mb-3">by Lemoness and SabreCat</div>
|
||||
</div>
|
||||
`,
|
||||
});
|
||||
|
||||