summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 3d22914b9..567d0ad56 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -3370,6 +3370,15 @@ enable (true) or disable (false) the effect on the player.
---------------------------------------
+*identify(<Item ID>)
+
+This function identifies the first <Item ID> item in attached player's inventory.
+
+Returns -2 if an error happens, -1 if no unidentified <Item ID> was found.
+Otherwise, returns the idx of the identified item.
+
+---------------------------------------
+
*identifyidx(<Inventory Index>)
This will identify item at attached player's <Inventory Index> inventory index.