Mystery Items 2016/10 (#8169)

* feat(content): mystery items 2016-10

* chore(news): Bailey 2016-10-25
Also ends the Enchanted Armoire A/B test.

* fix(armoire): failing tests from A/B conclusion
This commit is contained in:
Sabe Jones
2016-10-25 16:16:00 -05:00
committed by GitHub
parent be3f61a94b
commit d323be19c6
15 changed files with 48 additions and 19 deletions

View File

@@ -2,7 +2,7 @@ var _id = '';
var update = { var update = {
$addToSet: { $addToSet: {
'purchased.plan.mysteryItems':{ 'purchased.plan.mysteryItems':{
$each:['head_mystery_201609','armor_mystery_201609'] $each:['head_mystery_201610','armor_mystery_201610']
} }
} }
}; };

View File

@@ -38,7 +38,8 @@ describe('shared.fns.ultimateGear', () => {
expect(user.addNotification).to.be.calledWith('ULTIMATE_GEAR_ACHIEVEMENT'); expect(user.addNotification).to.be.calledWith('ULTIMATE_GEAR_ACHIEVEMENT');
}); });
it('does not set armoirEnabled when gear is not owned', () => { it('does not set armoireEnabled when gear is not owned', () => {
user.flags.armoireEnabled = false;
let items = { let items = {
gear: { gear: {
owned: { owned: {

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -60,7 +60,7 @@
"useCostumeInfo2": "Once you click \"Use Costume\" your avatar will look pretty basic... but don't worry! If you look on the left, you'll see that your Battle Gear is still equipped. Next, you can make things fancy! Anything you equip on the right won't affect your stats, but can make you look super awesome. Try out different combos, mixing sets, and coordinating your Costume with your pets, mounts, and backgrounds.<br><br>Got more questions? Check out the <a href=\"http://habitica.wikia.com/wiki/Equipment#Costumes\">Costume page</a> on the wiki. Find the perfect ensemble? Show it off in the <a href=\"/#/options/groups/guilds/3884eeaa-2d6a-45e8-a279-ada6de9709e1\">Costume Carnival guild</a> or brag in the Tavern!", "useCostumeInfo2": "Once you click \"Use Costume\" your avatar will look pretty basic... but don't worry! If you look on the left, you'll see that your Battle Gear is still equipped. Next, you can make things fancy! Anything you equip on the right won't affect your stats, but can make you look super awesome. Try out different combos, mixing sets, and coordinating your Costume with your pets, mounts, and backgrounds.<br><br>Got more questions? Check out the <a href=\"http://habitica.wikia.com/wiki/Equipment#Costumes\">Costume page</a> on the wiki. Find the perfect ensemble? Show it off in the <a href=\"/#/options/groups/guilds/3884eeaa-2d6a-45e8-a279-ada6de9709e1\">Costume Carnival guild</a> or brag in the Tavern!",
"gearAchievement": "You have earned the \"Ultimate Gear\" Achievement for upgrading to the maximum gear set for a class! You have attained the following complete sets:", "gearAchievement": "You have earned the \"Ultimate Gear\" Achievement for upgrading to the maximum gear set for a class! You have attained the following complete sets:",
"moreGearAchievements": "To attain more Ultimate Gear badges, change classes on <a href='/#/options/profile/stats' target='_blank'>your stats page</a> and buy up your new class's gear!", "moreGearAchievements": "To attain more Ultimate Gear badges, change classes on <a href='/#/options/profile/stats' target='_blank'>your stats page</a> and buy up your new class's gear!",
"armoireUnlocked": "You've also unlocked the <strong>Enchanted Armoire!</strong> Click on the Enchanted Armoire Reward for a random chance at special Equipment! It may also give you random XP or food items.", "armoireUnlocked": "For more equipment, check out the <strong>Enchanted Armoire!</strong> Click on the Enchanted Armoire Reward for a random chance at special Equipment! It may also give you random XP or food items.",
"ultimGearName": "Ultimate Gear", "ultimGearName": "Ultimate Gear",
"ultimGearText": "Has upgraded to the maximum weapon and armor set for the following classes:", "ultimGearText": "Has upgraded to the maximum weapon and armor set for the following classes:",
"level": "Level", "level": "Level",

View File

@@ -113,6 +113,7 @@
"mysterySet201607": "Seafloor Rogue Set", "mysterySet201607": "Seafloor Rogue Set",
"mysterySet201608": "Thunderstormer Set", "mysterySet201608": "Thunderstormer Set",
"mysterySet201609": "Cow Costume Set", "mysterySet201609": "Cow Costume Set",
"mysterySet201610": "Spectral Flame Set",
"mysterySet301404": "Steampunk Standard Set", "mysterySet301404": "Steampunk Standard Set",
"mysterySet301405": "Steampunk Accessories Set", "mysterySet301405": "Steampunk Accessories Set",

View File

@@ -139,6 +139,12 @@ let armor = {
mystery: '201609', mystery: '201609',
value: 0, value: 0,
}, },
201610: {
text: t('armorMystery201610Text'),
notes: t('armorMystery201610Notes'),
mystery: '201610',
value: 0,
},
301404: { 301404: {
text: t('armorMystery301404Text'), text: t('armorMystery301404Text'),
notes: t('armorMystery301404Notes'), notes: t('armorMystery301404Notes'),
@@ -364,6 +370,12 @@ let head = {
mystery: '201609', mystery: '201609',
value: 0, value: 0,
}, },
201610: {
text: t('headMystery201610Text'),
notes: t('headMystery201610Notes'),
mystery: '201610',
value: 0,
},
301404: { 301404: {
text: t('headMystery301404Text'), text: t('headMystery301404Text'),
notes: t('headMystery301404Notes'), notes: t('headMystery301404Notes'),

View File

@@ -130,6 +130,10 @@ let mysterySets = {
start: '2016-09-22', start: '2016-09-22',
end: '2016-10-02', end: '2016-10-02',
}, },
201610: {
start: '2016-10-25',
end: '2016-11-02',
},
301404: { 301404: {
start: '3014-03-24', start: '3014-03-24',
end: '3014-04-02', end: '3014-04-02',

View File

@@ -77,13 +77,7 @@ function _setUpNewUser (user) {
let taskTypes; let taskTypes;
let iterableFlags = user.flags.toObject(); let iterableFlags = user.flags.toObject();
// A/B Test 2016-09-26: Start with Armoire Enabled? user._ABtest = '';
if (Math.random() < 0.5) {
user.flags.armoireEnabled = true;
user._ABtest = '20160926-armoireEnabled';
} else {
user._ABtest = '20160926-armoireDisabled';
}
if (user.registeredThrough === 'habitica-web' || user.registeredThrough === 'habitica-android') { if (user.registeredThrough === 'habitica-web' || user.registeredThrough === 'habitica-android') {
taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag']; taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag'];

View File

@@ -232,7 +232,7 @@ let schema = new Schema({
communityGuidelinesAccepted: {type: Boolean, default: false}, communityGuidelinesAccepted: {type: Boolean, default: false},
cronCount: {type: Number, default: 0}, cronCount: {type: Number, default: 0},
welcomed: {type: Boolean, default: false}, welcomed: {type: Boolean, default: false},
armoireEnabled: {type: Boolean, default: false}, armoireEnabled: {type: Boolean, default: true},
armoireOpened: {type: Boolean, default: false}, armoireOpened: {type: Boolean, default: false},
armoireEmpty: {type: Boolean, default: false}, armoireEmpty: {type: Boolean, default: false},
cardReceived: {type: Boolean, default: false}, cardReceived: {type: Boolean, default: false},

View File

@@ -1,21 +1,38 @@
h2 10/19/2016 - GOLD-PURCHASABLE QUEST LINE: TERROR IN THE TASKWOODS h2 10/25/2016 - SPECTRAL FLAME ITEM SET AND ENCHANTED ARMOIRE CHANGES
hr hr
tr tr
td td
.promo_pyromancer.pull-right .promo_backgrounds_armoire_201610.pull-left.slight-right-margin
h3 New Gold-Purchasable Quest Line .promo_mystery_201610.pull-right
p There's a new set of gold-purchasable quests available in the <a href='/#/options/inventory/quests'>Quest Shop</a>: the Terror in the Taskwoods Quest Line! The wild orchards near the Flourishing Fields are ablaze, and this time Burnout isn't responsible. Can you help the Joyful Reaper douse the mysterious flames? If so, you'll earn the exclusive Pyromancer Armor Set. h3 October Subscriber Items Revealed!
p The October Subscriber Item has been revealed: the Spectral Flame Item Set! You still have 6 days to subscribe and receive the item set.
br br
p As time goes on, we'll be adding more gold-purchasable quests. Terror in the Taskwoods is not a limited-edition quest line, so you have plenty of time to save up! p Subscribers also receive the ability to buy gems for 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. Best of all, subscriptions let us keep Habitica running. Thank you very much for your support -- it means a lot to us.
p.small.muted by SabreCat, Beffymaroo, and Lemoness p.small.muted by Lemoness
p.small.muted Written by liorsamuel and Lemoness tr
p.small.muted Art by Kiwibot, Beffymaroo, and bridgetteempress td
h3 Enchanted Armoire Changes
p We have an exciting change to the Enchanted Armoire! We've received a lot of feedback about how motivating users find the random reward system, so the Enchanted Armoire will now be available to all users in the Reward Column, regardless of whether or not they've already unlocked the Ultimate Gear achievement.
br
p Every time you click on the Enchanted Armoire, you'll have a chance to earn a random piece of equipment, food, or experience. New equipment is added every month! Now go work hard on your tasks to collect it all.
p.small.muted by SabreCat
if menuItem !== 'oldNews' if menuItem !== 'oldNews'
hr hr
a(href='/static/old-news', target='_blank') Read older news a(href='/static/old-news', target='_blank') Read older news
mixin oldNews mixin oldNews
h2 10/19/2016 - GOLD-PURCHASABLE QUEST LINE: TERROR IN THE TASKWOODS
tr
td
.promo_pyromancer.pull-right
h3 New Gold-Purchasable Quest Line
p There's a new set of gold-purchasable quests available in the <a href='/#/options/inventory/quests'>Quest Shop</a>: the Terror in the Taskwoods Quest Line! The wild orchards near the Flourishing Fields are ablaze, and this time Burnout isn't responsible. Can you help the Joyful Reaper douse the mysterious flames? If so, you'll earn the exclusive Pyromancer Armor Set.
br
p As time goes on, we'll be adding more gold-purchasable quests. Terror in the Taskwoods is not a limited-edition quest line, so you have plenty of time to save up!
p.small.muted by SabreCat, Beffymaroo, and Lemoness
p.small.muted Written by liorsamuel and Lemoness
p.small.muted Art by Kiwibot, Beffymaroo, and bridgetteempress
h2 10/13/2016 - SPOOKY SPARKLES IN THE APPS AND CANTRAS BLOG SPOTLIGHT! h2 10/13/2016 - SPOOKY SPARKLES IN THE APPS AND CANTRAS BLOG SPOTLIGHT!
tr tr
td td