Releases: overextended/ox_inventory
Releases · overextended/ox_inventory
v2.20.0
Features
- server/hooks: inventory type filter (#1036) #1036 (ANTOND)
- server: add container slot to hook payload (#1037) #1037 (ANTOND)
Bug Fixes
- web/InventoryGrid: round weight (#1039) #1039 (Ethan Johnson)
- server/esx: support non-weapon licenses (Linden)
- client: don't disarm throwables when updating inventory (Linden)
- client: throwable tweaks; remove "overcooked" grenades (Linden)
- init: handle invalid data file paths (Linden)
Code Refactoring
- client/inventory: yield Inventory.Search when not loaded (Linden)
- bridge/nd: licenses & groups (#1049) #1049 (Andyyy7666)
- init: bump lib version dependency (Linden)
Chores
v2.19.2
Bug Fixes
- client: item use in cover (#1027) #1027 (JinFa)
- client/weapon: "slide-lock" when weapon anims are disabled (Linden)
Code Refactoring
- web: update dependencies (Linden)
- web/App: combine and delay uiLoaded/init events (Linden)
- client: send inventory data over uiLoaded callback (Linden)
- web/App: micro-optimise locale and items setup (Linden)
Commits
v2.19.1
v2.19.0
Features
- server/inventory: CanCarryWeight (#1005) #1005 (hyprell)
- server/ox: license support (Linden)
- server/inventory: export SetItem (Linden)
Bug Fixes
- client: dumpster sync (Linden)
- client: disarm ped on weapon remove (#1004) #1004 (hyprell)
- client: disarm before equipping a new weapon (Linden)
- client: return item.status to server (Linden)
- server/qb: typo when setting status (#1010) #1010 (Menace)
- server/qb: status multiplier (Linden)
- client/ox: status multiplier (Linden)
- server/inventory: slot availability in CanCarryItem (Linden)
- client: refresh inventory data when confiscating/returning (Linden)
- client: use ammo while aiming (Linden)
- client/ox: invert hunger and thirst (Linden)
Code Refactoring
- client: delay updateInventory event (Linden)
- server/inventory: ignoreTotal argument for RemoveItem (Linden)
- server/mysql: disable old data conversion (Linden)
- client: additional reload checks (Linden)
- client: canUseItem helper function (Linden)
- server/mysql: remove license query (Linden)
- client: add textUI to license marker (Linden)
- locales: replace all weapon_license locale keys (Linden)
- client: use notification ids (Linden)
- client: annoying inputDialog type (Linden)
Chores
v2.18.0
Features
- client/ox: statuses support (Linden)
- add response to usingItem callback event (Linden)
- server/qb: setPlayerStatus (Linden)
- client: add invHotkeys state (Linden)
Bug Fixes
- client: disable shooting when swapping weapon (Linden)
- locales: use correct keys for hu and zh-cn (Linden)
- client/ox: correct value for negative status amounts (Linden)
- server/inventory: ensure data is defined during giveItem event (Linden)
- server: success return values during useItem callback event (Linden)
- client: using items without client data (Linden)
- server/items: weapon components validation (Linden)
- server/inventory: validate component and ammo when setting weight (Linden)
- client: check for ox_target when opening crafting bench (Linden)
- server/crafting: check if inv returned falsey (Linden)
Code Refactoring
- server: use inventory.player instead of inventory.type (Linden)
- server/mysql: update to reflect ox_core changes (Linden)
- usingItem client event callback (Linden)
Chores
v2.17.4
v2.17.3
v2.17.2
v2.17.1
Bug Fixes
- server/inventory: ignore durability when removing items (Linden)
- server: ignore durability percentage if using whole item (Linden)
- server/inventory: trigger swapItems hook for new drops (Linden)
- server: ignore durability if consume is undefined (Linden)
Code Refactoring
- data/items: add partial consume to testburger (Linden)
- new locale when item lacks durability (Linden)
- client/crafting: allow E to open crafting bench (Linden)
Chores
v2.17.0
Features
- web/crafting: integrate crafting into inventory grid, again #946 (Luke)
- web/crafting: canCraftItem #946 (Luke)
- web/crafting: grayscale item when unable to craft #946 (Luke)
- web/crafting: support durability checks #946 (Luke)
- crafting: create crafting benches #946 (Linden)
- client/crafting: add groups, blip, and label #946 (Linden)
- crafting: make crafting actually function #946 (Linden)
- crafting: await client crafting completion #946 (Linden)
- client/crafting: setup points #946 (Linden)
- web/crafting: craftItem thunk and nui cb #946 (Luke)
- web/crafting: display crafting duration in the tooltip #946 (Luke)
- crafting: default metadata for recipes #946 (Linden)
- web/crafting: add icon to crafting duration #946 (Luke)
- server/crafting: durability depletion #946 (Linden)
- server/items: set item durability (Linden)
- server/inventory: GetEmptySlot (Linden)
Bug Fixes
- web/tooltip: use div for description #946 (Luke)
- web/crafting: define key for ingredients #946 (Luke)
- web/crafting: don't allow dragging into crafting inventory #946 (Luke)
- web/crafting: don't allow ctrl click in crafting inventory #946 (Luke)
- client: do not re-open crafting bench #946 (Linden)
- server/items: do not overwrite id and garbage metadata #946 (Linden)
- server/crafting: check item count on craft completion #946 (Linden)
- client: vanishing parenthesis #946 (Linden)
- client: incorrect locale #946 (Linden)
- client/crafting: set zone distance #946 (Linden)
- web: don't set duration as required on the item slot #946 (Luke)
- crafting: send and keep track of item count in UI #946 (Luke)
- web/toolip: fix invalid DOM props for clock icon #946 (Luke)
- client/crafting: reset item count before adding it up #946 (Luke)
- client: correctly reset and add up item count #946 (Linden)
- client/crafting: check for ox_target #946 (Linden)
- server/crafting: correct durability/needs check and default amount #946 (Linden)
- web/crafting: force crafting grid to rerender on refreshSlots #946 (Luke)
- client/crafting: hardcode default blip name #946 (Linden)
- server: prevent loss of source in events (Linden)
- server/inventory: Inventory.Clear for non-player inventories (Linden)
- client: delay loading on shops, stashes, etc. #946 (Linden)
- server/inventory: Inventory.Clear filter should use goto #946 (Linden)
- client: type -> entityType (Linden)
- server/bridge: ensure playerDropped gets player inventory (Linden)
- server/qb: set name of money during auto-conversion (Linden)
- server/qb: use correct item name (Linden)
- server/inventory: access to other player-owned stashes (Linden)
- server/crafting: close inventory when target opens crafting bench (Linden)
- server/crafting: check if inv is actually open (Linden)
- server/inventory: nil-check for player when loading stash (Linden)
- server/crafting: require slot count of 1 for durability use (Linden)
- server/crafting: durability consumption for degrading items (Linden)
- server/inventory: durability consumption for degrading items ([Linden](https://github.com/overextended/ox_inventory/com...