Handleless wheelchair options (#10572)
* removing duplicate keys * adding chair assets and wiring them to customize screen * adding customization data for new wheelchair types * removing an unused locale key and moving the code style override closer to the affected area * explicitly re-enabilng linting rule * adding button-sized chair assets * updating assets to new resolution * moving chair keys into component data
@@ -222,7 +222,7 @@ b-modal#avatar-modal(title="", :size='editing ? "lg" : "md"', :hide-header='true
|
|||||||
.col-12.customize-options
|
.col-12.customize-options
|
||||||
.option(@click='set({"preferences.chair": "none"})', :class='{active: user.preferences.chair === "none"}')
|
.option(@click='set({"preferences.chair": "none"})', :class='{active: user.preferences.chair === "none"}')
|
||||||
| None
|
| None
|
||||||
.option(v-for='option in ["black", "blue", "green", "pink", "red", "yellow"]',
|
.option(v-for='option in chairKeys',
|
||||||
:class='{active: user.preferences.chair === option}')
|
:class='{active: user.preferences.chair === option}')
|
||||||
.chair.sprite.customize-option(:class="`button_chair_${option}`", @click='set({"preferences.chair": option})')
|
.chair.sprite.customize-option(:class="`button_chair_${option}`", @click='set({"preferences.chair": option})')
|
||||||
#flowers.row(v-if='activeSubPage === "flower"')
|
#flowers.row(v-if='activeSubPage === "flower"')
|
||||||
@@ -856,7 +856,7 @@ import isPinned from 'common/script/libs/isPinned';
|
|||||||
const skinsBySet = groupBy(appearance.skin, 'set.key');
|
const skinsBySet = groupBy(appearance.skin, 'set.key');
|
||||||
const hairColorBySet = groupBy(appearance.hair.color, 'set.key');
|
const hairColorBySet = groupBy(appearance.hair.color, 'set.key');
|
||||||
|
|
||||||
let tasksByCategory = {
|
const tasksByCategory = {
|
||||||
work: [
|
work: [
|
||||||
{
|
{
|
||||||
type: 'habit',
|
type: 'habit',
|
||||||
@@ -1014,6 +1014,7 @@ export default {
|
|||||||
baseHair5Keys: [1, 2],
|
baseHair5Keys: [1, 2],
|
||||||
baseHair6Keys: [1, 2, 3],
|
baseHair6Keys: [1, 2, 3],
|
||||||
animalEarsKeys: ['bearEars', 'cactusEars', 'foxEars', 'lionEars', 'pandaEars', 'pigEars', 'tigerEars', 'wolfEars'],
|
animalEarsKeys: ['bearEars', 'cactusEars', 'foxEars', 'lionEars', 'pandaEars', 'pigEars', 'tigerEars', 'wolfEars'],
|
||||||
|
chairKeys: ['black', 'blue', 'green', 'pink', 'red', 'yellow', 'handleless_black', 'handleless_blue', 'handleless_green', 'handleless_pink', 'handleless_red', 'handleless_yellow'],
|
||||||
icons: Object.freeze({
|
icons: Object.freeze({
|
||||||
logoPurple,
|
logoPurple,
|
||||||
bodyIcon,
|
bodyIcon,
|
||||||
|
|||||||
@@ -214,16 +214,11 @@
|
|||||||
"editProfile": "Edit Profile",
|
"editProfile": "Edit Profile",
|
||||||
"challengesWon": "Challenges Won",
|
"challengesWon": "Challenges Won",
|
||||||
"questsCompleted": "Quests Completed",
|
"questsCompleted": "Quests Completed",
|
||||||
"equipment": "Equipment",
|
|
||||||
"costume": "Costume",
|
|
||||||
"headAccess": "Head Access.",
|
"headAccess": "Head Access.",
|
||||||
"backAccess": "Back Access.",
|
"backAccess": "Back Access.",
|
||||||
"bodyAccess": "Body Access.",
|
"bodyAccess": "Body Access.",
|
||||||
"mainHand": "Main-Hand",
|
"mainHand": "Main-Hand",
|
||||||
"offHand": "Off-Hand",
|
"offHand": "Off-Hand",
|
||||||
"level": "Level",
|
|
||||||
"allocated": "Allocated",
|
|
||||||
"buffs": "Buffs",
|
|
||||||
"statPoints": "Stat Points",
|
"statPoints": "Stat Points",
|
||||||
"pts": "pts"
|
"pts": "pts"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,4 +8,12 @@ export default prefill({
|
|||||||
pink: {},
|
pink: {},
|
||||||
red: {},
|
red: {},
|
||||||
yellow: {},
|
yellow: {},
|
||||||
|
/* eslint-disable quote-props */
|
||||||
|
'handleless_black': {},
|
||||||
|
'handleless_blue': {},
|
||||||
|
'handleless_green': {},
|
||||||
|
'handleless_pink': {},
|
||||||
|
'handleless_red': {},
|
||||||
|
'handleless_yellow': {},
|
||||||
|
/* eslint-enable quote-props */
|
||||||
});
|
});
|
||||||
|
|||||||
|
After Width: | Height: | Size: 709 B |
|
After Width: | Height: | Size: 710 B |
|
After Width: | Height: | Size: 705 B |
|
After Width: | Height: | Size: 717 B |
|
After Width: | Height: | Size: 709 B |
|
After Width: | Height: | Size: 704 B |
|
After Width: | Height: | Size: 755 B |
|
After Width: | Height: | Size: 759 B |
|
After Width: | Height: | Size: 751 B |
|
After Width: | Height: | Size: 770 B |
|
After Width: | Height: | Size: 753 B |
|
After Width: | Height: | Size: 752 B |