- Update Item
+ Update Items
{
+ const item = gearWorn[gearType] || 'none';
+ description += `
${gearType} : ${item}\n`;
+ });
+ return description;
+ },
getAllItemPaths () {
// let questsFormat = this.getFormattedItemReference
// ('items.quests', keys(this.quests), 'Numeric Quantity');
@@ -434,7 +468,8 @@ export default {
this.expandPriv = false; // XXX true
this.expandAuth = false;
this.expandParty = false;
- this.expandItems = false;
+ this.expandAvatar = false;
+ this.expandItems = true; // XXX false
this.expandContrib = false; // XXX true
},
async saveHero () {
diff --git a/website/server/controllers/api-v3/hall.js b/website/server/controllers/api-v3/hall.js
index 206cdeef89..2de005c934 100644
--- a/website/server/controllers/api-v3/hall.js
+++ b/website/server/controllers/api-v3/hall.js
@@ -145,7 +145,7 @@ api.getHeroes = {
// Note, while the following routes are called getHero / updateHero
// they can be used by admins to get/update any user
-const heroAdminFields = 'contributor balance profile.name purchased items auth lastCron flags.chatRevoked flags.chatShadowMuted party';
+const heroAdminFields = 'contributor balance profile.name purchased items preferences auth lastCron flags.chatRevoked flags.chatShadowMuted party';
/**
* @api {get} /api/v3/hall/heroes/:heroId Get any user ("hero") given the UUID or Username