feat(content): Armoire, BGs

This commit is contained in:
Sabe Jones
2020-01-07 11:43:14 -06:00
parent f6ecc1cb84
commit 25809e5c00
23 changed files with 77 additions and 21 deletions

View File

@@ -121,7 +121,7 @@
v-if="editing"
class="menu-container col-2"
:class="{active: activeTopPage === 'backgrounds'}"
@click="changeTopPage('backgrounds', '2019')"
@click="changeTopPage('backgrounds', '2020')"
>
<div class="menu-item">
<div
@@ -1160,7 +1160,7 @@ export default {
},
],
bgSubMenuItems: ['2019', '2018', '2017', '2016', '2015', '2014'].map(y => ({
bgSubMenuItems: ['2020', '2019', '2018', '2017', '2016', '2015', '2014'].map(y => ({
id: y,
label: y,
})),
@@ -1183,6 +1183,7 @@ export default {
2017: [],
2018: [],
2019: [],
2020: [],
};
// Hack to force update for now until we restructure the data

View File

@@ -553,5 +553,13 @@
"backgroundHolidayWreathText": "Holiday Wreath",
"backgroundHolidayWreathNotes": "Festoon your avatar with a fragrant Holiday Wreath.",
"backgroundWinterNocturneText": "Winter Nocturne",
"backgroundWinterNocturneNotes": "Bask in the starlight of a Winter Nocturne."
"backgroundWinterNocturneNotes": "Bask in the starlight of a Winter Nocturne.",
"backgrounds012020": "SET 68: Released January 2020",
"backgroundBirthdayPartyText": "Birthday Party",
"backgroundBirthdayPartyNotes": "Celebrate the Birthday Party of your favorite Habitican.",
"backgroundDesertWithSnowText": "Snowy Desert",
"backgroundDesertWithSnowNotes": "Witness the rare and quiet beauty of a Snowy Desert.",
"backgroundSnowglobeText": "Snowglobe",
"backgroundSnowglobeNotes": "Shake up a Snowglobe and take your place in a microcosm of a winter landscape."
}

View File

@@ -469,6 +469,8 @@
"weaponArmoireShadowMastersMaceNotes": "Creatures of darkness will obey your every command when you wave this glowing mace. Increases Perception by <%= per %>. Enchanted Armoire: Shadow Master Set (Item 3 of 4).",
"weaponArmoireAlchemistsDistillerText": "Alchemist's Distiller",
"weaponArmoireAlchemistsDistillerNotes": "Purify metals and other magical compounds with this shiny brass instrument. Increases Strength by <%= str %> and Intelligence by <%= int %>. Enchanted Armoire: Alchemist Set (Item 3 of 4).",
"weaponArmoireHappyBannerText": "Happy Banner",
"weaponArmoireHappyBannerNotes": "Is the “H” for Happy, or Habitica? Your choice! Increases Perception by <%= per %>. Enchanted Armoire: Happy Birthday Set (Item 3 of 4).",
"armor": "armor",
"armorCapitalized": "Armor",
@@ -1012,6 +1014,8 @@
"armorArmoireAlchemistsRobeNotes": "Any number of dangerous elixirs are involved in creating arcane metals and gems, and these heavy robes will protect you from harm and unintended side effects! Increases Constitution by <%= con %> and Perception by <%= per %>. Enchanted Armoire: Alchemist Set (Item 1 of 4).",
"armorArmoireDuffleCoatText": "Duffle Coat",
"armorArmoireDuffleCoatNotes": "Travel frosty realms in style with this cozy wool coat. Increases Constitution and Perception by <%= attrs %> each. Enchanted Armoire: Duffle Coat Set (Item 1 of 2).",
"armorArmoireLayerCakeArmorText": "Layer Cake Armor",
"armorArmoireLayerCakeArmorNotes": "It's protective and tasty! Increases Constitution by <%= con %>. Enchanted Armoire: Happy Birthday Set (Item 2 of 4).",
"headgear": "helm",
"headgearCapitalized": "Headgear",
@@ -1573,6 +1577,8 @@
"headArmoireAlchemistsHatNotes": "While hats are not strictly necessary for alchemical practice, looking cool certainly doesn't hurt anything! Increases Perception by <%= per %>. Enchanted Armoire: Alchemist Set (Item 2 of 4).",
"headArmoireEarflapHatText": "Earflap Hat",
"headArmoireEarflapHatNotes": "If you're looking to keep your head toasty warm, this hat has you covered! Increases Intelligence and Strength by <%= attrs %> each. Enchanted Armoire: Duffle Coat Set (Item 2 of 2).",
"headArmoireFrostedHelmText": "Frosted Helm",
"headArmoireFrostedHelmNotes": "The perfect headgear for any celebration! Increases Intelligence by <%= int %>. Enchanted Armoire: Happy Birthday Set (Item 1 of 4).",
"offhand": "off-hand item",
"offhandCapitalized": "Off-Hand Item",
@@ -1875,6 +1881,8 @@
"shieldArmoireMasteredShadowNotes": "Your powers have brought these swirling shadows to your side to do your bidding. Increases Perception and Constitution by <%= attrs %> each. Enchanted Armoire: Shadow Master Set (Item 4 of 4).",
"shieldArmoireAlchemistsScaleText": "Alchemist's Scale",
"shieldArmoireAlchemistsScaleNotes": "Ensure that your mystical ingredients are properly measured using this fine piece of equipment. Increases Intelligence by <%= int %>. Enchanted Armoire: Alchemist Set (Item 4 of 4).",
"shieldArmoireBirthdayBannerText": "Birthday Banner",
"shieldArmoireBirthdayBannerNotes": "Celebrate your special day, the special day of someone you love, or break this out for Habitica's Birthday on January 31! Increases Strength by <%= str %>. Enchanted Armoire: Happy Birthday Set (Item 4 of 4).",
"back": "Back Accessory",
"backCapitalized": "Back Accessory",

View File

@@ -941,6 +941,20 @@ const backgrounds = {
notes: t('backgroundWinterNocturneNotes'),
},
},
backgrounds012020: {
birthday_party: {
text: t('backgroundBirthdayPartyText'),
notes: t('backgroundBirthdayPartyNotes'),
},
desert_with_snow: {
text: t('backgroundDesertWithSnowText'),
notes: t('backgroundDesertWithSnowNotes'),
},
snowglobe: {
text: t('backgroundSnowglobeText'),
notes: t('backgroundSnowglobeNotes'),
},
},
incentiveBackgrounds: {
violet: {
text: t('backgroundVioletText'),

View File

@@ -516,6 +516,14 @@ const armor = {
set: 'duffle',
canOwn: ownsItem('armor_armoire_duffleCoat'),
},
layerCakeArmor: {
text: t('armorArmoireLayerCakeArmorText'),
notes: t('armorArmoireLayerCakeArmorNotes', { con: 13 }),
value: 100,
con: 13,
set: 'birthday',
canOwn: ownsItem('armor_armoire_layerCakeArmor'),
},
};
const body = {
@@ -1055,6 +1063,14 @@ const head = {
set: 'duffle',
canOwn: ownsItem('head_armoire_earflapHat'),
},
frostedHelm: {
text: t('headArmoireFrostedHelmText'),
notes: t('headArmoireFrostedHelmNotes', { int: 13 }),
value: 100,
int: 13,
set: 'birthday',
canOwn: ownsItem('head_armoire_frostedHelm'),
},
};
const shield = {
@@ -1342,6 +1358,14 @@ const shield = {
set: 'alchemist',
canOwn: ownsItem('shield_armoire_alchemistsScale'),
},
birthdayBanner: {
text: t('shieldArmoireBirthdayBannerText'),
notes: t('shieldArmoireBirthdayBannerNotes', { str: 7 }),
value: 100,
str: 7,
set: 'birthday',
canOwn: ownsItem('shield_armoire_birthdayBanner'),
},
};
const headAccessory = {
@@ -1797,6 +1821,14 @@ const weapon = {
set: 'alchemist',
canOwn: ownsItem('weapon_armoire_alchemistsDistiller'),
},
happyBanner: {
text: t('weaponArmoireHappyBannerText'),
notes: t('weaponArmoireHappyBannerNotes', { per: 7 }),
value: 100,
per: 7,
set: 'birthday',
canOwn: ownsItem('weapon_armoire_happyBanner'),
},
};
export {

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1017 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 605 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 867 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 905 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1017 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 579 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -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 = 'LAST CHANCE TO GIFT A SUBSCRIPTION AND GET ONE FREE!';
const LAST_ANNOUNCEMENT_TITLE = 'JANUARY BACKGROUNDS AND ARMOIRE ITEMS!';
const worldDmg = { // @TODO
bailey: false,
};
@@ -35,27 +35,20 @@ api.getNews = {
</div>
</div>
<hr/>
<div class="promo_g1g1_2019 center-block"></div>
<div class="promo_armoire_backgrounds_202001 center-block"></div>
<p>
Today is your last chance to take advantage of our promotion where if you gift somebody
a subscription, you get the same subscription for yourself for free!
Weve added three new backgrounds to the Background Shop! Now your avatar can celebrate
at a Birthday Party, gaze at the quiet beauty of a Snowy Desert, and strike a festive
pose In A Snowglobe. Check them out under User Icon > Backgrounds!
</p>
<p>
Subscribers get tons of perks every month, including exclusive items, the ability to buy
Gems with Gold, and a cute exclusive Jackalope Pet. Plus, it helps keep Habitica running
:) To gift a subscription to someone, just open their profile and click on the present
icon in the upper right.
Plus, theres new Gold-purchasable equipment in the Enchanted Armoire, including the
Birthday Cake set. Better work hard on your real-life tasks to earn all the pieces!
Enjoy :)
</p>
<p>
If you've been curious about trying out a subscription, now's the time! Make a friend
happy and use all your new Gems to go questing together.
</p>
<p>
Please note that if you or your gift recipient already have a recurring subscription,
the gifted subscription will only start after that subscription is cancelled or has
expired. Thanks so much for your support! <3
</p>
<div class="small mb-3">by the Habitica Team</div>
<div class="small mb-3">
by FolleMente, Shine Caramia, Aspiring Advocate, gawrone, katieslug, and SabreCat
</div>
</div>
`,
});