mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
fix: Corrects logic where it was possible to customize avatar
with gem purchasable items without purchasing them. Closes #6427 Closes #6448 lint(common): Add unnecessary quotes to make object look less weird
This commit is contained in:
62
common/script/content/appearance.js
Normal file
62
common/script/content/appearance.js
Normal file
@@ -0,0 +1,62 @@
|
||||
export let defaultAppearancePreferences = {
|
||||
background: {},
|
||||
hair: {
|
||||
bangs: {
|
||||
0: true,
|
||||
1: true,
|
||||
2: true,
|
||||
3: true,
|
||||
},
|
||||
base: {
|
||||
0: true,
|
||||
1: true,
|
||||
3: true,
|
||||
},
|
||||
beard: {
|
||||
0: true,
|
||||
},
|
||||
color: {
|
||||
white: true,
|
||||
brown: true,
|
||||
blond: true,
|
||||
red: true,
|
||||
black: true,
|
||||
},
|
||||
flower: {
|
||||
0: true,
|
||||
1: true,
|
||||
2: true,
|
||||
3: true,
|
||||
4: true,
|
||||
5: true,
|
||||
6: true,
|
||||
},
|
||||
mustache: {
|
||||
0: true,
|
||||
},
|
||||
},
|
||||
shirt: {
|
||||
black: true,
|
||||
blue: true,
|
||||
green: true,
|
||||
pink: true,
|
||||
white: true,
|
||||
yellow: true,
|
||||
},
|
||||
size: {
|
||||
slim: true,
|
||||
broad: true,
|
||||
},
|
||||
skin: {
|
||||
/* eslint-disable quote-props */
|
||||
'ddc994': true,
|
||||
'f5a76e': true,
|
||||
'ea8349': true,
|
||||
'c06534': true,
|
||||
'98461a': true,
|
||||
'915533': true,
|
||||
'c3e1dc': true,
|
||||
'6bd049': true,
|
||||
/* eslint-enable quote-props */
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user