From f32e9086bd38463fa243b02a30cfbcbae3cab7f3 Mon Sep 17 00:00:00 2001 From: Alexander Berntsen Date: Sat, 7 May 2016 21:30:40 +0200 Subject: [PATCH] Document item:is_being_used() Signed-off-by: Alexander Berntsen --- en/lua_api_item.dox | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/en/lua_api_item.dox b/en/lua_api_item.dox index 2469de6..3ec2559 100644 --- a/en/lua_api_item.dox +++ b/en/lua_api_item.dox @@ -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.