Skip to content
This repository was archived by the owner on Jun 8, 2018. It is now read-only.

Document item:is_being_used() #4

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions en/lua_api_item.dox
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ This is typically used for items like the bow and the counter of bombs.
- Return value (string): The savegame variable that should store the possessed
amount of this item, or \c nil to make this item have no associated amount.

\subsection lua_api_item_is_being_used item:is_being_used()

Returns whether the item is currently being used somehow.

\subsection lua_api_item_is_obtainable item:is_obtainable()

Returns whether the player is allowed to obtain this item.
Expand Down