Browse Source

More work on Issue #36. forgot to include the client-side work last time

tags/v0.1.2
Big Bad Waffle 7 years ago
parent
commit
5172c56a5d
1 changed files with 8 additions and 6 deletions
  1. +8
    -6
      src/client/ui/templates/inventory/inventory.js

+ 8
- 6
src/client/ui/templates/inventory/inventory.js View File

@@ -282,14 +282,16 @@ define([
}
}

if ((!item.quest) && (!item.eq)) {
if ((window.player.stash.active) && (!item.noSalvage))
config.push(menuItems.stash);
if (!item.eq) {
if (!item.quest) {
if ((window.player.stash.active) && (!item.noSalvage))
config.push(menuItems.stash);

config.push(menuItems.drop);
config.push(menuItems.drop);

if ((!item.material) && (!item.noSalvage))
config.push(menuItems.salvage);
if ((!item.material) && (!item.noSalvage))
config.push(menuItems.salvage);
}

config.push(menuItems.destroy);
}


Loading…
Cancel
Save