Game (functions)/Item Management/Table

From PMDOWiki
Function Description
FindPlayerItem Finds an item in the player's team and returns its slot within the inventory or among its team's equips.
GetPlayerEquippedCount Returns the number of items equipped by players. Does not include guests.
GetPlayerBagCount Returns the number of items in the bag.
GetPlayerBagLimit Returns the maximum amount of item the player's team can carry.
GetPlayerEquippedItem Returns the equipped item for the character in the specified slot.
GetGuestEquippedItem Returns the equipped item for the character in the specified guest slot.
GivePlayerItem Gives an item and adds it to the player team's bag.
GetPlayerBagItem Returns the item found at the specified slot of the player's bag.
TakePlayerBagItem Remove an item from player's inventory.
akePlayerEquippedItem Remove the equipped item from a chosen member of the team.
TakeGuestEquippedItem Remove the equipped item from a chosen guest of the team.
GetPlayerStorageCount Returns the amount of items in the player's storage
GetPlayerStorageItemCount Returns the amount of a specific item in the player's storage
GivePlayerStorageItem Returns an item and adds it to the player team's storage.
GivePlayerStorageItem Gives an item and adds it to the player team's storage.
TakePlayerStorageItem Takes an item from the storage
DepositAll Takes all items in the player team's bag and equipped items, and deposits them in storage.