//Contains the implementation of the more complicated functions from the item class, which represents the items the player is carrying in the form of several dynamic arrays.
//Contains the implementation of the more complicated functions from the inventory class, which represents the items the player is carrying in the form of a dynamic array.