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

View File

@@ -553,5 +553,13 @@
"backgroundHolidayWreathText": "Holiday Wreath", "backgroundHolidayWreathText": "Holiday Wreath",
"backgroundHolidayWreathNotes": "Festoon your avatar with a fragrant Holiday Wreath.", "backgroundHolidayWreathNotes": "Festoon your avatar with a fragrant Holiday Wreath.",
"backgroundWinterNocturneText": "Winter Nocturne", "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).", "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", "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).", "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", "armor": "armor",
"armorCapitalized": "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).", "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", "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).", "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", "headgear": "helm",
"headgearCapitalized": "Headgear", "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).", "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", "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).", "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", "offhand": "off-hand item",
"offhandCapitalized": "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).", "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", "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).", "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", "back": "Back Accessory",
"backCapitalized": "Back Accessory", "backCapitalized": "Back Accessory",

View File

@@ -941,6 +941,20 @@ const backgrounds = {
notes: t('backgroundWinterNocturneNotes'), 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: { incentiveBackgrounds: {
violet: { violet: {
text: t('backgroundVioletText'), text: t('backgroundVioletText'),

View File

@@ -516,6 +516,14 @@ const armor = {
set: 'duffle', set: 'duffle',
canOwn: ownsItem('armor_armoire_duffleCoat'), 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 = { const body = {
@@ -1055,6 +1063,14 @@ const head = {
set: 'duffle', set: 'duffle',
canOwn: ownsItem('head_armoire_earflapHat'), 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 = { const shield = {
@@ -1342,6 +1358,14 @@ const shield = {
set: 'alchemist', set: 'alchemist',
canOwn: ownsItem('shield_armoire_alchemistsScale'), 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 = { const headAccessory = {
@@ -1797,6 +1821,14 @@ const weapon = {
set: 'alchemist', set: 'alchemist',
canOwn: ownsItem('weapon_armoire_alchemistsDistiller'), 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 { 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 // @TODO export this const, cannot export it from here because only routes are exported from
// controllers // 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 const worldDmg = { // @TODO
bailey: false, bailey: false,
}; };
@@ -35,27 +35,20 @@ api.getNews = {
</div> </div>
</div> </div>
<hr/> <hr/>
<div class="promo_g1g1_2019 center-block"></div> <div class="promo_armoire_backgrounds_202001 center-block"></div>
<p> <p>
Today is your last chance to take advantage of our promotion where if you gift somebody Weve added three new backgrounds to the Background Shop! Now your avatar can celebrate
a subscription, you get the same subscription for yourself for free! 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>
<p> <p>
Subscribers get tons of perks every month, including exclusive items, the ability to buy Plus, theres new Gold-purchasable equipment in the Enchanted Armoire, including the
Gems with Gold, and a cute exclusive Jackalope Pet. Plus, it helps keep Habitica running Birthday Cake set. Better work hard on your real-life tasks to earn all the pieces!
:) To gift a subscription to someone, just open their profile and click on the present Enjoy :)
icon in the upper right.
</p> </p>
<p> <div class="small mb-3">
If you've been curious about trying out a subscription, now's the time! Make a friend by FolleMente, Shine Caramia, Aspiring Advocate, gawrone, katieslug, and SabreCat
happy and use all your new Gems to go questing together. </div>
</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> </div>
`, `,
}); });