Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new avatar items #2401

Merged
merged 15 commits into from
Oct 14, 2018
80 changes: 80 additions & 0 deletions app/assets/v2/images/avatar/Accessories/Extras-Parrot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions app/assets/v2/images/avatar/Clothing/ethlogo-4242F4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions app/assets/v2/images/avatar/Clothing/ethlogo-43B9F9.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions app/assets/v2/images/avatar/Clothing/ethlogo-684A23.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions app/assets/v2/images/avatar/Clothing/ethlogo-CCCCCC.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions app/assets/v2/images/avatar/Clothing/ethlogo-F48914.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions app/assets/v2/images/avatar/Clothing/ethlogo-FFCC3B.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/assets/v2/js/avatar_builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ let openSection;
const layers = [
'HatLong', 'HairLong', 'EarringBack', 'Clothing',
'Ears', 'Head', 'HairShort', 'Earring', 'Beard', 'HatShort',
'Mustache', 'Mouth', 'Nose', 'Eyes', 'Glasses', 'Masks'
'Mustache', 'Mouth', 'Nose', 'Eyes', 'Glasses', 'Masks', 'Extras'
];
const requiredLayers = [ 'Clothing', 'Ears', 'Head', 'Mouth', 'Nose', 'Eyes', 'Background' ];
const colorOptions = {
Expand All @@ -29,7 +29,7 @@ const sectionPalettes = {
const parentLayers = {
HairShort: 'HairStyle', HairLong: 'HairStyle', Beard: 'FacialHair', Mustache: 'FacialHair',
EarringBack: 'Accessories', Earring: 'Accessories', HatLong: 'Accessories', HatShort: 'Accessories',
Glasses: 'Accessories', Masks: 'Accessories'
Glasses: 'Accessories', Masks: 'Accessories', Extras: 'Accessories'
};

var localStorage;
Expand Down
4 changes: 2 additions & 2 deletions app/avatar/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def get_avatar_context():
{
'name': 'Clothing',
'title': 'Pick your clothing',
'options': ('cardigan', 'hoodie', 'knitsweater', 'plaid', 'shirt', 'shirtsweater', 'spacecadet')
'options': ('cardigan', 'hoodie', 'knitsweater', 'plaid', 'shirt', 'shirtsweater', 'spacecadet', 'ethlogo')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (123 > 120 characters)

},
{
'name': 'Hair Style',
Expand All @@ -93,7 +93,7 @@ def get_avatar_context():
'options': (['Glasses-0'], ['Glasses-1'], ['Glasses-2'], ['Glasses-3'], ['Glasses-4'],
['HatShort-backwardscap'], ['HatShort-ballcap'], ['HatShort-headphones'],
['HatShort-shortbeanie'], ['HatShort-tallbeanie'], ['Earring-0'], ['Earring-1'],
['EarringBack-2', 'Earring-2'], ['Earring-3'], ['Earring-4'], ['Masks-jack-o-lantern'])
['EarringBack-2', 'Earring-2'], ['Earring-3'], ['Earring-4'], ['Masks-jack-o-lantern'], ['Extras-Parrot'])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E501 line too long (134 > 120 characters)

},
{
'name': 'Background',
Expand Down