Merge branch 'release' into develop
2
package-lock.json
generated
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"version": "4.82.0",
|
||||
"version": "4.82.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "habitica",
|
||||
"description": "A habit tracker app which treats your goals like a Role Playing Game.",
|
||||
"version": "4.82.0",
|
||||
"version": "4.82.1",
|
||||
"main": "./website/server/index.js",
|
||||
"dependencies": {
|
||||
"@slack/client": "^3.8.1",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
.npc_bailey {
|
||||
background-image: url('~assets/images/sprites/spritesmith-main-11.png');
|
||||
background-position: -1963px -836px;
|
||||
width: 63px;
|
||||
height: 93px;
|
||||
width: 60px;
|
||||
height: 72px;
|
||||
}
|
||||
.npc_justin {
|
||||
background-image: url('~assets/images/sprites/spritesmith-main-11.png');
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
.banner_flair_dysheartener {
|
||||
background-image: url('~assets/images/sprites/spritesmith-main-11.png');
|
||||
background-position: -1963px -930px;
|
||||
background-position: -1963px -909px;
|
||||
width: 69px;
|
||||
height: 18px;
|
||||
}
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 391 KiB After Width: | Height: | Size: 390 KiB |
|
|
@ -2,8 +2,8 @@
|
|||
// 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';
|
||||
|
|
|
|||
|
|
@ -164,30 +164,30 @@ export default {
|
|||
classGear (heroClass) {
|
||||
if (heroClass === 'rogue') {
|
||||
return {
|
||||
armor: 'armor_special_winter2019Rogue',
|
||||
head: 'head_special_winter2019Rogue',
|
||||
shield: 'shield_special_winter2019Rogue',
|
||||
weapon: 'weapon_special_winter2019Rogue',
|
||||
armor: 'armor_rogue_5',
|
||||
head: 'head_rogue_5',
|
||||
shield: 'shield_rogue_6',
|
||||
weapon: 'weapon_rogue_6',
|
||||
};
|
||||
} else if (heroClass === 'wizard') {
|
||||
return {
|
||||
armor: 'armor_special_winter2019Mage',
|
||||
head: 'head_special_winter2019Mage',
|
||||
weapon: 'weapon_special_winter2019Mage',
|
||||
armor: 'armor_wizard_5',
|
||||
head: 'head_wizard_5',
|
||||
weapon: 'weapon_wizard_6',
|
||||
};
|
||||
} else if (heroClass === 'healer') {
|
||||
return {
|
||||
armor: 'armor_special_winter2019Healer',
|
||||
head: 'head_special_winter2019Healer',
|
||||
shield: 'shield_special_winter2019Healer',
|
||||
weapon: 'weapon_special_winter2019Healer',
|
||||
armor: 'armor_healer_5',
|
||||
head: 'head_healer_5',
|
||||
shield: 'shield_healer_5',
|
||||
weapon: 'weapon_healer_6',
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
armor: 'armor_special_winter2019Warrior',
|
||||
head: 'head_special_winter2019Warrior',
|
||||
shield: 'shield_special_winter2019Warrior',
|
||||
weapon: 'weapon_special_winter2019Warrior',
|
||||
armor: 'armor_warrior_5',
|
||||
head: 'head_warrior_5',
|
||||
shield: 'shield_warrior_5',
|
||||
weapon: 'weapon_warrior_6',
|
||||
};
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import takeThisGear from './special-takeThis';
|
|||
import wonderconGear from './special-wondercon';
|
||||
import t from '../../../translation';
|
||||
|
||||
const CURRENT_SEASON = 'winter';
|
||||
const CURRENT_SEASON = '_NONE_';
|
||||
|
||||
let armor = {
|
||||
0: backerGear.armorSpecial0,
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import defaults from 'lodash/defaults';
|
|||
import each from 'lodash/each';
|
||||
import t from './translation';
|
||||
|
||||
const CURRENT_SEASON = 'January';
|
||||
const CURRENT_SEASON = '_NONE_';
|
||||
|
||||
let drops = {
|
||||
Base: {
|
||||
|
|
|
|||
|
|
@ -8,30 +8,30 @@ const featuredItems = {
|
|||
path: 'armoire',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.Peppermint',
|
||||
type: 'hatchingPotions',
|
||||
path: 'hatchingPotions.CottonCandyPink',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.IcySnow',
|
||||
type: 'eggs',
|
||||
path: 'eggs.TigerCub',
|
||||
},
|
||||
{
|
||||
type: 'premiumHatchingPotion',
|
||||
path: 'premiumHatchingPotions.StarryNight',
|
||||
type: 'card',
|
||||
path: 'cardTypes.birthday',
|
||||
},
|
||||
],
|
||||
quests: [
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.evilsanta',
|
||||
path: 'quests.treeling',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.evilsanta2',
|
||||
path: 'quests.sabretooth',
|
||||
},
|
||||
{
|
||||
type: 'quests',
|
||||
path: 'quests.penguin',
|
||||
path: 'quests.rock',
|
||||
},
|
||||
],
|
||||
seasonal: '',
|
||||
|
|
|
|||
|
|
@ -1,31 +1,23 @@
|
|||
import { SEASONAL_SETS } from '../content/constants';
|
||||
// import { SEASONAL_SETS } from '../content/constants';
|
||||
|
||||
module.exports = {
|
||||
opened: true,
|
||||
opened: false,
|
||||
|
||||
currentSeason: 'Winter',
|
||||
currentSeason: 'Closed',
|
||||
|
||||
dateRange: { start: '2018-12-20', end: '2019-01-31' },
|
||||
dateRange: { start: '2018-09-20', end: '2018-10-31' },
|
||||
|
||||
availableSets: [
|
||||
...SEASONAL_SETS.winter,
|
||||
],
|
||||
|
||||
pinnedSets: {
|
||||
wizard: 'winter2019PyrotechnicSet',
|
||||
warrior: 'winter2019BlizzardSet',
|
||||
rogue: 'winter2019PoinsettiaSet',
|
||||
healer: 'winter2019WinterStarSet',
|
||||
},
|
||||
|
||||
availableSpells: [
|
||||
'snowball',
|
||||
],
|
||||
|
||||
availableQuests: [
|
||||
'evilsanta',
|
||||
'evilsanta2',
|
||||
],
|
||||
|
||||
featuredSet: 'winter2017WinterWolfSet',
|
||||
featuredSet: 'mummyMedicSet',
|
||||
};
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 5.7 KiB |
|
|
@ -127,10 +127,6 @@ function _setUpNewUser (user) {
|
|||
user.items.quests.dustbunnies = 1;
|
||||
user.purchased.background.violet = true;
|
||||
user.preferences.background = 'violet';
|
||||
user.items.gear.owned.armor_special_birthday = true; // eslint-disable-line camelcase
|
||||
user.items.gear.equipped.armor = 'armor_special_birthday';
|
||||
user.items.gear.costume.armor = 'armor_special_birthday';
|
||||
user.migration = '20190131_habit_birthday';
|
||||
|
||||
if (user.registeredThrough === 'habitica-web') {
|
||||
taskTypes = ['habit', 'daily', 'todo', 'reward', 'tag'];
|
||||
|
|
|
|||