Переглянути джерело

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

tags/v0.1.2
Big Bad Waffle 7 роки тому
джерело
коміт
5172c56a5d
1 змінених файлів з 8 додано та 6 видалено
  1. +8
    -6
      src/client/ui/templates/inventory/inventory.js

+ 8
- 6
src/client/ui/templates/inventory/inventory.js Переглянути файл

@@ -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);
}


Завантаження…
Відмінити
Зберегти