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:
Blade Barringer
2016-01-02 15:17:23 -06:00
parent dfa2228dcc
commit 874f319d95
4 changed files with 226 additions and 20 deletions

View 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 */
},
};