@rpg-engine/long-bow 0.8.110 → 0.8.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/long-bow.cjs.development.js +0 -14
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +0 -14
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Item/Inventory/itemContainerHelper.ts +0 -16
|
@@ -27779,20 +27779,6 @@ var generateContextMenu = function generateContextMenu(item, itemContainerType,
|
|
|
27779
27779
|
contextActionMenu = generateContextMenuListOptions(shared.ActionsForLoot.Other);
|
|
27780
27780
|
break;
|
|
27781
27781
|
}
|
|
27782
|
-
// Add "Use" for consumable items in nested containers (same as Inventory)
|
|
27783
|
-
if (item.type === shared.ItemType.Consumable) {
|
|
27784
|
-
contextActionMenu.unshift({
|
|
27785
|
-
id: shared.ItemSocketEvents.Use,
|
|
27786
|
-
text: shared.ItemSocketEventsDisplayLabels[shared.ItemSocketEvents.Use]
|
|
27787
|
-
});
|
|
27788
|
-
}
|
|
27789
|
-
// Add "Use with..." for items that have hasUseWith property
|
|
27790
|
-
if (item.hasUseWith) {
|
|
27791
|
-
contextActionMenu.push({
|
|
27792
|
-
id: shared.ItemSocketEvents.UseWith,
|
|
27793
|
-
text: shared.ItemSocketEvents.UseWith
|
|
27794
|
-
});
|
|
27795
|
-
}
|
|
27796
27782
|
}
|
|
27797
27783
|
if (itemContainerType === shared.ItemContainerType.MapContainer) {
|
|
27798
27784
|
switch (item.type) {
|