Lua API

Inventory module

Functions for working with inventory.

Usage

local Inventory = ELONA.require("core.Inventory")

Functions

player () Gets the player's inventory.
map () Gets the map inventory.

Functions

# player ()

Gets the player's inventory.

Returns:
# map ()

Gets the map inventory.

It contains all items on the ground in the current map.

Returns: