Skip to content

1.3

Compare
Choose a tag to compare
@justalemon justalemon released this 24 Jun 09:26
· 8 commits to master since this release
b42f096
  • NEW: Added functions to find an item in the inventory or create it if it doesn't exists (PedInventory.FindOrCreate<T>() and PedInventory.FindOrCreate(Type))
  • NEW: Added functions to find an item in the inventory (PedInventory.FindSingle<T>() and PedInventory.FindSingle(Type), replaces the existing Find<T>() and Find(Type) functions)
  • NEW: Added functions to find multiple items by type in the inventory (PedInventory.FindMany<T>() and PedInventory.FindMany(Type))
  • NEW: Added description of the item's in the default inventory
  • FIX: Regular Item's (aka not those derivated from StackedItem) are now correctly added to the menu
  • FIX: The mod now uses the SHVDN3 weapon classes for fetching the list of weapons, improving performance
  • FIX: Items that are empty are no longer included in the user data when saving
  • FIX: Items that are empty are no longer listed in the inventory default menu
  • FIX: Weapons will no longer get lost when F, M or T use the Ammunation Firing Range (#12)
  • FIX: The colors used for the money are now the same as the base game
  • FIX: Removed redundant check when adding new items, should improve performance a little bit
  • FIX: The StackableItem.CountChanged event is no longer subscribed when PedInventory.Add(Item) function is called with an item that already exists
  • FIX; Fixed possible double save when adding a StackableItem to a PedInventory which already has a StackableItem of the same type
  • DEP: Updated Harmony to 2.1.1
  • DEP: Updated ScriptHookVDotNet2 to 2.11.2
  • DEP: Updated ScriptHookVDotNet3 to 3.3.2