feat(content): Bird Buddies Bundle

This commit is contained in:
Sabe Jones
2018-12-11 14:41:09 -06:00
parent 2991f7acfb
commit 1b12a6b51f
11 changed files with 354 additions and 330 deletions

View File

@@ -22,6 +22,12 @@
width: 423px; width: 423px;
height: 147px; height: 147px;
} }
.promo_bird_buddies_bundle {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -424px -723px;
width: 420px;
height: 147px;
}
.promo_frost_potions { .promo_frost_potions {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png'); background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -421px -871px; background-position: -421px -871px;
@@ -40,12 +46,6 @@
width: 282px; width: 282px;
height: 147px; height: 147px;
} }
.promo_oddballs_bundle {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -424px -723px;
width: 423px;
height: 147px;
}
.promo_piyo { .promo_piyo {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png'); background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -1136px -290px; background-position: -1136px -290px;

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 KiB

After

Width:  |  Height:  |  Size: 208 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 205 KiB

After

Width:  |  Height:  |  Size: 206 KiB

View File

@@ -727,5 +727,8 @@
"questAlligatorUnlockText": "Unlocks purchasable Alligator eggs in the Market", "questAlligatorUnlockText": "Unlocks purchasable Alligator eggs in the Market",
"oddballsText": "Oddballs Quest Bundle", "oddballsText": "Oddballs Quest Bundle",
"oddballsNotes": "Contains 'The Jelly Regent,' 'Escape the Cave Creature,' and 'A Tangled Yarn.' Available until December 3." "oddballsNotes": "Contains 'The Jelly Regent,' 'Escape the Cave Creature,' and 'A Tangled Yarn.' Available until December 3.",
"birdBuddiesText": "Bird Buddies Quest Bundle",
"birdBuddiesNotes": "Contains 'The Fowl Frost,' 'Rooster Rampage,' and 'The Push-and-Pull Peacock.' Available until December 31."
} }

View File

@@ -212,6 +212,21 @@ api.bundles = {
type: 'quests', type: 'quests',
value: 7, value: 7,
}, },
birdBuddies: {
key: 'birdBuddies',
text: t('birdBuddiesText'),
notes: t('birdBuddiesNotes'),
bundleKeys: [
'peacock',
'penguin',
'rooster',
],
canBuy () {
return moment().isBetween('2018-12-11', '2019-01-02');
},
type: 'quests',
value: 7,
},
}; };
/* /*

View File

@@ -30,8 +30,8 @@ const featuredItems = {
path: 'quests.taskwoodsTerror1', path: 'quests.taskwoodsTerror1',
}, },
{ {
type: 'quests', type: 'bundles',
path: 'quests.horse', path: 'bundles.birdBuddies',
}, },
], ],
seasonal: '', seasonal: '',

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 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 = 'DECEMBER BACKGROUNDS AND ARMOIRE ITEMS'; const LAST_ANNOUNCEMENT_TITLE = 'NEW DISCOUNTED PET QUEST BUNDLE: BIRD BUDDIES!';
const worldDmg = { // @TODO const worldDmg = { // @TODO
bailey: false, bailey: false,
}; };
@@ -30,14 +30,14 @@ 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>12/5/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2> <h2>12/11/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
</div> </div>
</div> </div>
<hr/> <hr/>
<p>Weve added three new backgrounds to the Background Shop! Now your avatar can soar over Snowy Mountains at night, bundle up to hike through a Frosty Forest, or snuggle up next to a Snowy Day Fireplace. Check them out under User Icon > Backgrounds!</p> <p>If you're looking to add some pets to your Habitica stable, you're in luck! From now until December 31, you can purchase the Bird Buddies Pet Quest Bundle and receive the Rooster, Peacock, and Penguin quests, all for only 7 Gems! That's a discount of 5 Gems from the price of purchasing them separately. Check it out in the <a href='/shops/quests'>Quest Shop</a> today!</p>
<p>Plus, theres new Gold-purchasable equipment in the Enchanted Armoire, including the Green and Red Loungewear Sets. Better work hard on your real-life tasks to earn all the pieces! Enjoy :)</p> <div class="small">Art by UncommonCriminal, Eevachu, PainterProphet, Lilith of Alfheim, Pfeffernusse, Draayder, Podcod, Fire Fire Fire, Pandoro, RBrinks, EmeraldOx, extrajordanary, melynnrose, Rattify, McCoyly, Breadstrings, and Darkly</div>
<div class="small mb-3">by eyenne, Vikte, wykedcrafty, GeraldThePixel, shanaqui, and SabreCat</div> <div class="small mb-3">Writing by Elizabeth Queenan, Leephon, playgroundgiraffe, and Daniel the Bard</div>
<div class="promo_armoire_backgrounds_201812 center-block"></div> <div class="promo_bird_buddies_bundle center-block"></div>
</div> </div>
`, `,
}); });