mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
code for reptacular rumble achievement
This commit is contained in:
Submodule habitica-images updated: 08edadc432...d7d7eeb46e
128
migrations/archive/2022/20220524_pet_group_achievements.js
Normal file
128
migrations/archive/2022/20220524_pet_group_achievements.js
Normal file
@@ -0,0 +1,128 @@
|
|||||||
|
/* eslint-disable no-console */
|
||||||
|
const MIGRATION_NAME = '20220524_pet_group_achievements';
|
||||||
|
import { model as User } from '../../../website/server/models/user';
|
||||||
|
|
||||||
|
const progressCount = 1000;
|
||||||
|
let count = 0;
|
||||||
|
|
||||||
|
async function updateUser (user) {
|
||||||
|
count++;
|
||||||
|
|
||||||
|
const set = {
|
||||||
|
migration: MIGRATION_NAME,
|
||||||
|
};
|
||||||
|
|
||||||
|
if (user && user.items && user.items.pets) {
|
||||||
|
const pets = user.items.pets;
|
||||||
|
if (pets['Alligator-Base']
|
||||||
|
&& pets['Alligator-CottonCandyBlue']
|
||||||
|
&& pets['Alligator-CottonCandyPink']
|
||||||
|
&& pets['Alligator-Desert']
|
||||||
|
&& pets['Alligator-Golden']
|
||||||
|
&& pets['Alligator-Red']
|
||||||
|
&& pets['Alligator-Shade']
|
||||||
|
&& pets['Alligator-Skeleton']
|
||||||
|
&& pets['Alligator-White']
|
||||||
|
&& pets['Alligator-Zombie']
|
||||||
|
&& pets['Snake-Base']
|
||||||
|
&& pets['Snake-CottonCandyBlue']
|
||||||
|
&& pets['Snake-CottonCandyPink']
|
||||||
|
&& pets['Snake-Desert']
|
||||||
|
&& pets['Snake-Golden']
|
||||||
|
&& pets['Snake-Red']
|
||||||
|
&& pets['Snake-Shade']
|
||||||
|
&& pets['Snake-Skeleton']
|
||||||
|
&& pets['Snake-White']
|
||||||
|
&& pets['Snake-Zombie']
|
||||||
|
&& pets['Triceratops-Base']
|
||||||
|
&& pets['Triceratops-CottonCandyBlue']
|
||||||
|
&& pets['Triceratops-CottonCandyPink']
|
||||||
|
&& pets['Triceratops-Desert']
|
||||||
|
&& pets['Triceratops-Golden']
|
||||||
|
&& pets['Triceratops-Red']
|
||||||
|
&& pets['Triceratops-Shade']
|
||||||
|
&& pets['Triceratops-Skeleton']
|
||||||
|
&& pets['Triceratops-White']
|
||||||
|
&& pets['Triceratops-Zombie']
|
||||||
|
&& pets['TRex-Base']
|
||||||
|
&& pets['TRex-CottonCandyBlue']
|
||||||
|
&& pets['TRex-CottonCandyPink']
|
||||||
|
&& pets['TRex-Desert']
|
||||||
|
&& pets['TRex-Golden']
|
||||||
|
&& pets['TRex-Red']
|
||||||
|
&& pets['TRex-Shade']
|
||||||
|
&& pets['TRex-Skeleton']
|
||||||
|
&& pets['TRex-White']
|
||||||
|
&& pets['TRex-Zombie']
|
||||||
|
&& pets['Pterodactyl-Base']
|
||||||
|
&& pets['Pterodactyl-CottonCandyBlue']
|
||||||
|
&& pets['Pterodactyl-CottonCandyPink']
|
||||||
|
&& pets['Pterodactyl-Desert']
|
||||||
|
&& pets['Pterodactyl-Golden']
|
||||||
|
&& pets['Pterodactyl-Red']
|
||||||
|
&& pets['Pterodactyl-Shade']
|
||||||
|
&& pets['Pterodactyl-Skeleton']
|
||||||
|
&& pets['Pterodactyl-White']
|
||||||
|
&& pets['Pterodactyl-Zombie']
|
||||||
|
&& pets['Turtle-Base']
|
||||||
|
&& pets['Turtle-CottonCandyBlue']
|
||||||
|
&& pets['Turtle-CottonCandyPink']
|
||||||
|
&& pets['Turtle-Desert']
|
||||||
|
&& pets['Turtle-Golden']
|
||||||
|
&& pets['Turtle-Red']
|
||||||
|
&& pets['Turtle-Shade']
|
||||||
|
&& pets['Turtle-Skeleton']
|
||||||
|
&& pets['Turtle-White']
|
||||||
|
&& pets['Turtle-Zombie']
|
||||||
|
&& pets['Velociraptor-Base']
|
||||||
|
&& pets['Velociraptor-CottonCandyBlue']
|
||||||
|
&& pets['Velociraptor-CottonCandyPink']
|
||||||
|
&& pets['Velociraptor-Desert']
|
||||||
|
&& pets['Velociraptor-Golden']
|
||||||
|
&& pets['Velociraptor-Red']
|
||||||
|
&& pets['Velociraptor-Shade']
|
||||||
|
&& pets['Velociraptor-Skeleton']
|
||||||
|
&& pets['Velociraptor-White']
|
||||||
|
&& pets['Velociraptor-Zombie']) {
|
||||||
|
set['achievements.reptacularRumble'] = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (count % progressCount === 0) console.warn(`${count} ${user._id}`);
|
||||||
|
|
||||||
|
return await User.update({ _id: user._id }, { $set: set }).exec();
|
||||||
|
}
|
||||||
|
|
||||||
|
export default async function processUsers () {
|
||||||
|
let query = {
|
||||||
|
// migration: { $ne: MIGRATION_NAME },
|
||||||
|
'auth.timestamps.loggedin': { $gt: new Date('2022-01-01') },
|
||||||
|
};
|
||||||
|
|
||||||
|
const fields = {
|
||||||
|
_id: 1,
|
||||||
|
items: 1,
|
||||||
|
};
|
||||||
|
|
||||||
|
while (true) { // eslint-disable-line no-constant-condition
|
||||||
|
const users = await User // eslint-disable-line no-await-in-loop
|
||||||
|
.find(query)
|
||||||
|
.limit(250)
|
||||||
|
.sort({_id: 1})
|
||||||
|
.select(fields)
|
||||||
|
.lean()
|
||||||
|
.exec();
|
||||||
|
|
||||||
|
if (users.length === 0) {
|
||||||
|
console.warn('All appropriate users found and modified.');
|
||||||
|
console.warn(`\n${count} users processed\n`);
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
query._id = {
|
||||||
|
$gt: users[users.length - 1]._id,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
await Promise.all(users.map(updateUser)); // eslint-disable-line no-await-in-loop
|
||||||
|
}
|
||||||
|
};
|
||||||
@@ -303,6 +303,11 @@
|
|||||||
width: 64px;
|
width: 64px;
|
||||||
height: 56px;
|
height: 56px;
|
||||||
}
|
}
|
||||||
|
.achievement-reptacularRumble2x {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-reptacularRumble2x.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
.achievement-rosyOutlook2x {
|
.achievement-rosyOutlook2x {
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-rosyOutlook2x.png');
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/achievement-rosyOutlook2x.png');
|
||||||
width: 64px;
|
width: 64px;
|
||||||
@@ -32039,204 +32044,6 @@
|
|||||||
width: 68px;
|
width: 68px;
|
||||||
height: 68px;
|
height: 68px;
|
||||||
}
|
}
|
||||||
.headAccessory_special_bearEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_bearEars.png');
|
|
||||||
width: 90px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.customize-option.headAccessory_special_bearEars {
|
|
||||||
background-position: -25px -15px;
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_bearEars.png');
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_blackHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_blackHeadband.png');
|
|
||||||
width: 114px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_blueHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_blueHeadband.png');
|
|
||||||
width: 114px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_cactusEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_cactusEars.png');
|
|
||||||
width: 90px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.customize-option.headAccessory_special_cactusEars {
|
|
||||||
background-position: -25px -15px;
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_cactusEars.png');
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_foxEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_foxEars.png');
|
|
||||||
width: 90px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.customize-option.headAccessory_special_foxEars {
|
|
||||||
background-position: -25px -15px;
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_foxEars.png');
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_greenHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_greenHeadband.png');
|
|
||||||
width: 114px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_lionEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_lionEars.png');
|
|
||||||
width: 90px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.customize-option.headAccessory_special_lionEars {
|
|
||||||
background-position: -25px -15px;
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_lionEars.png');
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_pandaEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pandaEars.png');
|
|
||||||
width: 90px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.customize-option.headAccessory_special_pandaEars {
|
|
||||||
background-position: -25px -15px;
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pandaEars.png');
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_pigEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pigEars.png');
|
|
||||||
width: 90px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.customize-option.headAccessory_special_pigEars {
|
|
||||||
background-position: -25px -15px;
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pigEars.png');
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_pinkHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pinkHeadband.png');
|
|
||||||
width: 114px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_redHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_redHeadband.png');
|
|
||||||
width: 114px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_tigerEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_tigerEars.png');
|
|
||||||
width: 90px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.customize-option.headAccessory_special_tigerEars {
|
|
||||||
background-position: -25px -15px;
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_tigerEars.png');
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_whiteHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_whiteHeadband.png');
|
|
||||||
width: 114px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_wolfEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_wolfEars.png');
|
|
||||||
width: 90px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.customize-option.headAccessory_special_wolfEars {
|
|
||||||
background-position: -25px -15px;
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_wolfEars.png');
|
|
||||||
width: 60px;
|
|
||||||
height: 60px;
|
|
||||||
}
|
|
||||||
.headAccessory_special_yellowHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_yellowHeadband.png');
|
|
||||||
width: 114px;
|
|
||||||
height: 90px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_bearEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_bearEars.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_blackHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_blackHeadband.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_blueHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_blueHeadband.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_cactusEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_cactusEars.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_foxEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_foxEars.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_greenHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_greenHeadband.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_lionEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_lionEars.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_pandaEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_pandaEars.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_pigEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_pigEars.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_pinkHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_pinkHeadband.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_redHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_redHeadband.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_tigerEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_tigerEars.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_whiteHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_whiteHeadband.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_wolfEars {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_wolfEars.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.shop_headAccessory_special_yellowHeadband {
|
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_yellowHeadband.png');
|
|
||||||
width: 68px;
|
|
||||||
height: 68px;
|
|
||||||
}
|
|
||||||
.head_0 {
|
.head_0 {
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/head_0.png');
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/head_0.png');
|
||||||
width: 90px;
|
width: 90px;
|
||||||
@@ -32618,6 +32425,204 @@
|
|||||||
width: 68px;
|
width: 68px;
|
||||||
height: 68px;
|
height: 68px;
|
||||||
}
|
}
|
||||||
|
.headAccessory_special_bearEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_bearEars.png');
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.customize-option.headAccessory_special_bearEars {
|
||||||
|
background-position: -25px -15px;
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_bearEars.png');
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_blackHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_blackHeadband.png');
|
||||||
|
width: 114px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_blueHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_blueHeadband.png');
|
||||||
|
width: 114px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_cactusEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_cactusEars.png');
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.customize-option.headAccessory_special_cactusEars {
|
||||||
|
background-position: -25px -15px;
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_cactusEars.png');
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_foxEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_foxEars.png');
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.customize-option.headAccessory_special_foxEars {
|
||||||
|
background-position: -25px -15px;
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_foxEars.png');
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_greenHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_greenHeadband.png');
|
||||||
|
width: 114px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_lionEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_lionEars.png');
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.customize-option.headAccessory_special_lionEars {
|
||||||
|
background-position: -25px -15px;
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_lionEars.png');
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_pandaEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pandaEars.png');
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.customize-option.headAccessory_special_pandaEars {
|
||||||
|
background-position: -25px -15px;
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pandaEars.png');
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_pigEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pigEars.png');
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.customize-option.headAccessory_special_pigEars {
|
||||||
|
background-position: -25px -15px;
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pigEars.png');
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_pinkHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_pinkHeadband.png');
|
||||||
|
width: 114px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_redHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_redHeadband.png');
|
||||||
|
width: 114px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_tigerEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_tigerEars.png');
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.customize-option.headAccessory_special_tigerEars {
|
||||||
|
background-position: -25px -15px;
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_tigerEars.png');
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_whiteHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_whiteHeadband.png');
|
||||||
|
width: 114px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_wolfEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_wolfEars.png');
|
||||||
|
width: 90px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.customize-option.headAccessory_special_wolfEars {
|
||||||
|
background-position: -25px -15px;
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_wolfEars.png');
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
.headAccessory_special_yellowHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/headAccessory_special_yellowHeadband.png');
|
||||||
|
width: 114px;
|
||||||
|
height: 90px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_bearEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_bearEars.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_blackHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_blackHeadband.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_blueHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_blueHeadband.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_cactusEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_cactusEars.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_foxEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_foxEars.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_greenHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_greenHeadband.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_lionEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_lionEars.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_pandaEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_pandaEars.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_pigEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_pigEars.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_pinkHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_pinkHeadband.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_redHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_redHeadband.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_tigerEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_tigerEars.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_whiteHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_whiteHeadband.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_wolfEars {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_wolfEars.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
|
.shop_headAccessory_special_yellowHeadband {
|
||||||
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_headAccessory_special_yellowHeadband.png');
|
||||||
|
width: 68px;
|
||||||
|
height: 68px;
|
||||||
|
}
|
||||||
.shield_healer_1 {
|
.shield_healer_1 {
|
||||||
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shield_healer_1.png');
|
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shield_healer_1.png');
|
||||||
width: 90px;
|
width: 90px;
|
||||||
|
|||||||
@@ -129,5 +129,9 @@
|
|||||||
"achievementZodiacZookeeperModalText": "You collected all the zodiac pets!",
|
"achievementZodiacZookeeperModalText": "You collected all the zodiac pets!",
|
||||||
"achievementBirdsOfAFeather": "Birds of a Feather",
|
"achievementBirdsOfAFeather": "Birds of a Feather",
|
||||||
"achievementBirdsOfAFeatherText": "Has hatched all standard colors of flying pets: Flying Pig, Owl, Parrot, Pterodactyl, Gryphon, Falcon, Peacock, and Rooster.",
|
"achievementBirdsOfAFeatherText": "Has hatched all standard colors of flying pets: Flying Pig, Owl, Parrot, Pterodactyl, Gryphon, Falcon, Peacock, and Rooster.",
|
||||||
"achievementBirdsOfAFeatherModalText":"You collected all the flying pets!"
|
"achievementBirdsOfAFeatherModalText": "You collected all the flying pets!",
|
||||||
|
"achievementReptacularRumble": "Reptacular Rumble",
|
||||||
|
"achievementReptacularRumbleText": "Has hatched all the standard colors of reptile pets: Alligator, Pterodactyl, Snake, Triceratops, Turtle, Tyrannosaurus Rex, and Velociraptor.",
|
||||||
|
"achievementReptacularRumbleModalText": "You collected all the reptile pets!"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -183,6 +183,11 @@ const animalSetAchievs = {
|
|||||||
titleKey: 'achievementDomesticated',
|
titleKey: 'achievementDomesticated',
|
||||||
textKey: 'achievementDomesticatedText',
|
textKey: 'achievementDomesticatedText',
|
||||||
},
|
},
|
||||||
|
reptacularRumble: {
|
||||||
|
icon: 'achievement-reptacularRumble',
|
||||||
|
titleKey: 'achievementReptacularRumble',
|
||||||
|
textKey: 'achievementReptacularRumble',
|
||||||
|
},
|
||||||
zodiacZookeeper: {
|
zodiacZookeeper: {
|
||||||
icon: 'achievement-zodiac',
|
icon: 'achievement-zodiac',
|
||||||
titleKey: 'achievementZodiacZookeeper',
|
titleKey: 'achievementZodiacZookeeper',
|
||||||
@@ -297,16 +302,6 @@ const mountColorAchievs = {
|
|||||||
titleKey: 'achievementShadeOfItAll',
|
titleKey: 'achievementShadeOfItAll',
|
||||||
textKey: 'achievementShadeOfItAllText',
|
textKey: 'achievementShadeOfItAllText',
|
||||||
},
|
},
|
||||||
zodiacZookeeper: {
|
|
||||||
icon: 'achievement-zodiac',
|
|
||||||
titleKey: 'achievementZodiacZookeeper',
|
|
||||||
textKey: 'achievementZodiacZookeeperText',
|
|
||||||
},
|
|
||||||
birdsOfAFeather: {
|
|
||||||
icon: 'achievement-birdsOfAFeather',
|
|
||||||
titleKey: 'achievementBirdsOfAFeather',
|
|
||||||
textKey: 'achievementBirdsOfAFeatherText',
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
Object.assign(achievementsData, mountColorAchievs);
|
Object.assign(achievementsData, mountColorAchievs);
|
||||||
|
|
||||||
|
|||||||
@@ -41,6 +41,20 @@ const ANIMAL_SET_ACHIEVEMENTS = {
|
|||||||
achievementKey: 'domesticated',
|
achievementKey: 'domesticated',
|
||||||
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
|
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
|
||||||
},
|
},
|
||||||
|
reptacularRumble: {
|
||||||
|
type: 'pet',
|
||||||
|
species: [
|
||||||
|
'Alligator',
|
||||||
|
'Pterodactyl',
|
||||||
|
'Snake',
|
||||||
|
'Triceratops',
|
||||||
|
'TRex',
|
||||||
|
'Turtle',
|
||||||
|
'Velociraptor',
|
||||||
|
],
|
||||||
|
achievementKey: 'reptacularRumble',
|
||||||
|
notificationType: 'ACHIEVEMENT_ANIMAL_SET',
|
||||||
|
},
|
||||||
zodiacZookeeper: {
|
zodiacZookeeper: {
|
||||||
type: 'pet',
|
type: 'pet',
|
||||||
species: [
|
species: [
|
||||||
|
|||||||
@@ -217,6 +217,7 @@ function _getBasicAchievements (user, language) {
|
|||||||
_addSimple(result, user, { path: 'shadeOfItAll', language });
|
_addSimple(result, user, { path: 'shadeOfItAll', language });
|
||||||
_addSimple(result, user, { path: 'zodiacZookeeper', language });
|
_addSimple(result, user, { path: 'zodiacZookeeper', language });
|
||||||
_addSimple(result, user, { path: 'birdsOfAFeather', language });
|
_addSimple(result, user, { path: 'birdsOfAFeather', language });
|
||||||
|
_addSimple(result, user, { path: 'reptacularRumble', language });
|
||||||
|
|
||||||
_addSimpleWithMasterCount(result, user, { path: 'beastMaster', language });
|
_addSimpleWithMasterCount(result, user, { path: 'beastMaster', language });
|
||||||
_addSimpleWithMasterCount(result, user, { path: 'mountMaster', language });
|
_addSimpleWithMasterCount(result, user, { path: 'mountMaster', language });
|
||||||
|
|||||||
@@ -149,6 +149,7 @@ export default new Schema({
|
|||||||
shadeOfItAll: Boolean,
|
shadeOfItAll: Boolean,
|
||||||
zodiacZookeeper: Boolean,
|
zodiacZookeeper: Boolean,
|
||||||
birdsOfAFeather: Boolean,
|
birdsOfAFeather: Boolean,
|
||||||
|
reptacularRumble: Boolean,
|
||||||
// Onboarding Guide
|
// Onboarding Guide
|
||||||
createdTask: Boolean,
|
createdTask: Boolean,
|
||||||
completedTask: Boolean,
|
completedTask: Boolean,
|
||||||
|
|||||||
Reference in New Issue
Block a user