feat(event): Valentine's 2019 and Magic Hatching Potions

This commit is contained in:
Sabe Jones
2019-02-12 07:19:58 -06:00
parent b8aacc03e3
commit b721155f01
47 changed files with 32 additions and 16 deletions

View File

@@ -2,8 +2,8 @@
// possible values are: normal, fall, habitoween, thanksgiving, winter, nye, birthday, valentines, spring, summer // possible values are: normal, fall, habitoween, thanksgiving, winter, nye, birthday, valentines, spring, summer
// more to be added on future seasons // more to be added on future seasons
$npc_market_flavor: 'normal'; $npc_market_flavor: 'valentines';
$npc_quests_flavor: 'normal'; $npc_quests_flavor: 'normal';
$npc_seasonal_flavor: 'normal'; $npc_seasonal_flavor: 'normal';
$npc_timetravelers_flavor: 'normal'; $npc_timetravelers_flavor: 'normal';
$npc_tavern_flavor: 'normal'; $npc_tavern_flavor: 'valentines';

View File

@@ -246,8 +246,8 @@ export default {
categories.push({ categories.push({
identifier: 'cards', identifier: 'cards',
text: this.$t('cards'), text: this.$t('cards'),
items: _map(_filter(this.content.cardTypes, (value) => { items: _map(_filter(this.content.cardTypes, (value, key) => {
return value.yearRound; return value.yearRound || key === 'valentine';
}), (value) => { }), (value) => {
return { return {
...getItemInfo(this.user, 'card', value), ...getItemInfo(this.user, 'card', value),

View File

@@ -279,6 +279,7 @@
"hatchingPotionGlow": "Glow-in-the-Dark", "hatchingPotionGlow": "Glow-in-the-Dark",
"hatchingPotionFrost": "Frost", "hatchingPotionFrost": "Frost",
"hatchingPotionIcySnow": "Icy Snow", "hatchingPotionIcySnow": "Icy Snow",
"hatchingPotionRoseQuartz": "Rose Quartz",
"hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.", "hatchingPotionNotes": "Pour this on an egg, and it will hatch as a <%= potText(locale) %> pet.",
"premiumPotionAddlNotes": "Not usable on quest pet eggs.", "premiumPotionAddlNotes": "Not usable on quest pet eggs.",

View File

@@ -3,7 +3,7 @@ import defaults from 'lodash/defaults';
import each from 'lodash/each'; import each from 'lodash/each';
import t from './translation'; import t from './translation';
const CURRENT_SEASON = '_NONE_'; const CURRENT_SEASON = 'February';
let drops = { let drops = {
Base: { Base: {
@@ -156,6 +156,12 @@ let premium = {
limited: true, limited: true,
_season: 'January', _season: 'January',
}, },
RoseQuartz: {
value: 2,
text: t('hatchingPotionRoseQuartz'),
limited: true,
_season: 'February',
},
}; };
each(drops, (pot, key) => { each(drops, (pot, key) => {

View File

@@ -8,16 +8,16 @@ const featuredItems = {
path: 'armoire', path: 'armoire',
}, },
{ {
type: 'hatchingPotions', type: 'premiumHatchingPotion',
path: 'hatchingPotions.CottonCandyPink', path: 'premiumHatchingPotions.Cupid',
}, },
{ {
type: 'eggs', type: 'premiumHatchingPotion',
path: 'eggs.TigerCub', path: 'premiumHatchingPotions.RoseQuartz',
}, },
{ {
type: 'card', type: 'card',
path: 'cardTypes.birthday', path: 'cardTypes.valentine',
}, },
], ],
quests: [ quests: [

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 921 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@@ -3,7 +3,7 @@ import { authWithHeaders } from '../../middlewares/auth';
let api = {}; let api = {};
// @TODO export this const, cannot export it from here because only routes are exported from controllers // @TODO export this const, cannot export it from here because only routes are exported from controllers
const LAST_ANNOUNCEMENT_TITLE = 'FEBRUARY BACKGROUNDS AND ARMOIRE ITEMS!'; const LAST_ANNOUNCEMENT_TITLE = "VALENTINE'S DAY CELEBRATION! INCLUDING CUPID AND ROSE QUARTZ HATCHING POTIONS";
const worldDmg = { // @TODO const worldDmg = { // @TODO
bailey: false, bailey: false,
}; };
@@ -30,14 +30,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>2/5/2019 - ${LAST_ANNOUNCEMENT_TITLE}</h2> <h2>2/12/2019 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
</div> </div>
</div> </div>
<hr/> <hr/>
<div class="promo_armoire_backgrounds_201902 center-block"></div> <div class="promo_valentines center-block"></div>
<p>Weve added three new backgrounds to the Background Shop! Now your avatar can cook up a storm in a Medieval Kitchen, enjoy delicious smells outside an Old-Fashioned Bakery, and feel the love in a Valentines' Day Feasting Hall. Check them out under User Icon > Backgrounds!</p> <h3>Habitica Celebrates Valentine's Day!</h3>
<p>Plus, theres new Gold-purchasable equipment in the Enchanted Armoire, including the Chef Set. Better work hard on your real-life tasks to earn all the pieces! Enjoy :)</p> <p>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 Vampitch, GeraldThePixel, Aspiring Advocate, Marmarru, NekoAtsumeLARPer, and Giu09</div> <div class="small mb-3">by Beffymaroo and Lemoness</div>
<h3>Send a Valentine</h3>
<p>Help motivate all of the lovely people in your life by sending them a caring Valentine. For the next week only, Valentines can be purchased for 10 Gold from the <a href='/shops/market'>Market</a>. 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 class="promo_valentines_potions center-block"></div>
<h3>Cupid and Rose Quartz Hatching Potions</h3>
<p>There's a new pet breed in town! We're excited to introduce the new Rose Quartz Magic Hatching Potions, and to announce the return of Cupid Potions! Between now and February 28, 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> </div>
`, `,
}); });