chore(content): enable Witchy Familiars Bundle

This commit is contained in:
Sabe Jones
2019-10-15 14:12:18 -05:00
parent 6f6a0e51df
commit ea9d939577
6 changed files with 25 additions and 18 deletions

View File

@@ -6,13 +6,13 @@
} }
.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: -698px -426px; background-position: -373px -208px;
width: 144px; width: 144px;
height: 156px; height: 156px;
} }
.promo_desert_pet_achievements { .promo_desert_pet_achievements {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png'); background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -891px -296px; background-position: -891px -444px;
width: 204px; width: 204px;
height: 102px; height: 102px;
} }
@@ -42,37 +42,43 @@
} }
.promo_mystery_201909 { .promo_mystery_201909 {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png'); background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -698px -148px; background-position: -698px -296px;
width: 282px; width: 282px;
height: 147px; height: 147px;
} }
.promo_seasonal_shop_fall { .promo_seasonal_shop_fall {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png'); background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -843px -426px; background-position: -518px -208px;
width: 162px; width: 162px;
height: 138px; height: 138px;
} }
.promo_shadow_spooky_potions { .promo_shadow_spooky_potions {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png'); background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -698px 0px; background-position: -698px -148px;
width: 423px; width: 423px;
height: 147px; height: 147px;
} }
.promo_spooky_sparkles { .promo_spooky_sparkles {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png'); background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: 0px -537px; background-position: -698px 0px;
width: 423px; width: 423px;
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: -981px -148px; background-position: -981px -296px;
width: 96px; width: 96px;
height: 69px; height: 69px;
} }
.promo_witchy_familiars {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: 0px -537px;
width: 423px;
height: 147px;
}
.scene_strength { .scene_strength {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png'); background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -698px -296px; background-position: -698px -444px;
width: 192px; width: 192px;
height: 129px; height: 129px;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View File

@@ -122,7 +122,7 @@ api.bundles = {
'frog', 'frog',
], ],
canBuy () { canBuy () {
return moment().isBetween('2017-10-10', '2017-11-02'); return moment().isBetween('2019-10-15', '2019-11-02');
}, },
type: 'quests', type: 'quests',
value: 7, value: 7,

View File

@@ -22,8 +22,8 @@ const featuredItems = {
], ],
quests: [ quests: [
{ {
type: 'quests', type: 'bundles',
path: 'quests.bronze', path: 'bundles.witchyFamiliars',
}, },
{ {
type: 'quests', type: 'quests',

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 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 = 'SUPERNATURAL SKINS AND HAUNTED HAIR COLORS'; const LAST_ANNOUNCEMENT_TITLE = 'DISCOUNTED PET QUEST BUNDLE: WITCHY FAMILIARS';
const worldDmg = { // @TODO const worldDmg = { // @TODO
bailey: false, bailey: false,
}; };
@@ -30,15 +30,16 @@ 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>10/8/2019 - ${LAST_ANNOUNCEMENT_TITLE}</h2> <h2>10/15/2019 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
</div> </div>
</div> </div>
<hr/> <hr/>
<div class="promo_fall_skins center-block"></div> <div class="promo_witchy_familiars center-block"></div>
<p>The Seasonal Edition Haunted Hair Colors are now available for purchase! Now you can dye your avatar's hair Pumpkin, Midnight, Candy Corn, Ghost White, Zombie, or Halloween. Get them before October 31st!</p> <p>If you're looking to add some pets to your Habitica stable to match your Fall Festival gear, you're in luck! From now until October 31, you can purchase the Witchy Familiars Pet Quest Bundle and receive the Rat, Spider, and Frog 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>The Supernatural Skin Set is also available until October 31st! Now your avatar can become an Ogre, Skeleton, Pumpkin, Candy Corn, Reptile, or Dread Shade.</p> <div class="small">by Lemoness and SabreCat</div>
<p>Seasonal Edition items recur unchanged every year, but they are only available to purchase during a short period of time. Find these exciting skins and hair colors in User>Edit Avatar. Get them now, or you'll have to wait until next year!</p> <div class="small">Art by Pandah, UncommonCriminal, Arcosine, starsystemic, RosemonkeyCT, Jon Arjinborn, and Breadstrings</div>
<div class="small mb-3">by Lemoness, mariahm, and crystalphoenix</div> <div class="small mb-3">Writing by Token, Arcosine, and Fluitare</div>
<p>If rats and/or spiders are something you'd prefer not to see in Habitica due to a phobia, check out the <a href='http://habitica.wikia.com/wiki/Phobia_Protection_Extension' target='_blank'>Phobia Protection Extension</a> which will hide any pets, mounts, backgrounds, quest bosses, or equipment featuring spiders and/or rats (as well as snakes, bees, zombies, skeletons, or any combination thereof). We hope that it helps make everyone's Habitica experience fun!</p>
</div> </div>
`, `,
}); });