chore(event): End Wonderland

This commit is contained in:
Sabe Jones
2020-02-01 07:20:55 -06:00
parent 443f88ac41
commit e800cd9a3f
8 changed files with 37 additions and 106 deletions

View File

@@ -2,11 +2,11 @@
// 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: 'birthday'; $npc_market_flavor: 'normal';
$npc_quests_flavor: 'birthday'; $npc_quests_flavor: 'normal';
$npc_seasonal_flavor: 'birthday'; $npc_seasonal_flavor: 'normal';
$npc_timetravelers_flavor: 'birthday'; $npc_timetravelers_flavor: 'normal';
$npc_tavern_flavor: 'birthday'; $npc_tavern_flavor: 'normal';
$restingToolbarHeight: 40px; $restingToolbarHeight: 40px;
$menuToolbarHeight: 56px; $menuToolbarHeight: 56px;

View File

@@ -225,30 +225,30 @@ export default {
classGear (heroClass) { classGear (heroClass) {
if (heroClass === 'rogue') { if (heroClass === 'rogue') {
return { return {
armor: 'armor_special_winter2020Rogue', armor: 'armor_rogue_5',
head: 'head_special_winter2020Rogue', head: 'head_rogue_5',
shield: 'shield_special_winter2020Rogue', shield: 'shield_rogue_6',
weapon: 'weapon_special_winter2020Rogue', weapon: 'weapon_rogue_6',
}; };
} if (heroClass === 'wizard') { } if (heroClass === 'wizard') {
return { return {
armor: 'armor_special_winter2020Mage', armor: 'armor_wizard_5',
head: 'head_special_winter2020Mage', head: 'head_wizard_5',
weapon: 'weapon_special_winter2020Mage', weapon: 'weapon_wizard_6',
}; };
} if (heroClass === 'healer') { } if (heroClass === 'healer') {
return { return {
armor: 'armor_special_winter2020Healer', armor: 'armor_healer_5',
head: 'head_special_winter2020Healer', head: 'head_healer_5',
shield: 'shield_special_winter2020Healer', shield: 'shield_healer_5',
weapon: 'weapon_special_winter2020Healer', weapon: 'weapon_healer_6',
}; };
} }
return { return {
armor: 'armor_special_winter2020Warrior', armor: 'armor_warrior_5',
head: 'head_special_winter2020Warrior', head: 'head_warrior_5',
shield: 'shield_special_winter2020Warrior', shield: 'shield_warrior_5',
weapon: 'weapon_special_winter2020Warrior', weapon: 'weapon_warrior_6',
}; };
}, },
selectionBox (selectedClass, heroClass) { selectionBox (selectedClass, heroClass) {

View File

@@ -1,31 +1,23 @@
import { SEASONAL_SETS } from '../content/constants'; // import { SEASONAL_SETS } from '../content/constants';
export default { export default {
opened: true, opened: false,
currentSeason: 'Winter', currentSeason: 'Closed',
dateRange: { start: '2019-12-19', end: '2020-01-31' }, dateRange: { start: '2019-09-24', end: '2019-10-31' },
availableSets: [ availableSets: [
...SEASONAL_SETS.winter,
], ],
pinnedSets: { pinnedSets: {
healer: 'winter2020WinterSpiceSet',
rogue: 'winter2020LanternSet',
warrior: 'winter2020EvergreenSet',
wizard: 'winter2020CarolOfTheMageSet',
}, },
availableSpells: [ availableSpells: [
'snowball',
], ],
availableQuests: [ availableQuests: [
'evilsanta',
'evilsanta2',
], ],
featuredSet: 'winter2018GiftWrappedSet', featuredSet: 'fall2018AlterEgoSet',
}; };

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -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 = 'HABITICA BIRTHDAY PARTY! AND LAST CHANCE FOR WINTER WONDERLAND'; const LAST_ANNOUNCEMENT_TITLE = 'FEBRUARY SUBSCRIBER ITEMS REVEALED!';
const worldDmg = { // @TODO const worldDmg = { // @TODO
bailey: false, bailey: false,
}; };
@@ -31,85 +31,24 @@ 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>1/31/2020 - ${LAST_ANNOUNCEMENT_TITLE}</h2> <h2>2/1/2020 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
</div> </div>
</div> </div>
<hr/> <hr/>
<div class="promo_birthday_2020 center-block"></div> <div class="promo_mystery_022020 center-block"></div>
<h3>Habitica Birthday Bash</h3>
<p> <p>
January 31st is Habitica's Birthday! Thank you so much for being a part of our The February Subscriber Item has been revealed: the Stylish Sweetheart Item Set!
community - it means a lot. <a href='/user/settings/subscription'>Subscribe to Habitica</a> by February 29 to receive
this exciting set! If you're already an active subscriber, reload the site and then head
to Inventory > Items to claim your gear!
</p> </p>
<p>Now come join us and the NPCs as we celebrate!</p>
<h3>Cake for Everybody!</h3>
<p> <p>
In honor of the festivities, everyone has been awarded an assortment of yummy cake to Subscribers also receive the ability to buy Gems with Gold -- the longer you subscribe,
feed to your pets! Plus, for the next two days <a href='/shops/market'>Alexander the the more Gems you can buy per month! There are other perks as well, such as longer access
Merchant</a> is selling cake in his shop, and cake will sometimes drop when you complete to uncompressed data and a cute Jackalope pet. Best of all, subscriptions let us keep
your tasks. Cake works just like normal pet food, but if you want to know what type of Habitica running. Thank you very much for your support -- it means a lot to us.
pet likes each slice, <a href='http://habitica.wikia.com/wiki/Food' target='_blank'>the
wiki has spoilers</a>.
</p> </p>
<h3>Party Robes</h3>
<p>There are Party Robes available for free in the Rewards column! Don them with pride.</p>
<h3>Birthday Bash Achievement</h3>
<p>
In honor of Habitica's birthday, everyone has been awarded the Habitica Birthday Bash
achievement! This achievement stacks for each Birthday Bash you celebrate with us.
</p>
<div class="promo_mystery_202001 center-block"></div>
<h3>Last Chance for Fabled Fox Set</h3>
<p>
Reminder: this is the final day to <a href='/user/settings/subscription'>subscribe</a>
and receive the Fabled Fox Set! Subscribing also lets you buy Gems with Gold and get
other great perks like a special Jackalope Pet!
</p>
<p>Thanks so much for your support! You help keep Habitica running.</p>
<div class="small mb-3">by Beffymaroo</div> <div class="small mb-3">by Beffymaroo</div>
<div class="promo_winter_wonderland_2020 center-block"></div>
<h3>Last Chance for Winter Wonderland Goodies!</h3>
<p>
Winter Wonderland is coming to a close in Habitica. It's the last day to snag this year's
limited edition outfits from your Rewards column. Depending on your class, you can be an
Evergreen Warrior, Bell Mage, Winter Spice Healer, or Lantern Rogue! Don't miss these
awesome gear sets, available to purchase with Gold!
</p>
<div class="small mb-3">by Vikte, gawrone, jjgame83, Aspiring Advocate, and SabreCat</div>
<p>
The <a href='/shops/seasonal'>Seasonal Shop</a> will also be closing when the Gala ends.
The Seasonal Sorceress is stocking the seasonal edition versions of previous winter
outfits, now available for Gems instead of Gold, and the Trapper Santa and Find the Cub
Quests.
</p>
<div class="small mb-3">
by Lt Cabel, Vikte, AnnDeLune, Persephone, WeeWitch, katy133, yayannabelle, Stefalupagus,
Io Breese, foreverender, Podcod, Beffymaroo, SabreCat and Lemoness
</div>
<p>
It's also the final day to <a href='/shops/market'>buy Starry Night, Holly, and new
Aurora Magic Hatching Potions!</a> If they come back, it won't be until next year at the
earliest, so don't delay!
</p>
<div class="small mb-3">
by QuartzFox, Archeia, Willow The Witty, JinjooHat, Tyche Alba, and SabreCat
</div>
<p>
This is also the final day to buy our special Winter Quests! You can purchase Find the
Cub and Trapper Santa quests in the Seasonal Shop individually for four Gems each, or you
can get the discounted Winter Pet Quest Bundle, featuring Trapper Santa, Find the Cub and
the Penguin quest all for seven Gems in the <a href='/shops/quests'>Quest Shop!</a>
</p>
<p>
Please note that the Find the Cub and Trapper Santa quests only need to be completed once
each to obtain the rare Polar Bear pet and mount.
</p>
<div class="small">by Lemoness and SabreCat</div>
<div class="small">
Art by UncommonCriminal, Shaner, Eevachu, Pandoro, melynnrose, Breadstrings, Rattify, and
PainterProphet
</div>
<div class="small mb-3">Writing by Lefnire, Leephon, and Daniel the Bard</div>
</div> </div>
`, `,
}); });

View File

@@ -131,7 +131,7 @@ function _setUpNewUser (user) {
user.items.quests.dustbunnies = 1; user.items.quests.dustbunnies = 1;
user.purchased.background.violet = true; user.purchased.background.violet = true;
user.preferences.background = 'violet'; user.preferences.background = 'violet';
if (moment().isBefore('2020-02-03')) { if (moment().isBefore('2020-02-02')) {
user.achievements.habitBirthdays = 1; user.achievements.habitBirthdays = 1;
user.items.gear.owned.armor_special_birthday = true; user.items.gear.owned.armor_special_birthday = true;
user.items.gear.equipped.armor = 'armor_special_birthday'; user.items.gear.equipped.armor = 'armor_special_birthday';