mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
chore(event): End Wonderland
This commit is contained in:
@@ -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: 'birthday';
|
||||
$npc_quests_flavor: 'birthday';
|
||||
$npc_seasonal_flavor: 'birthday';
|
||||
$npc_timetravelers_flavor: 'birthday';
|
||||
$npc_tavern_flavor: 'birthday';
|
||||
$npc_market_flavor: 'normal';
|
||||
$npc_quests_flavor: 'normal';
|
||||
$npc_seasonal_flavor: 'normal';
|
||||
$npc_timetravelers_flavor: 'normal';
|
||||
$npc_tavern_flavor: 'normal';
|
||||
|
||||
$restingToolbarHeight: 40px;
|
||||
$menuToolbarHeight: 56px;
|
||||
|
||||
@@ -225,30 +225,30 @@ export default {
|
||||
classGear (heroClass) {
|
||||
if (heroClass === 'rogue') {
|
||||
return {
|
||||
armor: 'armor_special_winter2020Rogue',
|
||||
head: 'head_special_winter2020Rogue',
|
||||
shield: 'shield_special_winter2020Rogue',
|
||||
weapon: 'weapon_special_winter2020Rogue',
|
||||
armor: 'armor_rogue_5',
|
||||
head: 'head_rogue_5',
|
||||
shield: 'shield_rogue_6',
|
||||
weapon: 'weapon_rogue_6',
|
||||
};
|
||||
} if (heroClass === 'wizard') {
|
||||
return {
|
||||
armor: 'armor_special_winter2020Mage',
|
||||
head: 'head_special_winter2020Mage',
|
||||
weapon: 'weapon_special_winter2020Mage',
|
||||
armor: 'armor_wizard_5',
|
||||
head: 'head_wizard_5',
|
||||
weapon: 'weapon_wizard_6',
|
||||
};
|
||||
} if (heroClass === 'healer') {
|
||||
return {
|
||||
armor: 'armor_special_winter2020Healer',
|
||||
head: 'head_special_winter2020Healer',
|
||||
shield: 'shield_special_winter2020Healer',
|
||||
weapon: 'weapon_special_winter2020Healer',
|
||||
armor: 'armor_healer_5',
|
||||
head: 'head_healer_5',
|
||||
shield: 'shield_healer_5',
|
||||
weapon: 'weapon_healer_6',
|
||||
};
|
||||
}
|
||||
return {
|
||||
armor: 'armor_special_winter2020Warrior',
|
||||
head: 'head_special_winter2020Warrior',
|
||||
shield: 'shield_special_winter2020Warrior',
|
||||
weapon: 'weapon_special_winter2020Warrior',
|
||||
armor: 'armor_warrior_5',
|
||||
head: 'head_warrior_5',
|
||||
shield: 'shield_warrior_5',
|
||||
weapon: 'weapon_warrior_6',
|
||||
};
|
||||
},
|
||||
selectionBox (selectedClass, heroClass) {
|
||||
|
||||
@@ -1,31 +1,23 @@
|
||||
import { SEASONAL_SETS } from '../content/constants';
|
||||
// import { SEASONAL_SETS } from '../content/constants';
|
||||
|
||||
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: [
|
||||
...SEASONAL_SETS.winter,
|
||||
],
|
||||
|
||||
pinnedSets: {
|
||||
healer: 'winter2020WinterSpiceSet',
|
||||
rogue: 'winter2020LanternSet',
|
||||
warrior: 'winter2020EvergreenSet',
|
||||
wizard: 'winter2020CarolOfTheMageSet',
|
||||
},
|
||||
|
||||
availableSpells: [
|
||||
'snowball',
|
||||
],
|
||||
|
||||
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 |
@@ -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 = 'HABITICA BIRTHDAY PARTY! AND LAST CHANCE FOR WINTER WONDERLAND';
|
||||
const LAST_ANNOUNCEMENT_TITLE = 'FEBRUARY SUBSCRIBER ITEMS REVEALED!';
|
||||
const worldDmg = { // @TODO
|
||||
bailey: false,
|
||||
};
|
||||
@@ -31,85 +31,24 @@ api.getNews = {
|
||||
<div class="mr-3 ${baileyClass}"></div>
|
||||
<div class="media-body">
|
||||
<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>
|
||||
<hr/>
|
||||
<div class="promo_birthday_2020 center-block"></div>
|
||||
<h3>Habitica Birthday Bash</h3>
|
||||
<div class="promo_mystery_022020 center-block"></div>
|
||||
<p>
|
||||
January 31st is Habitica's Birthday! Thank you so much for being a part of our
|
||||
community - it means a lot.
|
||||
The February Subscriber Item has been revealed: the Stylish Sweetheart Item Set!
|
||||
<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>Now come join us and the NPCs as we celebrate!</p>
|
||||
<h3>Cake for Everybody!</h3>
|
||||
<p>
|
||||
In honor of the festivities, everyone has been awarded an assortment of yummy cake to
|
||||
feed to your pets! Plus, for the next two days <a href='/shops/market'>Alexander the
|
||||
Merchant</a> is selling cake in his shop, and cake will sometimes drop when you complete
|
||||
your tasks. Cake works just like normal pet food, but if you want to know what type of
|
||||
pet likes each slice, <a href='http://habitica.wikia.com/wiki/Food' target='_blank'>the
|
||||
wiki has spoilers</a>.
|
||||
Subscribers also receive the ability to buy Gems with Gold -- the longer you subscribe,
|
||||
the more Gems you can buy per month! There are other perks as well, such as longer access
|
||||
to uncompressed data and a cute Jackalope pet. Best of all, subscriptions let us keep
|
||||
Habitica running. Thank you very much for your support -- it means a lot to us.
|
||||
</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="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>
|
||||
`,
|
||||
});
|
||||
|
||||
@@ -131,7 +131,7 @@ function _setUpNewUser (user) {
|
||||
user.items.quests.dustbunnies = 1;
|
||||
user.purchased.background.violet = true;
|
||||
user.preferences.background = 'violet';
|
||||
if (moment().isBefore('2020-02-03')) {
|
||||
if (moment().isBefore('2020-02-02')) {
|
||||
user.achievements.habitBirthdays = 1;
|
||||
user.items.gear.owned.armor_special_birthday = true;
|
||||
user.items.gear.equipped.armor = 'armor_special_birthday';
|
||||
|
||||
Reference in New Issue
Block a user