Functions for working with inventory.
local Inventory = ELONA.require("core.Inventory")
player () | Gets the player's inventory. |
map () | Gets the map inventory. |
Gets the player's inventory.
Returns:
Gets the map inventory.
It contains all items on the ground in the current map.
Returns: